From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Zhang Subject: [PATCH V2 2/2] Documentation: can: flexcan: Add stop mode property to device tree Date: Fri, 26 Oct 2018 09:00:40 +0000 Message-ID: <20181026085814.23370-3-qiangqing.zhang@nxp.com> References: <20181026085814.23370-1-qiangqing.zhang@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20181026085814.23370-1-qiangqing.zhang@nxp.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: "linux-can@vger.kernel.org" Cc: "wg@grandegger.com" , "mkl@pengutronix.de" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "A.s. Dong" , Joakim Zhang List-Id: devicetree@vger.kernel.org From: Dong Aisheng The FlexCAN controller can parse the stop mode property to enable CAN self wakeup feature. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Do= cumentation/devicetree/bindings/net/can/fsl-flexcan.txt index bfc0c433654f..23d56f7ebe3d 100644 --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt @@ -24,6 +24,14 @@ Optional properties: if this property is present then controller is assumed to be= big endian. =20 +- fsl,stop-mode: register bits of stop mode control, the format is + <&gpr req_gpr req_bit ack_gpr ack_bit>. + gpr is the phandle to general purpose register node. + req_gpr is the gpr register offset of CAN stop request. + req_bit is the bit offset of CAN stop request. + ack_gpr is the gpr register offset of CAN stop acknowledge. + ack_bit is the bit offset of CAN stop acknowledge. + Example: =20 can@1c000 { --=20 2.17.1