of: Modify c_can binding documentation
Subsystems (2)
PATCH v3 1/1 of: Modify c_can binding documentation
Modify c_can binding documentation according to recent review comments on device tree data addition patches.
Signed-off-by AnilKumar Ch <[email protected]>
---
Changes from v2:
- Incorporated Marc's comments on v2
* Fixed typo mistake by renaming d_can1 to dcan1
Changes from v1:
- Separated from "Add DT for AM33XX devices" patch series
- Incorporated Stephen Warren's review comments on v1
* Removed status and interrupt-parent description from c_can.txt file because these are device specific parameters.
.../devicetree/bindings/net/can/c_can.txt | 24 +++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/net/can/c_can.txt +18 -6
@@ -10,7 +10,6 @@ Required properties: number Optional properties: -- interrupt-parent : The parent interrupt controller - ti,hwmods : Must be "d_can<n>" or "c_can<n>", n being the instance number
@@ -20,18 +19,31 @@ Future plan is to migrate hwmod data base contents into device tree blob so that, all the required data will be used from device tree dts file. -Examples: +Example: - d_can@481D0000 { +Step1: SoC common .dtsi file + + dcan1: d_can@481d0000 { compatible = "bosch,d_can"; - reg = <0x481D0000 0x1000>; - interrupts = <55 0x4>; + reg = <0x481d0000 0x2000>; + interrupts = <55>; interrupt-parent = <&intc>; + status = "disabled"; }; (or) - d_can@481D0000 { + dcan1: d_can@481d0000 { compatible = "bosch,d_can"; ti,hwmods = "d_can1"; + reg = <0x481d0000 0x2000>; + interrupts = <55>; + interrupt-parent = <&intc>; + status = "disabled"; + }; + +Step 2: board specific .dts file + + &dcan1 { + status = "okay"; };
Signature · 1 line
1.7.9.5
Marc Kleine-Budde
maintainerQuoted 4 lines · AnilKumar Ch
Modify
c_canbinding documentation according to recent review comments on device tree data addition patches.Signed-off-by AnilKumar Ch <[email protected]>
Thanks, I've updated my master branch.
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |