DT: of_platform_populate Vs of_platform_bus_probe.

2012-10-31 Thread Srinivas KANDAGATLA
Hi All, I have few queries on of_platform_populate and of_platform_bus_probe functions. Use-case is, I want to explicitly register platform devices from some nodes at post-core or late-init level(like child@1). And I don't want of_platform_populate to register platform devices for that node

Re: DT: of_platform_populate Vs of_platform_bus_probe.

2012-11-01 Thread Srinivas KANDAGATLA
On 31/10/12 15:21, Rob Herring wrote: On 10/31/2012 09:54 AM, Srinivas KANDAGATLA wrote: Hi All, I have few queries on of_platform_populate and of_platform_bus_probe functions. Use-case is, I want to explicitly register platform devices from some nodes at post-core or late-init level

[RFC PATCH 3.7.0-rc2] dt/platform: insert resources correctly into resource tree

2012-11-02 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch add new code to correctly add resources into platform device. Issue with the existing code was the resources are added as flat entry without creating any tree, this is very much different to what non-dt platform code does

Re: [RFC PATCH 3.7.0-rc2] dt: match id-table before creating platform device

2012-10-24 Thread Srinivas KANDAGATLA
On 23/10/12 14:15, Rob Herring wrote: Adding lkml. DT patches should go to both lists. On 10/23/2012 05:30 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As part of of_platform_populate call, the existing code iterates each child node and then creates

Re: [RFC PATCH 3.7.0-rc2] dt: match id-table before creating platform device

2012-10-26 Thread Srinivas KANDAGATLA
On 23/10/12 14:15, Rob Herring wrote: re-sending my reply again, as it did not appear in my inbox from dt mailing list. Adding lkml. DT patches should go to both lists. On 10/23/2012 05:30 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As part

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-03 Thread Srinivas KANDAGATLA
On 01/02/13 19:25, Stephen Warren wrote: On 02/01/2013 10:27 AM, Stephen Warren wrote: On 02/01/2013 09:51 AM, Rob Herring wrote: On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Srinivas KANDAGATLA
$(DTC_FLAGS) $(dtc-tmp) Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com Thanks, srini On 02/01/13 18:43, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Create cmd_dtc_cpp to run the C pre-processor on *.dts file before passing them to dtc for final compilation

Re: [RFC PATCH 3.7.0-rc2] dt/platform: insert resources correctly into resource tree

2012-11-15 Thread Srinivas KANDAGATLA
On 15/11/12 13:11, Grant Likely wrote: On Fri, 2 Nov 2012 10:46:19 +, Srinivas KANDAGATLA srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch add new code to correctly add resources into platform device. Issue with the existing code

Re: [PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Srinivas KANDAGATLA
Hi Alex, I am looking forward for this feature to be mainlined, but I have comment on the way the types are tied up to power seq infrastructure. I know your use case are limited to using type delay, pwm and gpio and regulator, However there are instances where the devices can be powered up or

Re: [PATCH v8 1/3] Runtime Interpreted Power Sequences

2012-11-16 Thread Srinivas KANDAGATLA
On 16/11/12 08:31, Alex Courbot wrote: Hi Srinivas, On Friday 16 November 2012 15:58:29 Srinivas KANDAGATLA wrote: Hi Alex, I am looking forward for this feature to be mainlined, *cough* Ack *cough* :) :-) but I have comment on the way the types are tied up to power seq infrastructure. I

[PATCH] clk: prevent out of bounds access of clock parent arrays

2013-08-02 Thread Srinivas KANDAGATLA
From: Stephen Gallimore stephen.gallim...@st.com Clocks implementing the get_parent() op may return an invalid parent index if the hardware is in an undefined state when the clock is created. However the calls of get_parent() in clk.c do not check that the returned index is in range before using

Re: [PATCH v6] serial:st-asc: Add ST ASC driver.

2013-07-25 Thread Srinivas KANDAGATLA
Hi Greg, Am not sure if you missed this patch. Can you please consider this for 3.12. Thanks, srini On 15/07/13 12:39, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ASC (asynchronous serial controller) driver, which is basically

Re: [PATCH v1 0/4] ARM: STi fixes and ethernet support

