From a99546ab6294e11b71dfbeee7f2432b1f028f65d Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 5 Oct 2016 15:27:03 -0700 Subject: dm: imx: serial: support device tree Support instatiation through device tree. Also parse the fsl,dte-mode property to determine whether DTE mode shall be used. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass --- doc/device-tree-bindings/serial/mxc-serial.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/device-tree-bindings/serial/mxc-serial.txt (limited to 'doc/device-tree-bindings') diff --git a/doc/device-tree-bindings/serial/mxc-serial.txt b/doc/device-tree-bindings/serial/mxc-serial.txt new file mode 100644 index 0000000000..ede92a4854 --- /dev/null +++ b/doc/device-tree-bindings/serial/mxc-serial.txt @@ -0,0 +1,8 @@ +NXP i.MX (MXC) UART + +Required properties: +- compatible: must be "fsl,imx7d-uart" +- reg: start address and size of the registers + +Optional properties: +- fsl,dte-mode: use DTE mode -- cgit From c571d6828d980e555ba40baf85aab45b39e118ee Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 5 Oct 2016 15:27:09 -0700 Subject: power: pmic: add Ricoh RN5T567 PMIC support Add device model enabled PMIC driver for Ricoh RN5T567 PMIC used on Colibri iMX7. Signed-off-by: Stefan Agner Reviewed-by: Simon Glass --- doc/device-tree-bindings/pmic/rn5t567.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/device-tree-bindings/pmic/rn5t567.txt (limited to 'doc/device-tree-bindings') diff --git a/doc/device-tree-bindings/pmic/rn5t567.txt b/doc/device-tree-bindings/pmic/rn5t567.txt new file mode 100644 index 0000000000..e9e688537c --- /dev/null +++ b/doc/device-tree-bindings/pmic/rn5t567.txt @@ -0,0 +1,17 @@ +Ricoh RN5T567 PMIC + +This file describes the binding info for the PMIC driver. + +Required properties: +- compatible: "ricoh,rn5t567" +- reg: depending on strapping, e.g. 0x33 + +With those two properties, the PMIC device can be used to read/write +registers. + +Example: + +rn5t567@33 { + compatible = "ricoh,rn5t567"; + reg = <0x33>; +}; -- cgit