Re: [PATCH v2] of: Add more stubs for non-OF builds

2013-07-20 Thread Alexander Shiyan
On Sat, 20 Jul 2013 06:31:11 +0100 Grant Likely grant.lik...@linaro.org wrote: On Tue, 18 Jun 2013 18:39:22 +0400, Alexander Shiyan shc_w...@mail.ru wrote: Patch adds of_get_next_child and of_get_next_available_child stubs for non-OF builds. Signed-off-by: Alexander Shiyan shc_w

Re[2]: [PATCH] ARM: dts: imx27 phyCARD-S remove wrong I2C RTC

2013-07-07 Thread Alexander Shiyan
On Sat, Jul 06, 2013 at 12:51:58PM +0400, Alexander Shiyan wrote: Fixup of commit 7874d595b78e431f0f661d2fe47625649308a52e ARM: dts: Add device tree support for phycard pca100. Remove wrong I2C RTC node. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Thanks

Re: [PATCH] ARM: dts: imx27 phyCARD-S remove wrong I2C RTC

2013-07-06 Thread Alexander Shiyan
Fixup of commit 7874d595b78e431f0f661d2fe47625649308a52e ARM: dts: Add device tree support for phycard pca100. Remove wrong I2C RTC node. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Thanks, Alexander, you are right. I2C2 has no RTC. ... There are a couple of comments on

Re: [PATCH v3 5/5] ARM: dts: Add device tree support for phycard pca100

2013-07-02 Thread Alexander Shiyan
Board files for Phytec phyCARD-S System on Module and Rapid Development Kit. Based on patches from: Steffen Trumtrar s.trumt...@pengutronix.de: - Original patch - ARM: dts: Set partition offsets for phycard - ARM: dts: Use CSPI1 instead of CSPI2 on phycard pca100 - ARM:

Re: [PATCH 3/4] PCI: Add driver for i.MX6 PCI Express

2013-07-01 Thread Alexander Shiyan
This adds a PCI Express port driver for the on-chip PCI Express port present on the i.MX6 SoC. It is based on the PCI Express driver available in the Freescale BSP. Signed-off-by: Sean Cross x...@kosagi.com ... +++ b/Documentation/devicetree/bindings/pci/imx6q-pcie.txt @@ -0,0 +1,20 @@

Re[2]: [PATCH v3 2/5] ARM: dts: imx27: Add imx framebuffer device

2013-07-01 Thread Alexander Shiyan
On Fri, Jun 28, 2013 at 07:10:06PM +0400, Alexander Shiyan wrote: Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx27.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi

Re: [PATCH v3 2/5] ARM: dts: imx27: Add imx framebuffer device

2013-06-28 Thread Alexander Shiyan
Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx27.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 8603886..10dcbd3 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++

Re: [PATCH v2 5/5] ARM: dts: Add device tree support for phycard pca100

2013-06-23 Thread Alexander Shiyan
Board files for Phytec PhyCARD-S System on Module and Rapid Development Kit. Based on patches from: Steffen Trumtrar s.trumt...@pengutronix.de: - Original patch - ARM: dts: Set partition offsets for phycard - ARM: dts: Use CSPI1 instead of CSPI2 on phycard pca100 - ARM:

Re: [PATCH v2 3/5] ARM: dts: imx27: Add 1-wire

