[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201019155737.26577-7-qiangqing.zhang@nxp.com>
Date: Mon, 19 Oct 2020 23:57:35 +0800
From: Joakim Zhang <qiangqing.zhang@....com>
To: mkl@...gutronix.de, robh+dt@...nel.org, shawnguo@...nel.org,
s.hauer@...gutronix.de
Cc: kernel@...gutronix.de, linux-imx@....com, victor.liu@....com,
linux-can@...r.kernel.org, pankaj.bansal@....com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH V2 6/8] dt-bindings: can: flexcan: add fsl,scu-index property to indicate a resource
For SoCs with SCU support, need setup stop mode via SCU firmware,
so this property can help indicate a resource in SCU firmware.
Signed-off-by: Joakim Zhang <qiangqing.zhang@....com>
---
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
index 6af67f5e581c..38a7da4fef3f 100644
--- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
+++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
@@ -43,6 +43,11 @@ Optional properties:
0: clock source 0 (oscillator clock)
1: clock source 1 (peripheral clock)
+- fsl,scu-index: The scu index of CAN instance.
+ For SoCs with SCU support, need setup stop mode via SCU firmware,
+ so this property can help indicate a resource. It supports up to
+ 3 CAN instances now, so the value should be 0, 1, or 2.
+
- wakeup-source: enable CAN remote wakeup
Example:
@@ -54,4 +59,5 @@ Example:
interrupt-parent = <&mpic>;
clock-frequency = <200000000>; // filled in by bootloader
fsl,clk-source = /bits/ 8 <0>; // select clock source 0 for PE
+ fsl,scu-index = /bits/ 8 <1>; // the second CAN instance
};
--
2.17.1
Powered by blists - more mailing lists