[PATCH v2 0/2] LOW power sleep support for TI PWM submodules

2013-01-17 Thread Philip Avinash
TI PWM sub modules like ECAP EHRPWM can enter in low power sleep state during low power transitions of the platforms (like in AM33XX). This patch series support low power sleep transition support. This patch series depend on [1] and [2] and tested for low sleep support on AM335x-evm for ECAP

[PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

[PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

Re: Help wanted with USB and OMAP3 off_mode

2013-01-17 Thread NeilBrown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Jan 2013 11:22:55 +1100 NeilBrown ne...@suse.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 16 Jan 2013 13:11:26 +0200 Igor Grinberg grinb...@compulab.co.il wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

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

2013-01-17 Thread Peter Ujfalusi
Hi Luca, On 01/16/2013 10:45 PM, Luciano Coelho wrote: The code to enable and disable the WiLink shared transport has been removed from the TI-ST driver, so it must be implemented in the board files instead. Add the relevant operations to Panda's board file. Additionally, add the UART2

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

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 10:30:15AM +0100, Peter Ujfalusi wrote: Hi Luca, On 01/16/2013 10:45 PM, Luciano Coelho wrote: The code to enable and disable the WiLink shared transport has been removed from the TI-ST driver, so it must be implemented in the board files instead. Add the

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

2013-01-17 Thread Luciano Coelho
On Thu, 2013-01-17 at 10:30 +0100, Peter Ujfalusi wrote: Hi Luca, Hi Péter! On 01/16/2013 10:45 PM, Luciano Coelho wrote: static struct ti_st_plat_data wilink_platform_data = { - .nshutdown_gpio = 46, .dev_name = /dev/ttyO1, .flow_cntrl = 1, .baud_rate =

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

2013-01-17 Thread Roger Quadros
On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: New platforms are 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 PHY whenever the USB

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread Roger Quadros
On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: This is in preparation for the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY and the USB controller should be specified in the platform

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

2013-01-17 Thread Peter Ujfalusi
On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver itself rather than in the board file. that can (should ?) be moved to

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

2013-01-17 Thread Peter Ujfalusi
Hi Luca, On 01/17/2013 10:35 AM, Luciano Coelho wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver itself rather than in the board file. I agree. The problem

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

2013-01-17 Thread Felipe Balbi
Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver

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

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 12:05:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in

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

2013-01-17 Thread Luciano Coelho
On Thu, 2013-01-17 at 12:09 +0200, Felipe Balbi wrote: On Thu, Jan 17, 2013 at 12:05:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You

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

2013-01-17 Thread Peter Ujfalusi
On 01/17/2013 11:35 AM, Luciano Coelho wrote: This out-of-tree code doesn't explain why we need to do the enable/disable in the board file. We just need to do things a bit differently in the driver. I'll start cleaning all this stuff up for -next pretty soon. For now, ie. 3.7 (stable) and

Re: [PATCH v3] gpio: twl4030: Cache the direction and output states in private data

2013-01-17 Thread Linus Walleij
On Thu, Jan 10, 2013 at 2:09 PM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 01/10/2013 11:41 AM, Linus Walleij wrote: Sorry Peter this must have been missed somehow. This does not apply to the current v3.8-rc3, could you respin this on top of Torvalds' tree? Grant applied the patch

Re: Help wanted with USB and OMAP3 off_mode

2013-01-17 Thread NeilBrown
On Wed, 16 Jan 2013 12:57:08 +0200 Roger Quadros rog...@ti.com wrote: On 01/16/2013 12:27 PM, NeilBrown wrote: On Wed, 16 Jan 2013 12:00:48 +0200 Roger Quadros rog...@ti.com wrote: On 01/09/2013 12:29 AM, NeilBrown wrote: Hi, I'm trying to get off_mode working reliably on my gta04

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread kishon
Hi, On Thursday 17 January 2013 03:09 PM, Roger Quadros wrote: On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: This is in preparation for the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY

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

2013-01-17 Thread kishon
Hi, On Thursday 17 January 2013 03:07 PM, Roger Quadros wrote: On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: New platforms are 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

Re: Help wanted with USB and OMAP3 off_mode

2013-01-17 Thread Roger Quadros
On 01/17/2013 01:01 PM, NeilBrown wrote: On Wed, 16 Jan 2013 12:57:08 +0200 Roger Quadros rog...@ti.com wrote: On 01/16/2013 12:27 PM, NeilBrown wrote: On Wed, 16 Jan 2013 12:00:48 +0200 Roger Quadros rog...@ti.com wrote: On 01/09/2013 12:29 AM, NeilBrown wrote: Hi, I'm trying to get

Re: [PATCH 1/3] mtd: omap-onenand: pass device_node in platform data

2013-01-17 Thread Artem Bityutskiy
On Tue, 2013-01-15 at 19:48 -0300, Ezequiel Garcia wrote: I saw you have acked the gpmc patch on nand. Can I add your Acked-by on this one, when I send the rebased patch set? Yes, I saw this series which depends on Daniel Mack's work. It looks good. You can add Acked-by: Artem Bityutskiy

Re: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-17 Thread Artem Bityutskiy
On Wed, 2013-01-16 at 12:22 +, Philip, Avinash wrote: This series is based on linux 3.8-rc2 and tested with [1]. Also this patch series depend on [1] for NAND flash device tree data and gpmc nand device tree binding documentation updates. 1. [PATCH v7 0/5] OMAP GPMC DT bindings

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread Vivek Gautam
Hi Kishon, On Wed, Jan 16, 2013 at 8:30 PM, Kishon Vijay Abraham I kis...@ti.com wrote: This is in preparation for the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY and the USB controller should

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread kishon
Hi, On Thursday 17 January 2013 05:41 PM, Vivek Gautam wrote: Hi Kishon, On Wed, Jan 16, 2013 at 8:30 PM, Kishon Vijay Abraham I kis...@ti.com wrote: This is in preparation for the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread Vivek Gautam
Hi Kishon, Thanks for the explanation. On Thu, Jan 17, 2013 at 6:01 PM, kishon kis...@ti.com wrote: Hi, On Thursday 17 January 2013 05:41 PM, Vivek Gautam wrote: Hi Kishon, On Wed, Jan 16, 2013 at 8:30 PM, Kishon Vijay Abraham I kis...@ti.com wrote: This is in preparation for the

Re: [PATCH v3] gpio: twl4030: Cache the direction and output states in private data

2013-01-17 Thread Peter Ujfalusi
Hi Linus, On 01/17/2013 11:43 AM, Linus Walleij wrote: On Thu, Jan 10, 2013 at 2:09 PM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 01/10/2013 11:41 AM, Linus Walleij wrote: Sorry Peter this must have been missed somehow. This does not apply to the current v3.8-rc3, could you respin

Re: [RFC v2 16/18] ARM: OMAP2+: AM33XX: Basic suspend resume support

2013-01-17 Thread Peter Korsgaard
V == Vaibhav Bedia vaibhav.be...@ti.com writes: Hi, V +static void am33xx_pm_firmware_cb(const struct firmware *fw, void *context) V +{ V + struct wkup_m3_context *wkup_m3_context = context; V + struct platform_device *pdev = to_platform_device(wkup_m3_context-dev); V + int ret = 0;

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

2013-01-17 Thread Michal Bachraty
Hi Peter, I made changes to cpsw driver two weeks ago, which add support for reading MAC address from CPU and also I posted it to review. You can find patch here : https://patchwork.kernel.org/patch/1966481/ I will create updated patch next week, depended on reactions. Can you try that

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

2013-01-17 Thread Sergei Shtylyov
Hello. On 01/15/2013 05:26 PM, kishon wrote: On 15-01-2013 12:42, 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

Re: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Thierry Reding
On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: From: Philip, Avinash avinashphi...@ti.com The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable() calls. This patch

Re: [PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Thierry Reding
On Thu, Jan 17, 2013 at 02:50:02PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: -

Re: [PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Thierry Reding
On Thu, Jan 17, 2013 at 02:50:03PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: -

Re: [RFC PATCH 3/6] usb: otg: utils: change the phy lib to support multiple PHYs of same type

2013-01-17 Thread Roger Quadros
On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: In order to add support for multipe PHY's of the same type, the API's for adding PHY and getting PHY has been changed. Now the binding information of the PHY and controller should be done in platform file using usb_bind_phy API. And for

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

2013-01-17 Thread Peter Korsgaard
Michal == Michal Bachraty michal.bachr...@gmail.com writes: Hi Michael, Michal I made changes to cpsw driver two weeks ago, which add support Michal for reading MAC address from CPU and also I posted it to Michal review. You can find patch here : Michal

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

2013-01-17 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [130117 02:44]: On 01/17/2013 11:35 AM, Luciano Coelho wrote: This out-of-tree code doesn't explain why we need to do the enable/disable in the board file. We just need to do things a bit differently in the driver. I'll start cleaning all this stuff

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

2013-01-17 Thread Tony Lindgren
* Peter Korsgaard jac...@sunsite.dk [130117 08:46]: Michal == Michal Bachraty michal.bachr...@gmail.com writes: Hi Michael, Michal I made changes to cpsw driver two weeks ago, which add support Michal for reading MAC address from CPU and also I posted it to Michal review. You can

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

2013-01-17 Thread Luciano Coelho
Hi Tony, On Thu, 2013-01-17 at 09:31 -0800, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [130117 02:44]: On 01/17/2013 11:35 AM, Luciano Coelho wrote: This out-of-tree code doesn't explain why we need to do the enable/disable in the board file. We just need to do things a

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

2013-01-17 Thread Paul Walmsley
On Mon, 14 Jan 2013, Aaro Koskinen wrote: N900 boot is unstable again, I2C issues are back. Boot succeeds and fails randomly. Let's see if this can be bisected. The same kernel works on N950. Thanks, I've added a section about this to the v3.8-rc3 test summary. - Paul -- To unsubscribe

Re: [RFC v2 12/18] ARM: OMAP2+: timer: Add suspend-resume callbacks for clockevent device

2013-01-17 Thread Jon Hunter
On 12/31/2012 07:07 AM, Vaibhav Bedia wrote: The current OMAP timer code registers two timers - one as clocksource and one as clockevent. AM33XX has only one usable timer in the WKUP domain so one of the timers needs suspend-resume support to restore the configuration to pre-suspend state.

Re: [RFC v2 12/18] ARM: OMAP2+: timer: Add suspend-resume callbacks for clockevent device

2013-01-17 Thread Jon Hunter
On 01/10/2013 10:37 PM, Bedia, Vaibhav wrote: On Tue, Jan 08, 2013 at 20:45:10, Shilimkar, Santosh wrote: On Monday 31 December 2012 06:37 PM, Vaibhav Bedia wrote: The current OMAP timer code registers two timers - one as clocksource and one as clockevent. AM33XX has only one usable timer in

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

2013-01-17 Thread Paul Walmsley
Hi Jon On Thu, 10 Jan 2013, Jon Hunter wrote: During the migration to the common clock framework, calls to the functions omap2xxx_clkt_vps_late_init() and omap2xxx_clkt_vps_check_bootloader_rates() were not preserved for OMAP2420 and OMAP2430. This causes the variables sys_ck_rate and

Re: [RFC v2 13/18] ARM: OMAP2+: AM33XX: timer: Interchance clkevt and clksrc timers

2013-01-17 Thread Jon Hunter
On 12/31/2012 07:07 AM, Vaibhav Bedia wrote: AM33XX has two timers (DTIMER0/1) in the WKUP domain. On GP devices the source of DMTIMER0 is fixed to an inaccurate internal 32k RC oscillator and this makes the DMTIMER0 practically either as a clocksource or as clockevent. Currently the

Re: [PATCH 00/15] OMAP SHAM AES Crypto Updates

2013-01-17 Thread Paul Walmsley
Hi Mark, I regret the delay, On Tue, 8 Jan 2013, Mark A. Greer wrote: On Sun, Dec 23, 2012 at 08:40:43AM +, Paul Walmsley wrote: - The patch series causes AM3517/3505 to crash. I'd guess this is due to the SHAM/AES modules being initialized on those chips, but they probably don't

Re: [PATCH] ARM: OMAP AM3517/05: hwmod data: block WFI when EMAC active

2013-01-17 Thread Paul Walmsley
Hi Mark On Tue, 8 Jan 2013, Mark A. Greer wrote: Sorry to nag but I think the comment needs to be updated to remove the sentence about the missing EMAC hwmod. You are absolutely right, and the correction is very much appreciated. Updated patch follows. - Paul From: Paul Walmsley

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

2013-01-17 Thread Jon Hunter
Hi Paul, On 01/17/2013 12:51 PM, Paul Walmsley wrote: Hi Jon On Thu, 10 Jan 2013, Jon Hunter wrote: During the migration to the common clock framework, calls to the functions omap2xxx_clkt_vps_late_init() and omap2xxx_clkt_vps_check_bootloader_rates() were not preserved for OMAP2420 and

Re: Help wanted with USB and OMAP3 off_mode

2013-01-17 Thread NeilBrown
On Thu, 17 Jan 2013 13:29:07 +0200 Roger Quadros rog...@ti.com wrote: On 01/17/2013 01:01 PM, NeilBrown wrote: On Wed, 16 Jan 2013 12:57:08 +0200 Roger Quadros rog...@ti.com wrote: On 01/16/2013 12:27 PM, NeilBrown wrote: On Wed, 16 Jan 2013 12:00:48 +0200 Roger Quadros rog...@ti.com

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

2013-01-17 Thread Peter Korsgaard
When booting with CONFIG_ARM_APPENDED_DTB (either because of using an old U-Boot, not wanting the hassle of 2 files or when using Falcon fast boot mode in U-Boot), nothing updates the ethernet hwaddr specified for the CPSW slaves, causing the driver to use a random hwaddr, which is some times

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

2013-01-17 Thread Peter Korsgaard
Tony == Tony Lindgren t...@atomide.com writes: Hi, The way I've handled it is similar to how it is done on atleast one other arm subarchicture, see arch/arm/mach-mxs/mach-mxs.c::update_fec_mac_prop() Tony Cool this seems like the cleanest way to deal with it so far. Can Tony you please

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

2013-01-17 Thread Paul Walmsley
Hi Jon, On Thu, 17 Jan 2013, Jon Hunter wrote: Yes I still see it. You don't see it on reboot? Ah that's probably explains the discrepancy - I missed the part about the reboot. The reason why there is such a large number is because omap2_round_to_table_rate() is returning the value

Re: [PATCH 00/15] OMAP SHAM AES Crypto Updates

2013-01-17 Thread Mark A. Greer
On Thu, Jan 17, 2013 at 07:13:36PM +, Paul Walmsley wrote: Hi Mark, Hi Paul. I regret the delay, On Tue, 8 Jan 2013, Mark A. Greer wrote: On Sun, Dec 23, 2012 at 08:40:43AM +, Paul Walmsley wrote: - The patch series causes AM3517/3505 to crash. I'd guess this is due to

Re: [PATCH] ARM: OMAP AM3517/05: hwmod data: block WFI when EMAC active

2013-01-17 Thread Mark A. Greer
On Thu, Jan 17, 2013 at 07:21:42PM +, Paul Walmsley wrote: Hi Mark On Tue, 8 Jan 2013, Mark A. Greer wrote: Sorry to nag but I think the comment needs to be updated to remove the sentence about the missing EMAC hwmod. You are absolutely right, and the correction is very much

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

2013-01-17 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130117 10:04]: Hi Tony, On Thu, 2013-01-17 at 09:31 -0800, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [130117 02:44]: On 01/17/2013 11:35 AM, Luciano Coelho wrote: This out-of-tree code doesn't explain why we need to do the

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

2013-01-17 Thread Paul Walmsley
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. shutdown: turning off swap shutdown: unmounting all file systems

Re: [PATCH 0/5] staging: tidspbridge: for 3.9

2013-01-17 Thread Greg Kroah-Hartman
On Thu, Jan 10, 2013 at 03:36:57AM -0600, Omar Ramirez Luna wrote: Patches for staging-next, fixing comments and suggestions provided by Chen Gang. There is an additional scm patch, that removes hardcoded defines related to direct register handling for SCM, it was dependent on changes that

Re: [PATCH 0/5] staging: tidspbridge: for 3.9

2013-01-17 Thread Tony Lindgren
* Greg Kroah-Hartman gre...@linuxfoundation.org [130117 16:51]: On Thu, Jan 10, 2013 at 03:36:57AM -0600, Omar Ramirez Luna wrote: Patches for staging-next, fixing comments and suggestions provided by Chen Gang. There is an additional scm patch, that removes hardcoded defines related

RE: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 17:36:15, Artem Bityutskiy wrote: On Wed, 2013-01-16 at 12:22 +, Philip, Avinash wrote: This series is based on linux 3.8-rc2 and tested with [1]. Also this patch series depend on [1] for NAND flash device tree data and gpmc nand device tree binding

RE: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote: On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: From: Philip, Avinash avinashphi...@ti.com The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than

RE: [PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:04, Thierry Reding wrote: On Thu, Jan 17, 2013 at 02:50:02PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip

RE: [PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:14, Thierry Reding wrote: On Thu, Jan 17, 2013 at 02:50:03PM +0530, Philip Avinash wrote: In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip

[PATCH] ARM: OMAP: gpmc: Add device tree documentation for elm handle

2013-01-17 Thread Philip Avinash
In case ELM module available, omap2 NAND driver can opt for hardware correction method for bit flip errors in NAND flash with BCH. Hence the detection of ELM module is done through devicetree population of elm_id. This patch update device tree documentation for gpmc-nand for elm-id data

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

2013-01-17 Thread Mugunthan V N
On 1/18/2013 3:48 AM, Peter Korsgaard wrote: When booting with CONFIG_ARM_APPENDED_DTB (either because of using an old U-Boot, not wanting the hassle of 2 files or when using Falcon fast boot mode in U-Boot), nothing updates the ethernet hwaddr specified for the CPSW slaves, causing the driver

Re: [RFC v2 12/18] ARM: OMAP2+: timer: Add suspend-resume callbacks for clockevent device

2013-01-17 Thread Santosh Shilimkar
On Friday 18 January 2013 12:15 AM, Jon Hunter wrote: On 01/10/2013 10:37 PM, Bedia, Vaibhav wrote: On Tue, Jan 08, 2013 at 20:45:10, Shilimkar, Santosh wrote: On Monday 31 December 2012 06:37 PM, Vaibhav Bedia wrote: The current OMAP timer code registers two timers - one as clocksource and

Re: [RFC PATCH 3/6] usb: otg: utils: change the phy lib to support multiple PHYs of same type

2013-01-17 Thread kishon
Hi, On Thursday 17 January 2013 09:37 PM, Roger Quadros wrote: On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: In order to add support for multipe PHY's of the same type, the API's for adding PHY and getting PHY has been changed. Now the binding information of the PHY and controller

[PATCH 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-17 Thread Philip Avinash
This patch series adds device tree support for NAND flash in am335x-evm. Also ELM node is populated in device tree and been used for BCH error correction in NAND flash part. Also this patch series ensures RBL ecc layout maintained in Linux kernel with BCH8 ecc scheme. This patch series based on

[PATCH 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-17 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi

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

2013-01-17 Thread Philip Avinash
From: Philip, Avinash avinashphi...@ti.com Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi

[PATCH 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-01-17 Thread Philip Avinash
NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am335x-evm with GPMC controller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id, pin-mux setup. Signed-off-by: Philip Avinash avinashphi...@ti.com ---

Re: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Thierry Reding
On Fri, Jan 18, 2013 at 04:18:27AM +, Philip, Avinash wrote: On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote: On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: From: Philip, Avinash avinashphi...@ti.com The clock framework has changed and it's now better to

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

2013-01-17 Thread Vaibhav Bedia
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 santosh.shilim...@ti.com --- Change from RFC version: Clarify

[PATCH 3/9] ARM: OMAP2+: AM33XX: hwmod: Register OCMC RAM hwmod

2013-01-17 Thread Vaibhav Bedia
OCMC RAM lies in the PER power domain and this memory support retention. 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/omap_hwmod_33xx_data.c | 47

[PATCH 2/9] ARM: OMAP2+: AM33XX: CM/PRM: Use __ASSEMBLER__ macros in header files

2013-01-17 Thread Vaibhav Bedia
This is necessary to ensure that macros declared here can be reused from assembly files. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com --- Change from RFC version: Get rid of extra lines arch/arm/mach-omap2/cm33xx.h |2 ++

[PATCH 6/9] ARM: OMAP2+: AM33XX: hwmod: Update the WKUP-M3 hwmod with reset status bit

2013-01-17 Thread Vaibhav Bedia
WKUP-M3 has a reset status bit (RM_WKUP_STST.WKUP_M3_LRST) Update the WKUP-M3 hwmod data to reflect the same. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com --- Change from RFC version: No change arch/arm/mach-omap2/omap_hwmod_33xx_data.c |1 + 1 files changed, 1 insertions(+), 0

[PATCH 8/9] ARM: DTS: AM33XX: Add nodes for OCMC RAM and WKUP-M3

2013-01-17 Thread Vaibhav Bedia
Since AM33XX supports only DT-boot, this is needed for the appropriate device nodes to be created. Note: OCMC RAM is part of the PER power domain and supports retention. The assembly code for low power entry/exit will run from OCMC RAM. To ensure that the OMAP PM code does not attempt to disable

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

2013-01-17 Thread Vaibhav Bedia
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 |7 +-- 1 files changed, 1 insertions(+), 6

[PATCH 0/9] ARM: OMAP2+: AM33XX: Misc fixes/updates

2013-01-17 Thread Vaibhav Bedia
Hi, The following patches were earlier posted as part the AM33XX suspend-resume support series [1]. Based on the suggestion from Santosh Shilimkar santosh.shilim...@ti.com i have split out the changes which update the various data files related to AM33XX support. These patches apply on top of

[PATCH 7/9] ARM: OMAP2+: AM33XX: Update the hardreset API

2013-01-17 Thread Vaibhav Bedia
WKUP-M3 has a reset status bit (RM_WKUP_STST.WKUP_M3_LRST) Update the hardreset API to ensure that the reset line properly deasserted. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com --- Change from RFC version: No change

[PATCH 9/9] ARM: OMAP2+: AM33XX: control: Add some control module registers and APIs

2013-01-17 Thread Vaibhav Bedia
Add minimal APIs for writing to the IPC and the M3_TXEV registers in the Control module. These will be used in a subsequent patch which adds suspend-resume support for AM33XX. Signed-off-by: Vaibhav Bedia vaibhav.be...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com --- Change from

[PATCH 5/9] ARM: OMAP2+: AM33XX: hwmod: Fixup cpgmac0 hwmod entry

2013-01-17 Thread Vaibhav Bedia
The current HWMOD code expects the memory region with the IP's SYSCONFIG register to be marked with ADDR_TYPE_RT flag. CPGMAC0 hwmod entry specifies two memory regions and marks both with the flag ADDR_TYPE_RT although only the 2nd region has the SYSCONFIG register. This leads to the HWMOD code