2013-07-10 Thread Srinivas KANDAGATLA
Hi Arnd, On 09/07/13 22:15, Arnd Bergmann wrote: For DT case, At the moment I think callbacks at MACH level is one possible solution. But am open for any discussions. Ok, so a PHY driver might not be the best place to put this, but it's one option, since the PHY driver already has to know

[PATCH RFC] media: lirc: Allow lirc dev to talk to rc device

2013-07-12 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The use case is simple, if any rc device has allowed protocols = RC_TYPE_LIRC and map_name = RC_MAP_LIRC set, the driver open will be never called. The reason for this is, all of the key maps except lirc have some KEYS in there map, so during

Re: [PATCH RFC] media: lirc: Allow lirc dev to talk to rc device

2013-07-15 Thread Srinivas KANDAGATLA
Thanks Sean for the comments, On 12/07/13 13:46, Sean Young wrote: On Fri, Jul 12, 2013 at 09:55:28AM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com The use case is simple, if any rc device has allowed protocols = RC_TYPE_LIRC and map_name = RC_MAP_LIRC

[PATCH v6] serial:st-asc: Add ST ASC driver.

2013-07-15 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across all the ST parts for settop box platforms. ASC is embedded in ST COMMS IP block. It supports Rx Tx

[PATCH v3 07/10] ARM:multi_v7_defconfig: rerun savedefconfig

2013-06-20 Thread Srinivas KANDAGATLA
of new SOC addition to multi_v7_defconfig. I wanted this to be in a seperate patch, as these options are not related any of the new SOC support. Already some discussion at:https://patchwork.kernel.org/patch/2696481 Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/configs

[PATCH v3 04/10] ARM:stixxxx: Add STiH415 SOC support

2013-06-20 Thread Srinivas KANDAGATLA
The STiH415 is the next generation of HD, AVC set-top box processors for satellite, cable, terrestrial and IP-STB markets. It is an ARM Cortex-A9 1.0 GHz, dual-core CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy

[PATCH v3 05/10] ARM:stixxxx: Add STiH416 SOC support

2013-06-20 Thread Srinivas KANDAGATLA
The STiH416 is advanced HD AVC processor with 3D graphics acceleration and 1.2-GHz ARM Cortex-A9 SMP CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy stuart.men...@st.com CC: Arnd Bergmann a...@arndb.de CC: Linus

[PATCH v3 02/10] clocksource:arm_global_timer: Add ARM global timer support.

2013-06-20 Thread Srinivas KANDAGATLA
Interrupt. The global timer is clocked by PERIPHCLK. Signed-off-by: Stuart Menefy stuart.men...@st.com Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Arnd Bergmann a...@arndb.de CC: Rob Herring robherri...@gmail.com CC: Linus Walleij linus.wall...@linaro.org CC: Will Deacon will.dea

[PATCH v3 08/10] ARM:stixxxx: Add stixxxx options to multi_v7_defconfig

2013-06-20 Thread Srinivas KANDAGATLA
This patch adds stih415 and stih416 support to multi_v7_defconfig. CONFIG_ARM_ERRATA_754322 is removed as it is selected by the sti mach level kconfig. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/configs/multi_v7_defconfig |4 +++- 1 files changed, 3

[PATCH v3 09/10] ARM:stih41x: Add B2000 board support

2013-06-20 Thread Srinivas KANDAGATLA
B2000 board is reference board for STIH415/416 SOCs, it has 2 x UART, 4x USB, 2 x Ethernet, 1 x SATA, 1 x PCIe, and 1GB RAM. This patch add initial support to b2000 with STiH415/416 with UART2 as console and a heard beat LED. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC

[PATCH v3 00/10] ARM:STixxxx: Add STixxxx platform and board support

2013-06-20 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com Thankyou all for reviewing the v2 patches. Here is patch-set incorporating all the review comments from v2. This patch-set adds basic support for STMicroelectronics STi SOCs which includes STiH415 and STiH416 with B2000 and B2020 board

[PATCH v3 10/10] ARM:stih41x: Add B2020 board support

2013-06-20 Thread Srinivas KANDAGATLA
a/arch/arm/boot/dts/stih415-b2020.dts b/arch/arm/boot/dts/stih415-b2020.dts new file mode 100644 index 000..442b019 --- /dev/null +++ b/arch/arm/boot/dts/stih415-b2020.dts @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2013 STMicroelectronics (RD) Limited. + * Author: Srinivas Kandagatla srinivas.kandaga

