Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-22 Thread Huang Shijie
于 2013年05月22日 20:59, Arnd Bergmann 写道: > On Wednesday 22 May 2013, Huang Shijie wrote: >> 于 2013年05月21日 13:43, Shawn Guo 写道: >>> It seems we can find it out from "reg" property, so that we can save >>> this property? >>> >> we may have several devices attaching to the weim, each device has its >>

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-22 Thread Arnd Bergmann
On Wednesday 22 May 2013, Huang Shijie wrote: > 于 2013年05月21日 13:43, Shawn Guo 写道: > > It seems we can find it out from "reg" property, so that we can save > > this property? > > > we may have several devices attaching to the weim, each device has its > own CS index. > it's better to keep this pro

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-22 Thread Huang Shijie
于 2013年05月20日 21:18, Sascha Hauer 写道: On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: weim-cs-index. + +Example for an i.MX6q-sabreauto board: + weim: weim@021b8000 { + compatible = "fsl,imx6q-weim"; + reg =<0x021b8000 0x400

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-22 Thread Huang Shijie
于 2013年05月21日 13:43, Shawn Guo 写道: It seems we can find it out from "reg" property, so that we can save this property? we may have several devices attaching to the weim, each device has its own CS index. it's better to keep this property, make it more clear. thanks Huang Shijie -- To unsubsc

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Sascha Hauer
On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the devic

[PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Huang Shijie
The WEIM(Wireless External Interface Module) works like a bus. You can attach many different devices on it, such as NOR, onenand. In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. This patch also adds the devicetree binding document. The driver only works when the devicetree is enabl