2013-06-23 Thread Alexander Shiyan
Signed-off-by: Markus Pargmann m...@pengutronix.de --- ... + owire: owire@10009000 { + compatible = fsl,imx27-owire, fsl,imx21-owire; + reg = 0x10009000 0x1000; + clocks = clks 35; +

[PATCH] dt: Typo fix

2013-06-23 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- Documentation/devicetree/bindings/net/can/sja1000.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/can/sja1000.txt b/Documentation/devicetree/bindings/net/can/sja1000.txt index

Re[2]: [PATCH] of: Add more stubs for non-OF builds

2013-06-21 Thread Alexander Shiyan
On Thu, Jun 20, 2013 at 5:26 PM, Grant Likely grant.lik...@linaro.org wrote: On Thu, 20 Jun 2013 16:49:54 -0700, Bryan Wu coolo...@gmail.com wrote: Hi Rob, Is this patch good for merging? In Alex's one patch to add device tree supporting for a leds driver, we got building errors due

Re[4]: [PATCH] of: Add more stubs for non-OF builds

2013-06-21 Thread Alexander Shiyan
On Fri, Jun 21, 2013 at 7:17 AM, Alexander Shiyan shc_w...@mail.ru wrote: On Thu, Jun 20, 2013 at 5:26 PM, Grant Likely grant.lik...@linaro.org wrote: On Thu, 20 Jun 2013 16:49:54 -0700, Bryan Wu coolo...@gmail.com wrote: Hi Rob, Is this patch good for merging? In Alex's

Re[6]: [PATCH] of: Add more stubs for non-OF builds

2013-06-21 Thread Alexander Shiyan
On Fri, Jun 21, 2013 at 7:17 AM, Alexander Shiyan shc_w...@mail.ru wrote: On Thu, Jun 20, 2013 at 5:26 PM, Grant Likely grant.lik...@linaro.org wrote: On Thu, 20 Jun 2013 16:49:54 -0700, Bryan Wu coolo...@gmail.com wrote: Hi Rob, Is this patch good for merging

Re: [PATCH 4/6] ARM: dts: imx27: Add 1-wire

2013-06-20 Thread Alexander Shiyan
Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx27.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 044004a..e883e77 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++

Re: [PATCH 6/6] ARM: dts: Add device tree support for phycard pca100

2013-06-20 Thread Alexander Shiyan
Based on patches from: Steffen Trumtrar s.trumt...@pengutronix.de: - Original patch - ARM: dts: Set partition offsets for phycard - ARM: dts: Use CSPI1 instead of CSPI2 on phycard pca100 - ARM: imx27-phytec-phycard-S.dts: resize nand partitions Jan Luebbe j...@pengutronix.de: -

Re: [PATCH 1/6] ARM: mx27: Replace clk_register_clkdev with clock DT lookup

2013-06-20 Thread Alexander Shiyan
From: Fabio Estevam fabio.este...@freescale.com Similarly as it was done for mx6q, use a DT lookup in order to make maintainance task for the clock devices easier. Signed-off-by: Fabio Estevam fabio.este...@freescale.com [Markus Pargmann: Add gpio clocks] Signed-off-by: Markus Pargmann

[PATCH v3] of: Add stubs for of_get_next_child and of_get_next_available_child for !OF

2013-06-20 Thread Alexander Shiyan
Patch adds an empty versions of of_get_next_child and of_get_next_available_child for non-OF builds. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/linux/of.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 1fd08ca

Re[2]: [PATCH 5/6] ARM: dts: imx27 cpufreq-cpu0 frequencies

2013-06-20 Thread Alexander Shiyan
On Thu, Jun 20, 2013 at 04:50:14PM +0200, Markus Pargmann wrote: Set operating-points for imx27. There is no regulator support, so the voltages are 0. The frequencies should be the same for all imx27 boards, so it is defined here and can be overwritten if necessary. Signed-off-by:

[PATCH v2] of: Add more stubs for non-OF builds

2013-06-18 Thread Alexander Shiyan
Patch adds of_get_next_child and of_get_next_available_child stubs for non-OF builds. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/linux/of.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/linux/of.h b/include/linux/of.h index

Re: [PATCH] of: Add more stubs for non-OF builds

2013-06-18 Thread Alexander Shiyan
Perhaps a more specific subject. I can just specify stub function names in the subject. Is this enough? On 06/17/2013 12:24 PM, Alexander Shiyan wrote: Patch adds of_get_next_child and of_get_next_available_child stubs for non-OF builds. Signed-off-by: Alexander Shiyan shc_w

[PATCH] of: Add more stubs for non-OF builds

2013-06-17 Thread Alexander Shiyan
Patch adds of_get_next_child and of_get_next_available_child stubs for non-OF builds. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/linux/of.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/linux/of.h b/include/linux/of.h index

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

2013-05-23 Thread Alexander Shiyan
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

Re: [PATCH V2 4/6] ARM: dts: imx6q: add pinctrl for WEIM NOR

2013-05-23 Thread Alexander Shiyan
Add a pinctrl for WEIM nor. Signed-off-by: Huang Shijie b32...@freescale.com --- arch/arm/boot/dts/imx6q.dtsi | 56 ++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi

Re[2]: [PATCH V2 4/6] ARM: dts: imx6q: add pinctrl for WEIM NOR

2013-05-23 Thread Alexander Shiyan
How we should define CS1 pin in your example for second device? But in the imx6q{dl}-sabreauto boards, we only have the NOR connected to WEIM. I do not need to worry about the second device. OK, but you add weim-NOR to the arch/arm/boot/dts/imx6q.dtsi, not in imx6qdl-sabreauto.dtsi, so

Re[2]: [PATCH V2 4/6] ARM: dts: imx6q: add pinctrl for WEIM NOR

2013-05-23 Thread Alexander Shiyan
I suggest remove nor label here since it can be used for other devices later. this pinctrl is just for NOR. If we attach other device to WEIM, it maybe needs other PAD, such as MX6Q_PAD_EIM_LBA__EIM_LBA_B. We need to add another pinctrl then. How we should define CS1 pin in your example

Re[2]: [RFC 3/8] mfd:syscon: Introduce claim/read/write/release APIs

2013-05-08 Thread Alexander Shiyan
On Wednesday 08 May 2013, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces syscon_claim, syscon_read, syscon_write, syscon_release APIs to help drivers to use syscon registers in much more flexible way. With this patch, a driver

Re[2]: [PATCH V2] video: implement a simple framebuffer driver

2013-04-30 Thread Alexander Shiyan
On 04/04/2013 05:39 AM, Stephen Warren wrote: A simple frame-buffer describes a raw memory region that may be rendered to, with the assumption that the display hardware has already been set up to scan out from that buffer. This is useful in cases where a bootloader exists and has set

[PATCH v2 2/2] regulator: mc13783: Add device tree probe support

2013-04-27 Thread Alexander Shiyan
Patch adds device tree probe support for mc13783-regulator driver. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- Documentation/devicetree/bindings/mfd/mc13xxx.txt | 36 +-- drivers/regulator/mc13783-regulator.c | 44 +++ 2 files changed, 62

Re[2]: [PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-25 Thread Alexander Shiyan
On Sat, Apr 13, 2013 at 08:21:39AM +0400, Alexander Shiyan wrote: +static void __init clps711x_add_gpio(void) +{ + const struct resource clps711x_gpio0_res[] = { + DEFINE_RES_MEM(PADR, SZ_1), + DEFINE_RES_MEM(PADDR, SZ_1), + }; ... Don't do

Re[2]: [PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-20 Thread Alexander Shiyan
On Sat, Apr 13, 2013 at 08:21:39AM +0400, Alexander Shiyan wrote: +static void __init clps711x_add_gpio(void) +{ + const struct resource clps711x_gpio0_res[] = { + DEFINE_RES_MEM(PADR, SZ_1), + DEFINE_RES_MEM(PADDR, SZ_1), + }; ... which will in itself

Re[2]: [PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-15 Thread Alexander Shiyan
On Sat, Apr 13, 2013 at 08:21:39AM +0400, Alexander Shiyan wrote: This patch provides rewritten driver for CLPS711X GPIO which uses generic GPIO code. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/configs/clps711x_defconfig| 1 + arch/arm/mach

[PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-12 Thread Alexander Shiyan
This patch provides rewritten driver for CLPS711X GPIO which uses generic GPIO code. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/configs/clps711x_defconfig| 1 + arch/arm/mach-clps711x/Makefile| 5 +- arch/arm/mach-clps711x/board-autcpu12.c

[PATCH 2/2] GPIO: clps711x: Add DT support

2013-04-12 Thread Alexander Shiyan
Add DT support to the CLPS711X GPIO driver. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- .../devicetree/bindings/gpio/clps711x-gpio.txt | 28 ++ drivers/gpio/gpio-clps711x.c | 14 --- 2 files changed, 39 insertions(+), 3 deletions

[PATCH 1/3] ARM: dts: Add NFC support for i.MX27 Phytec PCM038 module

2013-04-07 Thread Alexander Shiyan
Added NFC node to imx27-phytec-phycore DT file. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp

[PATCH 3/3] ARM: dts: Add missing imx27-phytec-phycore dtb target

2013-04-07 Thread Alexander Shiyan
The patch adds missing imx27-phytec-phycore dtb target into Makefile. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 35976f0..a06d9f1 100644

[PATCH 2/3] ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

2013-04-07 Thread Alexander Shiyan
Added SPI node to imx27-phytec-phycore DT file. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp

Re: [PATCH 1/5] net: Add davicom wemac ethernet driver found on Allwinner A10 SoC's

2013-03-16 Thread Alexander Shiyan
From: Stefan Roese s...@denx.de The Allwinner A10 has an ethernet controller that is advertised as coming from Davicom. The exact feature set of this controller is unknown, since there is no public documentation for this IP, and this driver is mostly the one published by Allwinner that

Re: [PATCH 10/10] ASoC: imx-ssi: Add imx27 and pca100 DT support

2013-03-10 Thread Alexander Shiyan
Hello. Add devicetree bindings for generic imx-ssi support and specifically for pca100 with two custom reset functions. At the moment those functions are defined in mach-pca100.c. So until DT is the only method for booting, the ac97 reset functions have to be exported in mach-pca100.c.

[PATCH] of: Add vendor prefix for Cirrus Logic

2013-02-03 Thread Alexander Shiyan
This patch adds a device tree vendor prefix for Cirrus Logic, Inc. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation