devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Casey Connolly <casey.connolly@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Sebastian Reichel <sre@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Andrew Davis <afd@ti.com>,
	Jakob Hauser <jahau@rocketmail.com>,
	David Heidelberg <david@ixit.cz>,
	Dmitry Osipenko <digetx@gmail.com>,
	Tobias Schrammm <t.schramm@manjaro.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Chen-Yu Tsai <wens@csie.org>
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/6] dt-bindings: power: supply: qcom,pmi8998: Add missing power-supply ref
Date: Wed, 11 Jun 2025 11:01:02 +0200	[thread overview]
Message-ID: <4929c09d-ea3e-4dab-a440-a7d806793d9f@linaro.org> (raw)
In-Reply-To: <20250604-dt-bindings-psy-monitored-battery-v1-3-7f755ff75218@linaro.org>



On 6/4/25 10:18, Krzysztof Kozlowski wrote:
> Reference the common power supply schema to bring the definition of
> monitored-battery property.  Drop also the obvious description because
> it is duplicating what is in power-supply.yaml.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Casey Connolly <casey.connolly@linaro.org>> ---
>   .../devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml     | 7 ++++---
>   1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
> index 90c7dc7632c58dc5cbfb3abcde8e730882bfd936..70f5cd6eaeabe822babf567d92b1d7f9124f3680 100644
> --- a/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
> @@ -38,9 +38,7 @@ properties:
>         - const: usbin_i
>         - const: usbin_v
>   
> -  monitored-battery:
> -    description: phandle to the simple-battery node
> -    $ref: /schemas/types.yaml#/definitions/phandle
> +  monitored-battery: true
>   
>   required:
>     - compatible
> @@ -51,6 +49,9 @@ required:
>     - io-channel-names
>     - monitored-battery
>   
> +allOf:
> +  - $ref: power-supply.yaml#
> +
>   additionalProperties: false
>   
>   examples:
> 

-- 
Casey (she/they)


  reply	other threads:[~2025-06-11  9:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-04  8:18 [PATCH 0/6] dt-bindings: power: supply: Few cleanups around monitored-battery Krzysztof Kozlowski
2025-06-04  8:18 ` [PATCH 1/6] dt-bindings: power: supply: bq2515x: Add missing power-supply ref Krzysztof Kozlowski
2025-06-04  8:18 ` [PATCH 2/6] dt-bindings: power: supply: bq256xx: " Krzysztof Kozlowski
2025-06-04  8:18 ` [PATCH 3/6] dt-bindings: power: supply: qcom,pmi8998: " Krzysztof Kozlowski
2025-06-11  9:01   ` Casey Connolly [this message]
2025-06-04  8:18 ` [PATCH 4/6] dt-bindings: power: supply: richtek,rt5033: " Krzysztof Kozlowski
2025-06-04  8:18 ` [PATCH 5/6] dt-bindings: power: supply: summit,smb347: " Krzysztof Kozlowski
2025-06-04  8:39   ` David Heidelberg
2025-06-04  8:18 ` [PATCH 6/6] dt-bindings: power: supply: Drop redundant monitored-battery ref Krzysztof Kozlowski
2025-06-10 12:28   ` Linus Walleij
2025-06-22  0:10 ` [PATCH 0/6] dt-bindings: power: supply: Few cleanups around monitored-battery Sebastian Reichel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4929c09d-ea3e-4dab-a440-a7d806793d9f@linaro.org \
    --to=casey.connolly@linaro.org \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --cc=jahau@rocketmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    --cc=t.schramm@manjaro.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).