mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bhavin Sharma <bhavin.sharma@siliconsignals.io>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	"sre@kernel.org" <sre@kernel.org>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>
Cc: Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5 1/2] dt-bindings: power: supply: Add STC3117 Fuel Gauge
Date: Fri, 29 Nov 2024 12:17:25 +0000	[thread overview]
Message-ID: <MA0P287MB11782E233EB153B2FBC5602CF22A2@MA0P287MB1178.INDP287.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <4e8f9526-f7cf-46b1-bdb3-831dc04543f3@kernel.org>

Hi Krzysztof,

Thanks for the review

> > Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>
> > Signed-off-by: Bhavin Sharma <bhavin.sharma@siliconsignals.io>
>
> Your SoBs are odd... second patch has totally reversed path comparing to
> this one. What do you want to express here?

i will correct the order

> > +  sense-resistor:
> > +    $ref: /schemas/types.yaml#/definitions/phandle
> > +    description: Current sense resistor in milliohms
>
> phandle cannot be in milliohms... Anyway, use existing widely used
> property: shunt-resistor-micro-ohms

okay

> > +      bat: battery {
> > +        compatible = "simple-battery";
> > +        charge-full-design-microamp-hours = <2600000>;
> > +        voltage-min-design-microvolt = <3300000>;
> > +        voltage-max-design-microvolt = <4250000>;
> > +      };
>
> Drop battery node, not needed for example.

okay 

> > +      battery@70 {
> > +        compatible = "st,stc3117";
> > +        reg = <0x70>;
> > +        interrupt-parent = <&gpio0>;
> > +        interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
> 
> It does not look like you tested the bindings, at least after quick
> look. Please run `make dt_binding_check` (see
> Documentation/devicetree/bindings/writing-schema.rst for instructions).
> Maybe you need to update your dtschema and yamllint.

ohh yes , need to add bindings for interrupt 

Best Regards,
Bhavin

  reply	other threads:[~2024-11-29 12:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 11:40 [PATCH v5 0/2] " Bhavin Sharma
2024-11-29 11:40 ` [PATCH v5 1/2] dt-bindings: " Bhavin Sharma
2024-11-29 11:48   ` Krzysztof Kozlowski
2024-11-29 12:17     ` Bhavin Sharma [this message]
2024-11-29 12:16   ` Rob Herring (Arm)
2024-11-29 11:40 ` [PATCH v5 2/2] power: supply: Add STC3117 fuel gauge unit driver Bhavin Sharma
2024-11-30 17:47   ` Christophe JAILLET

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=MA0P287MB11782E233EB153B2FBC5602CF22A2@MA0P287MB1178.INDP287.PROD.OUTLOOK.COM \
    --to=bhavin.sharma@siliconsignals.io \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hardevsinh.palaniya@siliconsignals.io \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.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

all inboxes | Powered by JetHome®