[PATCH v2 04/11] mfd: syscon: Add Atmel SMC binding doc
From: Lee Jones <hidden>
Date: 2014-11-10 09:55:11
Also in:
linux-devicetree, lkml
On Wed, 05 Nov 2014, Boris Brezillon wrote:
quoted hunk ↗ jump to hunk
The SMC registers are used to configure Atmel EBI (External Bus Interface) to interface with standard memory devices (NAND, NOR, SRAM or specialized devices like FPGAs). Declare this memory region as a syscon, so that different drivers can configure the SMC interface (mostly timing configuration) according to their need. Signed-off-by: Boris Brezillon <redacted> --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/atmel-smc.txtdiff --git a/Documentation/devicetree/bindings/mfd/atmel-smc.txt b/Documentation/devicetree/bindings/mfd/atmel-smc.txt new file mode 100644 index 0000000..0c0cc3d --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/atmel-smc.txt@@ -0,0 +1,19 @@ +* Device tree bindings for Atmel SMC (Static Memory Controller) + +The SMC registers are used to configure Atmel EBI (External Bus Interface) +to interface with standard memory devices (NAND, NOR, SRAM or specialized +devices like FPGAs). + +Required properties: +- compatible: should be one of the following + "atmel,at91sam9260-smc", "syscon" + "atmel,sama5d3-smc", "syscon" +- reg: contains offset/length value of the SMC memory + region.
I'd be happier if the sentences started with uppercase letters, but nothing too offensive or controversial here: Acked-by: Lee Jones <redacted>
+Example:
+
+smc: smc at ffffc000 {
+ compatible = "atmel,sama5d3-smc", "syscon";
+ reg = <0xffffc000 0x1000>;
+};-- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog