On Fri, Jul 12, 2013 at 11:10 PM, Daniel Drake d...@laptop.org wrote:
On Thu, Jul 11, 2013 at 5:54 PM, Haojian Zhuang
haojian.zhu...@gmail.com wrote:
Well, Daniel Drake spoke up for OLPC. Does that count?
We don't know they used DT on Marvell MMP2/MMP3. So they don't have DTS file
in kernel
On Thu, Jul 11, 2013 at 7:23 PM, Neil Zhang zhan...@marvell.com wrote:
Haojian,
-Original Message-
From: Haojian Zhuang [mailto:haojian.zhu...@gmail.com]
Sent: 2013年7月10日 13:59
To: Arnd Bergmann
Cc: Thomas Petazzoni; Neil Zhang; Grant Likely;
devicetree-discuss@lists.ozlabs.org
On Thu, Jul 11, 2013 at 5:50 AM, Jason Cooper ja...@lakedaemon.net wrote:
On Wed, Jul 10, 2013 at 10:08:50PM +0800, Haojian Zhuang wrote:
On Wed, Jul 10, 2013 at 8:24 PM, Jason Cooper ja...@lakedaemon.net wrote:
On Wed, Jul 10, 2013 at 04:19:46PM +0800, Haojian Zhuang wrote:
On Tue, Jul 9
On Tue, Jul 9, 2013 at 8:49 PM, Jason Cooper ja...@lakedaemon.net wrote:
Neil,
On Tue, Jul 09, 2013 at 02:42:44PM +0800, Neil Zhang wrote:
The documented vendor prefix for Marvell is 'marvell', not 'mrvl', so
let's change it.
Signed-off-by: Neil Zhang zhan...@marvell.com
---
On Wed, Jul 10, 2013 at 8:24 PM, Jason Cooper ja...@lakedaemon.net wrote:
On Wed, Jul 10, 2013 at 04:19:46PM +0800, Haojian Zhuang wrote:
On Tue, Jul 9, 2013 at 8:49 PM, Jason Cooper ja...@lakedaemon.net wrote:
Neil,
On Tue, Jul 09, 2013 at 02:42:44PM +0800, Neil Zhang wrote
On Wed, Jul 10, 2013 at 5:16 AM, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 09 July 2013, Thomas Petazzoni wrote:
Dear Neil Zhang,
On Tue, 9 Jul 2013 14:42:45 +0800, Neil Zhang wrote:
support CLOCKSOURCE OF DECLARE for mmp timer.
Signed-off-by: Neil Zhang zhan...@marvell.com
---
On 21 June 2013 14:14, Mike Turquette mturque...@linaro.org wrote:
Device Tree binding for the basic clock multiplexer, plus the setup
function to register the clock. Based on the existing fixed-clock
binding.
Includes minor beautification of clk-provider.h where some whitespace is
added
On 8 June 2013 03:18, Stephen Warren swar...@wwwdotorg.org wrote:
On 06/06/2013 09:30 AM, Christian Ruppert wrote:
On Thu, Jun 06, 2013 at 10:32:21PM +0800, Haojian Zhuang wrote:
On 6 June 2013 22:11, Christian Ruppert christian.rupp...@abilis.com
wrote:
On Wed, Jun 05, 2013 at 09:44:27AM
if needed.
Done in collaboration with Roger Quadros rog...@ti.com.
Manjunathappa's pinctrl-single patch on enhancing bits is already merged.
This patch conflicts with his patch.
Could you rebase your patches?
Cc: Haojian Zhuang haojian.zhu...@gmail.com
Cc: Peter Ujfalusi peter.ujfal
supporting IRQ and GPIO wake-up events if a hardware
spefific module is registered for the enable and disable
calls.
Done in collaboration with Roger Quadros rog...@ti.com.
Cc: Haojian Zhuang haojian.zhu...@gmail.com
Cc: Peter Ujfalusi peter.ujfal...@ti.com
Cc: devicetree-discuss@lists.ozlabs.org
On Sat, Jun 8, 2013 at 11:27 PM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com [130608 02:43]:
Manjunathappa's pinctrl-single patch on enhancing bits is already merged.
This patch conflicts with his patch.
Could you rebase your patches?
Sure. Looks like
: Haojian Zhuang haojian.zhu...@gmail.com
Cc: Peter Ujfalusi peter.ujfal...@ti.com
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Roger Quadros rog...@ti.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/pinctrl/Makefile |3
drivers/pinctrl/pinctrl
On 7 June 2013 19:32, Christian Ruppert christian.rupp...@abilis.com wrote:
On Fri, Jun 07, 2013 at 08:00:57AM +0800, Haojian Zhuang wrote:
On 6 June 2013 23:30, Christian Ruppert christian.rupp...@abilis.com wrote:
On Thu, Jun 06, 2013 at 10:32:21PM +0800, Haojian Zhuang wrote:
On 6 June
On 7 June 2013 22:50, Mike Dunn miked...@newsguy.com wrote:
On 06/06/2013 06:21 PM, Haojian Zhuang wrote:
On Fri, Jun 7, 2013 at 8:48 AM, Mike Dunn miked...@newsguy.com wrote:
On 06/06/2013 04:58 PM, Haojian Zhuang wrote:
On 7 June 2013 01:33, Mike Dunn miked...@newsguy.com wrote
On 7 June 2013 20:27, Heiko Stübner he...@sntech.de wrote:
Am Freitag, 7. Juni 2013, 13:46:32 schrieb Linus Walleij:
On Thu, Jun 6, 2013 at 9:08 PM, Heiko Stübner he...@sntech.de wrote:
There exist platforms, namely at least all Rockchip Cortex-A9 based ones,
that don't use the paradigm of
On 8 June 2013 01:41, Mike Dunn miked...@newsguy.com wrote:
On 06/07/2013 08:16 AM, Haojian Zhuang wrote:
[...]
Since you need to configure both GPDRx and GAFRx. If we are talking
pinctrl-single
as reference, we can make it work by this way.
We need to define two pinmux controllers. One
On 6 June 2013 22:11, Christian Ruppert christian.rupp...@abilis.com wrote:
On Wed, Jun 05, 2013 at 09:44:27AM +0800, Haojian Zhuang wrote:
On 3 June 2013 20:30, Christian Ruppert christian.rupp...@abilis.com wrote:
OK, here's a simplified example of what we would like to do (this seems
On 7 June 2013 01:33, Mike Dunn miked...@newsguy.com wrote:
Thanks for the reply Haojian.
On 06/05/2013 05:43 PM, Haojian Zhuang wrote:
On 6 June 2013 01:23, Mike Dunn miked...@newsguy.com wrote:
Hi,
I'd like to start converting to device tree usage some of the old pxa27x
platforms I'm
On 6 June 2013 23:30, Christian Ruppert christian.rupp...@abilis.com wrote:
On Thu, Jun 06, 2013 at 10:32:21PM +0800, Haojian Zhuang wrote:
On 6 June 2013 22:11, Christian Ruppert christian.rupp...@abilis.com wrote:
On Wed, Jun 05, 2013 at 09:44:27AM +0800, Haojian Zhuang wrote:
On 3 June
On Fri, Jun 7, 2013 at 8:48 AM, Mike Dunn miked...@newsguy.com wrote:
On 06/06/2013 04:58 PM, Haojian Zhuang wrote:
On 7 June 2013 01:33, Mike Dunn miked...@newsguy.com wrote:
[...]
Yes, but currently pinctrl-single only supports writing one register for a
given
pin (with multiple
On 3 June 2013 20:30, Christian Ruppert christian.rupp...@abilis.com wrote:
OK, here's a simplified example of what we would like to do (this seems
pretty common so I suppose there is a way I haven't understood). Our
situation is slightly more complex but for the purpose of discussion
let's
Reported-by: Lad, Prabhakar prabhakar.cse...@gmail.com
Tested-by: Lad, Prabhakar prabhakar.cse...@gmail.com
Excuse me for response late.
Acked-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing list
devicetree-discuss
On Tue, May 21, 2013 at 10:08 PM, Manjunathappa, Prakash
prakash...@ti.com wrote:
Take care to name pin names as
register-offset.bit-pos-of-pin-in-register in case configuring multiple
pins in register.
Signed-off-by: Manjunathappa, Prakash prakash...@ti.com
---
Acked-by: Haojian Zhuang
On 24 May 2013 17:03, Linus Walleij linus.wall...@linaro.org wrote:
On Tue, May 21, 2013 at 4:07 PM, Manjunathappa, Prakash
prakash...@ti.com wrote:
Based function-mask and submask preoperties patch allocates and registers
pins.
Patch is fixes the issue reported and discussed here:
.
It was written by Shiraz Hashin and Haojian Zhuang.
At the time I augmented the core code quite a bit to make
a good fit.
I agree. Unluckily, it uses pinctrl-internal pin numbering which we
would have to make coherent with the physical pin numbers of the
individual packaging variants of the chip
On 7 May 2013 20:06, Wei Yongjun weiyj...@gmail.com wrote:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Introduced by commit 9dddb4df90d136429b6d6ddefceb49a9b93f6cd1
On 7 May 2013 20:57, Wei Yongjun weiyj...@gmail.com wrote:
On 05/07/2013 08:11 PM, Haojian Zhuang wrote:
On 7 May 2013 20:06, Wei Yongjun weiyj...@gmail.com wrote:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Fix to return a negative error code from the error handling
case instead of 0
From: Qing Xu qi...@marvell.com
Add irqdomains for max8925's main irq, wrap irq register operations
into irqdomain's map func. it is necessary for dt support.
Also, add dt support for max8925 driver.
Signed-off-by: Qing Xu qi...@marvell.com
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
From: Qing Xu qi...@marvell.com
we encounter rtc/power/touch driver registry failure, root cause
it is resources confilict in insert_resouce, solved by changing
mfd_add_devices 5th parameter to NULL
Signed-off-by: Qing Xu qi...@marvell.com
---
drivers/mfd/max8925-core.c | 22
From: Qing Xu qi...@marvell.com
update onkey driver's irq base, it should get from max8925,
but not save in a private value
Signed-off-by: Qing Xu qi...@marvell.com
Acked-by: Dmitry Torokhov dmitry.torok...@gmail.com
---
drivers/input/misc/max8925_onkey.c |3 ---
drivers/mfd/max8925-core.c
From: Qing Xu qi...@marvell.com
Add device tree support in max8925 backlight.
Signed-off-by: Qing Xu qi...@marvell.com
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/video/backlight/max8925_bl.c | 31 ++-
1 file changed, 30 insertions(+), 1
From: Qing Xu qi...@marvell.com
Add max8925 dts support into mmp2 brownstone platform
Signed-off-by: Qing Xu qi...@marvell.com
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/boot/dts/mmp2-brownstone.dts | 158 +
arch/arm/boot/dts/mmp2.dtsi
From: Qing Xu qi...@marvell.com
add docs for dt of max8925-mfd, max8925-backlight, and
max8925-battery
Signed-off-by: Qing Xu qi...@marvell.com
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
Documentation/devicetree/bindings/mfd/max8925.txt | 64
.../bindings
On Tue, Feb 5, 2013 at 4:19 PM, Samuel Ortiz sa...@linux.intel.com wrote:
Hi Haojian,
On Mon, Feb 04, 2013 at 11:40:42PM +0800, Haojian Zhuang wrote:
From: Qing Xu qi...@marvell.com
Add irqdomains for max8925's main irq, wrap irq register operations
into irqdomain's map func
On Mon, Feb 4, 2013 at 7:32 PM, Samuel Ortiz sa...@linux.intel.com wrote:
Hi Haojian,
On Mon, Feb 04, 2013 at 09:05:09AM +0800, Haojian Zhuang wrote:
Hi Samuel,
Are they merged into your git tree?
No, they're not. Qing sent several versions for many of the patches in this
patchset: Could
On Wed, Dec 12, 2012 at 2:22 PM, Qing Xu qi...@marvell.com wrote:
On 12/04/2012 03:11 PM, Haojian Zhuang wrote:
On Thu, Nov 29, 2012 at 1:54 PM, Qing Xu qi...@marvell.com wrote:
On 11/23/2012 05:09 PM, Haojian Zhuang wrote:
On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu qi...@marvell.com wrote
-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
;
status = disabled;
};
--
1.7.0.4
Acked-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree
/devicetree/bindings/power_supply/max8925_batter.txt
create mode 100644
Documentation/devicetree/bindings/video/backlight/max8925-backlight.txt
Acked-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing list
devicetree-discuss
On Thu, Nov 29, 2012 at 1:54 PM, Qing Xu qi...@marvell.com wrote:
On 11/23/2012 05:09 PM, Haojian Zhuang wrote:
On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
1. add irqdomain for max8925, it is necessary for dt support
2. bug fix
On Tue, Nov 6, 2012 at 3:38 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
we encounter rtc/power/touch driver registry failure, root cause
it is resources confilict in insert_resouce, solved by changing
mfd_add_devices 5th parameter to NULL
Since resources are not used
On Tue, Nov 6, 2012 at 3:49 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
add max8925 dts support into mmp2 brownstone platform
Signed-off-by: Qing Xu qi...@marvell.com
---
arch/arm/boot/dts/mmp2-brownstone.dts | 166
+
On Tue, Nov 6, 2012 at 3:37 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
Add irqdomains for max8925's main irq, and touch irq.
Wrap irq register operations into irqdomain's map func.
it is necessary for dt support.
Also, add dt support for max8925 driver.
On Tue, Nov 6, 2012 at 3:47 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
Signed-off-by: Qing Xu qi...@marvell.com
---
drivers/video/backlight/max8925_bl.c | 31 ++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git
On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu qi...@marvell.com wrote:
From: Qing Xu qi...@marvell.com
1. add irqdomain for max8925, it is necessary for dt support
2. bug fix in max8925 mfd devices'irq base and device registry failure
3. support DT for max8925 mfd devices
Qing Xu (7):
mfd:
On Tue, Oct 23, 2012 at 6:44 AM, Stephen Warren swar...@wwwdotorg.org wrote:
On 10/22/2012 10:08 AM, Haojian Zhuang wrote:
Add comments with pinconf gpio range in the document of
pinctrl-single.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
.../devicetree/bindings/pinctrl
On Fri, Oct 26, 2012 at 1:43 AM, Tony Lindgren t...@atomide.com wrote:
* Tony Lindgren t...@atomide.com [121022 10:11]:
* Haojian Zhuang haojian.zhu...@gmail.com [121022 03:11]:
On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com
On Wed, Oct 31, 2012 at 11:26 PM, Stephen Warren swar...@wwwdotorg.org wrote:
On 10/31/2012 10:58 AM, Haojian Zhuang wrote:
On Tue, Oct 23, 2012 at 6:44 AM, Stephen Warren swar...@wwwdotorg.org
wrote:
3) Why is pinctrl-single,gpio-func optional? Presumably you always need
to program
On Tue, Oct 23, 2012 at 5:37 AM, Tony Lindgren t...@atomide.com wrote:
* Tony Lindgren t...@atomide.com [121022 13:29]:
* Haojian Zhuang haojian.zhu...@gmail.com [121022 09:11]:
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -28,8 +28,10 @@
#define
On Tue, Oct 23, 2012 at 4:28 AM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com [121022 09:11]:
Marvell's PXA/MMP silicon also match the behavior of pinctrl-single.
Each pin binds to one register. A lot of pins could be configured
as gpio.
Now add three
On Fri, Oct 26, 2012 at 7:43 AM, Tony Lindgren t...@atomide.com wrote:
* Tony Lindgren t...@atomide.com [121022 10:11]:
* Haojian Zhuang haojian.zhu...@gmail.com [121022 03:11]:
On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com
On Sat, Oct 20, 2012 at 3:13 AM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com [121018 02:08]:
Add pinconf generic support with POWER SOURCE, BIAS PULL.
...
+ case PIN_CONFIG_POWER_SOURCE:
+ if (pcs-psmask == PCS_OFF_DISABLED
Pinctrl driver is necessary for MMP DT MMP2 DT platforms.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/Kconfig |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index 178d4da..ebdda83
-single,gpio-func: gpio function value in mux
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/pinctrl-single.c | 94 +-
1 files changed, 92 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers
Add pinconf generic support with POWER SOURCE, BIAS PULL.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/pinctrl-single.c | 276 --
2 files changed, 266 insertions(+), 11 deletions
Add pinctrl-single support with device tree in pxa910 dkb platform.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/boot/dts/pxa910-dkb.dts | 187 +-
arch/arm/boot/dts/pxa910.dtsi| 78
2 files changed, 264 insertions
Add comments with pinconf gpio range in the document of
pinctrl-single.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
.../devicetree/bindings/pinctrl/pinctrl-single.txt | 52
arch/arm/boot/dts/pxa910.dtsi |1 -
2 files changed, 52
Configure pins by pinctrl driver.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/tty/serial/pxa.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c
index 9033fc6..02dc771 100644
--- a/drivers
Use devm_kzalloc add checking in probe() function.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/i2c/busses/i2c-pxa.c | 26 ++
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c
Configure pins by pinctrl driver.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/i2c/busses/i2c-pxa.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index 7c8b5d0..11e4a30 100644
Dump pinmux register value, not only function part in the pinmux
register.
Also fix the issue on caluclating pin offset. The last parameter
should be pin number, not register offset.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/pinctrl-single.c |8
1
Since pins are configured in device driver, pinctrl driver should be
loaded by those device driver. module_platform_driver() only declares
pinctrl driver is in module_initcall privilege. Use postcore_initcall
privilege instead.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers
Pinctrl driver is necessary for MMP DT MMP2 DT platforms.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index 7fddd01..c70c787
Configure pins by pinctrl driver.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/tty/serial/pxa.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c
index 5847a4b..ee6118a 100644
--- a/drivers
Configure pins by pinctrl driver.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/i2c/busses/i2c-pxa.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index 1034d93..cd66ec2 100644
Use devm_kzalloc add checking in probe() function.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/i2c/busses/i2c-pxa.c | 26 ++
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c
-single,gpio: gpio base, npins in range, pin base
pinctrl-single,gpio-enable: gpio enable register offset, enable
value
pinctrl-single,gpio-disable: gpio disable register offset, disable
value
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/pinctrl-single.c | 140
Mutex is locked duplicatly by pinconf_groups_show() and
pin_config_group_get(). It results dead lock. So avoid to lock mutex
in pinconf_groups_show().
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/pinconf.c |4
1 files changed, 0 insertions(+), 4 deletions
Add pinconf generic support with POWER SOURCE, BIAS PULL.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/pinctrl/Kconfig |2 +-
drivers/pinctrl/pinctrl-single.c | 286 --
2 files changed, 274 insertions(+), 14 deletions
Add pinctrl-single support with device tree in pxa910 dkb platform.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/boot/dts/pxa910-dkb.dts | 187 +-
arch/arm/boot/dts/pxa910.dtsi| 81
2 files changed, 267 insertions
On Fri, Oct 19, 2012 at 6:27 AM, Stephen Warren swar...@wwwdotorg.org wrote:
On 10/18/2012 03:06 AM, Haojian Zhuang wrote:
Use devm_kzalloc add checking in probe() function.
This patch seems unrelated to this series. In fact, the series touches a
bunch of different subsystems; would you
On Fri, Oct 19, 2012 at 6:28 AM, Tony Lindgren t...@atomide.com wrote:
* Stephen Warren swar...@wwwdotorg.org [121018 15:20]:
On 10/18/2012 03:06 AM, Haojian Zhuang wrote:
Since pins are configured in device driver, pinctrl driver should be
loaded by those device driver
On Fri, Oct 19, 2012 at 6:29 AM, Tony Lindgren t...@atomide.com wrote:
* Linus Walleij linus.wall...@linaro.org [121018 11:32]:
On Thu, Oct 18, 2012 at 11:07 AM, Haojian Zhuang
haojian.zhu...@gmail.com wrote:
Add pinconf generic support with POWER SOURCE, BIAS PULL.
Signed-off
On Fri, Oct 19, 2012 at 10:38 AM, Tony Lindgren t...@atomide.com wrote:
* Haojian Zhuang haojian.zhu...@gmail.com [121018 19:17]:
On Fri, Oct 19, 2012 at 6:28 AM, Tony Lindgren t...@atomide.com wrote:
Specifically could you decribe the cases where this issue happens?
Also check if one
this.
(http://coccinelle.lip6.fr/)
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
PXA maintainers: does this look OK?
Yours,
Linus Walleij
It seems good.
Acked-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing
On Tue, Sep 18, 2012 at 1:43 PM, Eric Miao eric.y.m...@gmail.com wrote:
On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij linus.wall...@linaro.org
wrote:
On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun weiyj...@gmail.com wrote:
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Using
| 52 +++
3 files changed, 127 insertions(+)
Acked-by: Haojian Zhuang haojian.zhu...@gmail.com
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
On , Chris Ball c...@laptop.org wrote:
Hi Zhangfei,
On Tue, Jun 12 2012, zhangfei gao wrote:
On Wed, Jun 13, 2012 at 3:05 AM, Chris Ball c...@laptop.org wrote:
How do you feel about having the compatible node say sdhci-pxav3
instead of mrvl,pxav3-mmc? I used the mrvl prefix because
On Wed, Jun 6, 2012 at 9:47 AM, Mitch Bradley w...@firmworks.com wrote:
On 6/5/2012 3:28 PM, Arnd Bergmann wrote:
On Tuesday 05 June 2012, Chris Ball wrote:
Hi Haojian,
On Fri, May 04 2012, Haojian Zhuang wrote:
Append mmp2 and pxa910 dts files. Update PXA168 dts files for irq,
timer
On Wed, Jun 6, 2012 at 1:22 PM, Mitch Bradley w...@firmworks.com wrote:
On 6/5/2012 4:35 PM, Haojian Zhuang wrote:
On Wed, Jun 6, 2012 at 9:47 AM, Mitch Bradleyw...@firmworks.com wrote:
On 6/5/2012 3:28 PM, Arnd Bergmann wrote:
On Tuesday 05 June 2012, Chris Ball wrote:
Hi Haojian
On Tue, Jun 5, 2012 at 8:08 AM, Chris Ball c...@laptop.org wrote:
Hi Haojian,
On Fri, May 04 2012, Haojian Zhuang wrote:
Append mmp2 and pxa910 dts files. Update PXA168 dts files for irq,
timer, gpio components.
The patch I'm replying to introduced a device tree for MMP2/Brownstone
in 3.5
On Thu, May 31, 2012 at 3:38 AM, Chris Ball c...@laptop.org wrote:
Hi Haojian,
Did you test non-DT boot with these changes?
I tested non-DT boot on my brownstone board on TTC dkb board.
It seems that you meet issue in icu_mux_irq_demux(). Could you give me
the detail which interrupt is
On Fri, May 18, 2012 at 7:57 AM, Rob Herring robherri...@gmail.com wrote:
On 05/04/2012 07:30 AM, Haojian Zhuang wrote:
v2:
1. remove MACH_MMP_LEGACY MACH_MMP2_LEGACY
2. use irq.c to replace irq-pxa168.c irq-mmp2.c
3. Avoid to use CONFIG_OF in entry-macro.S
I think you should combine all
Since irq_domain_add_simple() is removed, remove it in mmp-dt.c also.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/mmp-dt.c | 22 --
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach
Append CONFIG_MACH_MMP2_DT.
CONFIG_MACH_MMP_DT is used to ARMv5 DT support. CONFIG_MACH_MMP2_DT
is used to ARMv7 DT support. These two machine support can't be
selected at the same time.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/Kconfig | 29
Merge irq-pxa168 and irq-mmp2. And support device tree also.
Since CONFIG_SPARSE_IRQ is enabled in arch-mmp, base irq starts from
NR_IRQS_LEGACY.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/Kconfig |1 +
arch/arm/mach-mmp/Makefile
Parse timer from DTS file. Avoid to use hardcoding marco for register.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/time.c | 81 ++
1 files changed, 60 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-mmp
Parse GPIO numbers from DTS file. Allocate interrupt according to
GPIO numbers.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/gpio/gpio-pxa.c | 116 +++---
1 files changed, 98 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/Makefile |1 +
arch/arm/mach-mmp/mmp2-dt.c | 60 +++
2 files changed, 61 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-mmp/mmp2-dt.c
diff --git a/arch/arm
Suppot gpio/irq/timer in mmp-dt driver. Support PXA910 also in mmp-dt
driver.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/mmp-dt.c | 50 +++
1 files changed, 40 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach
Append interrupt controller and timer document for mmp. Updates
documents for gpio and i2c.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
Documentation/devicetree/bindings/arm/mrvl.txt |6 ---
.../devicetree/bindings/arm/mrvl/intc.txt | 40
On Wed, May 2, 2012 at 8:51 PM, Arnd Bergmann a...@arndb.de wrote:
On Wednesday 02 May 2012, Haojian Zhuang wrote:
I use two CONFIG_OF in this file. The first one is used to record
register base address
of interrupt controller. In legacy code, the register address is
hardcoding. Do you mean
On Sat, Apr 28, 2012 at 4:14 AM, Arnd Bergmann a...@arndb.de wrote:
On Friday 27 April 2012, Haojian Zhuang wrote:
Append four CONFIG_* MACRO to distinguish boards in arch-mmp.
CONFIG_MMP_LEGACY and CONFIG_MMP2_LEGACY are used to support boards
without device tree.
CONFIG_MMP_DT
1. Fix the build issue in mmp-dt.c since irq interface changed.
2. Parse intc in new irq that could support both pxa168 and mmp2.
After arch-mmp is totally moved to device tree, irq-pxa168 and irq-mmp2
will be removed.
3. Parse interrupt in gpio controller.
4. Append timer with device tree.
5.
Since irq_domain_add_simple() is removed, remove it in mmp-dt.c also.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/mmp-dt.c | 22 --
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach
.
It's used to miss compiling all boards file together.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/configs/mmp2_defconfig |1 +
arch/arm/configs/pxa168_defconfig |1 +
arch/arm/configs/pxa910_defconfig |1 +
arch/arm/mach-mmp/Kconfig | 37
Append new interrupt driver that could support both pxa168 and mmp2
silicon. And this driver supports device tree.
Since CONFIG_SPARSE_IRQ is enabled in arch-mmp, irq driver should
handle reserved NR_IRQS_LEGACY in irq domain.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm
Parse timer from DTS file. Avoid to use hardcoding marco for register.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/time.c | 81 ++
1 files changed, 60 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-mmp
Parse GPIO numbers from DTS file. Allocate interrupt according to
GPIO numbers.
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
drivers/gpio/gpio-pxa.c | 116 +++---
1 files changed, 98 insertions(+), 18 deletions(-)
diff --git a/drivers/gpio
Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com
---
arch/arm/mach-mmp/Makefile |1 +
arch/arm/mach-mmp/mmp2-dt.c | 60 +++
2 files changed, 61 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-mmp/mmp2-dt.c
diff --git a/arch/arm
1 - 100 of 154 matches
Mail list logo