[PATCH v3 01/10] serial:st-asc: Add ST ASC driver.

2013-06-20 Thread Srinivas KANDAGATLA
rates. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy stuart.men...@st.com CC: Arnd Bergmann a...@arndb.de CC: Greg Kroah-Hartman gre...@linuxfoundation.org --- .../devicetree/bindings/tty/serial/st-asc.txt | 18

[PATCH v3 06/10] ARM:stixxxx: Add DEBUG_LL console support

2013-06-20 Thread Srinivas KANDAGATLA
This patch adds low level debug uart support to sti based SOCs. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Arnd Bergmann a...@arndb.de --- arch/arm/Kconfig.debug | 38 +++ arch/arm/include/debug/sti.S | 61

[PATCH v3 03/10] pinctrl:st: Add pinctrl and pinconf support.

2013-06-20 Thread Srinivas KANDAGATLA
the signal. About driver: This pinctrl driver manages both PIO and PIO-mux block using pinctrl, pinconf, pinmux, gpio subsystems. All the pinctrl related config information can only come from device trees. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore

Re: [PATCH v3 06/10] ARM:stixxxx: Add DEBUG_LL console support

2013-06-21 Thread Srinivas KANDAGATLA
On 20/06/13 19:55, Arnd Bergmann wrote: On Thursday 20 June 2013, Srinivas KANDAGATLA wrote: --- a/arch/arm/mach-sti/board-dt.c +++ b/arch/arm/mach-sti/board-dt.c @@ -11,6 +11,7 @@ #include linux/clocksource.h #include linux/irq.h #include asm/hardware/cache-l2x0.h +#include asm

Re: [PATCH v3 02/10] clocksource:arm_global_timer: Add ARM global timer support.

