From: Shawn Guo <shawnguo2@yeah.net>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: 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>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v2 6/7] arm64: dts: freescale: imx95-19x19-evk: add nxp,ctrl-ids property
Date: Tue, 8 Oct 2024 21:01:08 +0800 [thread overview]
Message-ID: <ZwUtFKhB3R2geN1D@dragon> (raw)
In-Reply-To: <20240903-imx95-dts-new-v2-6-8ed795d61358@nxp.com>
On Tue, Sep 03, 2024 at 03:17:51PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add 'nxp,ctrl-ids' for SCMI firmware to confirm the board ctrls as
s/confirm/configure?
> wakeup sources.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> index 37a1d4ca1b20..5101cd171e09 100644
> --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> @@ -8,6 +8,15 @@
> #include <dt-bindings/pwm/pwm.h>
> #include "imx95.dtsi"
>
> +#define FALLING_EDGE 1
> +#define RISING_EDGE 2
> +
> +#define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */
> +#define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */
> +#define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */
> +#define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */
> +#define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */
Are these defines board specific?
Shawn
> +
> / {
> model = "NXP i.MX95 19X19 board";
> compatible = "fsl,imx95-19x19-evk", "fsl,imx95";
> @@ -357,6 +366,14 @@ &usdhc2 {
> status = "okay";
> };
>
> +&scmi_misc {
> + nxp,ctrl-ids = <BRD_SM_CTRL_SD3_WAKE FALLING_EDGE
> + BRD_SM_CTRL_PCIE1_WAKE FALLING_EDGE
> + BRD_SM_CTRL_BT_WAKE FALLING_EDGE
> + BRD_SM_CTRL_PCIE2_WAKE FALLING_EDGE
> + BRD_SM_CTRL_BUTTON FALLING_EDGE>;
> +};
> +
> &wdog3 {
> fsl,ext-reset-output;
> status = "okay";
>
> --
> 2.37.1
>
next prev parent reply other threads:[~2024-10-08 13:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 7:17 [PATCH v2 0/7] arm64: dts: freescale: imx95: add various nodes Peng Fan (OSS)
2024-09-03 7:17 ` [PATCH v2 1/7] arm64: dts: freescale: imx95: set max-rx-timeout-ms Peng Fan (OSS)
2024-10-08 12:51 ` Shawn Guo
2024-10-10 10:31 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 2/7] arm64: dts: freescale: imx95: add bbm/misc/syspower scmi nodes Peng Fan (OSS)
2024-09-05 12:18 ` Alexander Stein
2024-09-03 7:17 ` [PATCH v2 3/7] arm64: dts: freescale: imx95: update a55 thermal trip points Peng Fan (OSS)
2024-09-05 12:24 ` Alexander Stein
2024-09-06 8:19 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 4/7] arm64: dts: freescale: imx95: add anamix temperature thermal zone and cooling node Peng Fan (OSS)
2024-10-08 12:56 ` Shawn Guo
2024-09-03 7:17 ` [PATCH v2 5/7] arm64: dts: freescale: imx95: enable A55 cpuidle Peng Fan (OSS)
2024-09-03 7:17 ` [PATCH v2 6/7] arm64: dts: freescale: imx95-19x19-evk: add nxp,ctrl-ids property Peng Fan (OSS)
2024-10-08 13:01 ` Shawn Guo [this message]
2024-10-10 10:32 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Peng Fan (OSS)
2024-09-05 12:26 ` [PATCH v2 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5, 6] " Alexander Stein
2024-09-06 8:17 ` Peng Fan
2024-09-30 9:16 ` [PATCH v2 0/7] arm64: dts: freescale: imx95: add various nodes Peng Fan
2024-10-08 12:55 ` Shawn Guo
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=ZwUtFKhB3R2geN1D@dragon \
--to=shawnguo2@yeah.net \
--cc=conor+dt@kernel.org \
--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=peng.fan@oss.nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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.