File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Documentation/devicetree/bindings/sram Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ properties:
56
56
ranges : true
57
57
58
58
patternProperties :
59
+ " ^regulators@[0-9a-f]+$ " :
60
+ $ref : /schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml#
61
+
59
62
" ^sram@[a-f0-9]+ " :
60
63
$ref : /schemas/sram/sram.yaml#
61
64
unevaluatedProperties : false
@@ -130,3 +133,28 @@ examples:
130
133
};
131
134
};
132
135
};
136
+
137
+ - |
138
+ syscon@3000000 {
139
+ compatible = "allwinner,sun20i-d1-system-control";
140
+ reg = <0x3000000 0x1000>;
141
+ ranges;
142
+ #address-cells = <1>;
143
+ #size-cells = <1>;
144
+
145
+ regulators@3000150 {
146
+ compatible = "allwinner,sun20i-d1-system-ldos";
147
+ reg = <0x3000150 0x4>;
148
+
149
+ reg_ldoa: ldoa {
150
+ regulator-min-microvolt = <1800000>;
151
+ regulator-max-microvolt = <1800000>;
152
+ };
153
+
154
+ reg_ldob: ldob {
155
+ regulator-name = "vcc-dram";
156
+ regulator-min-microvolt = <1500000>;
157
+ regulator-max-microvolt = <1500000>;
158
+ };
159
+ };
160
+ };
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ struct sunxi_sram_data {
33
33
u8 offset ;
34
34
u8 width ;
35
35
struct sunxi_sram_func * func ;
36
- struct list_head list ;
37
36
};
38
37
39
38
struct sunxi_sram_desc {
@@ -103,7 +102,6 @@ static const struct of_device_id sunxi_sram_dt_ids[] = {
103
102
};
104
103
105
104
static struct device * sram_dev ;
106
- static LIST_HEAD (claimed_sram );
107
105
static DEFINE_SPINLOCK (sram_lock );
108
106
static void __iomem * base ;
109
107
You can’t perform that action at this time.
0 commit comments