2013-06-21 Thread Srinivas KANDAGATLA
On 20/06/13 20:02, Arnd Bergmann wrote: On Thursday 20 June 2013, Srinivas KANDAGATLA wrote: +static u64 gt_counter_read(void) +{ + u64 counter; + u32 lower; + u32 upper, old_upper; + + upper = __raw_readl(gt_base + GT_COUNTER1); + do

Re: [PATCH v3 01/10] serial:st-asc: Add ST ASC driver.

2013-06-21 Thread Srinivas KANDAGATLA
On 20/06/13 20:01, Arnd Bergmann wrote: On Thursday 20 June 2013, Srinivas KANDAGATLA wrote: This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across all the ST parts for settop box platforms. ASC

[PATCH v4 0/7] ARM:STixxxx: Add STixxxx platform and board support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com Thankyou all for reviewing the v3 patches. This patch-set adds basic support for STMicroelectronics STi SOCs which includes STiH415 and STiH416 with B2000 and B2020 board support. STiH415 and STiH416 are dual-core ARM Cortex-A9 CPU

[PATCH v4 2/7] ARM:stixxxx: Add STiH416 SOC support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The STiH416 is advanced HD AVC processor with 3D graphics acceleration and 1.2-GHz ARM Cortex-A9 SMP CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy stuart.men

[PATCH v4 1/7] ARM:stixxxx: Add STiH415 SOC support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The STiH415 is the next generation of HD, AVC set-top box processors for satellite, cable, terrestrial and IP-STB markets. It is an ARM Cortex-A9 1.0 GHz, dual-core CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen

[PATCH v4 4/7] ARM:multi_v7_defconfig: rerun savedefconfig

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch is generated after re-running savedefconfig on top of multi_v7_defconfig which gets rid of some of the options, as they are now slected by mach level or other Kconfigs. The reason to generate this patch is because, it becomes

[PATCH v4 6/7] ARM:stih41x: Add B2000 board support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com B2000 board is reference board for STIH415/416 SOCs, it has 2 x UART, 4x USB, 2 x Ethernet, 1 x SATA, 1 x PCIe, and 1GB RAM. This patch add initial support to b2000 with STiH415/416 with UART2 as console and a heard beat LED. Signed-off

[PATCH v4 7/7] ARM:stih41x: Add B2020 board support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com B2020 ADI board is reference board for STIH415/416 SOCs, it has 2 x UART, 4x USB, 1 x Ethernet, 1 x SATA, 1 x PCIe, and 2GB RAM with standard set-top box IPs. This patch adds initial support to B2020 with STiH415/416 with SBC_UART1 as console

[PATCH v4 5/7] ARM:stixxxx: Add stixxxx options to multi_v7_defconfig

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds stih415 and stih416 support to multi_v7_defconfig. CONFIG_ARM_ERRATA_754322 is removed as it is selected by the sti mach level kconfig. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/configs

[PATCH v4 3/7] ARM:stixxxx: Add DEBUG_LL console support

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds low level debug uart support to sti based SOCs. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Arnd Bergmann a...@arndb.de --- arch/arm/Kconfig.debug | 35 + arch/arm

[PATCH v4] clocksource:arm_global_timer: Add ARM global timer support.

2013-06-21 Thread Srinivas KANDAGATLA
Interrupt. The global timer is clocked by PERIPHCLK. Signed-off-by: Stuart Menefy stuart.men...@st.com Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Arnd Bergmann a...@arndb.de CC: Rob Herring robherri...@gmail.com CC: Linus Walleij linus.wall...@linaro.org CC: Will Deacon will.dea

Re: [PATCH v3 03/10] pinctrl:st: Add pinctrl and pinconf support.

2013-06-21 Thread Srinivas KANDAGATLA
=67252287871113deba96adf7e4df1752f3f08688 Thanks, srini On 20/06/13 15:05, Srinivas KANDAGATLA wrote: This patch add pinctrl support to ST SoCs. About hardware: ST Set-Top-Box parts have two blocks called PIO and PIO-mux which handle pin configurations. Each multi-function pin is controlled, driven and routed through

Re: [PATCH v3 01/10] serial:st-asc: Add ST ASC driver.

2013-06-21 Thread Srinivas KANDAGATLA
industry standard baud rates. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy stuart.men...@st.com CC: Arnd Bergmann a...@arndb.de CC: Greg Kroah-Hartman gre...@linuxfoundation.org From my point of view the series

[PATCH v4] serial:st-asc: Add ST ASC driver.

2013-06-21 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across all the ST parts for settop box platforms. ASC is embedded in ST COMMS IP block. It supports Rx Tx

[PATCH v1 0/2] Allow rc device to open from lirc

2013-07-19 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com Thankyou for providing comments on RFC patch. This patchset adds new members to rc_device structure to open rc device from code other than rc-main. In the current code rc-device is only opened via input driver. In cases where rc device

[PATCH v1 1/2] media: rc: Add user count to rc dev.

2013-07-19 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds user count to rc_dev structure, the reason to add this new member is to allow other code like lirc to open rc device directly. In the existing code, rc device is only opened by input subsystem which works ok if we have any input

[PATCH v1 2/2] media: lirc: Allow lirc dev to talk to rc device

2013-07-19 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The use case is simple, if any rc device has allowed protocols = RC_TYPE_LIRC and map_name = RC_MAP_LIRC set, the driver open will be never called. The reason for this is, all of the key maps except lirc have some KEYS in there map, so during

Re: [PATCH v1 1/2] media: rc: Add user count to rc dev.

2013-07-19 Thread Srinivas KANDAGATLA
On 19/07/13 12:01, Sean Young wrote: +int rval = 0; -return rdev-open(rdev); +if (!rdev-users++) +rval = rdev-open(rdev); + +if (rval) +rdev-users--; + +return rval; This looks racey. Some locking is needed, I think rc_dev-lock should

[PATCH v7] serial:st-asc: Add ST ASC driver.

2013-07-31 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across all the ST parts for settop box platforms. ASC is embedded in ST COMMS IP block. It supports Rx Tx

Re: [PATCH 1/2] pinctrl: st: Convert to use devm_ioremap_resource

2013-07-31 Thread Srinivas KANDAGATLA
)) + return PTR_ERR(bank-base); bank-gpio_chip = st_gpio_template; bank-gpio_chip.base = bank_num * ST_GPIO_PINS_PER_BANK; Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 2/2] pinctrl: st: Staticize local symbols

