Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-03 Thread Linus Walleij
On Mon, Dec 2, 2013 at 12:03 PM, Lee Jones lee.jo...@linaro.org wrote: +Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device register(s) + - st,boot-device-spi :

Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-03 Thread Lee Jones
On Tue, 03 Dec 2013, Linus Walleij wrote: On Mon, Dec 2, 2013 at 12:03 PM, Lee Jones lee.jo...@linaro.org wrote: +Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device

Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-03 Thread Linus Walleij
On Tue, Dec 3, 2013 at 12:31 PM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 03 Dec 2013, Linus Walleij wrote: So it can be in linux/mfd/my-sysconfig-regs.h as a #define MY_SYSCON_V1_BOOT_DEV_REG 0x958 #define MY_SYSCON_V1_BOOT_DEV_SPI 0x1a The kernel should know which SoC is in use and

Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-03 Thread Lee Jones
On Tue, 03 Dec 2013, Linus Walleij wrote: On Tue, Dec 3, 2013 at 12:31 PM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 03 Dec 2013, Linus Walleij wrote: So it can be in linux/mfd/my-sysconfig-regs.h as a #define MY_SYSCON_V1_BOOT_DEV_REG 0x958 #define MY_SYSCON_V1_BOOT_DEV_SPI

Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-02 Thread Lee Jones
+Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device register(s) + - st,boot-device-spi : Expected boot-device value if booted via this device + +Example: +

[PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-11-29 Thread Lee Jones
Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/mtd/st-fsm.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/st-fsm.txt diff --git