devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
@ 2024-06-28  3:03 Peng Fan (OSS)
  2024-07-01 17:04 ` Rob Herring (Arm)
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peng Fan (OSS) @ 2024-06-28  3:03 UTC (permalink / raw)
  To: sudeep.holla, cristian.marussi, robh, krzk+dt, conor+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel, arm-scmi, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

Add SCMI System Power Protocol bindings, and the protocol id is 0x12.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
index 4d823f3b1f0e..ebf384e76df1 100644
--- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
+++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
@@ -145,6 +145,14 @@ properties:
     required:
       - '#power-domain-cells'
 
+  protocol@12:
+    $ref: '#/$defs/protocol-node'
+    unevaluatedProperties: false
+
+    properties:
+      reg:
+        const: 0x12
+
   protocol@13:
     $ref: '#/$defs/protocol-node'
     unevaluatedProperties: false
-- 
2.37.1


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

* Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-06-28  3:03 [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol Peng Fan (OSS)
@ 2024-07-01 17:04 ` Rob Herring (Arm)
  2024-07-04 10:40 ` Sudeep Holla
  2024-08-09 13:34 ` Sudeep Holla
  2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring (Arm) @ 2024-07-01 17:04 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: sudeep.holla, linux-kernel, conor+dt, devicetree,
	cristian.marussi, krzk+dt, Peng Fan, arm-scmi, linux-arm-kernel


On Fri, 28 Jun 2024 11:03:09 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add SCMI System Power Protocol bindings, and the protocol id is 0x12.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-06-28  3:03 [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol Peng Fan (OSS)
  2024-07-01 17:04 ` Rob Herring (Arm)
@ 2024-07-04 10:40 ` Sudeep Holla
  2024-07-04 10:46   ` Peng Fan
  2024-08-09 13:34 ` Sudeep Holla
  2 siblings, 1 reply; 8+ messages in thread
From: Sudeep Holla @ 2024-07-04 10:40 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: cristian.marussi, robh, krzk+dt, conor+dt, linux-arm-kernel,
	devicetree, linux-kernel, arm-scmi, Peng Fan

On Fri, Jun 28, 2024 at 11:03:09AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add SCMI System Power Protocol bindings, and the protocol id is 0x12.
>

I think we must have this node only if it has dedicated channel or any
other required property.

-- 
Regards,
Sudeep

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

* RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-07-04 10:40 ` Sudeep Holla
@ 2024-07-04 10:46   ` Peng Fan
  2024-07-18 12:15     ` Peng Fan
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Fan @ 2024-07-04 10:46 UTC (permalink / raw)
  To: Sudeep Holla, Peng Fan (OSS)
  Cc: cristian.marussi@arm.com, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	arm-scmi@vger.kernel.org

> Subject: Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support
> system power protocol
> 
> On Fri, Jun 28, 2024 at 11:03:09AM +0800, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > Add SCMI System Power Protocol bindings, and the protocol id is
> 0x12.
> >
> 
> I think we must have this node only if it has dedicated channel or any
> other required property.

I posted a patchset to support nodes not in device tree. And 
Cristian gave some comments:
https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/

i.MX95 no need dedicated channel for this node, but others may
have. So I repost this patch, and with this binding change,
the dtbs_check could pass for i.MX95 dts.

Thanks,
Peng.
> 
> --
> Regards,
> Sudeep

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

* RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-07-04 10:46   ` Peng Fan
@ 2024-07-18 12:15     ` Peng Fan
  2024-07-18 14:52       ` Sudeep Holla
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Fan @ 2024-07-18 12:15 UTC (permalink / raw)
  To: Peng Fan, Sudeep Holla, Peng Fan (OSS)
  Cc: cristian.marussi@arm.com, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	arm-scmi@vger.kernel.org

Hi Sudeep,

> Subject: RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support
> system power protocol
> 
> > Subject: Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi:
> support
> > system power protocol
> >
> > On Fri, Jun 28, 2024 at 11:03:09AM +0800, Peng Fan (OSS) wrote:
> > > From: Peng Fan <peng.fan@nxp.com>
> > >
> > > Add SCMI System Power Protocol bindings, and the protocol id is
> > 0x12.
> > >
> >
> > I think we must have this node only if it has dedicated channel or any
> > other required property.
> 
> I posted a patchset to support nodes not in device tree. And Cristian
> gave some comments:
> https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
>

Please suggest what should I do to avoid the dtbs_check issue.

Should I switch back to 
https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
or else?

Thanks,
Peng.

> i.MX95 no need dedicated channel for this node, but others may have.
> So I repost this patch, and with this binding change, the dtbs_check
> could pass for i.MX95 dts.
> 
> Thanks,
> Peng.
> >
> > --
> > Regards,
> > Sudeep


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

* Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-07-18 12:15     ` Peng Fan
@ 2024-07-18 14:52       ` Sudeep Holla
  2024-08-02  2:51         ` Peng Fan
  0 siblings, 1 reply; 8+ messages in thread
From: Sudeep Holla @ 2024-07-18 14:52 UTC (permalink / raw)
  To: Peng Fan
  Cc: Peng Fan (OSS), Sudeep Holla, cristian.marussi@arm.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org

On Thu, Jul 18, 2024 at 12:15:20PM +0000, Peng Fan wrote:
> Hi Sudeep,
> 
> > Subject: RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support
> > system power protocol
> > 
> > > Subject: Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi:
> > support
> > > system power protocol
> > >
> > > On Fri, Jun 28, 2024 at 11:03:09AM +0800, Peng Fan (OSS) wrote:
> > > > From: Peng Fan <peng.fan@nxp.com>
> > > >
> > > > Add SCMI System Power Protocol bindings, and the protocol id is
> > > 0x12.
> > > >
> > >
> > > I think we must have this node only if it has dedicated channel or any
> > > other required property.
> > 
> > I posted a patchset to support nodes not in device tree. And Cristian
> > gave some comments:
> > https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
> >
> 
> Please suggest what should I do to avoid the dtbs_check issue.
> 
> Should I switch back to 
> https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
> or else?
>

Sorry I need to discuss with Cristain and decide. I might have already
discussed but I can't recall the details or decision(if any) made after
that. He is away now, will get back once we discuss and see what is the
best approach.

--
Regards,
Sudeep

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

* RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-07-18 14:52       ` Sudeep Holla
@ 2024-08-02  2:51         ` Peng Fan
  0 siblings, 0 replies; 8+ messages in thread
From: Peng Fan @ 2024-08-02  2:51 UTC (permalink / raw)
  To: Sudeep Holla
  Cc: Peng Fan (OSS), cristian.marussi@arm.com, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org

Hi Sudeep, Cristian,

> Subject: Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support
> system power protocol
> 
> On Thu, Jul 18, 2024 at 12:15:20PM +0000, Peng Fan wrote:
> > Hi Sudeep,
> >
> > > Subject: RE: [PATCH RESEND] dt-bindings: firmware: arm,scmi:
> support
> > > system power protocol
> > >
> > > > Subject: Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi:
> > > support
> > > > system power protocol
> > > >
> > > > On Fri, Jun 28, 2024 at 11:03:09AM +0800, Peng Fan (OSS) wrote:
> > > > > From: Peng Fan <peng.fan@nxp.com>
> > > > >
> > > > > Add SCMI System Power Protocol bindings, and the protocol id
> is
> > > > 0x12.
> > > > >
> > > >
> > > > I think we must have this node only if it has dedicated channel or
> > > > any other required property.
> > >
> > > I posted a patchset to support nodes not in device tree. And
> > > Cristian gave some comments:
> > > https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
> > >
> >
> > Please suggest what should I do to avoid the dtbs_check issue.
> >
> > Should I switch back to
> > https://lore.kernel.org/all/Znv1p3FDiPSUNmBM@pluto/
> > or else?
> >
> 
> Sorry I need to discuss with Cristain and decide. I might have already
> discussed but I can't recall the details or decision(if any) made after
> that. He is away now, will get back once we discuss and see what is the
> best approach.
> 

Do you have any update on this?

Thanks,
Peng.

> --
> Regards,
> Sudeep

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

* Re: [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol
  2024-06-28  3:03 [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol Peng Fan (OSS)
  2024-07-01 17:04 ` Rob Herring (Arm)
  2024-07-04 10:40 ` Sudeep Holla
@ 2024-08-09 13:34 ` Sudeep Holla
  2 siblings, 0 replies; 8+ messages in thread
From: Sudeep Holla @ 2024-08-09 13:34 UTC (permalink / raw)
  To: cristian.marussi, robh, krzk+dt, conor+dt, Peng Fan (OSS)
  Cc: Sudeep Holla, linux-arm-kernel, devicetree, linux-kernel,
	arm-scmi, Peng Fan

On Fri, 28 Jun 2024 11:03:09 +0800, Peng Fan (OSS) wrote:
> Add SCMI System Power Protocol bindings, and the protocol id is 0x12.
>

Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!

[1/1] dt-bindings: firmware: arm,scmi: support system power protocol
      https://git.kernel.org/sudeep.holla/c/4d5921a39f67
--
Regards,
Sudeep


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

end of thread, other threads:[~2024-08-09 13:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28  3:03 [PATCH RESEND] dt-bindings: firmware: arm,scmi: support system power protocol Peng Fan (OSS)
2024-07-01 17:04 ` Rob Herring (Arm)
2024-07-04 10:40 ` Sudeep Holla
2024-07-04 10:46   ` Peng Fan
2024-07-18 12:15     ` Peng Fan
2024-07-18 14:52       ` Sudeep Holla
2024-08-02  2:51         ` Peng Fan
2024-08-09 13:34 ` Sudeep Holla

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