[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aIl+VKFURqFfXKz3@git-send.richtek.com>
Date: Wed, 30 Jul 2025 10:07:16 +0800
From: ChiYuan Huang <cy_huang@...htek.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
<devicetree@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] dt-bindings: power: supply: Add Richtek RT9756 smart
cap divider charger
On Tue, Jul 29, 2025 at 05:40:32PM +0200, Krzysztof Kozlowski wrote:
> On 29/07/2025 06:21, cy_huang@...htek.com wrote:
> > +
> > + shunt-resistor-micro-ohms:
> > + description: Battery current sense resistor mounted.
> > + default: 2000
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - wakeup-source
>
> Why do you require this? I cannot find any use of it, so maybe I missed
> some change in Linux code (and that's second question like that for
> Richtek, so refer to your other patchsets for contexr).
>
This will mark the interrupt as wakeup capable.
https://elixir.bootlin.com/linux/v6.16/source/drivers/i2c/i2c-core-of.c#L57
https://elixir.bootlin.com/linux/v6.16/source/drivers/i2c/i2c-core-base.c#L547
> > + - interrupts
> > +
>
> Missing ref to power supply.
>
> > +additionalProperties: false
> > +
>
Ack, will add the below lines to the document for next revision.
allOf:
- $ref: power-supply.yaml#
> unevaluated instead
>
Ack.
Thx.
Powered by blists - more mailing lists