[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAfSe-vdf59GAhCsVZzSYYYpYmhj0eQBDTwLaJnTMVYvFM6Rtw@mail.gmail.com>
Date: Thu, 7 Nov 2024 10:50:15 +0800
From: Chunyan Zhang <zhang.lyra@...il.com>
To: Stanislav Jakubek <stano.jakubek@...il.com>
Cc: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Orson Zhai <orsonzhai@...il.com>, Baolin Wang <baolin.wang@...ux.alibaba.com>,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: power: supply: sc27xx-fg: document
deprecated bat-detect-gpio
On Mon, 4 Nov 2024 at 21:04, Stanislav Jakubek <stano.jakubek@...il.com> wrote:
>
> While the bindings have always used the correct 'battery-detect-gpios'
> property, the DTS and the Linux driver have been using the incorrect
> 'bat-detect-gpio' property. Document this property and mark it
> as deprecated.
>
> Signed-off-by: Stanislav Jakubek <stano.jakubek@...il.com>
Reviewed-by: Chunyan Zhang <zhang.lyra@...il.com>
Thanks,
Chunyan
> ---
> Changes in V2:
> - new patch
>
> .../devicetree/bindings/power/supply/sc27xx-fg.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> index 9108a2841caf..b10f155afe68 100644
> --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> @@ -27,6 +27,11 @@ properties:
> battery-detect-gpios:
> maxItems: 1
>
> + bat-detect-gpio:
> + maxItems: 1
> + deprecated: true
> + description: use battery-detect-gpios instead
> +
> interrupts:
> maxItems: 1
>
> --
> 2.43.0
>
Powered by blists - more mailing lists