@@ -31,6 +31,24 @@ static const struct jh7110_reset_info jh7110_aon_info = {
31
31
.status_offset = 0x3C ,
32
32
};
33
33
34
+ static const struct jh7110_reset_info jh7110_stg_info = {
35
+ .nr_resets = JH7110_STGRST_END ,
36
+ .assert_offset = 0x74 ,
37
+ .status_offset = 0x78 ,
38
+ };
39
+
40
+ static const struct jh7110_reset_info jh7110_isp_info = {
41
+ .nr_resets = JH7110_ISPRST_END ,
42
+ .assert_offset = 0x38 ,
43
+ .status_offset = 0x3C ,
44
+ };
45
+
46
+ static const struct jh7110_reset_info jh7110_vout_info = {
47
+ .nr_resets = JH7110_VOUTRST_END ,
48
+ .assert_offset = 0x48 ,
49
+ .status_offset = 0x4C ,
50
+ };
51
+
34
52
static int jh7110_reset_probe (struct auxiliary_device * adev ,
35
53
const struct auxiliary_device_id * id )
36
54
{
@@ -58,6 +76,18 @@ static const struct auxiliary_device_id jh7110_reset_ids[] = {
58
76
.name = "clk_starfive_jh7110_sys.rst-aon" ,
59
77
.driver_data = (kernel_ulong_t )& jh7110_aon_info ,
60
78
},
79
+ {
80
+ .name = "clk_starfive_jh7110_sys.rst-stg" ,
81
+ .driver_data = (kernel_ulong_t )& jh7110_stg_info ,
82
+ },
83
+ {
84
+ .name = "clk_starfive_jh7110_sys.rst-isp" ,
85
+ .driver_data = (kernel_ulong_t )& jh7110_isp_info ,
86
+ },
87
+ {
88
+ .name = "clk_starfive_jh7110_sys.rst-vo" ,
89
+ .driver_data = (kernel_ulong_t )& jh7110_vout_info ,
90
+ },
61
91
{ /* sentinel */ }
62
92
};
63
93
MODULE_DEVICE_TABLE (auxiliary , jh7110_reset_ids );
0 commit comments