Skip to content

Commit 7af1caf

Browse files
robherringShawn Guo
authored andcommitted
ARM: dts: imx: Fix boolean properties with values
Boolean properties in DT are present or not present and don't take a value. A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't matter. It may have been intended that 0 values are false, but there is no change in behavior with this patch. Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 4c79865 commit 7af1caf

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -154,112 +154,112 @@
154154
regulators {
155155
bcore1 {
156156
regulator-name = "bcore1";
157-
regulator-always-on = <1>;
157+
regulator-always-on;
158158
regulator-min-microvolt = <300000>;
159159
regulator-max-microvolt = <3300000>;
160160
};
161161

162162
bcore2 {
163163
regulator-name = "bcore2";
164-
regulator-always-on = <1>;
164+
regulator-always-on;
165165
regulator-min-microvolt = <300000>;
166166
regulator-max-microvolt = <3300000>;
167167
};
168168

169169
bpro {
170170
regulator-name = "bpro";
171-
regulator-always-on = <1>;
171+
regulator-always-on;
172172
regulator-min-microvolt = <300000>;
173173
regulator-max-microvolt = <3300000>;
174174
};
175175

176176
bperi {
177177
regulator-name = "bperi";
178-
regulator-always-on = <1>;
178+
regulator-always-on;
179179
regulator-min-microvolt = <300000>;
180180
regulator-max-microvolt = <3300000>;
181181
};
182182

183183
bmem {
184184
regulator-name = "bmem";
185-
regulator-always-on = <1>;
185+
regulator-always-on;
186186
regulator-min-microvolt = <300000>;
187187
regulator-max-microvolt = <3300000>;
188188
};
189189

190190
ldo2 {
191191
regulator-name = "ldo2";
192-
regulator-always-on = <1>;
192+
regulator-always-on;
193193
regulator-min-microvolt = <300000>;
194194
regulator-max-microvolt = <1800000>;
195195
};
196196

197197
ldo3 {
198198
regulator-name = "ldo3";
199-
regulator-always-on = <1>;
199+
regulator-always-on;
200200
regulator-min-microvolt = <300000>;
201201
regulator-max-microvolt = <3300000>;
202202
};
203203

204204
ldo4 {
205205
regulator-name = "ldo4";
206-
regulator-always-on = <1>;
206+
regulator-always-on;
207207
regulator-min-microvolt = <300000>;
208208
regulator-max-microvolt = <3300000>;
209209
};
210210

211211
ldo5 {
212212
regulator-name = "ldo5";
213-
regulator-always-on = <1>;
213+
regulator-always-on;
214214
regulator-min-microvolt = <300000>;
215215
regulator-max-microvolt = <3300000>;
216216
};
217217

218218
ldo6 {
219219
regulator-name = "ldo6";
220-
regulator-always-on = <1>;
220+
regulator-always-on;
221221
regulator-min-microvolt = <300000>;
222222
regulator-max-microvolt = <3300000>;
223223
};
224224

225225
ldo7 {
226226
regulator-name = "ldo7";
227-
regulator-always-on = <1>;
227+
regulator-always-on;
228228
regulator-min-microvolt = <300000>;
229229
regulator-max-microvolt = <3300000>;
230230
};
231231

232232
ldo8 {
233233
regulator-name = "ldo8";
234-
regulator-always-on = <1>;
234+
regulator-always-on;
235235
regulator-min-microvolt = <300000>;
236236
regulator-max-microvolt = <3300000>;
237237
};
238238

239239
ldo9 {
240240
regulator-name = "ldo9";
241-
regulator-always-on = <1>;
241+
regulator-always-on;
242242
regulator-min-microvolt = <300000>;
243243
regulator-max-microvolt = <3300000>;
244244
};
245245

246246
ldo10 {
247247
regulator-name = "ldo10";
248-
regulator-always-on = <1>;
248+
regulator-always-on;
249249
regulator-min-microvolt = <300000>;
250250
regulator-max-microvolt = <3300000>;
251251
};
252252

253253
ldo11 {
254254
regulator-name = "ldo11";
255-
regulator-always-on = <1>;
255+
regulator-always-on;
256256
regulator-min-microvolt = <300000>;
257257
regulator-max-microvolt = <3300000>;
258258
};
259259

260260
bio {
261261
regulator-name = "bio";
262-
regulator-always-on = <1>;
262+
regulator-always-on;
263263
regulator-min-microvolt = <1800000>;
264264
regulator-max-microvolt = <1800000>;
265265
};

arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
st,settling = <2>;
7373
st,fraction-z = <7>;
7474
st,i-drive = <1>;
75-
touchscreen-inverted-x = <1>;
76-
touchscreen-inverted-y = <1>;
75+
touchscreen-inverted-x;
76+
touchscreen-inverted-y;
7777
};
7878
};
7979
};

0 commit comments

Comments
 (0)