2013-07-31 Thread Srinivas KANDAGATLA
*st_pmx_get_fname(struct pinctrl_dev *pctldev, unsigned selector) { struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-10-02 Thread Srinivas KANDAGATLA
On 01/10/13 15:49, Mauro Carvalho Chehab wrote: Btw, we're even thinking on mapping HDMI-CEC remote controller RX/TX via the RC subsystem. So, another L1 protocol would be hdmi-cec. Ok. Yet, it seems unlikely that the very same remote controller IP would use a different

Re: [PATCH] ARM: STi: remove unused Kconfig parameters

2013-09-18 Thread Srinivas KANDAGATLA
Hi Michael. On 18/09/13 04:23, Michael Opdenacker wrote: This patch proposes to remove the 'SOC_STIH415' and 'SOC_STIH416' parameters, which are used nowhere else in the source code and Makefiles. Will they be needed in code that hasn't been submitted yet? Yes, we will be using it in future

Re: [PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-18 Thread Srinivas KANDAGATLA
On 18/09/13 13:46, Maxime COQUELIN wrote: On 09/18/2013 02:03 PM, Lee Jones wrote: This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/boot/dts/stih416-pinctrl.dtsi

[PATCH v4] media: st-rc: Add ST remote control driver

2013-09-19 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP (IRB) is common across all the ST parts for settop box platforms. IRB is embedded in ST COMMS IP block. It supports both Rx Tx functionality

Re: [PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-19 Thread Srinivas KANDAGATLA
On 19/09/13 08:16, Maxime COQUELIN wrote: Hi Srini, On 09/18/2013 03:17 PM, Srinivas KANDAGATLA wrote: On 18/09/13 13:46, Maxime COQUELIN wrote: On 09/18/2013 02:03 PM, Lee Jones wrote: This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla srinivas.kandaga

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread srinivas kandagatla
On 17/10/13 08:27, Maxime COQUELIN wrote: ... + +static struct of_device_id st_i2c_match[] = { + { .compatible = st,comms-ssc-i2c, }, the rules is to put the first soc that use the ip in the compatible as st,sti7100-scc-i2c Ok. There are no plans to upstream the SH4 platforms, it

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-17 Thread srinivas kandagatla
On 17/10/13 15:19, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:33 Thu 17 Oct , srinivas kandagatla wrote: On 17/10/13 08:27, Maxime COQUELIN wrote: ... + +static struct of_device_id st_i2c_match[] = { + { .compatible = st,comms-ssc-i2c, }, the rules is to put the first soc

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-18 Thread srinivas kandagatla
On 17/10/13 15:49, Lucas Stach wrote: Am Donnerstag, den 17.10.2013, 15:30 +0100 schrieb srinivas kandagatla: [...] Sorry to ask this but, Where is this requirement coming from? I have not spotted any thing as such in ePAPR specs. All the spec says is. === The compatible property value

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-10-18 Thread srinivas kandagatla
Thanks Mark, The blocking issue for st-rc driver is now closed. On 18/10/13 12:37, Mark Rutland wrote: Mauro C. had an option that this is not a real use-case and let's not overdesign the API, thinking on a possible scenario that may never happen. Do you still think that this use case

Re: [PATCH RFC 0/9]net: stmmac PM related fixes.

2013-12-02 Thread srinivas kandagatla
: Srinivas Kandagatla srinivas.kandaga...@st.com Hi Peppe, During PM_SUSPEND_FREEZE testing, I have noticed that PM support in STMMAC is partly broken. I had to re-arrange the code to do PM correctly. There were lot of things I did not like personally and some bits did not work in the first

Re: [PATCH RFC 08/10] net: stmmac:sti: Add STi SOC glue driver.

2013-12-02 Thread srinivas kandagatla
Hi Maxime, Thankyou for the comments. On 29/11/13 19:37, Maxime Ripard wrote: + +ethernet0: ethernet0{ + #address-cells = 1; + #size-cells = 1; + compatible = st,stih415-dwmac; + reg = 0x148 0x4; + resets = softreset

Re: [PATCH v3 36/36] ARM: STi: Add support for the FSM Serial Flash Controller

2013-12-02 Thread srinivas kandagatla
Hi Lee, On 29/11/13 12:19, Lee Jones wrote: + /* FSM */ + spifsm: spifsm@fe902000{ + compatible = st,spi-fsm, simple-bus; simple-bus is redundant here. + reg= 0xfe902000 0x1000; +

Re: [PATCH v3 36/36] ARM: STi: Add support for the FSM Serial Flash Controller

2013-12-02 Thread srinivas kandagatla
it, can I add your Ack for the remainder of the patch? Yes, Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com You should be aware that arch/arm/boot/dts/stih416-b2105.dts is not in mainline yet. Thanks, srini + reg= 0xfe902000 0x1000

Re: [PATCH v3 01/36] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2013-12-02 Thread srinivas kandagatla
On 29/11/13 12:18, Lee Jones wrote: This is a new driver. It's used to communicate with a special type of optimised Serial Flash Controller called the FSM. The FSM uses a subset of the SPI protocol to communicate with supported NOR-Flash devices. You might want to expand what is FSM

Re: [PATCH v3 36/36] ARM: STi: Add support for the FSM Serial Flash Controller

2013-12-02 Thread srinivas kandagatla
On 02/12/13 13:43, Lee Jones wrote: On Mon, 02 Dec 2013, srinivas kandagatla wrote: On 02/12/13 13:20, Lee Jones wrote: + /* FSM */ + spifsm: spifsm@fe902000{ + compatible = st,spi-fsm, simple-bus; simple-bus is redundant here. Yes I agree, good

Re: [PATCH RFC 07/10] PM / wakeup : Introduce device_child_may_wakeup

2013-11-12 Thread srinivas kandagatla
On 12/11/13 14:20, Rafael J. Wysocki wrote: +/* callback for device_child_may_wakeup */ +static int __device_child_may_wakeup(struct device *dev, void *c) +{ + return device_may_wakeup(dev); +} This doesn't have anything to do with children in principle, so please call it

[PATCH] ARM: orion5x: Fix typo in device_type property of phy node

2013-11-14 Thread Srinivas Kandagatla
This patch fixes a typo for device_type property of phy node. This can work as of today but once a checks are added in generic code this typo will stop phy from working. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- .../dts/orion5x-lacie-ethernet-disk-mini-v2.dts|2

[PATCH] ARM: dove: Fix typo in device_type property of phy node

2013-11-14 Thread Srinivas Kandagatla
This patch fixes a typo for device_type property of phy node. This can work as of today but once a checks are added in generic code this typo will stop phy from working. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/boot/dts/dove.dtsi |2 +- 1 files changed, 1

[PATCH RFC] net: of_mdio: Scan PHYs which have device_type set to ethernet-phy

2013-11-14 Thread Srinivas Kandagatla
According to Documentation/devicetree/bindings/net/phy.txt device_type property of PHY nodes is mandatory, which should be set to ethernet-phy. This patch adds check in scanning phys and only scans node which have device-type set to ethernet-phy. Signed-off-by: Srinivas Kandagatla

Re: [PATCH] ARM: orion5x: Fix typo in device_type property of phy node

2013-11-15 Thread srinivas kandagatla
On 14/11/13 15:36, Andrew Lunn wrote: Please CC: the Marvell maintainers for patches like this. I added them in CC: Acked-by: Andrew Lunn and...@lunn.ch Thanks for the ack and adding Marvell maintainers in CC. --srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 1/4] clocksource: arm_global_timer: Switch to sched_clock_register()

2013-11-18 Thread srinivas kandagatla
. Cc: Stuart Menefy stuart.men...@st.com Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clocksource/arm_global_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource

Re: [PATCH v6 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-11-18 Thread srinivas kandagatla
2 files changed, 88 insertions(+) Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com Thanks, srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH RFC 0/9]net: stmmac PM related fixes.

2013-11-19 Thread srinivas kandagatla
On 19/11/13 05:24, Giuseppe CAVALLARO wrote: So you continue to have my Acked-by for all. Thanks for the Ack Peppe. peppe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4 4/6] pinctrl: st: Use ARRAY_SIZE instead of raw value for number of delays

2014-03-14 Thread srinivas kandagatla
On 14/03/14 09:44, Maxime Coquelin wrote: drivers/pinctrl/pinctrl-st.c- unsigned int*input_delays; drivers/pinctrl/pinctrl-st.c- unsigned int*output_delays; It may be better to change these to const unsigned int * and change static unsigned int stih416_delays[] = { to static

Re: [PATCH v2 0/6] ARM: STi reset controller support

2014-02-24 Thread srinivas kandagatla
Thanks Philipp for your comments, On 24/02/14 10:33, Philipp Zabel wrote: Did Srini's explanations convinced you? If so, could you queue the series for v3.15? to be honest, I'm not comfortable with this explanation. If the powerdown bits only gate the clocks to those modules, calling it

Re: [PATCH v2 0/6] ARM: STi reset controller support

2014-02-25 Thread srinivas kandagatla
On 24/02/14 15:16, Philipp Zabel wrote: Hi Srinivas, Am Montag, den 24.02.2014, 14:03 + schrieb srinivas kandagatla: Thanks Philipp for your comments, On 24/02/14 10:33, Philipp Zabel wrote: Did Srini's explanations convinced you? If so, could you queue the series for v3.15

Re: [PATCH v2 0/6] ARM: STi reset controller support

2014-02-25 Thread srinivas kandagatla
Thankyou Philipp, On 25/02/14 09:47, Philipp Zabel wrote: No, the context is lost, the IP needs re-initialization. alright then, I'll add them to the queue. Thats Great.. Can I ask your Ack on these patches so that I can request Arnd/Olof to take these patches via arm-soc tree. Hi Arnd/Olof, I

Re: [PATCH v2 3/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-07 Thread srinivas kandagatla
-by: Maxime Coquelin maxime.coque...@st.com Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com --- Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com --srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH v2 3/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-07 Thread srinivas kandagatla
Hi Peppe/Maxime, I missed a comment... :-) On 07/03/14 09:41, Maxime COQUELIN wrote: From: Giuseppe Cavallaro peppe.cavall...@st.com This patch adds a new logic inside the st pinctrl to manage an unsupported scenario: some sysconfig are not available! This is the case of STiH407 where,

Re: [PATCH v2 2/5] pinctrl: st: add pinctrl support for the STiH407 SoC

2014-03-07 Thread srinivas kandagatla
should this not be done in this patch itself. { /* sentinel */ } }; Other than that the patch looks Ok to me. Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com Thanks, srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v2 3/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-07 Thread srinivas kandagatla
On 07/03/14 11:28, Maxime Coquelin wrote: Problem is that oe and pu takes -1 in that patch, and these values will be passed directly to devm_regmap_field_alloc without any check. I propose to apply this patch before pinctrl: st: add pinctrl support for the STiH407 SoC, and move

Re: [PATCH v3 3/5] pinctrl: st: add pinctrl support for the STiH407 SoC

2014-03-07 Thread srinivas kandagatla
-by: Srinivas Kandagatla srinivas.kandaga...@st.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 2/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-07 Thread srinivas kandagatla
...@st.com Signed-off-by: Giuseppe Cavallaro peppe.cavall...@st.com Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH RFC 0/9]net: stmmac PM related fixes.

2014-01-14 Thread srinivas kandagatla
Hi Dave/Peppe, Do you have any plans to take this series? Peppe already Acked these series. Please let me know if you want me to rebase these patches to a particular branch. Thanks, srini On 18/11/13 11:30, srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com

[PATCH v1 6/6] ARM: STi: Add reset controller support to mach-sti Kconfig

2014-01-14 Thread Srinivas Kandagatla
From: Stephen Gallimore stephen.gallim...@st.com This patch selects reset controller support for ARCH_STI and selects the reset controllers for STiH415 and STiH416 SoCs. Signed-off-by: Stephen Gallimore stephen.gallim...@st.com Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com

[PATCH v1 1/6] drivers: reset: STi SoC system configuration reset controller support

2014-01-14 Thread Srinivas Kandagatla
From: Stephen Gallimore stephen.gallim...@st.com This patch adds a reset controller implementation for STMicroelectronics STi family SoCs; it allows a group of related reset like controls found in multiple system configuration registers to be represented by a single controller device. System

[PATCH v1 5/6] drivers: reset: stih416: add softreset controller

2014-01-14 Thread Srinivas Kandagatla
configuration registers based reset controller that controls the softreset state of the hardware such as Ethernet, IRB. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- arch/arm/boot/dts/stih416.dtsi |5 drivers/reset/sti/reset-stih416.c

[PATCH v1 4/6] drivers: reset: stih415: add softreset controller

2014-01-14 Thread Srinivas Kandagatla
configuration registers based reset controller that controls the softreset state of the hardware such as Ethernet, IRB. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- .../devicetree/bindings/reset/st,sti-softreset.txt | 45 arch/arm/boot/dts/stih415.dtsi

[PATCH v1 0/6] STi reset controller suppport

2014-01-14 Thread Srinivas Kandagatla
. Comments? Thanks, srini Srinivas Kandagatla (2): drivers: reset: stih415: add softreset controller drivers: reset: stih416: add softreset controller Stephen Gallimore (4): drivers: reset: STi SoC system configuration reset controller support drivers: reset: Reset controller driver for STiH415

[PATCH v1 2/6] drivers: reset: Reset controller driver for STiH415

2014-01-14 Thread Srinivas Kandagatla
Gallimore stephen.gallim...@st.com + * Author: Srinivas Kandagatla srinivas.kandaga...@st.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2

[PATCH v1 3/6] drivers: reset: Reset controller driver for STiH416

2014-01-14 Thread Srinivas Kandagatla
@@ -0,0 +1,79 @@ +/* + * Copyright (C) 2013 STMicroelectronics (RD) Limited + * Author: Stephen Gallimore stephen.gallim...@st.com + * Author: Srinivas Kandagatla srinivas.kandaga...@st.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms

Re: [PATCH v2 1/3] net: stmmac:sti: Add STi SOC glue driver.

2014-02-11 Thread srinivas kandagatla
Thankyou Dave, I will fix these in next version. On 10/02/14 22:40, David Miller wrote: From: srinivas.kandaga...@st.com Date: Fri, 7 Feb 2014 10:55:25 + +if (dwmac-interface == PHY_INTERFACE_MODE_MII || +dwmac-interface == PHY_INTERFACE_MODE_GMII) {

[RFC] regmap: debugfs: Fix start_reg calculation

2013-05-07 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com If we dump syscon regmap registers via debufs you will notice that the dump contains lot of values at the end. An example configuration is: syscon@fdde{ compatible = syscon; reg = 0xfdde 0x15c

[PATCH v2] regmap: debugfs: Fix start_reg calculation (v2)

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com If we dump syscon regmap registers via debugfs you will notice that the dump contains lot of values. An example configuration is: syscon@fdde{ compatible = syscon; reg = 0xfdde 0x15c

[RFC 6/8] ARM:stih41x: Add STiH416 SOC support

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The STiH416 is advanced HD AVC processor with 3D graphics acceleration and 1.2-GHz ARM Cortex-A9 SMP CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen Gallimore stephen.gallim...@st.com CC: Stuart Menefy stuart.men

[RFC 8/8] ARM:stih41x: Add B2020 board support

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com B2020 ADI board is reference board for STIH415/416 SOCs, it has 2 x UART, 4x USB, 1 x Ethernet, 1 x SATA, 1 x PCIe, and 2GB RAM with standard set-top box IPs. This patch adds initial support to B2020 with STiH415/416 with SBC_UART1 as console

[RFC 2/8] ARM:global_timer: Add ARM global timer support.

2013-05-08 Thread Srinivas KANDAGATLA
Interrupt. The global timer is clocked by PERIPHCLK. Signed-off-by: Stuart Menefy stuart.men...@st.com Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com --- Documentation/devicetree/bindings/arm/gt.txt | 21 ++ arch/arm/Kconfig |6 + arch/arm/include/asm

[RFC 7/8] ARM:stih41x: Add B2000 board support

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com B2000 board is reference board for STIH415/416 SOCs, it has 2 x UART, 4x USB, 2 x Ethernet, 1 x SATA, 1 x PCIe, and 1GB RAM. This patch add initial support to b2000 with STiH415/416 with UART2 as console and a heard beat LED. Signed-off

[RFC 3/8] mfd:syscon: Introduce claim/read/write/release APIs

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces syscon_claim, syscon_read, syscon_write, syscon_release APIs to help drivers to use syscon registers in much more flexible way. With this patch, a driver can claim few/all bits in the syscon registers and do read/write

[RFC 5/8] ARM:stih41x: Add STiH415 SOC support

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com The STiH415 is the next generation of HD, AVC set-top box processors for satellite, cable, terrestrial and IP-STB markets. It is an ARM Cortex-A9 1.0 GHz, dual-core CPU. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com CC: Stephen

Re: [RFC 4/8] pinctrl:stixxxx: Add pinctrl and pinconf support.

2013-05-08 Thread Srinivas KANDAGATLA
Thankyou for the comments. On 08/05/13 16:06, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:11 Wed 08 May , Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch add pinctrl support to ST SoCs. About hardware: ST Set-Top-Box parts have two blocks

  1   2   3   4   5   6   7   8   9   10   >