From: Shawn Guo <shawnguo@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: robh+dt@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
ping.bai@nxp.com, aisheng.dong@nxp.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 2/3] arm64: dts: imx8ulp: add scmi firmware node
Date: Wed, 8 Dec 2021 20:10:00 +0800 [thread overview]
Message-ID: <20211208121000.GG4216@dragon> (raw)
In-Reply-To: <20211117032740.2518926-3-peng.fan@oss.nxp.com>
On Wed, Nov 17, 2021 at 11:27:39AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> i.MX8ULP use scmi firmware based power domain and sensor support.
> So add the firmware node and the sram it uses.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> index fb8714379026..d567ef93f8d8 100644
> --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> @@ -6,6 +6,7 @@
> #include <dt-bindings/clock/imx8ulp-clock.h>
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/imx8ulp-power.h>
>
> #include "imx8ulp-pinfunc.h"
>
> @@ -102,6 +103,40 @@ sosc: clock-sosc {
> #clock-cells = <0>;
> };
>
> + sram@2201f000 {
> + compatible = "mmio-sram";
> + reg = <0x0 0x2201f000 0x0 0x1000>;
> +
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0 0x0 0x2201f000 0x1000>;
> +
> + scmi_buf: scmi_buf@0 {
Hyphen is more recommended than underscore for node name. Or just
follow the naming in arm,scmi.yaml example?
Shawn
> + compatible = "arm,scmi-shmem";
> + reg = <0x0 0x400>;
> + };
> + };
> +
> + firmware {
> + scmi {
> + compatible = "arm,scmi-smc";
> + arm,smc-id = <0xc20000fe>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + shmem = <&scmi_buf>;
> +
> + scmi_devpd: protocol@11 {
> + reg = <0x11>;
> + #power-domain-cells = <1>;
> + };
> +
> + scmi_sensor: protocol@15 {
> + reg = <0x15>;
> + #thermal-sensor-cells = <0>;
> + };
> + };
> + };
> +
> soc@0 {
> compatible = "simple-bus";
> #address-cells = <1>;
> --
> 2.25.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: robh+dt@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
ping.bai@nxp.com, aisheng.dong@nxp.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 2/3] arm64: dts: imx8ulp: add scmi firmware node
Date: Wed, 8 Dec 2021 20:10:00 +0800 [thread overview]
Message-ID: <20211208121000.GG4216@dragon> (raw)
In-Reply-To: <20211117032740.2518926-3-peng.fan@oss.nxp.com>
On Wed, Nov 17, 2021 at 11:27:39AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> i.MX8ULP use scmi firmware based power domain and sensor support.
> So add the firmware node and the sram it uses.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> index fb8714379026..d567ef93f8d8 100644
> --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> @@ -6,6 +6,7 @@
> #include <dt-bindings/clock/imx8ulp-clock.h>
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/power/imx8ulp-power.h>
>
> #include "imx8ulp-pinfunc.h"
>
> @@ -102,6 +103,40 @@ sosc: clock-sosc {
> #clock-cells = <0>;
> };
>
> + sram@2201f000 {
> + compatible = "mmio-sram";
> + reg = <0x0 0x2201f000 0x0 0x1000>;
> +
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0 0x0 0x2201f000 0x1000>;
> +
> + scmi_buf: scmi_buf@0 {
Hyphen is more recommended than underscore for node name. Or just
follow the naming in arm,scmi.yaml example?
Shawn
> + compatible = "arm,scmi-shmem";
> + reg = <0x0 0x400>;
> + };
> + };
> +
> + firmware {
> + scmi {
> + compatible = "arm,scmi-smc";
> + arm,smc-id = <0xc20000fe>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + shmem = <&scmi_buf>;
> +
> + scmi_devpd: protocol@11 {
> + reg = <0x11>;
> + #power-domain-cells = <1>;
> + };
> +
> + scmi_sensor: protocol@15 {
> + reg = <0x15>;
> + #thermal-sensor-cells = <0>;
> + };
> + };
> + };
> +
> soc@0 {
> compatible = "simple-bus";
> #address-cells = <1>;
> --
> 2.25.1
>
next prev parent reply other threads:[~2021-12-08 12:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 3:27 [PATCH 0/3] add i.MX8ULP scmi power domain Peng Fan (OSS)
2021-11-17 3:27 ` Peng Fan (OSS)
2021-11-17 3:27 ` [PATCH 1/3] dt-bindings: power: imx8ulp: add power domain header file Peng Fan (OSS)
2021-11-17 3:27 ` Peng Fan (OSS)
2021-11-29 22:14 ` Rob Herring
2021-11-29 22:14 ` Rob Herring
2021-11-17 3:27 ` [PATCH 2/3] arm64: dts: imx8ulp: add scmi firmware node Peng Fan (OSS)
2021-11-17 3:27 ` Peng Fan (OSS)
2021-12-08 12:10 ` Shawn Guo [this message]
2021-12-08 12:10 ` Shawn Guo
2021-12-08 13:22 ` Peng Fan
2021-12-08 13:22 ` Peng Fan
2021-11-17 3:27 ` [PATCH 3/3] arm64: dts: imx8ulp: add power domain entry for usdhc Peng Fan (OSS)
2021-11-17 3:27 ` Peng Fan (OSS)
2021-11-17 3:43 ` [PATCH 0/3] add i.MX8ULP scmi power domain Peng Fan
2021-11-17 3:43 ` Peng Fan
2021-12-07 2:34 ` Peng Fan
2021-12-07 2:34 ` Peng Fan
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=20211208121000.GG4216@dragon \
--to=shawnguo@kernel.org \
--cc=aisheng.dong@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=ping.bai@nxp.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
/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: link
Be 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.