[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2900712.e9J7NaK4W3@jernej-laptop>
Date: Sun, 24 Sep 2023 21:50:46 +0200
From: Jernej Škrabec <jernej.skrabec@...il.com>
To: Lee Jones <lee@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Andre Przywara <andre.przywara@....com>
Cc: Icenowy Zheng <uwu@...nowy.me>, Mark Brown <broonie@...nel.org>,
Samuel Holland <samuel@...lland.org>,
Shengyu Qu <wiagn233@...look.com>,
Martin Botka <martin.botka1@...il.com>,
Matthew Croughan <matthew.croughan@....how>,
linux-sunxi@...ts.linux.dev, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: mfd: x-powers,axp152: make interrupt optional
for more chips
Dne torek, 19. september 2023 ob 12:39:12 CEST je Andre Przywara napisal(a):
> All X-Powers PMICs described by this binding have an IRQ pin, and so
> far (almost) all boards connected this to some NMI pin or GPIO on the SoC
> they are connected to.
> However we start to see boards that omit this connection, and technically
> the IRQ pin is not essential to the basic PMIC operation.
>
> The existing Linux driver allows skipping the IRQ pin setup for two chips
> already, so update the binding to also make the DT property optional for
> the missing chip. And while we are at it, add the AXP313a to that list,
> as they are actually boards out there not connecting the IRQ pin.
>
> This allows to have DTs correctly describing those boards not wiring up
> the interrupt.
>
> Signed-off-by: Andre Przywara <andre.przywara@....com>
> Acked-by: Conor Dooley <conor.dooley@...rochip.com>
Should I pick this patch through sunxi tree?
Best regards,
Jernej
> ---
> Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> index 9ad55746133b5..06f1779835a1e 100644
> --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> @@ -67,7 +67,10 @@ allOf:
> properties:
> compatible:
> contains:
> - const: x-powers,axp305
> + enum:
> + - x-powers,axp15060
> + - x-powers,axp305
> + - x-powers,axp313a
>
> then:
> required:
>
Powered by blists - more mailing lists