[PATCH v4 0/4] ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)

2015-04-21 Thread Masahiro Yamada
This is an initial series for supporting Socionext UniPhier SoCs, based on ARM Cortex-A9, mainly used for digital TVs, video recorders, etc. Masahiro Yamada (4): ARM: UniPhier: add basic support for UniPhier architecture ARM: multi_v7_defconfig: enable UniPhier SoC family ARM: dts:

[PATCH v4 1/4] ARM: UniPhier: add basic support for UniPhier architecture

2015-04-21 Thread Masahiro Yamada
Initial commit for a new SoC family, UniPhier, developed by Socionext Inc. (formerly, System LSI Business Division of Panasonic Corporation). This commit includes a minimal set of components for booting the kernel, including SMP support. Signed-off-by: Masahiro Yamada

[PATCH v4 4/4] MAINTAINERS: add myself as ARM/UniPhier maintainer

2015-04-21 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v4: None Changes in v3: None Changes in v2: None MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ce3eb0f..26b42be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v4 3/4] ARM: dts: UniPhier: add support for UniPhier SoCs and boards

2015-04-21 Thread Masahiro Yamada
Initial device trees for UniPhier SoCs: PH1-sLD3, PH1-LD4, PH1-Pro4, and PH1-sLD8. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v4: - Add system-bus-controller-misc node instead of uniphier-smp-reg node Changes in v3: - License under GPL/X11 - Drop

Re: [PATCH v3 3/4] ARM: dts: UniPhier: add support for UniPhier SoCs and boards

