* [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs
@ 2024-08-28 9:35 Krzysztof Kozlowski
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-28 9:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada
Cc: linux-gpio, devicetree, linux-kernel, Krzysztof Kozlowski,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
Merging
=======
Patches are independent and can go via different trees.
Description
===========
DTS like:
device {
compatible = "fcs,fxl6408";
dummy-hog;
};
should fail, but unfortunately it does not if "type: object" is missing.
Add missing type, so this will properly trigger warning:
dummy-hog: True is not of type 'object'
Best regards,
Krzysztof
---
Krzysztof Kozlowski (3):
dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
dt-bindings: gpio: simplify GPIO hog nodes schema
.../devicetree/bindings/gpio/fairchild,74hc595.yaml | 11 -----------
Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml | 1 +
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 11 -----------
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 11 -----------
.../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml | 12 ------------
.../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml | 11 -----------
.../devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml | 1 +
.../devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 +
.../devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml | 1 +
9 files changed, 4 insertions(+), 56 deletions(-)
---
base-commit: c79c85875f1af04040fe4492ed94ce37ad729c4d
change-id: 20240828-dt-bindings-gpio-hog-429a28eb94a2
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
2024-08-28 9:35 [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Krzysztof Kozlowski
@ 2024-08-28 9:35 ` Krzysztof Kozlowski
2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:48 ` Bartosz Golaszewski
2024-08-28 9:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom: " Krzysztof Kozlowski
` (2 subsequent siblings)
3 siblings, 2 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-28 9:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada
Cc: linux-gpio, devicetree, linux-kernel, Krzysztof Kozlowski,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
GPIO hog nodes should define type, otherwise "dummy-hog" boolean
properties would be allowed.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml b/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml
index 65b6970e42fb..b74fa81e7d05 100644
--- a/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml
+++ b/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml
@@ -28,6 +28,7 @@ properties:
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
+ type: object
required:
- gpio-hog
--
2.43.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-08-28 9:35 [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Krzysztof Kozlowski
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
@ 2024-08-28 9:35 ` Krzysztof Kozlowski
2024-08-30 22:32 ` Linus Walleij
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
2024-08-28 13:41 ` [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Rob Herring
3 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-28 9:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada
Cc: linux-gpio, devicetree, linux-kernel, Krzysztof Kozlowski,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
GPIO hog nodes should define type, otherwise "dummy-hog" boolean
properties would be allowed.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml | 1 +
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 1 +
Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml | 1 +
3 files changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml
index ebf74e48ec5b..cc5de9f77680 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml
@@ -37,6 +37,7 @@ patternProperties:
additionalProperties: false
"-hog(-[0-9]+)?$":
+ type: object
required:
- gpio-hog
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 2784d32fdde2..c1b799167d81 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -425,6 +425,7 @@ patternProperties:
additionalProperties: false
"-hog(-[0-9]+)?$":
+ type: object
required:
- gpio-hog
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml
index dfe5616b9b85..0f331844608c 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml
@@ -43,6 +43,7 @@ patternProperties:
additionalProperties: false
"-hog(-[0-9]+)?$":
+ type: object
required:
- gpio-hog
--
2.43.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema
2024-08-28 9:35 [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Krzysztof Kozlowski
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
2024-08-28 9:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom: " Krzysztof Kozlowski
@ 2024-08-28 9:35 ` Krzysztof Kozlowski
2024-08-28 15:53 ` Conor Dooley
` (2 more replies)
2024-08-28 13:41 ` [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Rob Herring
3 siblings, 3 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-28 9:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada
Cc: linux-gpio, devicetree, linux-kernel, Krzysztof Kozlowski,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
The core schema in dtschema already strictly defines contents of nodes
with "gpio-hog" property (with additionalProperties: false), thus the
only thing device schema should do is: define "type: object" and
required "gpio-hog". Make the code a bit simpler by removing redundant
parts.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/gpio/fairchild,74hc595.yaml | 11 -----------
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 11 -----------
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 11 -----------
.../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml | 12 ------------
.../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml | 11 -----------
5 files changed, 56 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
index c0ad70e66f76..e8bc9f018edb 100644
--- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
+++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
@@ -36,19 +36,8 @@ properties:
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
type: object
-
- properties:
- gpio-hog: true
- gpios: true
- output-high: true
- output-low: true
- line-name: true
-
required:
- gpio-hog
- - gpios
-
- additionalProperties: false
required:
- compatible
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index e1fc8bb6d379..6b06609c649e 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -85,19 +85,8 @@ properties:
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
type: object
- properties:
- gpio-hog: true
- gpios: true
- input: true
- output-high: true
- output-low: true
- line-name: true
-
required:
- gpio-hog
- - gpios
-
- additionalProperties: false
required:
- compatible
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
index 51e8390d6b32..7b1eb08fa055 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
@@ -107,19 +107,8 @@ properties:
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
type: object
- properties:
- gpio-hog: true
- gpios: true
- input: true
- output-high: true
- output-low: true
- line-name: true
-
required:
- gpio-hog
- - gpios
-
- additionalProperties: false
required:
- compatible
diff --git a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
index d61569b3f15b..d78da7dd2a56 100644
--- a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
@@ -49,20 +49,8 @@ properties:
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object
-
- additionalProperties: false
-
- properties:
- gpio-hog: true
- gpios: true
- input: true
- output-high: true
- output-low: true
- line-name: true
-
required:
- gpio-hog
- - gpios
allOf:
- if:
diff --git a/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml b/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
index 228fa27ffdc3..36f5a0610471 100644
--- a/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
@@ -55,19 +55,8 @@ properties:
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object
- properties:
- gpio-hog: true
- gpios: true
- input: true
- output-high: true
- output-low: true
- line-name: true
-
required:
- gpio-hog
- - gpios
-
- additionalProperties: false
required:
- compatible
--
2.43.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs
2024-08-28 9:35 [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Krzysztof Kozlowski
` (2 preceding siblings ...)
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
@ 2024-08-28 13:41 ` Rob Herring
3 siblings, 0 replies; 15+ messages in thread
From: Rob Herring @ 2024-08-28 13:41 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Linus Walleij, Bartosz Golaszewski, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Wed, Aug 28, 2024 at 11:35:56AM +0200, Krzysztof Kozlowski wrote:
> Merging
> =======
> Patches are independent and can go via different trees.
>
> Description
> ===========
> DTS like:
>
> device {
> compatible = "fcs,fxl6408";
> dummy-hog;
> };
>
> should fail, but unfortunately it does not if "type: object" is missing.
> Add missing type, so this will properly trigger warning:
>
> dummy-hog: True is not of type 'object'
>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (3):
> dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
> dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
> dt-bindings: gpio: simplify GPIO hog nodes schema
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
@ 2024-08-28 15:53 ` Conor Dooley
2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:49 ` Bartosz Golaszewski
2 siblings, 0 replies; 15+ messages in thread
From: Conor Dooley @ 2024-08-28 15:53 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada, linux-gpio, devicetree,
linux-kernel, linux-arm-msm, Krzysztof Kozlowski, Conor Dooley,
imx, linux-arm-kernel, linux-riscv
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
On Wed, Aug 28, 2024 at 11:35:59AM +0200, Krzysztof Kozlowski wrote:
> The core schema in dtschema already strictly defines contents of nodes
> with "gpio-hog" property (with additionalProperties: false), thus the
> only thing device schema should do is: define "type: object" and
> required "gpio-hog". Make the code a bit simpler by removing redundant
> parts.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/gpio/fairchild,74hc595.yaml | 11 -----------
> Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 11 -----------
> Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 11 -----------
> .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml | 12 ------------
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
2024-08-28 15:53 ` Conor Dooley
@ 2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:49 ` Bartosz Golaszewski
2 siblings, 0 replies; 15+ messages in thread
From: Linus Walleij @ 2024-08-30 22:31 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> The core schema in dtschema already strictly defines contents of nodes
> with "gpio-hog" property (with additionalProperties: false), thus the
> only thing device schema should do is: define "type: object" and
> required "gpio-hog". Make the code a bit simpler by removing redundant
> parts.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
@ 2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:48 ` Bartosz Golaszewski
1 sibling, 0 replies; 15+ messages in thread
From: Linus Walleij @ 2024-08-30 22:31 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> GPIO hog nodes should define type, otherwise "dummy-hog" boolean
> properties would be allowed.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-08-28 9:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom: " Krzysztof Kozlowski
@ 2024-08-30 22:32 ` Linus Walleij
2024-09-02 9:50 ` Bartosz Golaszewski
0 siblings, 1 reply; 15+ messages in thread
From: Linus Walleij @ 2024-08-30 22:32 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> GPIO hog nodes should define type, otherwise "dummy-hog" boolean
> properties would be allowed.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
I suppose it's best of Bartosz applies this to the GPIO tree with
the rest of the series?
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
2024-08-30 22:31 ` Linus Walleij
@ 2024-09-02 9:48 ` Bartosz Golaszewski
1 sibling, 0 replies; 15+ messages in thread
From: Bartosz Golaszewski @ 2024-09-02 9:48 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada, Krzysztof Kozlowski
Cc: Bartosz Golaszewski, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Wed, 28 Aug 2024 11:35:57 +0200, Krzysztof Kozlowski wrote:
> GPIO hog nodes should define type, otherwise "dummy-hog" boolean
> properties would be allowed.
>
>
Applied, thanks!
[1/3] dt-bindings: gpio: fcs,fxl6408: add missing type to GPIO hogs
commit: 6a9f2c1b1cbbcd49a1ccf18771e68f7cf52709ee
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
2024-08-28 15:53 ` Conor Dooley
2024-08-30 22:31 ` Linus Walleij
@ 2024-09-02 9:49 ` Bartosz Golaszewski
2 siblings, 0 replies; 15+ messages in thread
From: Bartosz Golaszewski @ 2024-09-02 9:49 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada, Krzysztof Kozlowski
Cc: Bartosz Golaszewski, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Wed, 28 Aug 2024 11:35:59 +0200, Krzysztof Kozlowski wrote:
> The core schema in dtschema already strictly defines contents of nodes
> with "gpio-hog" property (with additionalProperties: false), thus the
> only thing device schema should do is: define "type: object" and
> required "gpio-hog". Make the code a bit simpler by removing redundant
> parts.
>
>
> [...]
Applied, thanks!
[3/3] dt-bindings: gpio: simplify GPIO hog nodes schema
commit: 98db29d1b4b7b1fe9b54d11e66a396fc37a73c57
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-08-30 22:32 ` Linus Walleij
@ 2024-09-02 9:50 ` Bartosz Golaszewski
2024-09-02 9:51 ` Bartosz Golaszewski
0 siblings, 1 reply; 15+ messages in thread
From: Bartosz Golaszewski @ 2024-09-02 9:50 UTC (permalink / raw)
To: Linus Walleij
Cc: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Sat, Aug 31, 2024 at 12:32 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>
> > GPIO hog nodes should define type, otherwise "dummy-hog" boolean
> > properties would be allowed.
> >
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> I suppose it's best of Bartosz applies this to the GPIO tree with
> the rest of the series?
>
> Yours,
> Linus Walleij
Ah, I picked up the GPIO changes separately. No problem, I'll pick
this one up as well.
Bart
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-09-02 9:50 ` Bartosz Golaszewski
@ 2024-09-02 9:51 ` Bartosz Golaszewski
2024-09-02 10:02 ` Krzysztof Kozlowski
0 siblings, 1 reply; 15+ messages in thread
From: Bartosz Golaszewski @ 2024-09-02 9:51 UTC (permalink / raw)
To: Linus Walleij
Cc: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Mon, Sep 2, 2024 at 11:50 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> On Sat, Aug 31, 2024 at 12:32 AM Linus Walleij <linus.walleij@linaro.org> wrote:
> >
> > On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
> > <krzysztof.kozlowski@linaro.org> wrote:
> >
> > > GPIO hog nodes should define type, otherwise "dummy-hog" boolean
> > > properties would be allowed.
> > >
> > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >
> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> >
> > I suppose it's best of Bartosz applies this to the GPIO tree with
> > the rest of the series?
> >
> > Yours,
> > Linus Walleij
>
> Ah, I picked up the GPIO changes separately. No problem, I'll pick
> this one up as well.
>
> Bart
Nope, I cannot, this doesn't apply to the GPIO tree.
Bart
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-09-02 9:51 ` Bartosz Golaszewski
@ 2024-09-02 10:02 ` Krzysztof Kozlowski
2024-09-03 9:16 ` Linus Walleij
0 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-09-02 10:02 UTC (permalink / raw)
To: Bartosz Golaszewski, Linus Walleij
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Emanuele Ghidoli,
Bjorn Andersson, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu,
Maxime Ripard, Masahiro Yamada, linux-gpio, devicetree,
linux-kernel, linux-arm-msm, Krzysztof Kozlowski, Conor Dooley,
imx, linux-arm-kernel, linux-riscv
On 02/09/2024 11:51, Bartosz Golaszewski wrote:
> On Mon, Sep 2, 2024 at 11:50 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>>
>> On Sat, Aug 31, 2024 at 12:32 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>>>
>>> On Wed, Aug 28, 2024 at 11:36 AM Krzysztof Kozlowski
>>> <krzysztof.kozlowski@linaro.org> wrote:
>>>
>>>> GPIO hog nodes should define type, otherwise "dummy-hog" boolean
>>>> properties would be allowed.
>>>>
>>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>
>>> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>>>
>>> I suppose it's best of Bartosz applies this to the GPIO tree with
>>> the rest of the series?
>>>
>>> Yours,
>>> Linus Walleij
>>
>> Ah, I picked up the GPIO changes separately. No problem, I'll pick
>> this one up as well.
>>
>> Bart
>
> Nope, I cannot, this doesn't apply to the GPIO tree.
Hm, probably there is something in pinctrl tree.
@Linus, can you grab pinctrl bits?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom: add missing type to GPIO hogs
2024-09-02 10:02 ` Krzysztof Kozlowski
@ 2024-09-03 9:16 ` Linus Walleij
0 siblings, 0 replies; 15+ messages in thread
From: Linus Walleij @ 2024-09-03 9:16 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Emanuele Ghidoli, Bjorn Andersson, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Daire McNamara, Kunihiko Hayashi, Masami Hiramatsu, Maxime Ripard,
Masahiro Yamada, linux-gpio, devicetree, linux-kernel,
linux-arm-msm, Krzysztof Kozlowski, Conor Dooley, imx,
linux-arm-kernel, linux-riscv
On Mon, Sep 2, 2024 at 12:02 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> >>> I suppose it's best of Bartosz applies this to the GPIO tree with
> >>> the rest of the series?
> >>>
> >>> Yours,
> >>> Linus Walleij
> >>
> >> Ah, I picked up the GPIO changes separately. No problem, I'll pick
> >> this one up as well.
> >>
> >> Bart
> >
> > Nope, I cannot, this doesn't apply to the GPIO tree.
>
> Hm, probably there is something in pinctrl tree.
>
> @Linus, can you grab pinctrl bits?
OK I applied this patch 2/3 to the pinctrl tree!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2024-09-03 9:16 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 9:35 [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Krzysztof Kozlowski
2024-08-28 9:35 ` [PATCH 1/3] dt-bindings: gpio: fcs,fxl6408: " Krzysztof Kozlowski
2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:48 ` Bartosz Golaszewski
2024-08-28 9:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom: " Krzysztof Kozlowski
2024-08-30 22:32 ` Linus Walleij
2024-09-02 9:50 ` Bartosz Golaszewski
2024-09-02 9:51 ` Bartosz Golaszewski
2024-09-02 10:02 ` Krzysztof Kozlowski
2024-09-03 9:16 ` Linus Walleij
2024-08-28 9:35 ` [PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema Krzysztof Kozlowski
2024-08-28 15:53 ` Conor Dooley
2024-08-30 22:31 ` Linus Walleij
2024-09-02 9:49 ` Bartosz Golaszewski
2024-08-28 13:41 ` [PATCH 0/3] dt-bindings: gpio/pinctrl: add missing type to GPIO hogs Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).