[PATCH] ARM: sunxi: add missing include for mdelay()

2012-11-29 Thread Josh Cartwright
CC arch/arm/mach-sunxi/sunxi.o ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart': ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration] Signed-off-by: Josh Cartwright --- Fixes multiplatf

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
Hey Arnd- Thanks for the review/suggestions. On Tue, Oct 23, 2012 at 02:50:11PM +, Arnd Bergmann wrote: > On Monday 22 October 2012, Josh Cartwright wrote: > > Shifting them up into the vmalloc region prevents the following warning, > > when booting a zynq qemu target with mor

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
On Tue, Oct 23, 2012 at 03:09:23PM -0500, Rob Herring wrote: > On 10/23/2012 09:50 AM, Arnd Bergmann wrote: > > On Monday 22 October 2012, Josh Cartwright wrote: > >> -#define SCU_PERIPH_PHYS 0xF8F0 > >> -#define SCU_PERIPH_VIRT SC

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
On Tue, Oct 23, 2012 at 05:17:42PM -0400, Nick Bowler wrote: > On 2012-10-23 15:53 -0500, Josh Cartwright wrote: > > On Tue, Oct 23, 2012 at 03:09:23PM -0500, Rob Herring wrote: > > > On 10/23/2012 09:50 AM, Arnd Bergmann wrote: > > > > On Monday 22 Octob

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
On Tue, Oct 23, 2012 at 04:27:03PM -0400, Nick Bowler wrote: > > Just FYI, I sent a patch to fix the same bug a while back > > https://patchwork.kernel.org/patch/1156361/ > > together with other patches to fix early printk on the ZC702 serial > console. Admittedly, I dropped the ball on these as

[PATCH v3 0/5] zynq subarch cleanups

2012-10-23 Thread Josh Cartwright
y I removed CLKDEV_LOOKUP --- Josh Cartwright (5): zynq: use GIC device tree bindings zynq: use pl310 device tree bindings zynq: remove use of CLKDEV_LOOKUP ARM: annotate VMALLOC_END definition with _AC zynq: move static peripheral mappings arch/arm/Kconfig | 1

[PATCH v3 1/5] zynq: use GIC device tree bindings

2012-10-23 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/boot/dts/zynq-ep107.dts | 8 +--- arch/arm/mach-zynq/common.c| 7 ++- arch/arm/mach-zynq/include/mach

[PATCH v3 2/5] zynq: use pl310 device tree bindings

2012-10-23 Thread Josh Cartwright
The Zynq has a PL310 L2 cache controller. Convert in-tree uses to using the device tree. Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/boot/dts/zynq-ep107.dts | 9 + arch/arm/mach-zynq/common.c| 9 + arch/arm/mach-zynq/include/mach

[PATCH v3 3/5] zynq: remove use of CLKDEV_LOOKUP

2012-10-23 Thread Josh Cartwright
27; make[2]: *** [vmlinux] Error 1 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/Kconfig | 1 - arch/arm/mach-zynq/common.c | 1 - arch/arm/mach-zynq/include/mach/clkdev.h | 32 -

