ARM: dts: imx6qdl-apalis: Avoid underscore in node name
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/4 ARM: dts: imx6qdl-apalis: Avoid underscore in node name
It is recommended not to use underscore in node names.
Change it to dash.
--- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +2 -2
@@ -313,7 +313,7 @@ stmpe811@41 { /* ADC converstion time: 80 clocks */ st,sample-time = <4>; - stmpe_touchscreen { + stmpe-touchscreen { compatible = "st,stmpe-ts"; /* 8 sample average control */ st,ave-ctrl = <3>;
@@ -330,7 +330,7 @@ stmpe_touchscreen { st,touch-det-delay = <5>; }; - stmpe_adc { + stmpe-adc { compatible = "st,stmpe-adc"; /* forbid to use ADC channels 3-0 (touch) */ st,norequest-mask = <0x0F>;
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fabio Estevam
reviewerPATCH 2/4 ARM: dts: imx6qdl-apalis: Pass 'io-channel-cells' to the ADC
The STMPE811 ADC on the Apalis SoM board can be used as a provider of ADC capabilities to other devices, for example, when a custom baseboard has an SN74LV4051 analog mux.
Pass the 'io-channel-cells' parameter to indicate such possibility.
While at it, also pass a label for the adc device, so that it can be referenced in the custom baseboard.
--- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +2 -1
@@ -330,10 +330,11 @@ stmpe-touchscreen { st,touch-det-delay = <5>; }; - stmpe-adc { + stmpe_adc: stmpe-adc { compatible = "st,stmpe-adc"; /* forbid to use ADC channels 3-0 (touch) */ st,norequest-mask = <0x0F>; + #io-channel-cells = <1>; }; }; };
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fabio Estevam
reviewerPATCH 3/4 ARM: dts: imx6qdl-apalis: Add a label for the touchscreen
In reply to Fabio EstevamAdd a label for the touchscreen to allow a custom baseboard to disable this node if needed.
--- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +1 -1
@@ -313,7 +313,7 @@ stmpe811@41 { /* ADC converstion time: 80 clocks */ st,sample-time = <4>; - stmpe-touchscreen { + stmpe_touchscreen: stmpe-touchscreen { compatible = "st,stmpe-ts"; /* 8 sample average control */ st,ave-ctrl = <3>;
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fabio Estevam
reviewerPATCH 4/4 ARM: dts: imx6qdl-apalis: Fix typo in ADC comment
In reply to Fabio EstevamFix the spelling of 'conversion'.
--- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +1 -1
@@ -310,7 +310,7 @@ stmpe811@41 { st,mod-12b = <1>; /* internal ADC reference */ st,ref-sel = <0>; - /* ADC converstion time: 80 clocks */ + /* ADC conversion time: 80 clocks */ st,sample-time = <4>; stmpe_touchscreen: stmpe-touchscreen {
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedQuoted 5 lines · Fabio Estevam
It is recommended not to use underscore in node names.
Change it to dash.
Signed-off-by Fabio Estevam <[email protected]>
Applied all, thanks!
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel