* [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code for protocol@81
@ 2025-07-18 9:47 Peng Fan
2025-07-24 10:17 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code " Alexander Stein
2025-08-25 8:21 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code " Peng Fan
0 siblings, 2 replies; 4+ messages in thread
From: Peng Fan @ 2025-07-18 9:47 UTC (permalink / raw)
To: mathieu.poirier, Peng Fan, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
moderated list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: Alexander Stein
From: Alexander Stein <alexander.stein@ew.tq-group.com>
BBM protocol supports a single power button, supported by driver
imx-sm-bbm-key.c. By default this is KEY_POWER, but can also be overwritten
using linux,code. Add a reference to this schema and add linux,code as a
supported property.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Resend [1].
I not see a reason that why this patch could block i.MX95 remoteproc support[2].
But to speed up the work, I took Alexander's work and resend it. Hope this
could catch 6.17
[1]https://lore.kernel.org/imx/20250513-whimsical-almond-quoll-e3ad5b@sudeepholla/
[2]https://lore.kernel.org/linux-remoteproc/PAXPR04MB8459A0F330554EB69E990E048850A@PAXPR04MB8459.eurprd04.prod.outlook.com/T/#t
.../devicetree/bindings/firmware/nxp,imx95-scmi.yaml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
index 2bda2e0e1369..7a5a02da2719 100644
--- a/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
+++ b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
@@ -24,13 +24,19 @@ properties:
const: 0x80
protocol@81:
- $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
- unevaluatedProperties: false
+ type: object
+ allOf:
+ - $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
+ - $ref: /schemas/input/input.yaml#
+ additionalProperties: false
properties:
reg:
const: 0x81
+ linux,code:
+ default: 116 # KEY_POWER
+
protocol@82:
description:
SCMI CPU Protocol which allows an agent to start or stop a CPU. It is
--
2.37.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code for protocol@81
2025-07-18 9:47 [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code for protocol@81 Peng Fan
@ 2025-07-24 10:17 ` Alexander Stein
2025-07-24 11:42 ` Sudeep Holla
2025-08-25 8:21 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code " Peng Fan
1 sibling, 1 reply; 4+ messages in thread
From: Alexander Stein @ 2025-07-24 10:17 UTC (permalink / raw)
To: mathieu.poirier, Peng Fan, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
moderated list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Peng Fan
Hi,
Am Freitag, 18. Juli 2025, 11:47:22 CEST schrieb Peng Fan:
> From: Alexander Stein <alexander.stein@ew.tq-group.com>
>
> BBM protocol supports a single power button, supported by driver
> imx-sm-bbm-key.c. By default this is KEY_POWER, but can also be overwritten
> using linux,code. Add a reference to this schema and add linux,code as a
> supported property.
>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>
> Resend [1].
> I not see a reason that why this patch could block i.MX95 remoteproc support[2].
> But to speed up the work, I took Alexander's work and resend it. Hope this
> could catch 6.17
>
> [1]https://lore.kernel.org/imx/20250513-whimsical-almond-quoll-e3ad5b@sudeepholla/
> [2]https://lore.kernel.org/linux-remoteproc/PAXPR04MB8459A0F330554EB69E990E048850A@PAXPR04MB8459.eurprd04.prod.outlook.com/T/#t
Thanks for resending, I lost track of this patch and though it as applied already.
Best regards,
Alexander
>
> .../devicetree/bindings/firmware/nxp,imx95-scmi.yaml | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
> index 2bda2e0e1369..7a5a02da2719 100644
> --- a/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
> +++ b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi.yaml
> @@ -24,13 +24,19 @@ properties:
> const: 0x80
>
> protocol@81:
> - $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
> - unevaluatedProperties: false
> + type: object
> + allOf:
> + - $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node'
> + - $ref: /schemas/input/input.yaml#
> + additionalProperties: false
>
> properties:
> reg:
> const: 0x81
>
> + linux,code:
> + default: 116 # KEY_POWER
> +
> protocol@82:
> description:
> SCMI CPU Protocol which allows an agent to start or stop a CPU. It is
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code for protocol@81
2025-07-24 10:17 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code " Alexander Stein
@ 2025-07-24 11:42 ` Sudeep Holla
0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2025-07-24 11:42 UTC (permalink / raw)
To: Alexander Stein
Cc: mathieu.poirier, Peng Fan, Rob Herring, Sudeep Holla,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
moderated list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
On Thu, Jul 24, 2025 at 12:17:17PM +0200, Alexander Stein wrote:
> Hi,
>
> Am Freitag, 18. Juli 2025, 11:47:22 CEST schrieb Peng Fan:
> > From: Alexander Stein <alexander.stein@ew.tq-group.com>
> >
> > BBM protocol supports a single power button, supported by driver
> > imx-sm-bbm-key.c. By default this is KEY_POWER, but can also be overwritten
> > using linux,code. Add a reference to this schema and add linux,code as a
> > supported property.
> >
> > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > ---
> >
> > Resend [1].
> > I not see a reason that why this patch could block i.MX95 remoteproc support[2].
> > But to speed up the work, I took Alexander's work and resend it. Hope this
> > could catch 6.17
> >
> > [1]https://lore.kernel.org/imx/20250513-whimsical-almond-quoll-e3ad5b@sudeepholla/
> > [2]https://lore.kernel.org/linux-remoteproc/PAXPR04MB8459A0F330554EB69E990E048850A@PAXPR04MB8459.eurprd04.prod.outlook.com/T/#t
>
> Thanks for resending, I lost track of this patch and though it as applied already.
>
Sorry if I missed it. I would have assumed anything without code in the
series should go via DT tree directly. I can pick it up for v6.18 unless
Rob is OK to pick it up for v6.17(assuming it is not too late)
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code for protocol@81
2025-07-18 9:47 [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code for protocol@81 Peng Fan
2025-07-24 10:17 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code " Alexander Stein
@ 2025-08-25 8:21 ` Peng Fan
1 sibling, 0 replies; 4+ messages in thread
From: Peng Fan @ 2025-08-25 8:21 UTC (permalink / raw)
To: Sudeep Holla, Shawn Guo
Cc: mathieu.poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
moderated list:SYSTEM CONTROL MANAGEMENT INTERFACE (SCMI) i.MX...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Alexander Stein
Hi Sudeep, Shawn
On Fri, Jul 18, 2025 at 05:47:22PM +0800, Peng Fan wrote:
>From: Alexander Stein <alexander.stein@ew.tq-group.com>
>
>BBM protocol supports a single power button, supported by driver
>imx-sm-bbm-key.c. By default this is KEY_POWER, but can also be overwritten
>using linux,code. Add a reference to this schema and add linux,code as a
>supported property.
>
>Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
>Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
>Signed-off-by: Peng Fan <peng.fan@nxp.com>
>---
Not sure which tree this patch should be landed in. But would you please
pick it up?
Thanks,
Peng
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-25 7:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 9:47 [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code for protocol@81 Peng Fan
2025-07-24 10:17 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux, code " Alexander Stein
2025-07-24 11:42 ` Sudeep Holla
2025-08-25 8:21 ` [PATCH V2 RESEND] dt-bindings: firmware: imx95-scmi: Allow linux,code " Peng Fan
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).