diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2014-06-30 08:23:43 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-02 07:50:50 +0200 |
commit | f0333dda0e97b045038c084f677ac83cf35393ef (patch) | |
tree | d2661049d83f08845b11737cc77f0f44f9ee9273 /Documentation | |
parent | feacb774a8c9ff693dc90563b4d334eb25ed5be8 (diff) | |
download | barebox-f0333dda0e97b045038c084f677ac83cf35393ef.tar.gz barebox-f0333dda0e97b045038c084f677ac83cf35393ef.tar.xz |
Documentation: device tree bindings.
Adjusted Sphinx markup for devicetree bindings pages.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
4 files changed, 22 insertions, 20 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebox,environment.rst index d243484d90..d472f66398 100644 --- a/Documentation/devicetree/bindings/barebox/barebox,environment.rst +++ b/Documentation/devicetree/bindings/barebox/barebox,environment.rst @@ -4,18 +4,19 @@ barebox environment This driver provides an environment for barebox from the devicetree. Required properties: -- compatible: should be "barebox,environment" -- device-path: path to the environment + +* ``compatible``: should be ``barebox,environment`` +* ``device-path``: path to the environment The device-path is a multistring property. The first string should be a nodepath to the node containing the physical device of the environment. The subsequent strings are of the form <type>:<options> to further describe the path to the environment. Supported values for <type>: -partname:<partname> This describes a partition on a device. <partname> can - be the label for mtd partitions, the number for DOS - partitions (beginning with 0) or the name for GPT - partitions +``partname``:<partname> + This describes a partition on a device. <partname> can + be the label for MTD partitions, the number for DOS + partitions (beginning with 0) or the name for GPT partitions. Example:: diff --git a/Documentation/devicetree/bindings/leds/common.rst b/Documentation/devicetree/bindings/leds/common.rst index 63a45bda5c..c1fd1ab89e 100644 --- a/Documentation/devicetree/bindings/leds/common.rst +++ b/Documentation/devicetree/bindings/leds/common.rst @@ -1,9 +1,10 @@ Common leds properties ====================== -- linux,default-trigger barebox,default-trigger: This parameter, if present, is a +* ``linux,default-trigger``, ``barebox,default-trigger``: This parameter, if present, is a string defining the trigger assigned to the LED. Current triggers are: - "heartbeat" - LED flashes at a constant rate - "panic" - LED turns on when barebox panics - "net" - LED indicates network activity + + * ``heartbeat`` - LED flashes at a constant rate + * ``panic`` - LED turns on when barebox panics + * ``net`` - LED indicates network activity diff --git a/Documentation/devicetree/bindings/misc/fsl,imx-iim.rst b/Documentation/devicetree/bindings/misc/fsl,imx-iim.rst index a067579189..b9d5bcba98 100644 --- a/Documentation/devicetree/bindings/misc/fsl,imx-iim.rst +++ b/Documentation/devicetree/bindings/misc/fsl,imx-iim.rst @@ -3,14 +3,14 @@ Freescale i.MX IIM (Ic Identification Module) Required properties: -- compatible: fsl,imx27-iim -- reg: physical register base and size +* ``compatible``: ``fsl,imx27-iim``, ``fsl,imx51-iim`` +* ``reg``: physical register base and size Optional properties: -- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This - can be multiple entries in the form <&phandle bankno fuseofs> to specify a MAC - address to a ethernet device. +* ``barebox,provide-mac-address``: Provide MAC addresses for Ethernet devices. This + can be multiple entries in the form <&phandle bankno fuseofs> to assign a MAC + address to an Ethernet device. Example:: diff --git a/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst b/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst index 472b9e251f..403863e927 100644 --- a/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst +++ b/Documentation/devicetree/bindings/misc/fsl,imx-ocotp.rst @@ -3,14 +3,14 @@ Freescale i.MX OCOTP (On-Chip OTP) Required properties: -- compatible: fsl,imx6q-ocotp -- reg: physical register base and size +* ``compatible``: ``fsl,imx6q-ocotp`` +* ``reg``: physical register base and size Optional properties: -- barebox,provide-mac-address: Provide MAC addresses for ethernet devices. This - can be multiple entries in the form <&phandle regofs> to specify a MAC - address to a ethernet device. +* ``barebox,provide-mac-address``: Provide MAC addresses for Ethernet devices. This + can be multiple entries in the form <&phandle regofs> to assign a MAC + address to an Ethernet device. Example:: |