Devicetree
 help / color / mirror / Atom feed
From: Waqar Hameed <waqar.hameed@axis.com>
To: <sashiko-bot@kernel.org>
Cc: <sashiko-reviews@lists.linux.dev>, <devicetree@vger.kernel.org>,
	<conor+dt@kernel.org>, <robh@kernel.org>, <kernel@axis.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: power: supply: Add TI BQ25630 charger
Date: Mon, 29 Jun 2026 11:12:57 +0200	[thread overview]
Message-ID: <pndh5mlemli.a.out@axis.com> (raw)
In-Reply-To: <20260628220739.B37191F000E9@smtp.kernel.org> (sashiko-bot@kernel.org's message of "Sun, 28 Jun 2026 22:07:39 +0000")

Cc: kernel@axis.com

On Sun, Jun 28, 2026 at 22:07 +0000 sashiko-bot@kernel.org wrote:

> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] The devicetree binding example references an undefined phandle label
> `&bat`, which will cause `dtc` compilation to fail during `make
> dt_binding_check`.
> --
>
> commit 4d0f17bc3ce487f6e8027b9ef945b17aba3d6bee
> Author: Waqar Hameed <waqar.hameed@axis.com>
>
> dt-bindings: power: supply: Add TI BQ25630 charger
>
> This commit adds devicetree bindings for the TI BQ25630 battery charger.
> It defines standard properties for I2C and interrupts, and sets up
> requirements for a monitored battery reference.
>
>> diff --git a/Documentation/devicetree/bindings/power/supply/ti,bq25630.yaml
>> b/Documentation/devicetree/bindings/power/supply/ti,bq25630.yaml
>> new file mode 100644
>> index 0000000000000..3f2904731c5a4
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/power/supply/ti,bq25630.yaml
>
> [ ... ]
>
>> +examples:
>> +  - |
>> +    #include <dt-bindings/interrupt-controller/irq.h>
>> +
>> +    i2c {
>> +        #address-cells = <1>;
>> +        #size-cells = <0>;
>> +
>> +        charger@6b {
>> +            compatible = "ti,bq25630";
>> +            reg = <0x6b>;
>> +            interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
>> +            monitored-battery = <&bat>;
>
> [Severity: Low]
> Does this example reference an undefined phandle label?
>
> Looking at the example scope, the node with the bat label is not defined
> anywhere. Could this cause dtc compilation to fail with a 'Reference to 
> non-existent node or label' error during make dt_binding_check?

No, `make dt_binding_check` passes. This was discussed in first patchset
[1].

>
>> +        };
>> +    };
>> +...

[1] https://lore.kernel.org/lkml/65f55d19b4bcf8f07300df5922ba1605bb669138.1772201049.git.waqar.hameed@axis.com/

      reply	other threads:[~2026-06-29  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-28 22:01 [PATCH v3 0/2] Add driver for TI BQ25630 charger Waqar Hameed
2026-06-28 22:01 ` [PATCH v3 1/2] dt-bindings: power: supply: Add " Waqar Hameed
2026-06-28 22:07   ` sashiko-bot
2026-06-29  9:12     ` Waqar Hameed [this message]

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=pndh5mlemli.a.out@axis.com \
    --to=waqar.hameed@axis.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@axis.com \
    --cc=robh@kernel.org \
    --cc=sashiko-bot@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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