2015-04-21 Thread Masahiro Yamada
Hi Arnd, 2015-04-18 0:56 GMT+09:00 Arnd Bergmann a...@arndb.de: On Saturday 18 April 2015 00:48:17 Masahiro Yamada wrote: + + smp_syscon@59801208 { + compatible = socionext,uniphier-smp-reg, syscon; + reg = 0x59801208 0x4; +

Re: [PATCH 1/2] usb: phy: msm: Use extcon framework for VBUS and ID detection

2015-04-21 Thread Ivan T. Ivanov
On Thu, 2015-04-09 at 11:34 +0300, Ivan T. Ivanov wrote: On recent Qualcomm platforms VBUS and ID lines are not routed to USB PHY LINK controller. Use extcon framework to receive connect and disconnect ID and VBUS notification. Signed-off-by: Ivan T. Ivanov iva...@linaro.org Hi Felipe,

Re: [PATCH 1/3] ARM: ux500: Move GPIO regulator for SD-card into board DTSs

2015-04-21 Thread Ulf Hansson
On 20 April 2015 at 20:26, Lee Jones l...@kernel.org wrote: On Mon, 20 Apr 2015, Ulf Hansson wrote: The GPIO regulator for the SD-card isn't a ux500 SOC configuration, but instead it's specific to the board. Move the definition of it, into the board DTSs. What makes you think that? Because

A question on device initialization ordering

2015-04-21 Thread Joshua Scott
Hi, I have a question about the order in which devices are initialized. The simpler case is this: A device X needs to be taken out of reset by another device Y before it can be used. To get this to work, one option is to modify the driver for Y to use arch_initcall instead of device_initcall.

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-21 Thread Jens Wiklander
On Mon, Apr 20, 2015 at 11:55:15AM -0600, Jason Gunthorpe wrote: On Mon, Apr 20, 2015 at 03:02:03PM +0200, Jens Wiklander wrote: It appeared to me this driver was copying TPM's old architecture, which is very much known to be broken. The struct tee_device holds a shared memory pool

[PATCH v4 2/4] ARM: multi_v7_defconfig: enable UniPhier SoC family

2015-04-21 Thread Masahiro Yamada
Add UniPhier, a new citizen in the ARM multi platform. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 12:31 PM, Mark Rutland mark.rutl...@arm.com wrote: +static void __init imx_ca7_smp_init_cpus(void) +{ + int i, ncores; + unsigned long val; + + asm volatile(mrc p15, 1, %0, c9, c0, 2 : =r (val)); + ncores = ((val 24) 0x3) + 1; + if

Re: [PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Mark Rutland
+static void __init imx_ca7_smp_init_cpus(void) +{ + int i, ncores; + unsigned long val; + + asm volatile(mrc p15, 1, %0, c9, c0, 2 : =r (val)); + ncores = ((val 24) 0x3) + 1; + if (setup_max_cpus ncores) + ncores = (setup_max_cpus) ?

Re: [PATCH 5/9] ARM: BCM2836: Add io map initialization for bcm2836.

2015-04-21 Thread Arnd Bergmann
On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote: +static struct map_desc bcm2836_io_map __initdata = { + .virtual = BCM2835_PERIPH_VIRT, + .pfn = __phys_to_pfn(BCM2836_PERIPH_PHYS), + .length = BCM2835_PERIPH_SIZE, + .type = MT_DEVICE +}; + static void __init

[PATCH 2/9] ARM: BCM2835: Split peripheral definitions off to a common include.

2015-04-21 Thread Eric Anholt
The 2836 dts will inherit all of this, because it shares the same peripherals as 2835. Signed-off-by: Eric Anholt e...@anholt.net --- arch/arm/boot/dts/bcm2835.dtsi| 155 + arch/arm/boot/dts/bcm283x-common.dtsi | 159 ++ 2

[PATCH 6/9] ARM: Make a Kconfig option for shared BCM2835/BCM2836 code.

2015-04-21 Thread Eric Anholt
The 2836 in the Raspberry Pi 2 is the same as the 2835 in terms of peripherals, it's just the CPU implementation that has changed. We need a new ARCH_BCM2836 to handle the CPU change, so make a hidden ARCH_BCM283X Kconfig option for the peripherals to depend on. Signed-off-by: Eric Anholt

[PATCH 8/9] ARM: Add MAINTAINERS for 2836.

2015-04-21 Thread Eric Anholt
Signed-off-by: Eric Anholt e...@anholt.net --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..1e3f1f1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2128,6 +2128,13 @@ T: git

[PATCH 1/9] dt-bindings: Add root properties for Raspberry Pi 2.

2015-04-21 Thread Eric Anholt
Signed-off-by: Eric Anholt e...@anholt.net --- Documentation/devicetree/bindings/arm/bcm2836.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/bcm2836.txt diff --git a/Documentation/devicetree/bindings/arm/bcm2836.txt

[PATCH 9/9] ARM: BCM283x: Register fixed clocks for uart in the DT.

2015-04-21 Thread Eric Anholt
We were previously relying on the fixed clock registration in clk-bcm2835, but there doesn't seem to be any real reason to not just define it in the DT (and for the 2836 port, I would have needed to change the clock's physical address in clk-bcm2835.c). Also, because we weren't registering the

BCM2836 (Raspberry Pi 2) port

2015-04-21 Thread Eric Anholt
This is my first submission of a Raspberry Pi 2 port. It can be found at https://github.com/anholt/linux/tree/bcm2836 I'm using the 2835 interrupt controller support, without adding the checks for ARM local interrupts first. That means no support for IPIs (and thus no SMP), no PMU events, and

[PATCH 4/9] ARM: Update the device trees for 2836.

2015-04-21 Thread Eric Anholt
The bus address for peripherals comes from the platform.h diff between 2708 and 2709, and the CPU's DT definition is based on the 2709 DT. Signed-off-by: Eric Anholt e...@anholt.net --- arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 6 +++--- arch/arm/boot/dts/bcm2836-rpi.dtsi| 2 +-

[PATCH 3/9] ARM: Make a copy of the 2835 dts for the 2836.

2015-04-21 Thread Eric Anholt
This is not hooked up to anything yet, but it means that our later 2836-specific changes will be more obvious. The bcm2836-rpi-2-b.dts actually comes from bcm2835-rpi-2-b-plus, which apparently is the closest. Signed-off-by: Eric Anholt e...@anholt.net --- arch/arm/boot/dts/bcm2836-rpi-2-b.dts

[PATCH 5/9] ARM: BCM2836: Add io map initialization for bcm2836.

2015-04-21 Thread Eric Anholt
--- arch/arm/mach-bcm/board_bcm2835.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c index 70f2f39..69f5821 100644 --- a/arch/arm/mach-bcm/board_bcm2835.c +++

[PATCH 7/9] ARM: Add Kconfig support for bcm2836.

2015-04-21 Thread Eric Anholt
This port to the Raspberry Pi 2 comes up with SD card and network working. It doesn't yet support SMP, the ARM local timer, or PMU events, and serial is fixed in a follow-on patch. Signed-off-by: Eric Anholt e...@anholt.net --- arch/arm/Kconfig.debug | 8 +++-

Re: [PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 12:28 PM, Mark Rutland mark.rutl...@arm.com wrote: +/* + cpu1: cpu@1 { + compatible = arm,cortex-a7; + device_type = cpu; + reg = 1; + }; +*/ Why have it commented out? If

Re: [PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Mark Rutland
+/* + cpu1: cpu@1 { + compatible = arm,cortex-a7; + device_type = cpu; + reg = 1; + }; +*/ Why have it commented out? If it's not available, leave it out entirely. + intc:

Re: [PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Zhi Li
+ + clocks { + #address-cells = 1; + #size-cells = 0; + + ckil: clock@0 { + compatible = fixed-clock; + reg = 0; + #clock-cells = 0; + clock-frequency =

Re: [PATCH 1/2] ARM: socfpga: dts: Add multicast bins and unicast filter entries

2015-04-21 Thread Dinh Nguyen
On 04/20/2015 11:24 AM, Vince Bridgers wrote: Add multicast-filter-bins and perfect-filter-entries configuration properties to the socfpga devicetree for the Arria 10 socfpga. Signed-off-by: Vince Bridgers vbrid...@opensource.altera.com --- This patch is based on patches

Re: [PATCH 7/9] ARM: Add Kconfig support for bcm2836.

2015-04-21 Thread Arnd Bergmann
On Tuesday 21 April 2015 11:09:54 Eric Anholt wrote: @@ -116,17 +122,19 @@ config ARCH_BCM283X config ARCH_BCM2835 bool Broadcom BCM2835 family if ARCH_MULTI_V6 select ARCH_BCM283X - select ARCH_REQUIRE_GPIOLIB - select ARM_AMBA select ARM_ERRATA_411920

Re: [RFC PATCH v2 0/1] ARM: cpuidle: heterogeneous systems extension

2015-04-21 Thread Kevin Hilman
On Thu, Apr 16, 2015 at 9:10 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: [...] This patch sets the maximum number of static CPUidle drivers allowed to two, since it is hard to foresee systems with more than two sets of CPUs having different idle states It's not hard to forsee

Re: [PATCH 1/3] ARM: ux500: Move GPIO regulator for SD-card into board DTSs

2015-04-21 Thread Lee Jones
On Tue, 21 Apr 2015, Ulf Hansson wrote: On 21 April 2015 at 09:33, Lee Jones l...@kernel.org wrote: On Tue, 21 Apr 2015, Ulf Hansson wrote: On 20 April 2015 at 20:26, Lee Jones l...@kernel.org wrote: On Mon, 20 Apr 2015, Ulf Hansson wrote: The GPIO regulator for the SD-card isn't

Re: [PATCH 2/3] regulator: max8973: make default/unset dvs gpio as invalid gpio

2015-04-21 Thread Laxman Dewangan
On Tuesday 21 April 2015 02:45 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Apr 20, 2015 at 06:24:16PM +0530, Laxman Dewangan wrote: If platform data has dvs-gpio value 0 as default/unset then make this as invalid gpio so that function gpio_is_valid() can return false on this

Re: [PATCH 1/3] ARM: ux500: Move GPIO regulator for SD-card into board DTSs

2015-04-21 Thread Lee Jones
On Tue, 21 Apr 2015, Ulf Hansson wrote: On 20 April 2015 at 20:26, Lee Jones l...@kernel.org wrote: On Mon, 20 Apr 2015, Ulf Hansson wrote: The GPIO regulator for the SD-card isn't a ux500 SOC configuration, but instead it's specific to the board. Move the definition of it, into the

Re: [alsa-devel] [PATCH v2 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-21 Thread Inha Song
Hi, Thanks for your review :) On Tue, 21 Apr 2015 10:28:26 +0100 Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: On Tue, Apr 21, 2015 at 01:11:44PM +0900, Inha Song wrote: This patch add support for select accessory detect mode to HPDETL or HPDETR. Arizona provides a headphone

Re: [RESEND RFC PATCH 3/3] ASoC: mediatek: Add AFE platform driver

2015-04-21 Thread Mark Brown
On Tue, Apr 21, 2015 at 10:27:13AM +0800, Koro Chen wrote: The SRAM size to be used is defined by params_buffer_bytes(params), not fixed (of course limited by the actual available SRAM size on HW), so the latency should be the same compared to a DRAM having the same size. Right, some systems

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Mark Brown
On Tue, Apr 21, 2015 at 11:49:26AM +0200, Sascha Hauer wrote: I think this could be done. I checked the possible connections in the crossbar switch and it seems all memory interfaces can be connected with all relevant external interfaces. So indeed the memory interfaces could be dynamically

Re: [RESEND RFC PATCH 2/3] ASoC: mediatek: Add AFE connection control

2015-04-21 Thread Mark Brown
On Tue, Apr 21, 2015 at 07:50:41AM +0200, Sascha Hauer wrote: Oh, that's not magic at all, the crossbar switch has inputs and outputs numbered from 0 to MTK_AFE_INTERCONN_NUM_INPUT / MTK_AFE_INTERCONN_NUM_OUTPUT (they have the same numbers in the datasheet. To connect input x with output y

Re: [alsa-devel] [PATCH v2 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-21 Thread Charles Keepax
On Tue, Apr 21, 2015 at 01:11:44PM +0900, Inha Song wrote: This patch add support for select accessory detect mode to HPDETL or HPDETR. Arizona provides a headphone detection circuit on the HPDETL and HPDETR pins to measure the impedance of an external load connected to the headphone.

Re: [PATCH 1/5] clocksource: st_lpc: Add LPC timer as a clocksource.

2015-04-21 Thread Thomas Gleixner
On Fri, 17 Apr 2015, Peter Griffin wrote: +/* Low Power Timer */ +#define LPC_LPT_LSB_OFF 0x400 +#define LPC_LPT_MSB_OFF 0x404 +#define LPC_LPT_START_OFF0x408 + +struct st_lpc { + struct clk *clk; + void __iomem *iomem_cs; +}; + +static struct

Re: [PATCH 1/3] ARM: ux500: Move GPIO regulator for SD-card into board DTSs

2015-04-21 Thread Ulf Hansson
On 21 April 2015 at 09:33, Lee Jones l...@kernel.org wrote: On Tue, 21 Apr 2015, Ulf Hansson wrote: On 20 April 2015 at 20:26, Lee Jones l...@kernel.org wrote: On Mon, 20 Apr 2015, Ulf Hansson wrote: The GPIO regulator for the SD-card isn't a ux500 SOC configuration, but instead it's

Re: [PATCH v4 08/11] ARM: imx: add gpt system timer support for imx7d

2015-04-21 Thread Russell King - ARM Linux
On Tue, Apr 21, 2015 at 05:05:30AM +0800, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add GPT system timer support for i.MX7D, it has same hardware as i.MX6DL. Signed-off-by: Frank Li frank...@freescale.com Signed-off-by: Anson Huang b20...@freescale.com ---

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Koro Chen
On Tue, 2015-04-21 at 11:49 +0200, Sascha Hauer wrote: On Mon, Apr 20, 2015 at 09:48:49PM +0100, Mark Brown wrote: On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen

[PATCH 1/2 v2] kernel/resource: Invalid memory access in __release_resource

2015-04-21 Thread Ricardo Ribalda Delgado
When a resource is initialized via of_platform_populate. resource-parent is initialized to NULL via kzalloc. (of_platform_populate-of_device_alloc-of_address_to_resource) If of_platform_depopulate is called later, resource-parent is accessed (Offset 0x30 of address 0), causing a kernel error.

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Sascha Hauer
On Mon, Apr 20, 2015 at 09:48:49PM +0100, Mark Brown wrote: On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: +Each external interface (called IO in this

[PATCH 2/2 v2] of/platform: Use platform_device interface

2015-04-21 Thread Ricardo Ribalda Delgado
of_platform_device_create_pdata() was using of_device_add() to create the devices, but of_platform_device_destroy was using of_platform_device_destroy(). of_device_add(), do not call insert_resource(), which initializes the parent field of the resource structure, needed by release_resource(),

Re: [PATCH v4 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Russell King - ARM Linux
This looks a lot better, thanks - just one remaining comment: On Tue, Apr 21, 2015 at 05:05:29AM +0800, frank...@freescale.com wrote: +static void __init imx7d_map_io(void) +{ + debug_ll_io_init(); +} If that's all that you need here, please get rid of it; the generic code will make that

[PATCH v3 02/37] devicetree/bindings: add Qi Hardware vendor prefix

2015-04-21 Thread Paul Burton
Define a vendor prefix for Qi Hardware, creators of the Ben Nanonote (qi_lb60) among other open devices. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Lars-Peter Clausen l...@metafoo.de Cc: devicetree@vger.kernel.org --- Changes in v3: - New patch. ---

[PATCH v3 01/37] devicetree/bindings: add Ingenic Semiconductor vendor prefix

2015-04-21 Thread Paul Burton
Define a vendor prefix for Ingenic Semiconductor, a vendor of MIPS-based SoCs. Simply use 'ingenic'. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Lars-Peter Clausen l...@metafoo.de Cc: devicetree@vger.kernel.org --- Changes in v3: - Rebase. Changes in v2: - None. ---

[PATCH v5 10/11] arm: dts: add imx7d-sdb support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com add imx7d sdb board support Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx7d-sdb.dts | 405 2 files changed, 407 insertions(+) create mode 100644

[PATCH v5 11/11] ARM: config: imx_v6_v7_defconfig add imx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add imx7d support Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v5 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. Enable all clock to bring up imx7. Clock framework need be modified a little since imx7d change clock design. otherwise system will halt and block the other part upstream. All clock refine need wait for Dong Aisheng's patch clk:

Re: [PATCH v4 1/4] ARM: UniPhier: add basic support for UniPhier architecture

2015-04-21 Thread Heiko Stübner
Am Dienstag, 21. April 2015, 16:21:27 schrieb Masahiro Yamada: Initial commit for a new SoC family, UniPhier, developed by Socionext Inc. (formerly, System LSI Business Division of Panasonic Corporation). This commit includes a minimal set of components for booting the kernel, including SMP

[PATCH v3 33/37] devicetree: document Ingenic SoC UART binding

2015-04-21 Thread Paul Burton
Add binding documentation for the UARTs found in Ingenic SoCs. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Lars-Peter Clausen l...@metafoo.de Cc: devicetree@vger.kernel.org --- Changes in v3: - Merge binding documentation for Ingenic SoCs whose bindings differ only by their

[PATCH v3 00/37] JZ4780 CI20 support

2015-04-21 Thread Paul Burton
This series introduces initial support for the Ingenic JZ4780 SoC and the Imagination Technologies MIPS Creator CI20 board which is built around it. In the process the existing JZ4740 qi_lb60 code gains initial support for using DeviceTree such that much of the existing platform code under

Re: [PATCH v3 00/37] JZ4780 CI20 support

2015-04-21 Thread Paul Burton
/. Review appreciated, and hopefully this can make it into v4.2. (Of course I forgot something... This applies atop next-20150421 :) ) Thanks, Paul Thanks, Paul Paul Burton (37): devicetree/bindings: add Ingenic Semiconductor vendor prefix devicetree/bindings: add Qi Hardware

[PATCH v3 24/37] devicetree: add Ingenic CGU binding documentation

2015-04-21 Thread Paul Burton
Document the devicetree binding for Ingenic SoC CGUs, and add headers defining the clock specifiers for clocks provided by the JZ4740 JZ4780 CGU blocks. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Lars-Peter Clausen l...@metafoo.de Cc: Mike Turquette mturque...@linaro.org Cc:

[PATCH v5 02/11] ARM: dts: add pinfunc include file gpio1 to support imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Addi i.MX7D support: gpio1(lower power domain) pinfunc part Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/imx7d-pinfunc.h | 115 ++ 1 file changed, 115 insertions(+) diff --git

[PATCH v5 01/11] ARM: dts: add pinfunc include file to support imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Addi i.MX7D support: pinfunc part except GPIO1 Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/imx7d-pinfunc.h | 1038 + 1 file changed, 1038 insertions(+) create mode 100644

[PATCH v5 00/11] Add Freescale i.mx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com add basic support for chip imx7d. - MSL - Clock support. All clock enabled. - pinctrl support - SD Card support Change from v4 to v5 - Remove imx7d_map_io() - Remove clk_register_clkdev(clks[IMX7D_GPT1_ROOT_CLK], ipg, imx-gpt.0); - Remove

[PATCH v5 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add i.mx7d support: imx7d dtsi part Signed-off-by: Anson Huang b20...@freescale.com Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/imx7d.dtsi | 498 +++ 1 file changed, 498 insertions(+)

[PATCH v5 06/11] pinctrl: add imx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add i.MX7D pinctrl driver support Signed-off-by: Frank Li frank...@freescale.com Signed-off-by: Anson Huang b20...@freescale.com --- drivers/pinctrl/freescale/Kconfig | 7 + drivers/pinctrl/freescale/Makefile| 1 +

[PATCH v5 04/11] Document: dt: binding: imx: update document for imx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com This part just add necessary change to boot imx7d. Update clock, pinctrl and gpt for imx7d Signed-off-by: Frank Li frank...@freescale.com --- .../devicetree/bindings/clock/imx7d-clock.txt | 13 +++ .../bindings/pinctrl/fsl,imx-pinctrl.txt

[PATCH v5 08/11] ARM: imx: add gpt system timer support for imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add GPT system timer support for i.MX7D, it has same hardware as i.MX6DL. Signed-off-by: Frank Li frank...@freescale.com Signed-off-by: Anson Huang b20...@freescale.com --- arch/arm/mach-imx/time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Frank.Li
From: Anson Huang b20...@freescale.com Add i.MX7D MSL support. Signed-off-by: Anson Huang b20...@freescale.com Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/mach-imx/Kconfig | 11 ++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/anatop.c | 5 -

[PATCH v5 03/11] ARM: dts: add clock include file to support imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add i.MX7D support: clock define part. Signed-off-by: Frank Li frank...@freescale.com --- include/dt-bindings/clock/imx7d-clock.h | 450 1 file changed, 450 insertions(+) create mode 100644

Re: [PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Russell King - ARM Linux
On Tue, Apr 21, 2015 at 10:53:23PM +0800, frank...@freescale.com wrote: diff --git a/arch/arm/mach-imx/mx7.h b/arch/arm/mach-imx/mx7.h new file mode 100644 index 000..bfef936 --- /dev/null +++ b/arch/arm/mach-imx/mx7.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2015 Freescale

Re: [PATCH 1/3] ARM: at91/dt: sama5d3 fill in mmc1 and default disabled

2015-04-21 Thread Ludovic Desroches
On Thu, Mar 26, 2015 at 05:38:23PM +, Ben Dooks wrote: The mmc1 channel is not populated on the SAM5D3 Xplained board, however it is enabled and therefore the driver is attaching to it. The node configuration for mmc1 is missing, so add an mmc1 node in the device tree so add the basic

Re: [PATCH v4 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 5:22 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Apr 21, 2015 at 05:05:31AM +0800, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. + + clk_register_clkdev(clks[IMX7D_GPT1_ROOT_CLK], ipg, imx-gpt.0); +

[PATCH v3 10/37] devicetree: document Ingenic SoC interrupt controller binding

2015-04-21 Thread Paul Burton
Add binding documentation for Ingenic SoC interrupt controllers. Signed-off-by: Paul Burton paul.bur...@imgtec.com Cc: Lars-Peter Clausen l...@metafoo.de Cc: devicetree@vger.kernel.org --- Changes in v3: - Merge documentation for various Ingenic SoCs, which only differ by their compatible

Re: [PATCH 3/3] ARM: at91/dt: sama5d3 add gpio regulator for vmmc0

2015-04-21 Thread Ludovic Desroches
On Thu, Mar 26, 2015 at 05:38:25PM +, Ben Dooks wrote: Add gpio regulator for vmmc0 and attach the vmmc for it to the mmc0 node on the SAM5D3 Xplained board. This will remove the following warning from the kernel: atmel_mci f000.mmc: No vmmc regulator found Note, atmel_defconfig

Re: [PATCH 2/3] ARM: at91/dt: sama5d3 add mmc0 vmmcq entry

2015-04-21 Thread Ludovic Desroches
On Thu, Mar 26, 2015 at 05:38:24PM +, Ben Dooks wrote: The SAM5D3 Xplained device tree is missing hte vqmmc node which is tied to 3.3V on the board. Add this to avoid the kernel warning that there is no vqmmc node. atmel_mci f000.mmc: No vqmmc regulator found Signed-off-by: Ben

Re: [PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 10:12 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Apr 21, 2015 at 10:53:23PM +0800, frank...@freescale.com wrote: diff --git a/arch/arm/mach-imx/mx7.h b/arch/arm/mach-imx/mx7.h new file mode 100644 index 000..bfef936 --- /dev/null +++

Re: [PATCH 3/3] regulator: max8973: add DT parsing of platform specific parameter

2015-04-21 Thread Laxman Dewangan
On Tuesday 21 April 2015 02:49 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Apr 20, 2015 at 06:24:17PM +0530, Laxman Dewangan wrote: +Optional properties: + +-maxim,externally-enable: boolean, externally control the regulator output + enable/disable. I'd have

Re: [PATCH v4 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Sascha Hauer
On Tue, Apr 21, 2015 at 09:15:36AM -0500, Zhi Li wrote: On Tue, Apr 21, 2015 at 5:22 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Apr 21, 2015 at 05:05:31AM +0800, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. + +

Re: [PATCH v4 08/11] ARM: imx: add gpt system timer support for imx7d

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 5:02 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Apr 21, 2015 at 05:05:30AM +0800, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add GPT system timer support for i.MX7D, it has same hardware as i.MX6DL. Signed-off-by:

Re: [PATCH 13/14] of: Add vendor prefix for TP-Link Technologies Co. Ltd

2015-04-21 Thread Rob Herring
On Sat, Apr 18, 2015 at 11:13 AM, Alban Bedel al...@free.fr wrote: Signed-off-by: Alban Bedel al...@free.fr --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 0/8] Add support for Wolfson WM8998 and WM1814 codecs

2015-04-21 Thread Richard Fitzgerald
This set of patches adds support for the Wolfson Microelectronics WM8998 and WM1814 codecs. Richard Fitzgerald (8): mfd: arizona: Split INx_MODE into two fields ASoC: arizona: add defines for single-input gain control mfd: arizona: Add support for WM8998 and WM1814 gpio: arizona: add

[PATCH 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- drivers/extcon/extcon-arizona.c | 33 ++--- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index

[PATCH 1/8] mfd: arizona: Split INx_MODE into two fields

2015-04-21 Thread Richard Fitzgerald
Later arizona silicon has the single/differential selector in a different register, and IN1_MODE only selects between analogue or digital. Prepare for this by splitting the INx_MODE definition into two fields. Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com ---

[PATCH 2/8] ASoC: arizona: add defines for single-input gain control

2015-04-21 Thread Richard Fitzgerald
Adds convenience defines for declaring a gain control that has an input mux. These block are functionally equivalent to the existing mixer blocks but only have a single input. Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- sound/soc/codecs/arizona.h |5 + 1 files

Re: [RFC/PATCH v2 3/5] devicetree: bindings: Add new cpuidle enable method for Renesas R-car SoCs

2015-04-21 Thread Lorenzo Pieralisi
On Mon, Apr 20, 2015 at 08:39:35AM +0100, keita kobayashi wrote: [...] It is related, but Mark's remark is correct. We have to keep in mind that an enable-method defines how a CPU is powered {up/down} and also suspended (quiesced through idle). It has to be defined through proper

[PATCH 7/8] ASoC: wm8998: Initial WM8998 codec driver

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- sound/soc/codecs/Kconfig |6 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/arizona.c |7 + sound/soc/codecs/arizona.h |2 +- sound/soc/codecs/wm8998.c | 1392

[PATCH 8/8] Documentation: Add WM8998/WM1814 device tree bindings

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- Documentation/devicetree/bindings/mfd/arizona.txt |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt

[PATCH 4/8] gpio: arizona: add support for WM8998 and WM1814

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-arizona.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c index 052fbc8..ca00273 100644 --- a/drivers/gpio/gpio-arizona.c

[PATCH 5/8] regulator: arizona: add support for WM8998 and WM1814

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- drivers/regulator/arizona-ldo1.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index a1d07d3..4dc9b18 100644 ---

[PATCH 3/8] mfd: arizona: Add support for WM8998 and WM1814

2015-04-21 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- drivers/mfd/Kconfig |6 + drivers/mfd/Makefile |3 + drivers/mfd/arizona-core.c| 106 ++- drivers/mfd/arizona-i2c.c |8 + drivers/mfd/arizona-irq.c

Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-21 Thread Arnd Bergmann
On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: index bef250e..9f6a4b9 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -85,6 +85,21 @@ void sdhci_get_of_property(struct platform_device *pdev) if (of_get_property(np, broken-cd,

[PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-21 Thread Suman Tripathi
This patch adds some quirks support to be read from fdt. Signed-off-by: Suman Tripathi stripa...@apm.com --- drivers/mmc/host/sdhci-pltfm.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index bef250e..9f6a4b9

Re: [PATCH v5 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 3:30 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Apr 21, 2015 at 9:53 AM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. Enable all clock to bring up imx7. Clock framework need be modified a little since

Re: [PATCH 7/9] ARM: Add Kconfig support for bcm2836.

2015-04-21 Thread Eric Anholt
Arnd Bergmann a...@arndb.de writes: On Tuesday 21 April 2015 11:09:54 Eric Anholt wrote: @@ -116,17 +122,19 @@ config ARCH_BCM283X config ARCH_BCM2835 bool Broadcom BCM2835 family if ARCH_MULTI_V6 select ARCH_BCM283X - select ARCH_REQUIRE_GPIOLIB - select

Re: [PATCH v5 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Rob Herring
On Tue, Apr 21, 2015 at 9:53 AM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. Enable all clock to bring up imx7. Clock framework need be modified a little since imx7d change clock design. otherwise system will halt and block the other

Re: [PATCH v4 04/11] Document: dt: binding: imx: update document for imx7d support

2015-04-21 Thread Rob Herring
On Mon, Apr 20, 2015 at 4:05 PM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com This part just add necessary change to boot imx7d. Update clock, pinctrl and gpt for imx7d Signed-off-by: Frank Li frank...@freescale.com --- .../devicetree/bindings/clock/imx7d-clock.txt

Re: [PATCH v5 09/11] ARM: imx: add imx7d clk tree support

2015-04-21 Thread Rob Herring
On Tue, Apr 21, 2015 at 3:39 PM, Zhi Li lzn...@gmail.com wrote: On Tue, Apr 21, 2015 at 3:30 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Apr 21, 2015 at 9:53 AM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.MX7D clk tree support. Enable all clock to

Re: [PATCH v4 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Zhi Li
On Tue, Apr 21, 2015 at 3:37 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Apr 20, 2015 at 4:05 PM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.mx7d support: imx7d dtsi part Signed-off-by: Anson Huang b20...@freescale.com Signed-off-by: Frank

Re: [PATCH v4 05/11] ARM: dts: add imx7d soc dtsi file

2015-04-21 Thread Rob Herring
On Mon, Apr 20, 2015 at 4:05 PM, frank...@freescale.com wrote: From: Frank Li frank...@freescale.com Add i.mx7d support: imx7d dtsi part Signed-off-by: Anson Huang b20...@freescale.com Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/imx7d.dtsi | 498

[PATCH v6 11/11] ARM: config: imx_v6_v7_defconfig add imx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add imx7d support Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v6 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Frank.Li
From: Anson Huang b20...@freescale.com Add i.MX7D MSL support. Signed-off-by: Anson Huang b20...@freescale.com Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/mach-imx/Kconfig | 11 ++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/anatop.c | 5 -

[PATCH v6 10/11] arm: dts: add imx7d-sdb support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com add imx7d sdb board support Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx7d-sdb.dts | 439 2 files changed, 441 insertions(+) create mode 100644

[PATCH v6 04/11] Document: dt: binding: imx: update document for imx7d support

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com This part just add necessary change to boot imx7d. Update clock, pinctrl and gpt for imx7d Signed-off-by: Frank Li frank...@freescale.com --- .../devicetree/bindings/clock/imx7d-clock.txt | 13 +++ .../bindings/pinctrl/fsl,imx-pinctrl.txt

[PATCH v6 08/11] ARM: imx: add gpt system timer support for imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Add GPT system timer support for i.MX7D, it has same hardware as i.MX6DL. Signed-off-by: Frank Li frank...@freescale.com Signed-off-by: Anson Huang b20...@freescale.com --- arch/arm/mach-imx/time.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 01/11] ARM: dts: add pinfunc include file to support imx7d

2015-04-21 Thread Frank.Li
From: Frank Li frank...@freescale.com Addi i.MX7D support: pinfunc part except GPIO1 Signed-off-by: Frank Li frank...@freescale.com --- arch/arm/boot/dts/imx7d-pinfunc.h | 1038 + 1 file changed, 1038 insertions(+) create mode 100644

  1   2   >