Skip to contentSkip to conversation

ARM: dts: stm32: Remove extra size-cells

PATCH In review Marek Vasut 2 participants 4 messages Apr 26, 2021 – Jun 1, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: stm32: Remove extra size-cells

Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys-polled: '#address-cells' is a dependency of '#size-cells' arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys: '#address-cells' is a dependency of '#size-cells'

Cc Alexandre Torgue <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +0 -2
index 5523f4138fd6..0fbf9913e8df 100644
@@ -34,7 +34,6 @@ display_bl: display-bl {
 
 	gpio-keys-polled {
 		compatible = "gpio-keys-polled";
-		#size-cells = <0>;
 		poll-interval = <20>;
 
 		/*
@@ -60,7 +59,6 @@ button-2 {
 
 	gpio-keys {
 		compatible = "gpio-keys";
-		#size-cells = <0>;
 
 		button-1 {
 			label = "TA2-GPIO-B";
Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/2 ARM: dts: stm32: Fix touchscreen node

Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml:0:0: /soc/i2c@40015000/polytouch@38: failed to match any schema with compatible: ['edt,edt-ft5x06']

Cc Alexandre Torgue <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +2 -2
index 0fbf9913e8df..b8c8f0b284c3 100644
@@ -182,8 +182,8 @@ sgtl5000_rx_endpoint: endpoint@1 {
 
 	};
 
-	polytouch@38 {
-		compatible = "edt,edt-ft5x06";
+	touchscreen@38 {
+		compatible = "edt,edt-ft5406";
 		reg = <0x38>;
 		interrupt-parent = <&gpiog>;
 		interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */
Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer
#2 lore raw

Re: [PATCH 2/2] ARM: dts: stm32: Fix touchscreen node

Quoted 19 lines · Marek Vasut

Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml:0:0: /soc/i2c@40015000/polytouch@38: failed to match any schema with compatible: ['edt,edt-ft5x06']

Cc Alexandre Torgue <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
  arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +0 -0
index 0fbf9913e8df..b8c8f0b284c3 100644

arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi sgtl5000_rx_endpoint: endpoint@1 { · line 189

Quoted 10 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +2 -2
@@ -182,8 +182,8 @@ sgtl5000_rx_endpoint: endpoint@1 {
 
  	};
 
-	polytouch@38 {
-		compatible = "edt,edt-ft5x06";
+	touchscreen@38 {
+		compatible = "edt,edt-ft5406";
  		reg = <0x38>;
  		interrupt-parent = <&gpiog>;
  		interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */

Applied on stm32-next.

Thanks.
Alex

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#3 lore raw
In reply to Marek Vasut
Quoted 30 lines · Marek Vasut

Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys-polled: '#address-cells' is a dependency of '#size-cells' arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys: '#address-cells' is a dependency of '#size-cells'

Cc Alexandre Torgue <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
  arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 2 --
  1 file changed, 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +0 -1
index 5523f4138fd6..0fbf9913e8df 100644
@@ -34,7 +34,6 @@ display_bl: display-bl {
 
  	gpio-keys-polled {
  		compatible = "gpio-keys-polled";
-		#size-cells = <0>;
  		poll-interval = <20>;
 
  		/*

arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi button-2 { · line 64

Quoted 7 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +0 -1
@@ -60,7 +59,6 @@ button-2 {
 
  	gpio-keys {
  		compatible = "gpio-keys";
-		#size-cells = <0>;
 
  		button-1 {
  			label = "TA2-GPIO-B";

Applied on stm32-next.

Thanks.
Alex

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel