* [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
@ 2021-09-24 7:16 Maxime Ripard
2021-09-26 15:13 ` Chen-Yu Tsai
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Maxime Ripard @ 2021-09-24 7:16 UTC (permalink / raw)
To: Chen-Yu Tsai, Maxime Ripard, Jernej Škrabec, Rob Herring,
Frank Rowand
Cc: Lee Jones, linux-arm-kernel, devicetree, linux-sunxi,
Linus Walleij, linux-gpio, Bartosz Golaszewski, Rob Herring
The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
thanks to its device tree binding.
Now that we have the DT validation in place, let's convert the device
tree bindings for that driver over to a YAML schema.
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
Changes from v1:
- Removed the example and moved it in the mfd schema
---
.../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
.../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
2 files changed, 55 insertions(+), 75 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
diff --git a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt b/Documentation/devicetree/bindings/gpio/gpio-axp209.txt
deleted file mode 100644
index fc42b2caa06d..000000000000
--- a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-AXP209 GPIO & pinctrl controller
-
-This driver follows the usual GPIO bindings found in
-Documentation/devicetree/bindings/gpio/gpio.txt
-
-This driver follows the usual pinctrl bindings found in
-Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
-
-This driver employs the per-pin muxing pattern.
-
-Required properties:
-- compatible: Should be one of:
- - "x-powers,axp209-gpio"
- - "x-powers,axp813-gpio"
-- #gpio-cells: Should be two. The first cell is the pin number and the
- second is the GPIO flags.
-- gpio-controller: Marks the device node as a GPIO controller.
-
-This node must be a subnode of the axp20x PMIC, documented in
-Documentation/devicetree/bindings/mfd/axp20x.txt
-
-Example:
-
-axp209: pmic@34 {
- compatible = "x-powers,axp209";
- reg = <0x34>;
- interrupt-parent = <&nmi_intc>;
- interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
- interrupt-controller;
- #interrupt-cells = <1>;
-
- axp_gpio: gpio {
- compatible = "x-powers,axp209-gpio";
- gpio-controller;
- #gpio-cells = <2>;
- };
-};
-
-The GPIOs can be muxed to other functions and therefore, must be a subnode of
-axp_gpio.
-
-Example:
-
-&axp_gpio {
- gpio0_adc: gpio0-adc {
- pins = "GPIO0";
- function = "adc";
- };
-};
-
-&example_node {
- pinctrl-names = "default";
- pinctrl-0 = <&gpio0_adc>;
-};
-
-GPIOs and their functions
--------------------------
-
-Each GPIO is independent from the other (i.e. GPIO0 in gpio_in function does
-not force GPIO1 and GPIO2 to be in gpio_in function as well).
-
-axp209
-------
-GPIO | Functions
-------------------------
-GPIO0 | gpio_in, gpio_out, ldo, adc
-GPIO1 | gpio_in, gpio_out, ldo, adc
-GPIO2 | gpio_in, gpio_out
-
-axp813
-------
-GPIO | Functions
-------------------------
-GPIO0 | gpio_in, gpio_out, ldo, adc
-GPIO1 | gpio_in, gpio_out, ldo
diff --git a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
new file mode 100644
index 000000000000..0f628b088cec
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: X-Powers AXP209 GPIO Device Tree Bindings
+
+maintainers:
+ - Chen-Yu Tsai <wens@csie.org>
+
+properties:
+ "#gpio-cells":
+ const: 2
+ description: >
+ The first cell is the pin number and the second is the GPIO flags.
+
+ compatible:
+ oneOf:
+ - enum:
+ - x-powers,axp209-gpio
+ - x-powers,axp813-gpio
+ - items:
+ - const: x-powers,axp803-gpio
+ - const: x-powers,axp813-gpio
+
+ gpio-controller: true
+
+patternProperties:
+ "^.*-pins?$":
+ $ref: /schemas/pinctrl/pinmux-node.yaml#
+
+ properties:
+ pins:
+ items:
+ enum:
+ - GPIO0
+ - GPIO1
+ - GPIO2
+
+ function:
+ enum:
+ - adc
+ - ldo
+ - gpio_in
+ - gpio_out
+
+required:
+ - compatible
+ - "#gpio-cells"
+ - gpio-controller
+
+additionalProperties: false
+
+...
--
2.31.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-09-24 7:16 [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema Maxime Ripard
@ 2021-09-26 15:13 ` Chen-Yu Tsai
2021-10-12 14:04 ` Rob Herring
2021-10-14 6:41 ` Lee Jones
2 siblings, 0 replies; 11+ messages in thread
From: Chen-Yu Tsai @ 2021-09-26 15:13 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jernej Škrabec, Rob Herring, Frank Rowand, Lee Jones,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski, Rob Herring
On Fri, Sep 24, 2021 at 3:16 PM Maxime Ripard <maxime@cerno.tech> wrote:
>
> The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> thanks to its device tree binding.
>
> Now that we have the DT validation in place, let's convert the device
> tree bindings for that driver over to a YAML schema.
>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-gpio@vger.kernel.org
> Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-09-24 7:16 [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema Maxime Ripard
2021-09-26 15:13 ` Chen-Yu Tsai
@ 2021-10-12 14:04 ` Rob Herring
2021-10-12 14:50 ` Lee Jones
2021-10-14 6:41 ` Lee Jones
2 siblings, 1 reply; 11+ messages in thread
From: Rob Herring @ 2021-10-12 14:04 UTC (permalink / raw)
To: Maxime Ripard, Lee Jones
Cc: Chen-Yu Tsai, Jernej Škrabec, Frank Rowand, linux-arm-kernel,
devicetree, linux-sunxi, Linus Walleij, open list:GPIO SUBSYSTEM,
Bartosz Golaszewski
On Fri, Sep 24, 2021 at 2:16 AM Maxime Ripard <maxime@cerno.tech> wrote:
>
> The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> thanks to its device tree binding.
>
> Now that we have the DT validation in place, let's convert the device
> tree bindings for that driver over to a YAML schema.
>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-gpio@vger.kernel.org
> Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
>
> ---
>
> Changes from v1:
> - Removed the example and moved it in the mfd schema
> ---
> .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> 2 files changed, 55 insertions(+), 75 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
This one not being applied with the rest of the series is also
breaking linux-next.
b4 am -P_ -sl -o - 20210924071614.868307-1-maxime@cerno.tech | git am
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-12 14:04 ` Rob Herring
@ 2021-10-12 14:50 ` Lee Jones
2021-10-12 15:43 ` Rob Herring
0 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2021-10-12 14:50 UTC (permalink / raw)
To: Rob Herring
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Tue, 12 Oct 2021, Rob Herring wrote:
> On Fri, Sep 24, 2021 at 2:16 AM Maxime Ripard <maxime@cerno.tech> wrote:
> >
> > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > thanks to its device tree binding.
> >
> > Now that we have the DT validation in place, let's convert the device
> > tree bindings for that driver over to a YAML schema.
> >
> > Cc: Chen-Yu Tsai <wens@csie.org>
> > Cc: Linus Walleij <linus.walleij@linaro.org>
> > Cc: linux-gpio@vger.kernel.org
> > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > Reviewed-by: Rob Herring <robh@kernel.org>
> > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> >
> > ---
> >
> > Changes from v1:
> > - Removed the example and moved it in the mfd schema
> > ---
> > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > 2 files changed, 55 insertions(+), 75 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
>
> This one not being applied with the rest of the series is also
> breaking linux-next.
>
> b4 am -P_ -sl -o - 20210924071614.868307-1-maxime@cerno.tech | git am
Thanks for the link.
Seeing as there are no *real* dependencies, it would be better for
Linus to take the patch (if he's okay with it of course).
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-12 14:50 ` Lee Jones
@ 2021-10-12 15:43 ` Rob Herring
2021-10-12 15:51 ` Lee Jones
0 siblings, 1 reply; 11+ messages in thread
From: Rob Herring @ 2021-10-12 15:43 UTC (permalink / raw)
To: Lee Jones
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Tue, Oct 12, 2021 at 9:51 AM Lee Jones <lee.jones@linaro.org> wrote:
>
> On Tue, 12 Oct 2021, Rob Herring wrote:
>
> > On Fri, Sep 24, 2021 at 2:16 AM Maxime Ripard <maxime@cerno.tech> wrote:
> > >
> > > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > > thanks to its device tree binding.
> > >
> > > Now that we have the DT validation in place, let's convert the device
> > > tree bindings for that driver over to a YAML schema.
> > >
> > > Cc: Chen-Yu Tsai <wens@csie.org>
> > > Cc: Linus Walleij <linus.walleij@linaro.org>
> > > Cc: linux-gpio@vger.kernel.org
> > > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > Reviewed-by: Rob Herring <robh@kernel.org>
> > > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> > >
> > > ---
> > >
> > > Changes from v1:
> > > - Removed the example and moved it in the mfd schema
> > > ---
> > > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > > 2 files changed, 55 insertions(+), 75 deletions(-)
> > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> >
> > This one not being applied with the rest of the series is also
> > breaking linux-next.
> >
> > b4 am -P_ -sl -o - 20210924071614.868307-1-maxime@cerno.tech | git am
>
> Thanks for the link.
>
> Seeing as there are no *real* dependencies, it would be better for
> Linus to take the patch (if he's okay with it of course).
Only that 'make dt_binding_check' is broken for anyone using your
branch (and linux-next ATM). It's as real as a broken build due to a
missing header. If you don't think this is a problem, then don't apply
MFD binding patches.
Rob
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-12 15:43 ` Rob Herring
@ 2021-10-12 15:51 ` Lee Jones
2021-10-12 15:52 ` Lee Jones
0 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2021-10-12 15:51 UTC (permalink / raw)
To: Rob Herring
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Tue, 12 Oct 2021, Rob Herring wrote:
> On Tue, Oct 12, 2021 at 9:51 AM Lee Jones <lee.jones@linaro.org> wrote:
> >
> > On Tue, 12 Oct 2021, Rob Herring wrote:
> >
> > > On Fri, Sep 24, 2021 at 2:16 AM Maxime Ripard <maxime@cerno.tech> wrote:
> > > >
> > > > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > > > thanks to its device tree binding.
> > > >
> > > > Now that we have the DT validation in place, let's convert the device
> > > > tree bindings for that driver over to a YAML schema.
> > > >
> > > > Cc: Chen-Yu Tsai <wens@csie.org>
> > > > Cc: Linus Walleij <linus.walleij@linaro.org>
> > > > Cc: linux-gpio@vger.kernel.org
> > > > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > > Reviewed-by: Rob Herring <robh@kernel.org>
> > > > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> > > >
> > > > ---
> > > >
> > > > Changes from v1:
> > > > - Removed the example and moved it in the mfd schema
> > > > ---
> > > > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > > > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > > > 2 files changed, 55 insertions(+), 75 deletions(-)
> > > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > > > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> > >
> > > This one not being applied with the rest of the series is also
> > > breaking linux-next.
> > >
> > > b4 am -P_ -sl -o - 20210924071614.868307-1-maxime@cerno.tech | git am
> >
> > Thanks for the link.
> >
> > Seeing as there are no *real* dependencies, it would be better for
> > Linus to take the patch (if he's okay with it of course).
>
> Only that 'make dt_binding_check' is broken for anyone using your
> branch (and linux-next ATM). It's as real as a broken build due to a
> missing header. If you don't think this is a problem, then don't apply
> MFD binding patches.
Ah, I missed Bartosz Ack up there.
Happy to apply it.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-12 15:51 ` Lee Jones
@ 2021-10-12 15:52 ` Lee Jones
2021-10-13 23:35 ` Linus Walleij
0 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2021-10-12 15:52 UTC (permalink / raw)
To: Rob Herring
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Tue, 12 Oct 2021, Lee Jones wrote:
> On Tue, 12 Oct 2021, Rob Herring wrote:
>
> > On Tue, Oct 12, 2021 at 9:51 AM Lee Jones <lee.jones@linaro.org> wrote:
> > >
> > > On Tue, 12 Oct 2021, Rob Herring wrote:
> > >
> > > > On Fri, Sep 24, 2021 at 2:16 AM Maxime Ripard <maxime@cerno.tech> wrote:
> > > > >
> > > > > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > > > > thanks to its device tree binding.
> > > > >
> > > > > Now that we have the DT validation in place, let's convert the device
> > > > > tree bindings for that driver over to a YAML schema.
> > > > >
> > > > > Cc: Chen-Yu Tsai <wens@csie.org>
> > > > > Cc: Linus Walleij <linus.walleij@linaro.org>
> > > > > Cc: linux-gpio@vger.kernel.org
> > > > > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > > > Reviewed-by: Rob Herring <robh@kernel.org>
> > > > > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> > > > >
> > > > > ---
> > > > >
> > > > > Changes from v1:
> > > > > - Removed the example and moved it in the mfd schema
> > > > > ---
> > > > > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > > > > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > > > > 2 files changed, 55 insertions(+), 75 deletions(-)
> > > > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > > > > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> > > >
> > > > This one not being applied with the rest of the series is also
> > > > breaking linux-next.
> > > >
> > > > b4 am -P_ -sl -o - 20210924071614.868307-1-maxime@cerno.tech | git am
> > >
> > > Thanks for the link.
> > >
> > > Seeing as there are no *real* dependencies, it would be better for
> > > Linus to take the patch (if he's okay with it of course).
> >
> > Only that 'make dt_binding_check' is broken for anyone using your
> > branch (and linux-next ATM). It's as real as a broken build due to a
> > missing header. If you don't think this is a problem, then don't apply
> > MFD binding patches.
>
> Ah, I missed Bartosz Ack up there.
>
> Happy to apply it.
Linus, Bartosz, do you require a PR?
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-12 15:52 ` Lee Jones
@ 2021-10-13 23:35 ` Linus Walleij
0 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2021-10-13 23:35 UTC (permalink / raw)
To: Lee Jones
Cc: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec,
Frank Rowand, linux-arm-kernel,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-sunxi, open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Tue, Oct 12, 2021 at 5:52 PM Lee Jones <lee.jones@linaro.org> wrote:
> On Tue, 12 Oct 2021, Lee Jones wrote:
> > On Tue, 12 Oct 2021, Rob Herring wrote:
> > Ah, I missed Bartosz Ack up there.
> >
> > Happy to apply it.
>
> Linus, Bartosz, do you require a PR?
I'm a bit out of the loop so let Bartosz answer this but generally
not, as long as your tree builds clean we are happy!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-09-24 7:16 [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema Maxime Ripard
2021-09-26 15:13 ` Chen-Yu Tsai
2021-10-12 14:04 ` Rob Herring
@ 2021-10-14 6:41 ` Lee Jones
2021-10-20 15:01 ` Rob Herring
2 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2021-10-14 6:41 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, Jernej Škrabec, Rob Herring, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
linux-gpio, Bartosz Golaszewski, Rob Herring
On Fri, 24 Sep 2021, Maxime Ripard wrote:
> The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> thanks to its device tree binding.
>
> Now that we have the DT validation in place, let's convert the device
> tree bindings for that driver over to a YAML schema.
>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-gpio@vger.kernel.org
> Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
>
> ---
>
> Changes from v1:
> - Removed the example and moved it in the mfd schema
> ---
> .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> 2 files changed, 55 insertions(+), 75 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-14 6:41 ` Lee Jones
@ 2021-10-20 15:01 ` Rob Herring
2021-10-20 16:02 ` Lee Jones
0 siblings, 1 reply; 11+ messages in thread
From: Rob Herring @ 2021-10-20 15:01 UTC (permalink / raw)
To: Lee Jones
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Thu, Oct 14, 2021 at 1:41 AM Lee Jones <lee.jones@linaro.org> wrote:
>
> On Fri, 24 Sep 2021, Maxime Ripard wrote:
>
> > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > thanks to its device tree binding.
> >
> > Now that we have the DT validation in place, let's convert the device
> > tree bindings for that driver over to a YAML schema.
> >
> > Cc: Chen-Yu Tsai <wens@csie.org>
> > Cc: Linus Walleij <linus.walleij@linaro.org>
> > Cc: linux-gpio@vger.kernel.org
> > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > Reviewed-by: Rob Herring <robh@kernel.org>
> > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> >
> > ---
> >
> > Changes from v1:
> > - Removed the example and moved it in the mfd schema
> > ---
> > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > 2 files changed, 55 insertions(+), 75 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
>
> Applied, thanks.
Pushed out? Still failing in linux-next.
Rob
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
2021-10-20 15:01 ` Rob Herring
@ 2021-10-20 16:02 ` Lee Jones
0 siblings, 0 replies; 11+ messages in thread
From: Lee Jones @ 2021-10-20 16:02 UTC (permalink / raw)
To: Rob Herring
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Škrabec, Frank Rowand,
linux-arm-kernel, devicetree, linux-sunxi, Linus Walleij,
open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Wed, 20 Oct 2021, Rob Herring wrote:
> On Thu, Oct 14, 2021 at 1:41 AM Lee Jones <lee.jones@linaro.org> wrote:
> >
> > On Fri, 24 Sep 2021, Maxime Ripard wrote:
> >
> > > The X-Powers AXP PMICs feature a GPIO Controller supported by Linux
> > > thanks to its device tree binding.
> > >
> > > Now that we have the DT validation in place, let's convert the device
> > > tree bindings for that driver over to a YAML schema.
> > >
> > > Cc: Chen-Yu Tsai <wens@csie.org>
> > > Cc: Linus Walleij <linus.walleij@linaro.org>
> > > Cc: linux-gpio@vger.kernel.org
> > > Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > Reviewed-by: Rob Herring <robh@kernel.org>
> > > Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> > >
> > > ---
> > >
> > > Changes from v1:
> > > - Removed the example and moved it in the mfd schema
> > > ---
> > > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 -------------------
> > > .../bindings/gpio/x-powers,axp209-gpio.yaml | 55 ++++++++++++++
> > > 2 files changed, 55 insertions(+), 75 deletions(-)
> > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt
> > > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> >
> > Applied, thanks.
>
> Pushed out? Still failing in linux-next.
No, but I did a push ~10mins ago, so will be in -next on the morrow.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-10-20 16:02 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24 7:16 [RESEND v2 1/3] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema Maxime Ripard
2021-09-26 15:13 ` Chen-Yu Tsai
2021-10-12 14:04 ` Rob Herring
2021-10-12 14:50 ` Lee Jones
2021-10-12 15:43 ` Rob Herring
2021-10-12 15:51 ` Lee Jones
2021-10-12 15:52 ` Lee Jones
2021-10-13 23:35 ` Linus Walleij
2021-10-14 6:41 ` Lee Jones
2021-10-20 15:01 ` Rob Herring
2021-10-20 16:02 ` Lee Jones
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).