From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com> Cc: Peng Fan <peng.fan@nxp.com>, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] dt-bindings: firmware: add i.MX SCMI Extension protocol Date: Fri, 05 Apr 2024 20:39:24 +0800 [thread overview] Message-ID: <20240405-imx95-bbm-misc-v2-v2-2-9fc9186856c2@nxp.com> (raw) In-Reply-To: <20240405-imx95-bbm-misc-v2-v2-0-9fc9186856c2@nxp.com> From: Peng Fan <peng.fan@nxp.com> Add i.MX SCMI Extension protocols bindings for: - Battery Backed Secure Module(BBSM) - MISC settings such as General Purpose Registers settings. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../devicetree/bindings/firmware/imx,scmi.yaml | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/imx,scmi.yaml b/Documentation/devicetree/bindings/firmware/imx,scmi.yaml new file mode 100644 index 000000000000..7ee19a661d83 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/imx,scmi.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2024 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/imx,scmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX System Control and Management Interface(SCMI) Vendor Protocols Extension + +maintainers: + - Peng Fan <peng.fan@nxp.com> + +allOf: + - $ref: arm,scmi.yaml# + +properties: + protocol@81: + $ref: 'arm,scmi.yaml#/$defs/protocol-node' + unevaluatedProperties: false + description: + The BBM Protocol is for managing Battery Backed Secure Module (BBSM) RTC + and the ON/OFF Key + + properties: + reg: + const: 0x81 + + required: + - reg + + protocol@84: + $ref: 'arm,scmi.yaml#/$defs/protocol-node' + unevaluatedProperties: false + description: + The MISC Protocol is for managing SoC Misc settings, such as GPR settings + + properties: + reg: + const: 0x84 + + wakeup-sources: + description: + Each entry consists of 2 integers, represents the source and electric signal edge + items: + items: + - description: the wakeup source + - description: the wakeup electric signal edge + $ref: /schemas/types.yaml#/definitions/uint32-matrix + + required: + - reg + +additionalProperties: false + +examples: + - | + firmware { + scmi { + compatible = "arm,scmi"; + mboxes = <&mu2 5 0>, <&mu2 3 0>, <&mu2 3 1>; + shmem = <&scmi_buf0>, <&scmi_buf1>; + + #address-cells = <1>; + #size-cells = <0>; + + protocol@81 { + reg = <0x81>; + }; + + protocol@84 { + reg = <0x84>; + wakeup-sources = <0x8000 1 + 0x8001 1 + 0x8002 1 + 0x8003 1 + 0x8004 1>; + }; + }; + }; +... -- 2.37.1
WARNING: multiple messages have this Message-ID (diff)
From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com> Cc: Peng Fan <peng.fan@nxp.com>, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] dt-bindings: firmware: add i.MX SCMI Extension protocol Date: Fri, 05 Apr 2024 20:39:24 +0800 [thread overview] Message-ID: <20240405-imx95-bbm-misc-v2-v2-2-9fc9186856c2@nxp.com> (raw) In-Reply-To: <20240405-imx95-bbm-misc-v2-v2-0-9fc9186856c2@nxp.com> From: Peng Fan <peng.fan@nxp.com> Add i.MX SCMI Extension protocols bindings for: - Battery Backed Secure Module(BBSM) - MISC settings such as General Purpose Registers settings. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../devicetree/bindings/firmware/imx,scmi.yaml | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/imx,scmi.yaml b/Documentation/devicetree/bindings/firmware/imx,scmi.yaml new file mode 100644 index 000000000000..7ee19a661d83 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/imx,scmi.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2024 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/imx,scmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX System Control and Management Interface(SCMI) Vendor Protocols Extension + +maintainers: + - Peng Fan <peng.fan@nxp.com> + +allOf: + - $ref: arm,scmi.yaml# + +properties: + protocol@81: + $ref: 'arm,scmi.yaml#/$defs/protocol-node' + unevaluatedProperties: false + description: + The BBM Protocol is for managing Battery Backed Secure Module (BBSM) RTC + and the ON/OFF Key + + properties: + reg: + const: 0x81 + + required: + - reg + + protocol@84: + $ref: 'arm,scmi.yaml#/$defs/protocol-node' + unevaluatedProperties: false + description: + The MISC Protocol is for managing SoC Misc settings, such as GPR settings + + properties: + reg: + const: 0x84 + + wakeup-sources: + description: + Each entry consists of 2 integers, represents the source and electric signal edge + items: + items: + - description: the wakeup source + - description: the wakeup electric signal edge + $ref: /schemas/types.yaml#/definitions/uint32-matrix + + required: + - reg + +additionalProperties: false + +examples: + - | + firmware { + scmi { + compatible = "arm,scmi"; + mboxes = <&mu2 5 0>, <&mu2 3 0>, <&mu2 3 1>; + shmem = <&scmi_buf0>, <&scmi_buf1>; + + #address-cells = <1>; + #size-cells = <0>; + + protocol@81 { + reg = <0x81>; + }; + + protocol@84 { + reg = <0x84>; + wakeup-sources = <0x8000 1 + 0x8001 1 + 0x8002 1 + 0x8003 1 + 0x8004 1>; + }; + }; + }; +... -- 2.37.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2024-04-05 12:31 UTC|newest] Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-05 12:39 [PATCH v2 0/6] firmware: support i.MX95 SCMI BBM/MISC Extenstion Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS) 2024-04-05 12:39 ` [PATCH v2 1/6] dt-bindings: firmware: arm,scmi: set additionalProperties to true Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS) 2024-04-06 10:57 ` Krzysztof Kozlowski 2024-04-06 10:57 ` Krzysztof Kozlowski 2024-04-07 0:37 ` Peng Fan 2024-04-07 0:37 ` Peng Fan 2024-04-07 8:55 ` Krzysztof Kozlowski 2024-04-07 8:55 ` Krzysztof Kozlowski 2024-04-07 10:04 ` Peng Fan 2024-04-07 10:04 ` Peng Fan 2024-04-07 16:15 ` Krzysztof Kozlowski 2024-04-07 16:15 ` Krzysztof Kozlowski 2024-04-07 23:50 ` Peng Fan 2024-04-07 23:50 ` Peng Fan 2024-04-08 5:57 ` Krzysztof Kozlowski 2024-04-08 5:57 ` Krzysztof Kozlowski 2024-04-08 6:08 ` Peng Fan 2024-04-08 6:08 ` Peng Fan 2024-04-08 7:18 ` Krzysztof Kozlowski 2024-04-08 7:18 ` Krzysztof Kozlowski 2024-04-08 7:23 ` Peng Fan 2024-04-08 7:23 ` Peng Fan 2024-04-09 9:25 ` Peng Fan 2024-04-09 9:25 ` Peng Fan 2024-04-09 12:01 ` Cristian Marussi 2024-04-09 12:01 ` Cristian Marussi 2024-04-09 14:09 ` Rob Herring 2024-04-09 14:09 ` Rob Herring 2024-04-09 14:56 ` Cristian Marussi 2024-04-09 14:56 ` Cristian Marussi 2024-04-11 1:50 ` Peng Fan 2024-04-11 1:50 ` Peng Fan 2024-04-05 12:39 ` Peng Fan (OSS) [this message] 2024-04-05 12:39 ` [PATCH v2 2/6] dt-bindings: firmware: add i.MX SCMI Extension protocol Peng Fan (OSS) 2024-04-06 11:02 ` Krzysztof Kozlowski 2024-04-06 11:02 ` Krzysztof Kozlowski 2024-04-07 0:51 ` Peng Fan 2024-04-07 0:51 ` Peng Fan 2024-04-07 1:50 ` Peng Fan 2024-04-07 1:50 ` Peng Fan 2024-04-07 8:57 ` Krzysztof Kozlowski 2024-04-07 8:57 ` Krzysztof Kozlowski 2024-04-07 10:15 ` Peng Fan 2024-04-07 10:15 ` Peng Fan 2024-04-10 17:19 ` Rob Herring 2024-04-10 17:19 ` Rob Herring 2024-04-10 23:47 ` Peng Fan 2024-04-10 23:47 ` Peng Fan 2024-04-05 12:39 ` [PATCH v2 3/6] firmware: arm_scmi: add initial support for i.MX BBM protocol Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS) 2024-04-08 18:04 ` Cristian Marussi 2024-04-08 18:04 ` Cristian Marussi 2024-04-08 23:35 ` Peng Fan 2024-04-08 23:35 ` Peng Fan 2024-04-09 8:59 ` Sudeep Holla 2024-04-09 8:59 ` Sudeep Holla 2024-04-09 9:13 ` Peng Fan 2024-04-09 9:13 ` Peng Fan 2024-04-09 10:49 ` Sudeep Holla 2024-04-09 10:49 ` Sudeep Holla 2024-04-09 11:19 ` Peng Fan 2024-04-09 11:19 ` Peng Fan 2024-04-09 12:52 ` Sudeep Holla 2024-04-09 12:52 ` Sudeep Holla 2024-04-09 13:01 ` Peng Fan 2024-04-09 13:01 ` Peng Fan 2024-04-05 12:39 ` [PATCH v2 4/6] firmware: arm_scmi: add initial support for i.MX MISC protocol Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS) 2024-04-05 16:44 ` Marco Felsch 2024-04-05 16:44 ` Marco Felsch 2024-04-07 1:03 ` Peng Fan 2024-04-07 1:03 ` Peng Fan 2024-04-07 11:02 ` Marco Felsch 2024-04-07 11:02 ` Marco Felsch 2024-04-07 11:16 ` Peng Fan 2024-04-07 11:16 ` Peng Fan 2024-04-05 12:39 ` [PATCH v2 5/6] firmware: imx: support BBM module Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS) 2024-04-05 12:39 ` [PATCH v2 6/6] firmware: imx: add i.MX95 MISC driver Peng Fan (OSS) 2024-04-05 12:39 ` Peng Fan (OSS)
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=20240405-imx95-bbm-misc-v2-v2-2-9fc9186856c2@nxp.com \ --to=peng.fan@oss.nxp.com \ --cc=conor+dt@kernel.org \ --cc=cristian.marussi@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=imx@lists.linux.dev \ --cc=kernel@pengutronix.de \ --cc=krzk+dt@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=peng.fan@nxp.com \ --cc=robh@kernel.org \ --cc=s.hauer@pengutronix.de \ --cc=shawnguo@kernel.org \ --cc=sudeep.holla@arm.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.