]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx952-evk: Add nxp,ctrl-ids for scmi misc
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Jan 2026 12:40:16 +0000 (20:40 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 18 Jan 2026 01:55:28 +0000 (09:55 +0800)
Add nxp,ctrl-ids in scmi_misc node for wakeup notification.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx952-evk.dts

index bae7b88f8229babc42952b7abbeb912cbefc10fd..b838323468d4109fa1cec8cff53baf432408ba9d 100644 (file)
@@ -9,6 +9,15 @@
 #include <dt-bindings/usb/pd.h>
 #include "imx952.dtsi"
 
+#define FALLING_EDGE           BIT(0)
+#define RISING_EDGE            BIT(1)
+
+#define BRD_SM_CTRL_SD3_WAKE           0x8000U /*!< PCAL6408A-0 */
+#define BRD_SM_CTRL_M2E_WAKE           0x8001U /*!< PCAL6408A-4 */
+#define BRD_SM_CTRL_BT_WAKE            0x8002U /*!< PCAL6408A-5 */
+#define BRD_SM_CTRL_M2M_WAKE           0x8003U /*!< PCAL6408A-6 */
+#define BRD_SM_CTRL_BUTTON             0x8004U /*!< PCAL6408A-7 */
+
 / {
        model = "NXP i.MX952 EVK board";
        compatible = "fsl,imx952-evk", "fsl,imx952";
        status = "okay";
 };
 
+&scmi_misc {
+       nxp,ctrl-ids = <BRD_SM_CTRL_SD3_WAKE            1
+                       BRD_SM_CTRL_M2E_WAKE            1
+                       BRD_SM_CTRL_BT_WAKE             1
+                       BRD_SM_CTRL_M2M_WAKE            1
+                       BRD_SM_CTRL_BUTTON              1>;
+};
+
 &tpm3 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_tpm3>;