[PATCH v3 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-23 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright --- arch/arm/include/asm/pgtable.h | 2 +- 1 file changed, 1

[PATCH v3 5/5] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
ioremap(). Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/mach-zynq/common.c| 6 +++--- arch/arm/mach-zynq/include/mach/zynq_soc.h | 23 +-- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach

[PATCH] arm: l2cc: doc: fix device tree example typo

2012-10-23 Thread Josh Cartwright
The list of attributes above details the use of the 'filter-ranges' property, but the example improperly used 'filter-latency'. Make these consistent by fixing up the example. Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/arm/l2cc.txt | 2 +- 1 file

Re: [PATCH v3 3/5] zynq: remove use of CLKDEV_LOOKUP

2012-10-24 Thread Josh Cartwright
On Wed, Oct 24, 2012 at 09:32:32AM -0400, Nick Bowler wrote: > On 2012-10-23 19:34 -0500, Josh Cartwright wrote: > > The Zynq support in mainline does not (yet) make use of any of the > > generic clk or clk lookup functionality. Remove what is upstream for > > now,

[PATCH v4 0/5] zynq subarch cleanups

2012-10-24 Thread Josh Cartwright
emoved CLKDEV_LOOKUP --- Josh Cartwright (5): zynq: use GIC device tree bindings zynq: use pl310 device tree bindings zynq: remove use of CLKDEV_LOOKUP ARM: annotate VMALLOC_END definition with _AC zynq: move static peripheral mappings arch/arm/Kconfig | 1

[PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-24 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann --- arch/arm/boot/dts/zynq-ep107.dts | 8 +--- arch/arm/mach-zynq/common.c| 7 ++- arch/arm/mach

[PATCH v4 2/5] zynq: use pl310 device tree bindings

2012-10-24 Thread Josh Cartwright
The Zynq has a PL310 L2 cache controller. Convert in-tree uses to using the device tree. Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann --- arch/arm/boot/dts/zynq-ep107.dts | 9 + arch/arm/mach-zynq/common.c| 9 + arch/arm/mach

[PATCH v4 3/5] zynq: remove use of CLKDEV_LOOKUP

2012-10-24 Thread Josh Cartwright
m versatile that Zynq needed was the clock support, so this patch should *also* delete the secret use of plat-versatile by removing this line from arch/arm/Makefile: plat-$(CONFIG_ARCH_ZYNQ) += versatile Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann ---

[PATCH v4 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-24 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright Acked-by: Arnd Bergmann --- arch/arm/include/asm/pgtable.h | 2

[PATCH v4 5/5] zynq: move static peripheral mappings

2012-10-24 Thread Josh Cartwright
ioremap(). Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann --- arch/arm/mach-zynq/common.c| 6 +++--- arch/arm/mach-zynq/include/mach/zynq_soc.h | 23 +-- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-zynq

Re: [PATCH v4 5/5] zynq: move static peripheral mappings

2012-10-25 Thread Josh Cartwright
On Thu, Oct 25, 2012 at 04:17:01PM -0400, Nick Bowler wrote: > Hi Josh, > > On 2012-10-24 15:04 -0500, Josh Cartwright wrote: > > Shifting them up into the vmalloc region prevents the following warning, > > when booting a zynq qemu target with more than 512mb of RAM: > [.

Re: [PATCH v4 5/5] zynq: move static peripheral mappings

2012-10-25 Thread Josh Cartwright
On Thu, Oct 25, 2012 at 06:41:08PM -0400, Nick Bowler wrote: > On 2012-10-25 16:29 -0500, Josh Cartwright wrote: > > On Thu, Oct 25, 2012 at 04:17:01PM -0400, Nick Bowler wrote: > > > Did you test this on any real hardware? I can't get the ZC702 to work > > > with

Re: [PATCH v4 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-31 Thread Josh Cartwright
On Wed, Oct 31, 2012 at 08:43:35AM +, Michal Simek wrote: > > > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: Tuesday, October 30, 2012 11:22 PM > > To: Michal Simek > > Cc: Josh Cartwright; a...@kernel.org; linux-ke

Re: [PATCH] ARM: zynq: move ttc timer code to drivers/clocksource

2012-10-31 Thread Josh Cartwright
On Wed, Oct 31, 2012 at 08:48:38AM +, Michal Simek wrote: > From: Arnd Bergmann [mailto:a...@arndb.de] > > On Tuesday 30 October 2012, Michal Simek wrote: > > > On 10/29/2012 07:56 PM, Josh Cartwright wrote: [..] > > > > > > delete mode 100644 arch/arm

[PATCH 3/8] ARM: zynq: dts: add description of the second uart

2012-10-31 Thread Josh Cartwright
The zynq-7000 has an additional UART at 0xE0001000. Describe it in the device tree. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-ep107.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/zynq-ep107.dts b/arch/arm/boot/dts/zynq-ep107.dts index 574bc04

[PATCH 8/8] clocksource: xilinx_ttc: add OF_CLK support

2012-10-31 Thread Josh Cartwright
Add support for retrieving TTC configuration from device tree. This includes the ability to pull information about the driving clocks from the of_clk bindings. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 53 arch/arm/boot/dts/zynq-zc702.dts | 10 ++ drivers

[PATCH 6/8] serial: xilinx_uartps: kill CONFIG_OF conditional

2012-10-31 Thread Josh Cartwright
The Zynq platform requires the use of CONFIG_OF. Remove the #ifdef conditionals in the uartps driver. Signed-off-by: Josh Cartwright --- drivers/tty/serial/xilinx_uartps.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial

[PATCH 2/8] ARM: zynq: move ttc timer code to drivers/clocksource

2012-10-31 Thread Josh Cartwright
Suggested cleanup by Arnd Bergmann. Move the ttc timer.c code to drivers/clocksource, and out of the mach-zynq directory. The common.h (which only held the timer declaration) was renamed to xilinx_ttc.h and moved into include/linux. Signed-off-by: Josh Cartwright Cc: Arnd Bergmann --- arch

[PATCH 0/8] zynq COMMON_CLK support

2012-10-31 Thread Josh Cartwright
cenario, should I be expecting of_clk_get(node_b, 0) to retrieve a handle to parent's consumed clock (due to clock-ranges)? I could make this work using of_clk_get_by_name(node_b, "my_clock"), but I was somewhat surprised the former didn't work. Thanks (and sorry for the n

[PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-10-31 Thread Josh Cartwright
Add support for COMMON_CLK, and provide simplified models for the necessary clocks on the zynq-7000. Currently, the PLLs, the CPU clock network, and the basic peripheral clock networks (for SDIO, SMC, SPI, QSPI, UART) are modelled. Signed-off-by: Josh Cartwright --- .../devicetree/bindings

[PATCH 7/8] serial: xilinx_uartps: get clock rate info from dts

2012-10-31 Thread Josh Cartwright
Add support for specifying clock information for the uart clk via the device tree. This eliminates the need to hardcode rates in the device tree. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- drivers/tty/serial/xilinx_uartps.c | 30

[PATCH 1/8] ARM: zynq: move arm-specific sys_timer out of ttc

2012-10-31 Thread Josh Cartwright
Move the sys_timer definition out of ttc driver and make it part of the common zynq code. This is preparation for renaming and COMMON_CLK support. Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c | 13 + arch/arm/mach-zynq/common.h | 4 +--- arch/arm/mach-zynq

[PATCH 4/8] ARM: zynq: dts: split up device tree

2012-10-31 Thread Josh Cartwright
with the 'dtbs' target. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/{zynq-ep107.dts => zynq-7000.dtsi}| 19 +++--- arch/arm/boot/dts/zynq-zc702.dts | 30 ++ arch/

Re: [PATCH 8/8] clocksource: xilinx_ttc: add OF_CLK support

2012-11-01 Thread Josh Cartwright
On Wed, Oct 31, 2012 at 01:56:14PM -0600, Josh Cartwright wrote: > Add support for retrieving TTC configuration from device tree. This > includes the ability to pull information about the driving clocks from > the of_clk bindings. > > Signed-off-by: Josh Cartwright > --- >

Re: [PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-11-02 Thread Josh Cartwright
Thanks for the review. On Fri, Nov 02, 2012 at 10:33:44AM +0100, Lars-Peter Clausen wrote: > On 10/31/2012 07:58 PM, Josh Cartwright wrote: > > [...] > > +#define PERIPH_CLK_CTRL_SRC(x) (periph_clk_parent_map[((x)&3)>>4]) > > +#define PERIPH_CLK_CTRL_DIV(x)

Re: [PATCH 7/8] serial: xilinx_uartps: get clock rate info from dts

2012-11-02 Thread Josh Cartwright
On Fri, Nov 02, 2012 at 10:20:33AM +0100, Lars-Peter Clausen wrote: > On 10/31/2012 08:28 PM, Josh Cartwright wrote: > > Add support for specifying clock information for the uart clk via the > > device tree. This eliminates the need to hardcode rates in the device > > tree. &

Re: [PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-11-02 Thread Josh Cartwright
On Fri, Nov 02, 2012 at 04:12:21PM +0100, Lars-Peter Clausen wrote: > On 11/02/2012 02:38 PM, Josh Cartwright wrote: > > On Fri, Nov 02, 2012 at 10:33:44AM +0100, Lars-Peter Clausen wrote: > >> On 10/31/2012 07:58 PM, Josh Cartwright wrote: [...] > >>> +static voi

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-11-05 Thread Josh Cartwright
On Sat, Oct 27, 2012 at 03:20:59PM +, Michal Simek wrote: > On Saturday, October 27, 2012 4:43 PM, Josh Cartwright wrote: > > On Sat, Oct 27, 2012 at 02:06:45PM +, Michal Simek wrote: > > [...] > > > I am not big fan to use dtsi solution because dts can be simple

[PATCH v2] serial: xilinx_uartps: kill CONFIG_OF conditional

2012-11-05 Thread Josh Cartwright
The Zynq platform requires the use of CONFIG_OF. Remove the #ifdef conditionals in the uartps driver. Make dependency explicit in Kconfig. Signed-off-by: Josh Cartwright --- Michal- Here's a version of this patch outside of my COMMON_CLK patchset as you requested ontop of your arm-next b

Re: [PATCH 2/8] ARM: zynq: move ttc timer code to drivers/clocksource

2012-11-05 Thread Josh Cartwright
On Mon, Nov 05, 2012 at 12:22:55PM +0100, Michal Simek wrote: > 2012/10/29 Josh Cartwright : > > Suggested cleanup by Arnd Bergmann. Move the ttc timer.c code to > > drivers/clocksource, and out of the mach-zynq directory. > > > > The common.h (which only held the tim

Re: [PATCH v3] ARM: zynq: Allow UART1 to be used as DEBUG_LL console.

2012-11-05 Thread Josh Cartwright
e USB serial adaptor on this board. > > For consistency's sake, add a choice entry for UART0 even though it is > the the default if UART1 is not selected. > > Signed-off-by: Nick Bowler > Tested-by: Josh Cartwright > --- > Sorry all for the phenominal delay in sending this

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Josh Cartwright
On Sat, Oct 27, 2012 at 01:39:00PM +, Michal Simek wrote: > Hi Josh, > > > -Original Message- > > From: Josh Cartwright [mailto:josh.cartwri...@ni.com] > > Sent: Wednesday, October 24, 2012 10:03 PM > > To: a...@kernel.org; Arnd Bergmann > > Cc: lin

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Josh Cartwright
On Sat, Oct 27, 2012 at 02:06:45PM +, Michal Simek wrote: [...] > I am not big fan to use dtsi solution because dts can be simple generated > directly > From Xilinx design tool based on your hw design. That's why I can't see any > benefit > To have dtsi file. Can I ask you to reconsider? We

[PATCH v4 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-28 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright Acked-by: Arnd Bergmann --- arch/arm/include/asm/pgtable.h | 2

[PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-28 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann --- arch/arm/boot/dts/zynq-ep107.dts | 10 ++ arch/arm/mach-zynq/common.c| 7 ++- arch/arm

[PATCH v4 3/5] zynq: remove use of CLKDEV_LOOKUP

2012-10-28 Thread Josh Cartwright
ertheless, the only feature from versatile that Zynq needed was the clock support, so this patch should *also* delete the secret use of plat-versatile by removing this line from arch/arm/Makefile: plat-$(CONFIG_ARCH_ZYNQ) += versatile Signed-off-by: Josh Cartwright Cc

[PATCH v4 2/5] zynq: use pl310 device tree bindings

2012-10-28 Thread Josh Cartwright
The Zynq has a PL310 L2 cache controller. Convert in-tree uses to using the device tree. Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann Acked-by: Michal Simek --- arch/arm/boot/dts/zynq-ep107.dts | 9 + arch/arm/mach-zynq/common.c| 9

[PATCH v4 0/5] zynq subarch cleanups

2012-10-28 Thread Josh Cartwright
was included - Rebased on arm-soc/for-next - Added a cover letter - Elaborated a bit on why I removed CLKDEV_LOOKUP --- Josh Cartwright (5): zynq: use GIC device tree bindings zynq: use pl310 device tree bindings zynq: remove use of CLKDEV_LOOKUP ARM: annotate VMALLOC_END definition wit

[PATCH v4 5/5] zynq: move static peripheral mappings

2012-10-28 Thread Josh Cartwright
ioremap(). There are currently unknown issues with the early uart mapping. For now, the uart will be mapped to a known working address. Signed-off-by: Josh Cartwright Cc: John Linn Acked-by: Arnd Bergmann --- arch/arm/mach-zynq/common.c| 6 +++--- arch/arm/mach-zynq/include/mach

Re: [PATCH v4 0/5] zynq subarch cleanups

2012-10-28 Thread Josh Cartwright
On Sun, Oct 28, 2012 at 05:26:05PM -0600, Josh Cartwright wrote: > Michal- Ugh, sorry everyone, I fatfingered the subject line. This is indeed v5. Josh pgpQ4dxD3axJl.pgp Description: PGP signature

Re: [PATCH v4 0/5] zynq subarch cleanups

2012-10-29 Thread Josh Cartwright
On Mon, Oct 29, 2012 at 07:24:16AM +, Michal Simek wrote: > Hi Josh, > > > Michal- > > > > Here is a v5 of the zynq cleanup patchset that addresses your > > feedback. I've intentionally left patches 4 and 5 in the set until > > we figure out the appropriate way to get them in tree (feel free t

[PATCH] ARM: quiet down the non make -s output

2012-10-29 Thread Josh Cartwright
include/generated/compile.h Kernel: arch/arm/boot/Image is ready LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready Signed-off-by: Josh Cartwright --- arch/arm/boot/Makefile | 10 +- arch/arm/tools/Makefile | 2 +- 2 fil

Re: [PATCH] ARM: zynq: Allow UART1 to be used as DEBUG_LL console.

2012-10-29 Thread Josh Cartwright
t! > > Not-Yet-Signed-off-by: Nick Bowler Tested-by: Josh Cartwright Now that v5 of the initial zynq cleanup patchset is queued up for merging (with a workaround for the uart mapping problem), what would it take for you to sign off on this patch? There is some trivial merging that has to

[PATCH] ARM: zynq: move ttc timer code to drivers/clocksource

2012-10-29 Thread Josh Cartwright
Suggested cleanup by Arnd Bergmann. Move the ttc timer.c code to drivers/clocksource, and out of the mach-zynq directory. The common.h (which only held the timer declaration) was renamed to xilinx_ttc.h and moved into include/linux. Signed-off-by: Josh Cartwright Cc: Arnd Bergmann --- arch

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-08-27 Thread Josh Cartwright
Hey Stephen- Thanks for the comments. On Fri, Aug 23, 2013 at 03:58:36PM -0600, Stephen Warren wrote: > On 08/22/2013 01:59 PM, Josh Cartwright wrote: > > Signed-off-by: Josh Cartwright > > --- > > I'm introducing this as an RFC, because there are set of assumption

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-08-28 Thread Josh Cartwright
On Tue, Aug 27, 2013 at 03:55:19PM -0600, Stephen Warren wrote: > On 08/27/2013 11:01 AM, Josh Cartwright wrote: > ... > > If we want to ensure for the generic bindings that we are fulling > > characterizing/describing the SPMI bus, then we'll additionally need to &

Re: [PATCHv3 1/2] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-06 Thread Josh Cartwright
On Fri, Sep 06, 2013 at 12:32:22PM -0700, Rohit Vaswani wrote: > This patch adds basic board support for APQ8074 Dragonboard > which belongs to the Snapdragon 800 family. > For now, just support a basic machine with device tree. > > Signed-off-by: Rohit Vaswani > --- [..] > index 000..5b7b6a0

Re: [PATCH] ARM: msm: Remove irqs-*.h files for DT based targets

2013-09-06 Thread Josh Cartwright
Boyd > --- > > On 09/06, Josh Cartwright wrote: > > > > Selecting _only_ ARCH_MSM8974 with these changes breaks the build with: > > I've been meaning to fix this. Perhaps you can use this patch as a base > and then push the SPARSE_IRQ selection into the DT config?

Re: [PATCH RFC v2 2/5] spmi: Linux driver framework for SPMI

2013-09-09 Thread Josh Cartwright
Hey Mark- Thanks for the comments. On Mon, Sep 09, 2013 at 04:52:24PM +0100, Mark Brown wrote: > On Fri, Aug 23, 2013 at 11:06:25AM -0500, Josh Cartwright wrote: > > On Thu, Aug 22, 2013 at 04:10:54PM -0700, Greg Kroah-Hartman wrote: > > > On Fri, Aug 09, 2013 at 01:3

[PATCH 1/2] ARM: msm: trout: fix 'pointer from integer' warnings

2013-09-09 Thread Josh Cartwright
[enabled by default] writeb(reg_val, TROUT_CPLD_BASE + reg); ^ Signed-off-by: Josh Cartwright --- arch/arm/mach-msm/board-trout-gpio.c | 8 arch/arm/mach-msm/board-trout.h | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-msm/board-trout-

[PATCH 2/2] ARM: msm: trout: fix uninit var warning

2013-09-09 Thread Josh Cartwright
) to use pr_crit. Signed-off-by: Josh Cartwright --- arch/arm/mach-msm/board-trout.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index ccf6621..015d544 100644 --- a/arch/arm/mach-msm/board-trout.

Re: [PATCH 1/2] i2c: qup: Add device tree bindings information

2013-09-10 Thread Josh Cartwright
[Hmm. Fixing b0rked LKML address; that might explain why I am not seeing Kumar's replies.] On Tue, Sep 10, 2013 at 03:08:57PM +0300, Ivan T. Ivanov wrote: > Hi Kumar, > > On Fri, 2013-08-30 at 10:21 -0500, Kumar Gala wrote: > > On Aug 29, 2013, at 12:26 PM, Ivan T. Ivanov wrote: > > >>> + > > >

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-11 Thread Josh Cartwright
Hey Ivan- On Tue, Aug 06, 2013 at 12:14:46PM +0300, Ivan T. Ivanov wrote: [..] > Enable low-level debug print routines to direct their > output to the serial port on MSM 8974 devices. > > Signed-off-by: Ivan T. Ivanov > --- > arch/arm/Kconfig.debug |8 > arch/ar

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-10-07 Thread Josh Cartwright
Hey Bjorn- On Sat, Oct 05, 2013 at 11:11:36PM -0700, Bjorn Andersson wrote: > On Tue, Aug 27, 2013 at 2:55 PM, Stephen Warren wrote: > > On 08/27/2013 11:01 AM, Josh Cartwright wrote: > > ... > > cell 0 - address type (0: master, 1: unique ID, 2: group ID, ...) > > I t

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-01 Thread Josh Cartwright
On Sat, Dec 01, 2012 at 11:30:55AM -0800, Philip Balister wrote: > On 12/01/2012 08:56 AM, Greg KH wrote: > >On Fri, Nov 30, 2012 at 07:19:16PM -0800, Philip Balister wrote: [..] > > > >>I've been engaged in design discussions today with my customer. Our > >>target is the Xilinx Zynq hardware. The

[PATCH 3/4] zynq: remove use of CLKDEV_LOOKUP

2012-10-22 Thread Josh Cartwright
The Zynq support in mainline does not (yet) make use of any of the generic clk or clk lookup functionality. Remove what is upstream for now, until the out-of-tree implementation is in suitable form for merging. Signed-off-by: Josh Cartwright --- arch/arm/Kconfig | 1

[PATCH 2/4] zynq: use GIC device tree bindings

2012-10-22 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-ep107.dts | 8 +--- arch/arm/mach-zynq/common.c| 7 ++- arch/arm/mach-zynq/include/mach/zynq_soc.h | 2 -- 3

[PATCH 4/4] zynq: move static peripheral mappings

2012-10-22 Thread Josh Cartwright
ioremap(). Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c| 8 +++ arch/arm/mach-zynq/include/mach/zynq_soc.h | 34 +- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq

[PATCH 1/4] ARM: annotate VMALLOC_END definition with _AC

2012-10-22 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright --- arch/arm/include/asm/pgtable.h | 2 +- 1 file changed, 1

[PATCH v2 4/4] zynq: remove use of CLKDEV_LOOKUP

2012-10-22 Thread Josh Cartwright
27; make[2]: *** [vmlinux] Error 1 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Josh Cartwright --- arch/arm/Kconfig | 1 - arch/arm/mach-zynq/common.c | 1 - arch/arm/mach-zynq/include/mach/clkdev.h | 32 ---

[PATCH v2 0/4] zynq subarch cleanups

2012-10-22 Thread Josh Cartwright
ake sure a...@kernel.org was included - Rebased on arm-soc/for-next - Added a cover letter - Elaborated a bit on why I removed CLKDEV_LOOKUP --- Josh Cartwright (4): ARM: annotate VMALLOC_END definition with _AC zynq: move static peripheral mappings zynq: use GIC device tree bindings zynq: rem

[PATCH v2 1/4] ARM: annotate VMALLOC_END definition with _AC

2012-10-22 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright --- arch/arm/include/asm/pgtable.h | 2 +- 1 file changed, 1

[PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-22 Thread Josh Cartwright
ioremap(). Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c| 8 +++ arch/arm/mach-zynq/include/mach/zynq_soc.h | 38 +- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq

[PATCH v2 3/4] zynq: use GIC device tree bindings

2012-10-22 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-ep107.dts | 8 +--- arch/arm/mach-zynq/common.c| 7 ++- arch/arm/mach-zynq/include/mach/zynq_soc.h | 2 -- 3

Re: [PATCH v2 2/5] clk: Add support for fundamental zynq clks

2012-11-13 Thread Josh Cartwright
On Thu, Nov 08, 2012 at 03:28:07PM -0800, Soren Brinkmann wrote: > One note below: > > On Wed, Oct 31, 2012 at 12:58:52PM -0600, Josh Cartwright wrote: [..] > > --- /dev/null > > +++ b/drivers/clk/clk-zynq.c [..] > > +struct zynq_periph_clk { > > + struct cl

[PATCH v3] clk: Add support for fundamental zynq clks

2012-11-13 Thread Josh Cartwright
Provide simplified models for the necessary clocks on the zynq-7000 platform. Currently, the PLLs, the CPU clock network, and the basic peripheral clock networks (for SDIO, SMC, SPI, QSPI, UART) are modelled. OF bindings are also provided and documented. Signed-off-by: Josh Cartwright

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-11-07 Thread Josh Cartwright
On Wed, Nov 07, 2012 at 01:05:57PM +0100, Michal Simek wrote: > 2012/11/5 Josh Cartwright : [..] > > Our usecase may admittedly be a bit weird, because what logic is in the > > PL is ultimately determined (and even implemented) by the end user and > > is loaded at runtim

[PATCH v2 5/5] ARM: zynq: add clk binding support to the ttc

2012-11-08 Thread Josh Cartwright
Add support for retrieving TTC configuration from device tree. This includes the ability to pull information about the driving clocks from the of_clk bindings. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 53 arch/arm/boot/dts/zynq-zc702.dts | 10 ++ arch

[PATCH v2 4/5] serial: xilinx_uartps: get clock rate info from dts

2012-11-08 Thread Josh Cartwright
Add support for specifying clock information for the uart clk via the device tree. This eliminates the need to hardcode rates in the device tree. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- drivers/tty/serial/xilinx_uartps.c | 30

[PATCH v2 2/5] clk: Add support for fundamental zynq clks

2012-11-08 Thread Josh Cartwright
Provide simplified models for the necessary clocks on the zynq-7000 platform. Currently, the PLLs, the CPU clock network, and the basic peripheral clock networks (for SDIO, SMC, SPI, QSPI, UART) are modelled. OF bindings are also provided and documented. Signed-off-by: Josh Cartwright

[PATCH v2 0/5] zynq clk support

2012-11-08 Thread Josh Cartwright
rmation via the clk bindings. --- [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-October/129295.html [2]: git://git.xilinx.com/linux-xlnx.git#arm-next [3]: git://gi.teric.us/linux-zynq.git#of_clk_v2 --- Josh Cartwright (5): ARM: zynq: dts: split up device tree clk: Add support for fu

[PATCH v2 1/5] ARM: zynq: dts: split up device tree

2012-11-08 Thread Josh Cartwright
with the 'dtbs' target. Signed-off-by: Josh Cartwright --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/{zynq-ep107.dts => zynq-7000.dtsi}| 19 +++--- arch/arm/boot/dts/zynq-zc702.dts | 30 ++ arch/

[PATCH v2 3/5] ARM: zynq: use zynq clk bindings

2012-11-08 Thread Josh Cartwright
Make the Zynq platform use the newly created zynq clk bindings. Signed-off-by: Josh Cartwright --- arch/arm/Kconfig | 1 + arch/arm/boot/dts/zynq-7000.dtsi | 56 arch/arm/boot/dts/zynq-zc702.dts | 4 +++ arch/arm/mach-zynq/common.c

Re: [PATCH 1/7] arm: zynq: timer: Replace PSS through PS

2012-12-18 Thread Josh Cartwright
On Tue, Dec 18, 2012 at 04:16:33PM -0800, Soren Brinkmann wrote: > The acronym PSS is deprecated by Xilinx. The correct term, which is > also used in Xilinx documentation is PS (processing system). > This is just a search and replace: > - s/PSS/PS/g > - s/pss/ps/g > > Signed-off-by: Soren Brinkm

Re: [PATCH 0/7] Updates for Zynq's timer driver

2012-12-18 Thread Josh Cartwright
On Tue, Dec 18, 2012 at 04:16:32PM -0800, Soren Brinkmann wrote: > I started to put some effort on syncing the Xilinx Linux tree with mainline > and > the timer driver is my first victim. > Most commits are fixing style issues or clean up. Functionality is touched > only > in patches #2 and #7. >

Re: [PATCH 4/4] clk: zynq: Use of_init_clk_data()

2012-12-19 Thread Josh Cartwright
On Mon, Dec 17, 2012 at 01:02:15PM -0800, Stephen Boyd wrote: > Reduce lines of code and simplify this driver by using the > generic clock binding parsing function. This also fixes a bug > where the 'flags' member of the init struct is not initialized. > > Signed-off-by:

Re: [PATCH 4/4] clk: zynq: Use of_init_clk_data()

2012-12-19 Thread Josh Cartwright
On Wed, Dec 19, 2012 at 10:20:30AM -0800, Stephen Boyd wrote: > On 12/19/12 09:26, Josh Cartwright wrote: > > On Mon, Dec 17, 2012 at 01:02:15PM -0800, Stephen Boyd wrote: [..] > > Can you show the code at those line numbers? There are quite a few > WARN_ONs in that code and

Re: [PATCH v2 0/7] Updates for Zynq's timer driver

2012-12-19 Thread Josh Cartwright
k-zynq changes. Looks good. Whoever is going to pick this up (probably Michal), feel free to add my: Tested-by: Josh Cartwright Thanks, Josh pgpFKslWItlFz.pgp Description: PGP signature

Re: [PATCH 4/4] clk: zynq: Use of_init_clk_data()

2012-12-19 Thread Josh Cartwright
On Wed, Dec 19, 2012 at 12:30:21PM -0800, Stephen Boyd wrote: > On 12/19/12 11:22, Soren Brinkmann wrote: [..] > > > > A probably unique thing I do is, I set the status of uart0 to disabled. > > This way > > I can reuse my rootfs which does not run getty on ttyPS1. And this worked > > fine > > be

Re: [PATCH 4/4] clk: zynq: Use of_init_clk_data()

2012-12-21 Thread Josh Cartwright
On Fri, Dec 21, 2012 at 03:28:10PM +, Michal Simek wrote: > > > > -Original Message- > > From: Josh Cartwright [mailto:josh.cartwri...@ni.com] > > Sent: Wednesday, December 19, 2012 9:54 PM > > To: Stephen Boyd; Michal Simek > > Cc: Soren Bri

[PATCH 1/3] ARM: zynq: remove TTC early mapping

2012-11-19 Thread Josh Cartwright
-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c| 5 - arch/arm/mach-zynq/include/mach/zynq_soc.h | 6 +- arch/arm/mach-zynq/timer.c | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq

[PATCH 2/3] ARM: zynq: make use of debug_ll_io_init()

2012-11-19 Thread Josh Cartwright
Convert low-level debugging routines to make use of debug_ll_io_init(). This is part of the preparation for ARCH_MULTIPLATFORM support for Zynq. Signed-off-by: Josh Cartwright --- arch/arm/Kconfig.debug | 1 + .../mach/debug-macro.S => include/debug/zynq.S}|

[PATCH 3/3] ARM: zynq: add support for ARCH_MULTIPLATFORM

2012-11-19 Thread Josh Cartwright
zynq_soc.h: - Move SCU address definitions into common.c. - Other #defines, such as PERIPHERAL_CLOCK_RATE, TTC0_BASE, etc, are unused and can be dropped Signed-off-by: Josh Cartwright --- arch/arm/Kconfig | 14 ++-- arch/arm/include/debug/zynq.S

[PATCH 0/3] ARM: zynq: ARCH_MULTIPLATFORM support

2012-11-19 Thread Josh Cartwright
ild magic to get Zynq building w/ CONFIG_ARCH_MULTIPLATFORM. Thanks, Josh --- Josh Cartwright (3): ARM: zynq: remove TTC early mapping ARM: zynq: make use of debug_ll_io_init() ARM: zynq: add support for ARCH_MULTIPLATFORM arch/arm/Kconfig | 14

Re: [PATCH V2 2/2] ARM: tegra: move timer.c to drivers/clocksource/

2012-11-19 Thread Josh Cartwright
On Mon, Nov 19, 2012 at 05:27:17PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Move arch/arm/mach-tegra/timer.c to drivers/clocksource/tegra20_timer.c > so that the code is co-located with other clocksource drivers, and to > reduce the size of the mach-tegra directory. > > Signed-off

Re: [PATCH] ARM: zynq: Remove all unused mach headers

2012-11-20 Thread Josh Cartwright
On Tue, Nov 20, 2012 at 02:23:37PM +0100, Michal Simek wrote: > Remove empty unused mach/hardware.h. > mach/irqs.h is unused because SPARSE_IRQ are ON by default. > mach/timex.h is unused because of CONFIG_ARCH_MULTIPLATFORM. > > Signed-off-by: Michal Simek Tested-by: Josh Cart

Re: [PATCH v3 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-14 Thread Josh Cartwright
On Wed, Aug 14, 2013 at 03:59:42PM +0300, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > These drivers handles control and configuration of the HS > and SS USB PHY transceivers. They are part of the driver > which manage Synopsys DesignWare USB3 controller stack > inside Qualcomm SoC's. > >

Re: [PATCH] pinctrl: msm: Add support for MSM TLMM pinmux

2013-08-15 Thread Josh Cartwright
On Thu, Aug 15, 2013 at 10:44:03AM -0700, Hanumant Singh wrote: > On 8/14/2013 12:29 PM, Linus Walleij wrote: > >On Tue, Jul 30, 2013 at 1:39 AM, Bjorn Andersson wrote: > >>On Wed, Jul 24, 2013 at 1:41 PM, Hanumant Singh > >>wrote: > > > >>As a general note on the patch, the pins and pin groups

Re: [PATCH] pinctrl: msm: Add support for MSM TLMM pinmux

2013-08-15 Thread Josh Cartwright
On Thu, Aug 15, 2013 at 02:58:31PM -0700, Hanumant Singh wrote: > On 8/15/2013 2:50 PM, Josh Cartwright wrote: > >On Thu, Aug 15, 2013 at 10:44:03AM -0700, Hanumant Singh wrote: > >>On 8/14/2013 12:29 PM, Linus Walleij wrote: > >>>On Tue, Jul 30, 2013 at 1:39 AM, Bj

[PATCH RFC 2/3] spmi: Add MSM PMIC Arbiter SPMI controller

2013-08-16 Thread Josh Cartwright
es on the SPMI bus. The status register is read to determine when the command sequence has completed and whether or not it completed successfully. Signed-off-by: Kenneth Heitke Signed-off-by: Josh Cartwright --- drivers/spmi/Kconfig | 15 ++ drivers/spmi/Makefile| 2 + drivers

[PATCH RFC 0/3] Add support for the System Power Management Interface (SPMI)

2013-08-16 Thread Josh Cartwright
nt state, it is possible to perform register accesses to a slave via debugfs. [1]: http://www.mipi.org/specifications/system-power-management-interface Josh Cartwright (1): spmi: document the PMIC arbiter SPMI bindings Kenneth Heitke (2): spmi: Linux driver framework for SPMI spmi: Add MSM PM

  1   2   3   4   5   >