Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Luciano Coelho
On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is pretty small and simple, so why not include it to at least fix the breakage in 3.7 and 3.8? Whether you take it or not now won't make any difference in the 5k LOC in

[PATCH 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-18 Thread Kishon Vijay Abraham I
Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Writing to control module registers for doing the above task which was previously done in omap

[PATCH 4/4] drivers: usb: start using the control module driver

2013-01-18 Thread Kishon Vijay Abraham I
Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt |4 ++

[PATCH 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-18 Thread Kishon Vijay Abraham I
A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH 0/4] usb: musb: add driver for control module

2013-01-18 Thread Kishon Vijay Abraham I
Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Writing to control module registers for doing the above task which was previously done in omap

[PATCH 3/4] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-01-18 Thread Kishon Vijay Abraham I
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |3 +++

[PATCH 2/3] ARM: dts: omap: Add omap-usb2 dt data

2013-01-18 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |4 1 file changed,

[PATCH 3/3] ARM: dts: omap: Add usb_otg and glue data

2013-01-18 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. The dt data specifies among others the interface type (ULPI or UTMI), mode which is mostly OTG, power that specifies the amount of power this can supply when in host

[PATCH 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-18 Thread Kishon Vijay Abraham I
This patch series adds dt data to get MUSB working in omap4 and omap3. Long time back a patch series with the same title was sent but only a part of it got merged. The rest of it wasn't merged because of adding omap control usb data to glue and usb phy. Now there exists a separate driver for

[PATCH 1/3] ARM: dts: omap: Add omap control usb data

2013-01-18 Thread Kishon Vijay Abraham I
Add omap control usb data in omap4 device tree file. This will have the register address of registers to power on the PHY and to write to mailbox. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Peter Ujfalusi
Hi Tony, On 01/18/2013 12:16 AM, Tony Lindgren wrote: Well we are planning to drop the non-DT support for omap4 as soon as it's usable with DT. Exactly, but right now we do have legacy and legacy should work in order to help for example Luca to make the final push which allows us to move to DT

[PATCH] ARM: OMAP2+: OMAP44XX: Clock: Correct the clock

2013-01-18 Thread J Keerthy
The previous logic to detect the clocks for OMAP4460 was to combine the clocks marked as CK_443X and CK_446X. This would be fine as long as OMAP4460 was a super set of OMAP4430 clock set. This is not the case as there are clocks which are specific to OMAP4430 (for example bandgap_fclk) and some

[PATCH] ARM: OMAP2+: OMAP44XX: Clock: Correct the clock identifiers for OMAP4460 and OMAP4430

2013-01-18 Thread J Keerthy
The previous logic to detect the clocks for OMAP4460 was to combine the clocks marked as CK_443X and CK_446X. This would be fine as long as OMAP4460 was a super set of OMAP4430 clock set. This is not the case as there are clocks which are specific to OMAP4430 (for example bandgap_fclk) and some

[PATCH v3 0/8] MFD: ti_am335x_tscadc: DT support and TSC features addition

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com This patch set is a cumulative set of [1] and [2] sent earlier. Note that there are no code changes in either of the patch set, only rebased on top of Linus's v3.8-rc3 tag to make sure that all the patches apply without any conflicts. This patch set has been

Re: OMAP baseline test results for v3.8-rc3

2013-01-18 Thread Peter Ujfalusi
Hi Paul, On 01/17/2013 07:43 PM, Paul Walmsley wrote: The following patch fixes these: https://lkml.org/lkml/2012/12/24/3 Thanks, I've added that info in the v3.8-rc3 test summary, and moved the paragraph to the 'resolved by posted patches' section. FYI: the patch is now in mainline

[PATCH v3 1/8] input: ti_am335x_tsc: Step enable bits made configurable

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Current code has hard coded value written to step enable bits. Now the bits are updated based on how many steps are needed to be configured got from platform data. The user needs to take care not to exceed the count more than 16. While using ADC and TSC one

[PATCH v3 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git

[PATCH v3 2/8] input: ti_am335x_tsc: Order of TSC wires, made configurable

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/input/touchscreen/ti_am335x_tsc.c | 156

[PATCH v3 3/8] input: touchscreen: ti_tsc: remove unwanted fifo flush

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH v3 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Signed-off-by: Patil, Rachna rac...@ti.com --- .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ti_am335x_tscadc.txt diff --git

[PATCH v3 7/8] IIO: ti_am335x_adc: Add DT support

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add DT support for client ADC driver. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/iio/adc/ti_am335x_adc.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c

[PATCH v3 6/8] input: ti_am335x_tsc: Add DT support

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/input/touchscreen/ti_am335x_tsc.c | 94 + 1 file changed, 81 insertions(+), 13 deletions(-) diff --git

[PATCH v3 8/8] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

2013-01-18 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add support for core multifunctional device along with its clients touchscreen and ADC. Signed-off-by: Patil, Rachna rac...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 13 + arch/arm/boot/dts/am33xx.dtsi|8 2 files changed, 21

RE: [PATCH v4] ARM: OMAP2+: AM33XX: omap2plus_defconfig: Add support for few drivers

2013-01-18 Thread AnilKumar, Chimata
On Thu, Jan 03, 2013 at 14:07:59, AnilKumar, Chimata wrote: Adds tps65910 PMIC, lis3lv02d accelerometer, tsl2550 ambient light sensor, tmp275 temperature sensor, matrix keypad, gbio based leds and D_CAN drivers support. These peripherals are present on AM33XX family of devices (EVM, BeagleBone

Re: [RFC PATCH 0/7] usb: musb: add driver for control module

2013-01-18 Thread Felipe Balbi
Hi, On Tue, Jan 15, 2013 at 02:12:51PM +0530, Kishon Vijay Abraham I wrote: Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Writing to

Re: [RFC PATCH 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-18 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 04:44:52PM +0530, kishon wrote: @@ -171,6 +188,11 @@ static inline void devm_usb_put_phy(struct device *dev, struct usb_phy *x) { } +static inline struct usb_phy_bind *usb_bind_phy(const char *dev_name, u8 index, + const char

Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type

2013-01-18 Thread Felipe Balbi
On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: New platforms are being added which has multiple PHY's (of same type) and which has multiple USB controllers. The binding information has to be present in the PHY library (otg.c) in order for it to return the appropriate

Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type

2013-01-18 Thread kishon
On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: New platforms are being added which has multiple PHY's (of same type) and which has multiple USB controllers. The binding information has to be present in the PHY

Re: [PATCH 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-18 Thread Felipe Balbi
Hi, On Fri, Jan 18, 2013 at 03:10:42PM +0530, Kishon Vijay Abraham I wrote: Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Writing to

Re: [PATCH 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-18 Thread Felipe Balbi
On Fri, Jan 18, 2013 at 03:10:43PM +0530, Kishon Vijay Abraham I wrote: A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for

Re: [PATCH 4/4] drivers: usb: start using the control module driver

2013-01-18 Thread Felipe Balbi
Hi, On Fri, Jan 18, 2013 at 03:10:45PM +0530, Kishon Vijay Abraham I wrote: Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-18 Thread kishon
Hi, On Friday 18 January 2013 05:29 PM, Felipe Balbi wrote: Hi, On Fri, Jan 18, 2013 at 03:10:42PM +0530, Kishon Vijay Abraham I wrote: Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB

Re: [PATCH 4/4] drivers: usb: start using the control module driver

2013-01-18 Thread kishon
On Friday 18 January 2013 05:32 PM, Felipe Balbi wrote: Hi, On Fri, Jan 18, 2013 at 03:10:45PM +0530, Kishon Vijay Abraham I wrote: Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own.

Re: [PATCH 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-18 Thread Felipe Balbi
Hi, On Fri, Jan 18, 2013 at 05:40:04PM +0530, kishon wrote: +void omap_control_usb_host_mode(struct device *dev) +{ + u32 val; + struct omap_control_usb *control_usb = dev_get_drvdata(dev); + + val = AVALID | VBUSVALID; + + writel(val, control_usb-otghs_control); I would like

Re: [PATCH 4/9] ARM: OMAP2+: AM33XX: hwmod: Update TPTC0 hwmod with the right flags

2013-01-18 Thread Sergei Shtylyov
Hello. On 18-01-2013 11:19, Vaibhav Bedia wrote: Third Party Transfer Controller (TPTC0) needs to be idled and put to standby under SW control. Add the appropriate flags in the TPTC0 hwmod entry. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Acked-by: Santosh Shilimkar

Re: [PATCH 1/9] ARM: OMAP2+: AM33XX: CM: Get rid of unncessary header inclusions

2013-01-18 Thread Sergei Shtylyov
On 18-01-2013 11:19, Vaibhav Bedia wrote: Some of the included header files are not needed so remove them. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com --- Change from RFC version: No change arch/arm/mach-omap2/cm33xx.h |

Re: [PATCH 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-18 Thread Jan Lübbe
On Fri, 2013-01-18 at 12:11 +0530, Philip Avinash wrote: diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index eaef5e7..f4209d8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -393,5 +393,17 @@ ti,hwmods =

Re: [PATCH] am33xx: cpsw: default to ethernet hwaddr from efuse if not defined in dt

2013-01-18 Thread Peter Korsgaard
Michal == Michal Bachraty michal.bachr...@gmail.com writes: Hi, Michal I'm ok with your changes. Have you tried to set MAC from Michal u-boot? I haven't seen any code for that purpose in cpsw. I Michal tried put MAC with kernel command parameter (in u-boot), but Michal nothing happen. I

Re: reset handling in am335x hwmod data

2013-01-18 Thread Peter Korsgaard
Peter == Peter Korsgaard jac...@sunsite.dk writes: Hi, Paul Probably the DTS is the right place, since this is a board- and Paul bootloader-specific quirk. The original intention was to allow Paul board files to set this HWMOD_INIT_NO_RESET flag themselves - see Paul mach-omap2/

[PATCH v2 1/8] ARM: OMAP: 3430sdp: Enable extmute functionality for audio

2013-01-18 Thread Peter Ujfalusi
Enable the use of extmute on the HS path. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index bb73afc..40c22a7 100644

[PATCH v2 0/8] ARM: OMAP: Audio support via omap-twl4030 and pwm support

2013-01-18 Thread Peter Ujfalusi
Hi, I have combined the two previous series for easier handling. audio via omap-twl4030 for Zoom2 and sdp3430: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/139128.html PWM support for few boards:

[PATCH v2 3/8] ARM: OMAP2+: twl-common: Add default twl4030 audio configuration

2013-01-18 Thread Peter Ujfalusi
Select the most commonly used audio configuration on boards with twl4030 audio: Headset, Handsfree output and Line in input Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/twl-common.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/8] ARM: OMAP2+: twl-common: Allow boards to customize the twl4030 audio setup

2013-01-18 Thread Peter Ujfalusi
Boards with special audio routing can pass a custom omap_tw4030_pdata to the audio machine driver. At the same time update the board files using the same audio driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-cm-t35.c | 2 +-

[PATCH v2 5/8] ARM: OMAP: zoom: Audio support via the common omap-twl4030 machine driver

2013-01-18 Thread Peter Ujfalusi
Use the common omap-twl4030 ASoC machine driver for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c

[PATCH v2 7/8] ARM: OMAP: board-4430sdp: Proper support for TWL6030 PWM LED/Backlight

2013-01-18 Thread Peter Ujfalusi
New PWM drivers are being prepared for twl series which will enable the use of all PWMs (PWMs and LEDs). They are implemented as generic PWM drivers to be able to use them for different purposes. The current platform code was broken: the leds_pwm driver was not able to pick up the PWM since the

[PATCH v2 6/8] ARM: OMAP: sdp3430: Audio support via the common omap-twl4030 machine driver

2013-01-18 Thread Peter Ujfalusi
Use the common omap-twl4030 ASoC machine driver for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c

[PATCH v2 8/8] ARM: OMAP: omap3beagle: Use the pwm_leds driver to control the PMU_STAT led

2013-01-18 Thread Peter Ujfalusi
With the PWM backed driver the PMU_STAT led's brighness can be controlled. This needs the new drivers for the TWL PWM/LED to work. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c | 39 ++--- 1 file changed, 31

[PATCH v2 2/8] ARM: OMAP: zoom: Zoom2 does not have extmute functionality

2013-01-18 Thread Peter Ujfalusi
The HS extmute is not used on Zoom2 boards. Furthermore the GPIO153 is used as IRQ for the TSC2004 touchscreen controller - for which we do not have driver upstream, yet. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c | 11 +++ 1 file

[PATCH 0/5] ARM: dts: OMAP3+: PWM support for TWL and selected boards

2013-01-18 Thread Peter Ujfalusi
Hi, Add the needed DT sections for twl4030 and twl6030 for the PWM childs. Update the omap4-sdp to have working backlight and keypad/charging LED support. Use the pwm-leds driver on BeagleBoard for the pmu_stat LED instead of the hacky twl403-gpio mapped PWM. Regards, Peter --- Peter Ujfalusi

[PATCH 1/5] ARM: dts: twl4030: Add PWM support

2013-01-18 Thread Peter Ujfalusi
Enable support for the PWMs and LEDs as PWM drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index ed0bc95..d216853

[PATCH 2/5] ARM: dts: twl6030: Add PWM support

2013-01-18 Thread Peter Ujfalusi
Enable support for the PWMs and LED as PWM drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/twl6030.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index 9996cfc..d9b8b21

[PATCH 3/5] ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED

2013-01-18 Thread Peter Ujfalusi
We have proper driver stack to handle the pmu_stat LED which is connected PWMB of twl4030. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap3-beagle-xm.dts | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git

[PATCH 4/5] ARM: dts: omap4-sdp: Add support for pwm-leds (keypad and charging LED)

2013-01-18 Thread Peter Ujfalusi
Sections to describe the pwm-leds in the system. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 43e5258..8101a94

[PATCH 5/5] ARM: dts: omap4-sdp: Add support for pwm-backlight

2013-01-18 Thread Peter Ujfalusi
Section to describe the backlight for the LCD panels. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 8101a94..c2dee41

Re: [PATCH v2 0/5] ARM: OMAP4: Enable AESS IP.

2013-01-18 Thread Sebastien Guiriec
Paul, Benoit, Any comments before I resend the serie with the minor comment for Felipe? Sebastien On 01/09/2013 04:03 PM, Sebastien Guiriec wrote: v2: - Add missing AESS memory banks. - Update the serie base on comments related earlier serie:

[PATCH 00/10] ARM: OMAP5: hwmod, clock and prm data files

2013-01-18 Thread Santosh Shilimkar
Series contains the hwmod, clock and prm data files for OMAP54xx SOCs. This data was kept out of tree to be validated on es2.0 silicon version and also to avoid the es1.0/es2.0 differences which are many. Benoit Cousson, Rajendra Nayak, Paul Walmesly and Mike have all contributed to get the

[PATCH 04/10] ARM: OMAP5: SCRM: Add OMAP54XX header file.

2013-01-18 Thread Santosh Shilimkar
From: Benoit Cousson b-cous...@ti.com Adding the OMAP5 specific header for SCRM module. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Benoit Cousson b-cous...@ti.com [santosh.shilim...@ti.com: Generated es2.0 data] Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com ---

[PATCH 09/10] ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data

2013-01-18 Thread Santosh Shilimkar
Add voltagedomain related data for OMAP54XX SOCs. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/voltage.h |1 + arch/arm/mach-omap2/voltagedomains54xx_data.c |

[PATCH 03/10] ARM: OMAP5: PRCM: Add OMAP54XX local MPU PRCM registers

2013-01-18 Thread Santosh Shilimkar
From: Benoit Cousson b-cous...@ti.com Add the PRCM MPU registers for OMAP54XX platforms. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Benoit Cousson b-cous...@ti.com [santosh.shilim...@ti.com: Generated es2.0 data] Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com ---

[PATCH 05/10] ARM: OMAP2+: clockdomain data: Add OMAP54XX data and update the header

2013-01-18 Thread Santosh Shilimkar
From: Benoit Cousson b-cous...@ti.com Add the data file to describe all clock domains inside the OMAP54XX soc. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Benoit Cousson b-cous...@ti.com [santosh.shilim...@ti.com: Generated es2.0 data] Signed-off-by: Santosh Shilimkar

[PATCH 10/10] ARM: OMAP5: Enable build and frameowrk initialisations

2013-01-18 Thread Santosh Shilimkar
Include the OMAP5 data files in build. Initialise the voltage, power, clock domains and the clock tree. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/Makefile |6 +- arch/arm/mach-omap2/io.c |9 + 2

[PATCH 06/10] ARM: OMAP5: powerdomain data: Add OMAP54XX data and update the header

2013-01-18 Thread Santosh Shilimkar
From: Benoit Cousson b-cous...@ti.com Add the data file to describe all power domains inside the OMAP54XX soc. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Benoit Cousson b-cous...@ti.com [santosh.shilim...@ti.com: Generated es2.0 data] Signed-off-by: Santosh Shilimkar

[PATCH 2/5] ARM: OMAP2+: timer: Update the OMAP5 clocksource name as per clock data

2013-01-18 Thread Santosh Shilimkar
OMAP5 clockdata has different sys clock clock node name. Fix the timer code to take care of it. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/timer.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/timer.c

[PATCH 3/5] ARM: OMAP: prm: Allow prm init to success on OMAP5 SOCs

2013-01-18 Thread Santosh Shilimkar
Allow prm init to success on OMAP5 SOCs. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/prm44xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index c05a343..1aae198 100644

[PATCH 4/5] ARM: dts: omap5-evm: Update available memory to 2032 MB

2013-01-18 Thread Santosh Shilimkar
On OMAP5 to detect invalid/bad memory accesses, 16MB of DDR is used as a trap. Hence available memory for linux OS is 2032 MB on boards popullated with 2 GB memory. Cc: Benoit Cousson b-cous...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/boot/dts/omap5-evm.dts

[PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Santosh Shilimkar
From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5 boot.. [0.00] arch_timer: No interrupt available, giving up Cc: Benoit Cousson b-cous...@ti.com Signed-off-by: Rajendra Nayak

Re: [PATCH] ARM: OMAP2: Fix missing omap2xxx_clkt_vps_xxx function calls

2013-01-18 Thread Jon Hunter
Hi Paul, On 01/17/2013 05:24 PM, Paul Walmsley wrote: Here's the updated version (at the bottom of this message). Seems to work based on a quick test on 2430SDP. # shutdown -r -n now shutdown: sending all processes the TERM signal... shutdown: sending all processes the KILL signal.

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Marc Zyngier
On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5 boot.. [0.00] arch_timer: No interrupt available, giving up Cc: Benoit Cousson

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Santosh Shilimkar
On Friday 18 January 2013 09:32 PM, Marc Zyngier wrote: On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5 boot.. [0.00] arch_timer: No

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Marc Zyngier
On 18/01/13 17:00, Santosh Shilimkar wrote: On Friday 18 January 2013 09:32 PM, Marc Zyngier wrote: On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch timer. This fixes the following errors seen on DT OMAP5

Re: [PATCH 08/10] ARM: OMAP5: hwmod data: Create initial OMAP5 SOC hwmod data

2013-01-18 Thread Tony Lindgren
Hi, * Santosh Shilimkar santosh.shilim...@ti.com [130118 07:30]: From: Benoit Cousson b-cous...@ti.com Adding the hwmod data for OMAP54xx platforms. --- /dev/null +++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c +/* bb2d */ +static struct omap_hwmod_irq_info omap54xx_bb2d_irqs[] = { +

Re: [PATCH 07/10] ARM: OMAP5: clock data: Add OMAP54XX full clock tree and headers

2013-01-18 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [130118 07:30]: From: Rajendra Nayak rna...@ti.com Add the clock tree related data for OMAP54xx platforms. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130118 01:03]: On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is pretty small and simple, so why not include it to at least fix the breakage in 3.7 and 3.8? Whether you take it or not

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [130118 02:15]: Hi Tony, On 01/18/2013 12:16 AM, Tony Lindgren wrote: Well we are planning to drop the non-DT support for omap4 as soon as it's usable with DT. Exactly, but right now we do have legacy and legacy should work in order to help for

[RFC PATCH] gpio/omap: fix pm_runtime for IRQ functions

2013-01-18 Thread Jan Luebbe
Other devices in the device tree can use omap-gpio as an interrupt controller with something like: interrupt-parent = gpio1; interrupts = 19 8; (in this case with #interrupt-cells = 2 in the gpio node to be able to configure the IRQ flags in DT) Currently this triggers an

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Felipe Balbi
Hi, On Fri, Jan 18, 2013 at 09:36:35AM -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130118 01:03]: On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is pretty small and simple, so why not include it to at

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130118 09:57]: Hi, On Fri, Jan 18, 2013 at 09:36:35AM -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130118 01:03]: On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is

Re: [PATCH 5/5] ARM: dts: OMAP5: Specify nonsecure PPI IRQ for arch timer

2013-01-18 Thread Santosh Shilimkar
On Friday 18 January 2013 10:38 PM, Marc Zyngier wrote: On 18/01/13 17:00, Santosh Shilimkar wrote: On Friday 18 January 2013 09:32 PM, Marc Zyngier wrote: On 18/01/13 15:32, Santosh Shilimkar wrote: From: Rajendra Nayak rna...@ti.com Specify both secure as well as nonsecure PPI IRQ for arch

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Luciano Coelho
On Fri, 2013-01-18 at 09:36 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130118 01:03]: On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is pretty small and simple, so why not include it to at least

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-18 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130118 11:12]: On Fri, 2013-01-18 at 09:36 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130118 01:03]: On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130117 10:04]: But this patch is pretty small

Re: [PATCH v8 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2013-01-18 Thread Ezequiel Garcia
Tony, On Tue, Jan 15, 2013 at 3:03 PM, Tony Lindgren t...@atomide.com wrote: * Daniel Mack zon...@gmail.com [130114 15:30]: On Jan 15, 2013 2:06 AM, Tony Lindgren t...@atomide.com wrote: * Ezequiel Garcia elezegar...@gmail.com [121223 13:49]: On Fri, Dec 14, 2012 at 7:36 AM, Daniel Mack

[PATCH 1/4] cpufreq: OMAP: use RCU locks around usage of OPP

2013-01-18 Thread Nishanth Menon
OPP pointer is RCU protected, hence after finding it, de-reference also should be protected with the same RCU context else the OPP pointer may become invalid. Reported-by: Alexander Holler hol...@ahsoftware.de Tested-by: Alexander Holler hol...@ahsoftware.de Acked-by: Alexander Holler

[PATCH 2/4] cpufreq: cpufreq-cpu0: use RCU locks around usage of OPP

2013-01-18 Thread Nishanth Menon
OPP pointer is RCU protected, hence after finding it, de-reference also should be protected with the same RCU context else the OPP pointer may become invalid. Reported-by: Jack Mitchell j...@embed.me.uk Tested-by: Alexander Holler hol...@ahsoftware.de Tested-by: Jack Mitchell j...@embed.me.uk

[PATCH 4/4] PM / devfreq: exynos4_bus: honor RCU lock usage

2013-01-18 Thread Nishanth Menon
OPP pointers cannot be expected to be valid beyond the boundary of rcu_read_lock and rcu_read_unlock. Unfortunately, the current exynos4 busfreq driver does not honor the usage constraint and stores the OPP pointer in struct busfreq_data. This could potentially become invalid later such as: across

[PATCH 3/4] PM / devfreq: add locking documentation for recommended_opp

2013-01-18 Thread Nishanth Menon
OPP pointers are protected by RCU locks, the pointer validity is permissible only under the section of rcu_read_lock to rcu_read_unlock Add documentation to the effect. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/devfreq/devfreq.c |5 + 1 file changed, 5 insertions(+) diff

Re: gpios reset when kernel starts

2013-01-18 Thread Peter Korsgaard
Cliff == Cliff Brake cliff.br...@gmail.com writes: Hi, Cliff I'm working with the 3.0 kernel on a 3730. It appears that when Cliff I set a GPIO to output and set it high in the bootloader, this Cliff gets reset when the kernel starts. Is this expected, and is Cliff there any workaround to

Re: [PATCH v8 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2013-01-18 Thread Tony Lindgren
* Ezequiel Garcia elezegar...@gmail.com [130118 11:43]: Tony, On Tue, Jan 15, 2013 at 3:03 PM, Tony Lindgren t...@atomide.com wrote: * Daniel Mack zon...@gmail.com [130114 15:30]: On Jan 15, 2013 2:06 AM, Tony Lindgren t...@atomide.com wrote: * Ezequiel Garcia elezegar...@gmail.com

Re: [PATCH v8 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2013-01-18 Thread Ezequiel Garcia
On Fri, Jan 18, 2013 at 6:11 PM, Tony Lindgren t...@atomide.com wrote: * Ezequiel Garcia elezegar...@gmail.com [130118 11:43]: Tony, On Tue, Jan 15, 2013 at 3:03 PM, Tony Lindgren t...@atomide.com wrote: * Daniel Mack zon...@gmail.com [130114 15:30]: On Jan 15, 2013 2:06 AM, Tony Lindgren

Re: [PATCH 0/4] OPP usage fixes for RCU locking

2013-01-18 Thread Rafael J. Wysocki
On Friday, January 18, 2013 01:52:31 PM Nishanth Menon wrote: Hi, Despite being documented in function documentation and in Documentation/power/opp.txt, many of the users of OPP APIs dont honor RCU lock usage appropriately. This recently appeared in IRC discussion earlier today [1]. I did