1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #error "define REGISTER(NAME) before including this file"
7 #if !CONFIG(DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER)
8 #error "This file is only to support the legacy sx932x linux driver"
11 REGISTER(reg_adv_ctrl0
);
12 REGISTER(reg_adv_ctrl1
);
13 REGISTER(reg_adv_ctrl2
);
14 REGISTER(reg_adv_ctrl3
);
15 REGISTER(reg_adv_ctrl4
);
16 REGISTER(reg_adv_ctrl5
);
17 REGISTER(reg_adv_ctrl6
);
18 REGISTER(reg_adv_ctrl7
);
19 REGISTER(reg_adv_ctrl8
);
20 REGISTER(reg_adv_ctrl9
);
21 REGISTER(reg_adv_ctrl10
);
22 REGISTER(reg_adv_ctrl11
);
23 REGISTER(reg_adv_ctrl12
);
24 REGISTER(reg_adv_ctrl13
);
25 REGISTER(reg_adv_ctrl14
);
26 REGISTER(reg_adv_ctrl15
);
27 REGISTER(reg_adv_ctrl16
);
28 REGISTER(reg_adv_ctrl17
);
29 REGISTER(reg_adv_ctrl18
);
30 REGISTER(reg_adv_ctrl19
);
31 REGISTER(reg_adv_ctrl20
);
33 REGISTER(reg_afe_ctrl0
);
34 REGISTER(reg_afe_ctrl1
);
35 REGISTER(reg_afe_ctrl2
);
36 REGISTER(reg_afe_ctrl3
);
37 REGISTER(reg_afe_ctrl4
);
38 REGISTER(reg_afe_ctrl5
);
39 REGISTER(reg_afe_ctrl6
);
40 REGISTER(reg_afe_ctrl7
);
41 REGISTER(reg_afe_ctrl8
);
42 REGISTER(reg_afe_ctrl9
);
44 REGISTER(reg_afe_ph0
);
45 REGISTER(reg_afe_ph1
);
46 REGISTER(reg_afe_ph2
);
47 REGISTER(reg_afe_ph3
);
49 REGISTER(reg_gnrl_ctrl0
);
50 REGISTER(reg_gnrl_ctrl1
);
52 REGISTER(reg_irq_msk
);
53 REGISTER(reg_irq_cfg0
);
54 REGISTER(reg_irq_cfg1
);
55 REGISTER(reg_irq_cfg2
);
57 REGISTER(reg_prox_ctrl0
);
58 REGISTER(reg_prox_ctrl1
);
59 REGISTER(reg_prox_ctrl2
);
60 REGISTER(reg_prox_ctrl3
);
61 REGISTER(reg_prox_ctrl4
);
62 REGISTER(reg_prox_ctrl5
);
63 REGISTER(reg_prox_ctrl6
);
64 REGISTER(reg_prox_ctrl7
);