linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property
@ 2023-10-08 14:21 Ondřej Jirman
  2023-10-08 18:55 ` Sebastian Reichel
  0 siblings, 1 reply; 3+ messages in thread
From: Ondřej Jirman @ 2023-10-08 14:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ondrej Jirman, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner, Sebastian Reichel,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/Rockchip SoC support,
	open list:ARM/Rockchip SoC support

From: Ondrej Jirman <megi@xff.cz>

Declare support for this property.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
index cf2500f2e9a0..e8c9f17f6ea8 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
@@ -29,6 +29,11 @@ properties:
   '#gpio-cells':
     const: 2
 
+  rockchip,system-power-controller:
+    type: boolean
+    description:
+      Telling whether or not this PMIC is controlling the system power.
+
   vcc1-supply:
     description:
       The input supply for dcdc-reg1.
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property
  2023-10-08 14:21 [PATCH] dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property Ondřej Jirman
@ 2023-10-08 18:55 ` Sebastian Reichel
  2023-10-08 19:01   ` Ondřej Jirman
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Reichel @ 2023-10-08 18:55 UTC (permalink / raw)
  To: Ondřej Jirman
  Cc: linux-kernel, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/Rockchip SoC support,
	open list:ARM/Rockchip SoC support

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

Hi,

On Sun, Oct 08, 2023 at 04:21:17PM +0200, Ondřej Jirman wrote:
> From: Ondrej Jirman <megi@xff.cz>
> 
> Declare support for this property.
> 
> Signed-off-by: Ondrej Jirman <megi@xff.cz>
> ---

This is missing the accompanying driver change. Right now
this property does nothing for rk806.

-- Sebastian

>  Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> index cf2500f2e9a0..e8c9f17f6ea8 100644
> --- a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> @@ -29,6 +29,11 @@ properties:
>    '#gpio-cells':
>      const: 2
>  
> +  rockchip,system-power-controller:
> +    type: boolean
> +    description:
> +      Telling whether or not this PMIC is controlling the system power.
> +
>    vcc1-supply:
>      description:
>        The input supply for dcdc-reg1.
> -- 
> 2.42.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property
  2023-10-08 18:55 ` Sebastian Reichel
@ 2023-10-08 19:01   ` Ondřej Jirman
  0 siblings, 0 replies; 3+ messages in thread
From: Ondřej Jirman @ 2023-10-08 19:01 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: linux-kernel, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/Rockchip SoC support,
	open list:ARM/Rockchip SoC support

On Sun, Oct 08, 2023 at 08:55:59PM +0200, Sebastian Reichel wrote:
> Hi,
> 
> On Sun, Oct 08, 2023 at 04:21:17PM +0200, Ondřej Jirman wrote:
> > From: Ondrej Jirman <megi@xff.cz>
> > 
> > Declare support for this property.
> > 
> > Signed-off-by: Ondrej Jirman <megi@xff.cz>
> > ---
> 
> This is missing the accompanying driver change. Right now
> this property does nothing for rk806.

Ah, I assumed it does, but looks like it's just implemented in my tree:

https://megous.com/git/linux/commit/?h=ppp-drivers-6.6&id=6394918f339fda0b89f63faac4c4fe162d5ace42

I'll re-send with the driver patch.

Thanks and regards,
	o.


> -- Sebastian
> 
> >  Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml | 5 +++++
> >  1 file changed, 5 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> > index cf2500f2e9a0..e8c9f17f6ea8 100644
> > --- a/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> > +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml
> > @@ -29,6 +29,11 @@ properties:
> >    '#gpio-cells':
> >      const: 2
> >  
> > +  rockchip,system-power-controller:
> > +    type: boolean
> > +    description:
> > +      Telling whether or not this PMIC is controlling the system power.
> > +
> >    vcc1-supply:
> >      description:
> >        The input supply for dcdc-reg1.
> > -- 
> > 2.42.0
> > 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-08 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 14:21 [PATCH] dt-bindings: mfd: rk806: Allow rockchip,system-power-controller property Ondřej Jirman
2023-10-08 18:55 ` Sebastian Reichel
2023-10-08 19:01   ` Ondřej Jirman

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).