Skip to contentSkip to conversation

dt-bindings: input: fsl,scu-key: Document wakeup-source

PATCH Applied Fabio Estevam 7 participants 18 messages Sep 26, 2023 – Oct 29, 2023

Subsystems (5)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/8 dt-bindings: input: fsl,scu-key: Document wakeup-source

From: Fabio Estevam <[email protected]>

The SCU Key controller can be used as a system wakeup source.

Document the 'wakeup-source' property.

This fixes the following schema warning:

system-controller: keys: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Cc Dmitry Torokhov <[email protected]>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/input/fsl,scu-key.yaml +2 -0
index e5a3c355ee1f..29921aab9d97 100644
@@ -24,6 +24,8 @@ properties:
   linux,keycodes:
     maxItems: 1
 
+  wakeup-source: true
+
 required:
   - compatible
   - linux,keycodes
Signature · 1 line
2.34.1
author reviewer
#1 lore raw

PATCH 2/8 dt-bindings: power: fsl,scu-pd: Document imx8dl

From: Fabio Estevam <[email protected]>

imx8dxl also contains the SCU PD block.

Add an entry for 'fsl,imx8dl-scu-pd'.

---
 Documentation/devicetree/bindings/power/fsl,scu-pd.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/power/fsl,scu-pd.yaml +1 -0
index 407b7cfec783..7a0f1a400868 100644
@@ -20,6 +20,7 @@ properties:
   compatible:
     items:
       - enum:
+          - fsl,imx8dl-scu-pd
           - fsl,imx8qm-scu-pd
           - fsl,imx8qxp-scu-pd
       - const: fsl,scu-pd
Signature · 1 line
2.34.1
author reviewer
#3 lore raw

PATCH 3/8 arm64: dts: imx8dxl: Pass fsl,imx8dl-scu-pd

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Pass 'fsl,imx8dl-scu-pd' to fix the following schema warning:

