Message ID | 20220621034224.38995-2-samuel@sholland.org |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | AXP221/AXP223/AXP809 GPIO support | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 21/06/2022 05:42, Samuel Holland wrote: > These PMICs each have 2 GPIOs with the same register layout as AXP813, > but without an ADC function. > > Signed-off-by: Samuel Holland <samuel@sholland.org> > --- > > Changes in v2: > - Combine multiple "const"s in the binding into an "enum" > > .../devicetree/bindings/gpio/x-powers,axp209-gpio.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Tue, Jun 21, 2022 at 11:42 AM Samuel Holland <samuel@sholland.org> wrote: > > These PMICs each have 2 GPIOs with the same register layout as AXP813, > but without an ADC function. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Chen-Yu Tsai <wens@csie.org>
On Tue, Jun 21, 2022 at 5:42 AM Samuel Holland <samuel@sholland.org> wrote: > These PMICs each have 2 GPIOs with the same register layout as AXP813, > but without an ADC function. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Patch applied to the pinctrl tree. OK the binding is in *gpio* but the driver is in pinctrl so has to go with the other patch in my tree. Yours, Linus Walleij
diff --git a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml index 0f628b088cec..14486aee97b4 100644 --- a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml @@ -19,7 +19,13 @@ properties: oneOf: - enum: - x-powers,axp209-gpio + - x-powers,axp221-gpio - x-powers,axp813-gpio + - items: + - enum: + - x-powers,axp223-gpio + - x-powers,axp809-gpio + - const: x-powers,axp221-gpio - items: - const: x-powers,axp803-gpio - const: x-powers,axp813-gpio
These PMICs each have 2 GPIOs with the same register layout as AXP813, but without an ADC function. Signed-off-by: Samuel Holland <samuel@sholland.org> --- Changes in v2: - Combine multiple "const"s in the binding into an "enum" .../devicetree/bindings/gpio/x-powers,axp209-gpio.yaml | 6 ++++++ 1 file changed, 6 insertions(+)