Skip to contentSkip to conversation

ARM: dts: imx6qdl-dhcom-pdk2: Drop incorrect size-cells in GPIO keys

PATCH Applied Marek Vasut 3 participants 3 messages Oct 15, 2024 – Oct 22, 2024

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

PATCH 1/1 ARM: dts: imx6qdl-dhcom-pdk2: Drop incorrect size-cells in GPIO keys

Bindings do not allow address/size-cells in GPIO keys and the GPIO keys is not a bus, see dtbs_check warning:

"
arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-pdk2.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+' "

---
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +0 -1
index 6248b126b5578..773fdcfcd0015 100644
@@ -56,7 +56,6 @@ lcd_display_out: endpoint {
 	};
 
 	gpio-keys {
-		#size-cells = <0>;
 		compatible = "gpio-keys";
 
 		button-0 {
Signature · 1 line
2.45.2
maintainer Reviewed-by on v1 1/1
#1 lore raw

From: Marek Vasut <[email protected]>
Sent: Wednesday, October 16, 2024 12:45 AM

Quoted 34 lines

Bindings do not allow address/size-cells in GPIO keys and the GPIO keys is not a bus, see dtbs_check warning:

"
arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-pdk2.dtb: gpio-keys: '#address-cells', '#size- cells' do not match any of the regexes:
'^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+- (button|event|key|switch))$', 'pinctrl-[0-9]+'
"

---
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +0 -0
index 6248b126b5578..773fdcfcd0015 100644

arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi lcd_display_out: endpoint { · line 61

Quoted 7 lines
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +0 -1
@@ -56,7 +56,6 @@ lcd_display_out: endpoint {
        };
 
        gpio-keys {
-               #size-cells = <0>;
                compatible = "gpio-keys";
 
                button-0 {
Applied
#2 lore raw
In reply to Marek Vasut
Quoted 8 lines · Marek Vasut

Bindings do not allow address/size-cells in GPIO keys and the GPIO keys is not a bus, see dtbs_check warning:

"
arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-pdk2.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+' "

Applied, thanks!