system-controller: power-controller:compatible:0: 'fsl,scu-pd' is not one of ['fsl,imx8qm-scu-pd', 'fsl,imx8qxp-scu-pd']
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +1 -1
index 792b7224ca5b..19aa89ea442a 100644
@@ -122,7 +122,7 @@ &lsio_mu1 1 0
 			  &lsio_mu1 3 3>;
 
 		pd: power-controller {
-			compatible = "fsl,scu-pd";
+			compatible = "fsl,imx8dl-scu-pd", "fsl,scu-pd";
 			#power-domain-cells = <1>;
 			wakeup-irq = <160 163 235 236 237 228 229 230 231 238
 				     239 240 166 169>;
Signature · 1 line
2.34.1
Applied
#4 lore raw

Re: [PATCH 3/8] arm64: dts: imx8dxl: Pass fsl,imx8dl-scu-pd

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Pass 'fsl,imx8dl-scu-pd' to fix the following schema warning:

system-controller: power-controller:compatible:0: 'fsl,scu-pd' is not one of ['fsl,imx8qm-scu-pd', 'fsl,imx8qxp-scu-pd']
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Applied all 4 dts changes, thanks!

author reviewer
#5 lore raw

PATCH 4/8 arm64: dts: imx8dxl: Remove wakeup-irq

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

wakeup-irq is not documented, and not used anywhere.

Remove it.

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +0 -2
index 19aa89ea442a..c166ffebe438 100644
@@ -124,8 +124,6 @@ &lsio_mu1 1 0
 		pd: power-controller {
 			compatible = "fsl,imx8dl-scu-pd", "fsl,scu-pd";
 			#power-domain-cells = <1>;
-			wakeup-irq = <160 163 235 236 237 228 229 230 231 238
-				     239 240 166 169>;
 		};
 
 		clk: clock-controller {
Signature · 1 line
2.34.1
author reviewer
#6 lore raw

PATCH 5/8 dt-bindings: thermal: fsl,scu-thermal: Document imx8dl

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

imx8dxl also contains the SCU thermal block.

Add an entry for 'fsl,imx8dxl-sc-thermal'.

Cc Rafael J. Wysocki <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Amit Kucheria <[email protected]>
---
 .../devicetree/bindings/thermal/fsl,scu-thermal.yaml          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml +3 -1
index 3721c8c8ec64..e02d04d4f71e 100644
@@ -18,7 +18,9 @@ allOf:
 properties:
   compatible:
     items:
-      - const: fsl,imx8qxp-sc-thermal
+      - enum:
+          - fsl,imx8dxl-sc-thermal
+          - fsl,imx8qxp-sc-thermal
       - const: fsl,imx-sc-thermal
 
   '#thermal-sensor-cells':
Signature · 1 line
2.34.1
#8 lore raw

Re: [PATCH 5/8] dt-bindings: thermal: fsl,scu-thermal: Document imx8dl

In reply to Fabio Estevam
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

imx8dxl also contains the SCU thermal block.

Add an entry for 'fsl,imx8dxl-sc-thermal'.

Cc Rafael J. Wysocki <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Amit Kucheria <[email protected]>

---

May I apply this patch or do you want it to be applied with the series it belongs?

Quoted 18 lines
  .../devicetree/bindings/thermal/fsl,scu-thermal.yaml          | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml +3 -1
index 3721c8c8ec64..e02d04d4f71e 100644
@@ -18,7 +18,9 @@ allOf:
  properties:
    compatible:
      items:
-      - const: fsl,imx8qxp-sc-thermal
+      - enum:
+          - fsl,imx8dxl-sc-thermal
+          - fsl,imx8qxp-sc-thermal
        - const: fsl,imx-sc-thermal
 
    '#thermal-sensor-cells':
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#9 lore raw

Re: [PATCH 5/8] dt-bindings: thermal: fsl,scu-thermal: Document imx8dl

Hi Daniel,

Quoted 2 lines · Daniel Lezcano

May I apply this patch or do you want it to be applied with the series it belongs?

Please apply it, thanks.

#10 lore raw

Re: [PATCH 5/8] dt-bindings: thermal: fsl,scu-thermal: Document imx8dl

In reply to Fabio Estevam
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

imx8dxl also contains the SCU thermal block.

Add an entry for 'fsl,imx8dxl-sc-thermal'.

Cc Rafael J. Wysocki <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Amit Kucheria <[email protected]>

---

Applied, thanks

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
author reviewer
#11 lore raw

PATCH 6/8 arm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-thermal

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Pass 'fsl,imx8dxl-sc-thermal' to fix the following schema warning:

system-controller: thermal-sensor:compatible:0: 'fsl,imx8qxp-sc-thermal' was expected
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#
system-controller: thermal-sensor:compatible: ['fsl,imx-sc-thermal'] is too short
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +1 -1
index c166ffebe438..5c63976090e6 100644
@@ -171,7 +171,7 @@ watchdog {
 		};
 
 		tsens: thermal-sensor {
-			compatible = "fsl,imx-sc-thermal";
+			compatible = "fsl,imx8dxl-sc-thermal", "fsl,imx-sc-thermal";
 			#thermal-sensor-cells = <1>;
 		};
 	};
Signature · 1 line
2.34.1
author reviewer
#12 lore raw

PATCH 7/8 dt-bindings: watchdog: fsl,scu-wdt: Document imx8dl

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

imx8dxl also contains the SCU watchdog block.

Add an entry for 'fsl,imx8dxl-sc-wdt'.

Cc Wim Van Sebroeck <[email protected]>
Cc Guenter Roeck <[email protected]>
---
 Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml +3 -1
index 47701248cd8d..8b7aa922249b 100644
@@ -18,7 +18,9 @@ allOf:
 properties:
   compatible:
     items:
-      - const: fsl,imx8qxp-sc-wdt
+      - enum:
+          - fsl,imx8dxl-sc-wdt
+          - fsl,imx8qxp-sc-wdt
       - const: fsl,imx-sc-wdt
 
 required:
Signature · 1 line
2.34.1
author reviewer
#14 lore raw

PATCH 8/8 arm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-wdt

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Pass 'fsl,imx8dxl-sc-wdt' to fix the following schema warning:

system-controller: watchdog:compatible:0: 'fsl,imx8qxp-sc-wdt' was expected
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#
system-controller: watchdog:compatible: ['fsl,imx-sc-wdt'] is too short
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8dxl.dtsi +1 -1
index 5c63976090e6..f580eb6db9a6 100644
@@ -166,7 +166,7 @@ sc_pwrkey: keys {
 		};
 
 		watchdog {
-			compatible = "fsl,imx-sc-wdt";
+			compatible = "fsl,imx8dxl-sc-wdt", "fsl,imx-sc-wdt";
 			timeout-sec = <60>;
 		};
 
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/8
#15 lore raw
In reply to Fabio Estevam
Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The SCU Key controller can be used as a system wakeup source.

Document the 'wakeup-source' property.

This fixes the following schema warning:

Quoted 9 lines

system-controller: keys: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Cc Dmitry Torokhov <[email protected]>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 2 ++
 1 file changed, 2 insertions(+)
author reviewer
#16 lore raw

Hi Dmitry,

Quoted 14 lines · Rob Herring
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The SCU Key controller can be used as a system wakeup source.

Document the 'wakeup-source' property.

This fixes the following schema warning:

system-controller: keys: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Quoted 8 lines
Quoted 6 lines
Cc Dmitry Torokhov <[email protected]>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 2 ++
 1 file changed, 2 insertions(+)

Could you please take this one?

maintainer Applied
#17 lore raw

Hi Fabio,

Quoted 24 lines · Fabio Estevam

Hi Dmitry,

Quoted 21 lines · Rob Herring
Quoted 17 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The SCU Key controller can be used as a system wakeup source.

Document the 'wakeup-source' property.

This fixes the following schema warning:

system-controller: keys: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Cc Dmitry Torokhov <[email protected]>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 3 lines
Quoted 1 line

Could you please take this one?

Applied, thank you.

Signature · 1 line
Dmitry