[PATCH v2 RFC] clk: add gpio controlled clock

2013-11-05 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. Signed-off-by: Jyri Sarha --- .../devicetree/bindings/clock/gpio-clock.txt | 21 +++ drivers/clk/Makefile |1 +

Re: [PATCHv9 07/43] CLK: TI: add autoidle support

2013-11-05 Thread Tero Kristo
On 11/04/2013 04:59 PM, Nishanth Menon wrote: On 11/04/2013 04:00 AM, Tero Kristo wrote: On 11/01/2013 09:16 PM, Nishanth Menon wrote: On 11/01/2013 04:18 AM, Tero Kristo wrote: [...] one other thing I missed, will be nice to introduce a common bindings for autoidle which tends to be reused

Re: [PATCHv9 13/43] clk: ti: add support for basic mux clock

2013-11-05 Thread Tero Kristo
On 11/01/2013 11:01 PM, Nishanth Menon wrote: On 10/25/2013 10:57 AM, Tero Kristo wrote: [...] diff --git a/drivers/clk/ti/mux.c b/drivers/clk/ti/mux.c new file mode 100644 index 000..9c5259a --- /dev/null +++ b/drivers/clk/ti/mux.c [...] +/** + * of_mux_clk_setup() - Setup function for si

Re: [PATCHv9 32/43] ARM: dts: AM35xx: use DT clock data

2013-11-05 Thread Tero Kristo
On 11/01/2013 11:18 PM, Nishanth Menon wrote: On 10/25/2013 10:57 AM, Tero Kristo wrote: [...] diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi new file mode 100644 index 000..c555443 --- /dev/null +++ b/arch/arm/boot/dts/am3517.dtsi @@ -0,0 +1,31 @@ +/* + * Device

Re: [PATCHv9 38/43] ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT

2013-11-05 Thread Tero Kristo
On 11/01/2013 11:07 PM, Nishanth Menon wrote: On 10/25/2013 10:57 AM, Tero Kristo wrote: [...] diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 228b850..6fa74c6 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c [...] +/*

[PATCH RESEND] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-11-05 Thread Jyri Sarha
Modifying the omap2plus_defconfig to enable the audio support for AM335x EVM and other AM33xx based devices with TLV320AIC3X connected to McASP. Signed-off-by: Jyri Sarha --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_

[PATCH RESEND] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-11-05 Thread Jyri Sarha
Hi Tony, The audio support for am335x-emv and am335x-evmsk has been merged: http://www.spinics.net/lists/linux-omap/msg99282.html http://www.spinics.net/lists/linux-omap/msg99135.html Best regards, Jyri Jyri Sarha (1): arm: omap2plus_defconfig: enable AM33xx SOC EVM audio arch/arm/configs/oma

Re: [PATCH 1/4] wl1251: split wl251 platform data to a separate structure

2013-11-05 Thread Pavel Machek
On Sun 2013-10-27 17:14:26, Sebastian Reichel wrote: > From: Luciano Coelho > > Move the wl1251 part of the wl12xx platform data structure into a new > structure specifically for wl1251. Change the platform data built-in > block and board files accordingly. > > Cc: Tony Lindgren > Signed-off-b

Re: [PATCH 2/4] wl1251: move power GPIO handling into the driver

2013-11-05 Thread Pavel Machek
On Sun 2013-10-27 17:14:27, Sebastian Reichel wrote: > Move the power GPIO handling from the board code into > the driver. This is a dependency for device tree support. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky,

Re: [PATCH 3/4] wl1251: spi: add vio regulator support

2013-11-05 Thread Pavel Machek
On Sun 2013-10-27 17:14:28, Sebastian Reichel wrote: > This patch adds support for requesting the regulator powering > the vio pin. > > The patch also adds the regulator for the all boards using the > wl1251 in spi mode (only the Nokia N900). > > Signed-off-by: Sebastian Reichel Reviewed-by: Pa

[PATCH V3 0/7] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-11-05 Thread Sricharan R
Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt requests lines from the subsystems are not needed at the same time, so they have to be muxed to the controllers appropriately. In such places a interrupt controller

[PATCH V3 7/7] ARM: DRA: Enable Crossbar IP support for DRA7XX

2013-11-05 Thread Sricharan R
Enable the crossbar IP support for DRA7xx soc. Cc: Santosh Shilimkar Cc: Rajendra Nayak Cc: Tony Lindgren Signed-off-by: Sricharan R --- arch/arm/mach-omap2/Kconfig|1 + arch/arm/mach-omap2/omap4-common.c |4 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-om

[PATCH V3 6/7] ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number

2013-11-05 Thread Sricharan R
The wakeup gen mask/unmask callback uses the irq element of the irq_data to setup. The irq is the linux virtual irq number and is same as the hardware irq number only when the parent irqchip is setup as a legacy domain. When it is used as a linear domain, the virtual irqs are allocated dynamically

[PATCH V3 5/7] ARM: DTS: DRA7: Add routable-irqs property for gic node

2013-11-05 Thread Sricharan R
There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The gic provides the support for such IPs in the form of routable-irqs. So adding the property here to gic node. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc: Raje

[PATCH V3 2/7] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2013-11-05 Thread Sricharan R
Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt lines from the subsystems are not needed at the same time, so they have to be muxed to the irq-controller appropriately. In such places a interrupt controllers are

[PATCH V3 4/7] ARM: DTS: DRA: Replace peripheral interrupt numbers with crossbar inputs

2013-11-05 Thread Sricharan R
Now with the crossbar IP in picture, the peripherals do not have the fixed interrupt lines. Instead they rely on the crossbar irqchip to allocate and map a free interrupt line to its crossbar input. So replacing all the peripheral interrupt numbers with its fixed crossbar input lines. Cc: Benoit C

[PATCH V3 3/7] ARM: DTS: DRA: Add crossbar device binding

2013-11-05 Thread Sricharan R
This adds the irq crossbar device node. There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The Peripheral irq requests are connected to only one crossbar input and the output of the crossbar is connected to only one

[PATCH V3 1/7] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-11-05 Thread Sricharan R
In some socs the gic can be preceded by a crossbar IP which routes the peripheral interrupts to the gic inputs. The peripheral interrupts are associated with a fixed crossbar input line and the crossbar routes that to one of the free gic input line. The DT entries for peripherals provides the fixe

Re: [PATCH] typo fixes (coordiante -> coordinate) in am335x

2013-11-05 Thread Jan Lübbe
On Tue, 2013-10-22 at 10:05 +0100, Lee Jones wrote: > This is the first time this patch has been sent to me. > > I need Dmitry's input (no pun intended) on how he's like to deal with > this. At a bare minimum I'd like his Ack. Is there anything I can do to push this forward? The earlier we get th

Re: [PATCH] typo fixes (coordiante -> coordinate) in am335x

2013-11-05 Thread Lee Jones
On Tue, 05 Nov 2013, Jan Lübbe wrote: > On Tue, 2013-10-22 at 10:05 +0100, Lee Jones wrote: > > This is the first time this patch has been sent to me. > > > > I need Dmitry's input (no pun intended) on how he's like to deal with > > this. At a bare minimum I'd like his Ack. > > Is there anything

Re: [PATCH] typo fixes (coordiante -> coordinate) in am335x

2013-11-05 Thread Jan Lübbe
On Tue, 2013-11-05 at 17:15 +, Lee Jones wrote: > On Tue, 05 Nov 2013, Jan Lübbe wrote: > > > On Tue, 2013-10-22 at 10:05 +0100, Lee Jones wrote: > > > This is the first time this patch has been sent to me. > > > > > > I need Dmitry's input (no pun intended) on how he's like to deal with > >

Re: [PATCH] typo fixes (coordiante -> coordinate) in am335x

2013-11-05 Thread Lee Jones
On Tue, 05 Nov 2013, Jan Lübbe wrote: > On Tue, 2013-11-05 at 17:15 +, Lee Jones wrote: > > On Tue, 05 Nov 2013, Jan Lübbe wrote: > > > > > On Tue, 2013-10-22 at 10:05 +0100, Lee Jones wrote: > > > > This is the first time this patch has been sent to me. > > > > > > > > I need Dmitry's input

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-11-05 Thread Vivek Gautam
Dear Kishon, Roger On Wed, Oct 16, 2013 at 6:40 PM, Kishon Vijay Abraham I wrote: > Hi roger, > > On Wednesday 16 October 2013 06:33 PM, Roger Quadros wrote: >> Hi Kishon, Apologies for missing this thread for so long. >> >> On 10/15/2013 10:54 PM, Kishon Vijay Abraham I wrote: >>> There can b

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-11-05 Thread Vivek Gautam
On Tue, Nov 5, 2013 at 11:41 PM, Vivek Gautam wrote: > Dear Kishon, Roger > > > On Wed, Oct 16, 2013 at 6:40 PM, Kishon Vijay Abraham I wrote: >> Hi roger, >> >> On Wednesday 16 October 2013 06:33 PM, Roger Quadros wrote: >>> Hi Kishon, > > Apologies for missing this thread for so long. > >>> >>>

Re: [PATCHv9 01/43] clk: Add support for regmap register read/write

2013-11-05 Thread Gerhard Sittig
On Thu, Oct 31, 2013 at 16:40 +0200, Tero Kristo wrote: > > On 10/31/2013 04:03 PM, Nishanth Menon wrote: > >On 10/25/2013 10:56 AM, Tero Kristo wrote: > >[...] > >>diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h > >>index 7e59253..63ff78c 100644 > >>--- a/include/linux/cl