[PATCH] ARM: DTS: correct the capability string for mmc0

2014-06-23 Thread Naveen Krishna Chatradhi
MMC capability for HS200 is parsed in mmc/core/host.c as dts string mmc-hs200-1_8v. This patch corrects the dts string for Exynos5420 based peach-pit and Exynos5800 based peach-pi boards. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- arch/arm/boot/dts/exynos5420-peach

[PATCH 0/4] hwmon: ntc_thermistor: prepose vendor prefix change

2014-06-24 Thread Naveen Krishna Chatradhi
nodes to ADC Adds Thermistor nodes to Exynos5420 and Exynos5800 based boards. This patchset Naveen Krishna Chatradhi (4): devicetree: bindings: Document murata vendor prefix hwmon: ntc_thermistor: Use the manufacturer name properly ARM: DTS: Add NTC thermistor nodes as child nodes to ADC

[PATCH 1/4] devicetree: bindings: Document murata vendor prefix

2014-06-24 Thread Naveen Krishna Chatradhi
Add Murata Manufacturing Co., Ltd. to the list of device tree vendor prefixes. Murata manufactures NTC (Negative Temperature Coefficient) based Thermistors for small scale applications like Mobiles and PDAs. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Guenter Roeck li

[PATCH 2/4] hwmon: ntc_thermistor: Use the manufacturer name properly

2014-06-24 Thread Naveen Krishna Chatradhi
Krishna Chatradhi ch.nav...@samsung.com Cc: Guenter Roeck li...@roeck-us.net --- This changes is needed for the following reasons 1. The vendor prefix ntc is not defined in vendor-prefixes.txt Thus, giving an error when checked with scripts/checkpatch.pl 2. Murata Manufacturing Co., Ltd

[PATCH 3/4] ARM: DTS: use new compatible string as per the documentation

2014-06-24 Thread Naveen Krishna Chatradhi
As Murata is the Manufactures the NTC thermistors. The vendor name in the compatibility is preposed to change to murata, ncpXXX This patch uses the new compatibility string in exynos4412 based Trats2 board. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Chanwoo Choi cw00.c

[PATCH 4/4] ARM: DTS: Add NTC thermistor nodes as child nodes to ADC

2014-06-24 Thread Naveen Krishna Chatradhi
Exynos5420 based Peach PIT and Exynos5800 based PI boards have 4 NTC thermistors to measure temperatures at various points on the board. IIO based ADC becomes the parent and NTC thermistors are the childs, via the HWMON interface. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc

[PATCH 4/4 v2] ARM: DTS: Add NTC thermistor nodes to Exynos5420 based Peach_PIT

2014-06-25 Thread Naveen Krishna Chatradhi
Exynos5420 based Peach PIT board has 4 NTC thermistors to measure temperatures at various points on the board. IIO based ADC becomes the parent and NTC thermistors are the childs, via the HWMON interface. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Doug Anderson diand

[PATCH 0/4 v2] hwmon: ntc_thermistor: prepose vendor prefix change

2014-06-25 Thread Naveen Krishna Chatradhi
device tree bindings. 4/4. ARM: DTS: Add NTC thermistor nodes as child nodes to ADC Adds Thermistor nodes to Exynos5420 based Peach PIT board. This patchset Naveen Krishna Chatradhi (4): devicetree: bindings: Document murata vendor prefix hwmon: ntc_thermistor: Use the manufacturer name

[PATCH 3/4 v2] ARM: DTS: use new compatible string for thermistors in trats2

2014-06-25 Thread Naveen Krishna Chatradhi
As Murata Manufactures the NTC based thermistors. The vendor name in the compatibility is preposed to change to murata This patch uses the new compatibility string in exynos4412 based Trats2 board. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Chanwoo Choi cw00.c

[PATCH 1/4 v2] devicetree: bindings: Document murata vendor prefix

2014-06-25 Thread Naveen Krishna Chatradhi
Add Murata Manufacturing Co., Ltd. to the list of device tree vendor prefixes. Murata manufactures NTC (Negative Temperature Coefficient) based Thermistors for small scale applications like Mobiles and PDAs. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Mark Rutland

[PATCH 2/4 v2] hwmon: ntc_thermistor: Use the manufacturer name properly

2014-06-25 Thread Naveen Krishna Chatradhi
to support the previous compatible strings but further addition of these compatible strings in device tree is deprecated. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Guenter Roeck li...@roeck-us.net --- Changes since v1: 1. Kept the old compatible string marked as DEPRECATED

[PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Naveen Krishna Chatradhi
Snow 4. Corrects the vendor prefix for thermistors in exynos4412-trats2.dts Naveen Krishna Chatradhi (3): ARM: DTS: use new compatible string for thermistors in trats2 ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow ARM: DTS: Add common dts file for Peach PIT and PI along with ADC

[PATCH 1/3] ARM: DTS: use new compatible string for thermistors in trats2

2014-06-26 Thread Naveen Krishna Chatradhi
As Murata Manufactures the NTC based thermistors. The vendor name in the compatibility is preposed to change to murata This patch uses the new compatibility string in exynos4412 based Trats2 board. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Chanwoo Choi cw00.c

[PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Naveen Krishna Chatradhi
Exynos5250 based Snow board has 4 NTC thermistors to measure temperatures at various points on the board. IIO based ADC becomes the parent and NTC thermistors are the childs, via the HWMON interface. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Posted earlier by Doug

[PATCH 3/3] ARM: DTS: Add common dts file for Peach PIT and PI along with ADC nodes

2014-06-26 Thread Naveen Krishna Chatradhi
nodes. Also, enables ADC based thermistors for peach_pi and peach_pit. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- This patchset needs [PATCH v4 00/14] Add Maxim 77802 PMIC support by Javier Martinez Canillas Posted https://lkml.org/lkml/2014/6/25/668 Intention is to slowly

[PATCH 0/2 v2] ARM: DTS: create thermistor fragment dtsi for Peach boards

2014-06-27 Thread Naveen Krishna Chatradhi
. Changes since v1: 1. Dropped 2/3 ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow https://lkml.org/lkml/2014/6/26/192 As large number of Snow boards dint have thermistors. 2. Created a thermistor fragment instead of common dtsi file Naveen Krishna Chatradhi (2): ARM: DTS: use new

[PATCH v2 2/2] ARM: DTS: Add thermistor dts fragment used by exynos based Peach boards

2014-06-27 Thread Naveen Krishna Chatradhi
This patch creates a thermistor fragment carrying the NTC Thermistor nodes as children of the IIO based ADC. This fragment is included in exynos5420-peach-pit.dts and exynos5800-peach-pi.dts. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: As per the comments

[PATCH v2 1/2] ARM: DTS: use new compatible string for thermistors in trats2

2014-06-27 Thread Naveen Krishna Chatradhi
As Murata Manufactures the NTC based thermistors. The vendor name in the compatibility is preposed to change to murata This patch uses the new compatibility string in exynos4412 based Trats2 board. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Chanwoo Choi cw00.c

[PATCH 0/4] iio: exynos-adc: use syscon instead of ioremap

2014-07-11 Thread Naveen Krishna Chatradhi
Krishna Chatradhi (4): iio: exyno-adc: use syscon for PMU register access Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/ Documentation: dt-bindings: update exynos-adc.txt with syscon handle ARM: dts: exynos: Add sysreg phandle to ADC node .../devicetree/bindings/arm

[PATCH 2/4] Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/

2014-07-11 Thread Naveen Krishna Chatradhi
The DT bindings in exynos-adc.txt applies to the ADC driver (exynos-adc.c) developed based on IIO framework. The bindings are more appropriate to be under Documentation/devicetree/bindings/iio/adc/ Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: devicetree@vger.kernel.org

[PATCH 3/4] Documentation: dt-bindings: update exynos-adc.txt with syscon handle

2014-07-11 Thread Naveen Krishna Chatradhi
This patch updates the DT bindings in exynos-adc.txt with the syscon phandle to the ADC nodes. Also removes the 2nd reg property, which used to carry the ADC_PHY regiser base from PMU. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: devicetree@vger.kernel.org

[PATCH 1/4] iio: exyno-adc: use syscon for PMU register access

2014-07-11 Thread Naveen Krishna Chatradhi
This patch updates the IIO based ADC driver to use syscon and regmap APIs to access and use PMU registers instead of remapping the PMU registers in the driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: linux-...@vger.kernel.org --- drivers/iio/adc/exynos_adc.c | 29

[PATCH 3/3 v6] ARM: DTS: fix the chip select gpios definition in the SPI nodes

2014-07-13 Thread Naveen Krishna Chatradhi
/msg32282.html Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f...@samsung.com --- Changes since v5: None

[PATCH 2/3 v6] spi: s3c64xx: for DT platofrms always get the chipselect info from DT node

2014-07-13 Thread Naveen Krishna Chatradhi
Use controller_data structure only for the Non Device tree platforms. For Device tree platforms, always derive the chipselect info from DT node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Doug

[PATCH 1/3 v6] spi: s3c64xx: fix broken cs_gpios usage in the driver

2014-07-13 Thread Naveen Krishna Chatradhi
of spi-samsung.txt and makes appropriate changes in the driver to use cs-gpios(plural) from SPI device node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Doug

[PATCH 0/3 v6] spi: s3c64xx: use cs-gpios in spi node instead of cs-gpio

2014-07-13 Thread Naveen Krishna Chatradhi
a compilation warning and corrects the DTS nodes for Exynos4210 based SMDKv310, Exynos4412 based Trats2, Exynos5250 based SMDK5250 boards. Changes since v5: 1. Fixed the making a GPIO chip select mandatory bug. Naveen Krishna Chatradhi (3): spi: s3c64xx: fix broken cs_gpios usage in the driver

[PATCH 2/3] serial: samsung: correct the case and default order in switch

2014-07-14 Thread Naveen Krishna Chatradhi
The cases should comes before default in a switch. Even if we want the case and default to share same code. Its good to define the case first followed by default. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: gre...@linuxfoundation.org --- drivers/tty/serial/samsung.c |2

[PATCH 0/3] serial: samsung: get fifosize from DT and clean up

2014-07-14 Thread Naveen Krishna Chatradhi
This patch set does the following 1: Get fifosize from DT node. But, not mandating it. 2. Corrects the case and default order in a switch 3. Defines a variable to simply the code. Console messages on Exynos5420 based peach pit and pi works fine. Naveen Krishna Chatradhi (3): serial: samsung

[PATCH 1/3] serial: samsung: get fifosize via device tree

2014-07-14 Thread Naveen Krishna Chatradhi
Krishna Chatradhi ch.nav...@samsung.com Cc: gre...@linuxfoundation.org --- .../devicetree/bindings/serial/samsung_uart.txt|4 drivers/tty/serial/samsung.c | 12 +--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree

[PATCH 3/3] serial: samsung: improve code clarity by defining a variable

2014-07-14 Thread Naveen Krishna Chatradhi
The of_node is derived from pdev for every usage, define a device_node variable instead. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: gre...@linuxfoundation.org --- drivers/tty/serial/samsung.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 0/3] spi: s3c64xx: fix the driver to use cs-gpios property

2014-07-15 Thread Naveen Krishna Chatradhi
http://www.gossamer-threads.com/lists/linux/kernel/1951607 Tested-by on boards based on Exynos4, S5P, S3C series SoCs would be appreciated. Naveen Krishna Chatradhi (3): spi: s3c64xx: move property cs-gpio from controller_data subnode to SPI DT node spi: s3c64xx: validate

[PATCH 2/3] spi: s3c64xx: validate s3c64xx_spi_csinfo before using

2014-07-15 Thread Naveen Krishna Chatradhi
This patch validates the cs-line (Chip select gpio) and struct s3c64xx_spi_csinfo *cs object for both DT and NON-DT platforms before using in .setup(). Also, check gpio_is_valid(spi-cs_gpio) in cleanup() before freeing up. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Javier

[PATCH 1/3] spi: s3c64xx: move cs-gpio from subnode to SPI DT node

2014-07-15 Thread Naveen Krishna Chatradhi
the property in the driver. Update the dt-bindings ion spi/spi-samsung.txt Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f

[PATCH 3/3] ARM: DTS: fix the chip select gpios definition in the SPI nodes

2014-07-15 Thread Naveen Krishna Chatradhi
/msg32282.html Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f...@samsung.com --- This change is being

[PATCH 2/4 v2] Documentation: dt-bindings: move exynos-adc.txt to more iio/adc/

2014-07-17 Thread Naveen Krishna Chatradhi
The DT bindings in exynos-adc.txt applies to the ADC driver (exynos-adc.c) developed based on IIO framework. The bindings are more appropriate to be under Documentation/devicetree/bindings/iio/adc/ Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: devicetree@vger.kernel.org

[PATCH 0/4 v2] iio: exynos-adc: use syscon instead of ioremap

2014-07-17 Thread Naveen Krishna Chatradhi
description in commit message Rebased on top of v5 version of ADC for exynos3250 from Changwoo. iio: adc: exynos_adc: Support Exynos3250 ADC and code clean https://lkml.org/lkml/2014/6/27/16 Naveen Krishna Chatradhi (4): iio: exyno-adc: use syscon for PMU register access Documentation: dt

[PATCH 4/4 v2] ARM: dts: exynos: Add sysreg phandle to ADC node

2014-07-17 Thread Naveen Krishna Chatradhi
Instead of using the ADC_PHY register base address, use sysreg phandle in ADC node to control ADC_PHY configuration register. This patch adds syscon node for Exynos3250, Exynos4x12, Exynos5250, and Exynos5420, Exynos5800. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: linux

[PATCH 1/4 v2] iio: exyno-adc: use syscon for PMU register access

2014-07-17 Thread Naveen Krishna Chatradhi
This patch updates the IIO based ADC driver to use syscon and regmap APIs to access and use PMU registers instead of remapping the PMU registers in the driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: linux-...@vger.kernel.org --- Changes since v1: None drivers/iio/adc

[PATCH 3/4 v2] Documentation: dt-bindings: update exynos-adc.txt with syscon handle

2014-07-17 Thread Naveen Krishna Chatradhi
This patch updates the DT bindings in exynos-adc.txt with the syscon phandle to the ADC nodes. Also removes the 2nd reg property, which used to carry the ADC_PHY regiser base from PMU. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: devicetree@vger.kernel.org --- Changes since

[PATCH 2/3 v4] thermal: samsung: change base_common to more meaningful base_second

2013-10-09 Thread Naveen Krishna Chatradhi
the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: None Changes since v2: Changed the flag name from SHARED_MEMORY to ADDRESS_MULTIPLE. https://lkml.org/lkml/2013/8/1/38 Changes since v3: None

[PATCH 3/3 v5] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-10-15 Thread Naveen Krishna Chatradhi
will be handled properly once the driver moves to complete device driver solution. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: 1. modified the platform data structure in order to pass SHARED flag for channels that need sharing of address space. 2. https

[PATCH 1/3 v6] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register

2013-10-16 Thread Naveen Krishna Chatradhi
and INTCLEAR registers. On Exynos5440, the FALL_IRQEN bits are at an offset of 4 and the RISE_IRQEN bits are at an offset of 0 This patch introduces a new bit field intclr_fall_shift to handle the offset for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com

[PATCH 2/3 v6] thermal: samsung: change base_common to more meaningful base_second

2013-10-16 Thread Naveen Krishna Chatradhi
the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: None Changes since v2: Changed the flag name from SHARED_MEMORY to ADDRESS_MULTIPLE. https://lkml.org/lkml/2013/8/1/38 Changes since v3: None Changes

[PATCH 3/3 v6] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-10-16 Thread Naveen Krishna Chatradhi
will be handled properly once the driver moves to complete device driver solution. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: 1. modified the platform data structure in order to pass SHARED flag for channels that need sharing of address space. 2. https

[PATCH 2/9 v5] crypto:s5p-sss: Add device tree support

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Also, Documentation under devicetree/bindings added. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu herb...@gondor.apana.org.au CC: David S. Miller da...@davemloft.net CC: Vladimir Zapolskiy

[PATCH 3/9 v5] crypto:s5p-sss: Add support for SSS module on Exynos

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds new compatible and variant struct to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

[PATCH 4/9 v5] crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver

2014-01-29 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com This patch modifies Kconfig such that ARCH_EXYNOS SoCs which includes (Exynos4210, Exynos5250 and Exynos5420) can also select Samsung SSS(Security SubSystem) driver. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

[PATCH 9/9 v5] crypto:s5p-sss: Look for the next request in the queue

2014-01-29 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com Currently, the driver enqueues a request only if the busy bit is false. And every request initiates a dequeue. If 2 requests arrive simultaneously, only one of them will be dequeued. To avoid this senario, we will enqueue the next request

[PATCH 8/9 v5] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-01-29 Thread Naveen Krishna Chatradhi
This patch set adds use of clk_prepare/clk_unprepare as required by generic clock framework. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since v4: Handle return value of clk_prepare_enable Changes since v3: None drivers

[PATCH 7/9 v5] crypto:s5p-sss: validate iv before memcpy

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds code to validate iv buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since v4: None Changes since v3: None drivers/crypto/s5p-sss.c |3 ++- 1 file changed, 2

[PATCH 6/9 v5] ARM: dts: exynos5250/5420: add dt node for sss module

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com TO: linux-samsung-...@vger.kernel.org CC: Kukjin Kim kgene@samsung.com CC: linux-cry

[PATCH 5/9 v5] clk: samsung exynos5250/5420: Add gate clock for SSS module

2014-01-29 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com TO: linux-samsung-...@vger.kernel.org TO: Tomasz Figa t.f...@samsung.com CC: Kukjin Kim kgene@samsung.com CC: linux-cry...@vger.kernel.org

[PATCH v11 0/4] thermal: samsung: Clean up and add support for Exynos5420

2013-12-09 Thread Naveen Krishna Chatradhi
] thermal: samsung: Add TMU support for Exynos5420 SoCs also adds the device tree nodes for the same to exynos5420.dtsi (linux-samsung.git) 4. [v11] ARM: dts: Exynos5420: Add device nodes for TMU blocks (linux-soc-thermal) Naveen Krishna Chatradhi (3): thermal: samsung: replace inten_ bit

[PATCH v11 1/4] thermal: samsung: replace inten_ bit fields with intclr_

2013-12-09 Thread Naveen Krishna Chatradhi
interrupt related en, status and clear bits are available at an offset of 16 in INTEN, INTSTAT and INTCLEAR registers. On Exynos5440, the FALL_IRQEN bits are at an offset of 4 and the RISE_IRQEN bits are at an offset of 0 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Amit

[PATCH v11 2/4] thermal: samsung: change base_common to more meaningful base_second

2013-12-09 Thread Naveen Krishna Chatradhi
the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Amit Daniel Kachhap amit.dan...@samsung.com Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com --- Changes since v10: Documentation rephrased as per comments

[PATCH v11 3/4] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-12-09 Thread Naveen Krishna Chatradhi
register changes and arch information to support Exynos5420 SoCs. 2. Handles the gate clock for misplaced TRIMINFO register 3. Updates the Documentation at Documentation/devicetree/bindings/thermal/exynos-thermal.txt Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off

[PATCH v11 4/4] ARM: dts: Exynos5420: Add device nodes for TMU blocks

2013-12-09 Thread Naveen Krishna Chatradhi
Amudala l.kris...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Andrew Bresticker abres...@chromium.org --- Changes since previous version: 1. used lables instead of comment lines 2. pass the same clock as trimfo_apbif clock for TMU channel 2 arch/arm/boot

[PATCH v12 1/4] thermal: samsung: replace inten_ bit fields with intclr_

2013-12-18 Thread Naveen Krishna Chatradhi
interrupt related en, status and clear bits are available at an offset of 16 in INTEN, INTSTAT and INTCLEAR registers. On Exynos5440, the FALL_IRQEN bits are at an offset of 4 and the RISE_IRQEN bits are at an offset of 0 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Amit

[PATCH v12 3/4] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-12-18 Thread Naveen Krishna Chatradhi
register changes and arch information to support Exynos5420 SoCs. 2. Handles the gate clock for misplaced TRIMINFO register 3. Updates the Documentation at Documentation/devicetree/bindings/thermal/exynos-thermal.txt Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off

[PATCH v12 2/4] thermal: samsung: change base_common to more meaningful base_second

2013-12-18 Thread Naveen Krishna Chatradhi
the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Amit Daniel Kachhap amit.dan...@samsung.com Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since

[PATCH v12 4/4] ARM: dts: Exynos5420: Add device nodes for TMU blocks

2013-12-18 Thread Naveen Krishna Chatradhi
Amudala l.kris...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Andrew Bresticker abres...@chromium.org --- Changes since v11: changed the secondary clock name to tmu_triminfo_apbif from tmu_apbif_triminfo Changes since previous version: 1. used lables

[PATCH v12 4/4] ARM: dts: Exynos5420: Add device nodes for TMU blocks

2013-12-19 Thread Naveen Krishna Chatradhi
Amudala l.kris...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Andrew Bresticker abres...@chromium.org --- Changes since v11: changed the secondary clock name to tmu_triminfo_apbif from tmu_apbif_triminfo Changes since previous version: 1. used lables

[PATCH] thermal:samsung: fix compilation warning

2013-12-20 Thread Naveen Krishna Chatradhi
thermal_zone_device_ops *' Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/exynos_thermal_common.c b/drivers/thermal/samsung

[PATCH] thermal: samsung: Add TMU support for Exynos5260 SoCs

2013-12-20 Thread Naveen Krishna Chatradhi
This patch adds the registers, bit fields and compatible strings required to support for the 5 TMU channels on Exynos5260. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- This patch goes on top of the series (Reviewed and Acked) https://www.mail-archive.com/devicetree

[PATCH 1/2 v2] spi: s3c64xx: use cs-gpios from spi node instead of cs-gpio

2014-06-10 Thread Naveen Krishna Chatradhi
updates the Device tree Documentation. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand...@chromium.org --- Changes since v1: 1. fixed a compilation warning thus squashing the other patch into this. 2

[PATCH 0/2 v2] spi: s3c64xx: use cs-gpios in spi node instead of cs-gpio

2014-06-10 Thread Naveen Krishna Chatradhi
a compilation warning and corrects the DTS nodes for Exynos4210 based SMDKv310, Exynos4412 based Trats2, Exynos5250 based SMDK5250 boards. Naveen Krishna Chatradhi (2): based on for-next branch of spi.git spi: s3c64xx: use cs-gpios from spi node instead of cs-gpio based on for-next branch

[PATCH 2/2 v2] ARM: DTS: move cs-gpio from controller-data to under spi node

2014-06-10 Thread Naveen Krishna Chatradhi
This patch moves the cs-gpio field from controller-data child node to under the spi device node. Respective changes are preposed to spi-s3c64xx.c driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson

[PATCH 1/2 v3] spi: s3c64xx: use cs-gpios from spi node instead of cs-gpio

2014-06-11 Thread Naveen Krishna Chatradhi
updates the Device tree Documentation. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f...@samsung.com --- Changes since v2: 1

[PATCH 2/2 v3] ARM: DTS: move cs-gpio from controller-data to under spi node

2014-06-11 Thread Naveen Krishna Chatradhi
This patch moves the cs-gpio field from controller-data child node to under the spi device node. Respective changes are preposed to spi-s3c64xx.c driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Cc: Javier Martinez Canillas javier.marti

[PATCH 1/3 v4] spi: s3c64xx: fix broken cs_gpios usage in the driver

2014-06-12 Thread Naveen Krishna Chatradhi
of spi-samsung.txt and makes appropriate changes in the driver to use cs-gpios(plural) from SPI device node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand

[PATCH 2/3 v4] spi: s3c64xx: for DT platofrms always get the chipselect info from DT node

2014-06-12 Thread Naveen Krishna Chatradhi
Use controller_data structure only for the Non Device tree platforms. For Device tree platforms, always derive the chipselect info from DT node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand

[PATCH 3/3 v4] ARM: DTS: fix the chip select gpios definition in the SPI nodes

2014-06-12 Thread Naveen Krishna Chatradhi
/msg32282.html Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f...@samsung.com --- arch/arm/boot/dts/exynos4210-smdkv310.dts

[PATCH 2/3 v5] spi: s3c64xx: for DT platofrms always get the chipselect info from DT node

2014-06-12 Thread Naveen Krishna Chatradhi
Use controller_data structure only for the Non Device tree platforms. For Device tree platforms, always derive the chipselect info from DT node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Doug

[PATCH 1/3 v5] spi: s3c64xx: fix broken cs_gpios usage in the driver

2014-06-12 Thread Naveen Krishna Chatradhi
of spi-samsung.txt and makes appropriate changes in the driver to use cs-gpios(plural) from SPI device node. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Doug

[PATCH 3/3 v5] ARM: DTS: fix the chip select gpios definition in the SPI nodes

2014-06-12 Thread Naveen Krishna Chatradhi
/msg32282.html Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Acked-by: Rob Herring r...@kernel.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Doug Anderson diand...@chromium.org Cc: Tomasz Figa t.f...@samsung.com --- Changes since v4: 1. Added

[PATCH 11/14] arm64: dts: Add initial device tree support for EXYNOS7

2014-08-27 Thread Naveen Krishna Chatradhi
Add initial device tree nodes for EXYNOS7 SoC. Also, includes the dt-binding definitions for clock ids. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Thomas Abraham thomas...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch

[PATCH 00/14] Support 64bit Cortex A57 based Exynos7 SoC

2014-08-27 Thread Naveen Krishna Chatradhi
support for exynos7 Naveen Krishna Chatradhi (12): clk: samsung: add support for 145xx and 1460x PLLs clk: samsung: Factor out the common code to clk.c clk: samsung: Add fixed_factor_clocks field to struct exynos_cmu_info clk: samsung: Add clock description for basic CMU blocks pinctrl

[PATCH 12/14] arm64: dts: add Exynos7 based Espresso board dts file

2014-08-27 Thread Naveen Krishna Chatradhi
This patch adds initial dts file for the Espresso board based on Exynos7 from Samsung. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/boot/dts/Makefile |1 + arch/arm64/boot

[PATCH 13/14] arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support

2014-08-27 Thread Naveen Krishna Chatradhi
From: Alim Akhtar alim.akh...@samsung.com This patch adds the necessary Kconfig entries to enable support for the ARMv8 based Exynos7 SoC. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin

[PATCH 10/14] arm64: dts: add pinctrl support to EXYNOS7

2014-08-27 Thread Naveen Krishna Chatradhi
Add the required pin configuration support to EXYNOS7 using pinctrl interface. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Thomas Abraham thomas...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/boot/dts/exynos7

[PATCH 08/14] i2c: exynos5: Add Kconfig dependencies

2014-08-27 Thread Naveen Krishna Chatradhi
The i2c-exynos5.c driver can be reused for the HSI2C controller on Exynos7 SoCs from Samsung. This patch adds the Kconfig dependency to choose i2c-exynos5.c for CONFIG_ARCH_EXYNOS7. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: linux-...@vger.kernel.org Cc: Wolfram Sang w

[PATCH 07/14] i2c: exynos: add support for HSI2C module on Exynos7

2014-08-27 Thread Naveen Krishna Chatradhi
compatible in dt-binding documenation Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: linux-...@vger.kernel.org Cc: Wolfram Sang w...@the-dreams.de --- .../devicetree/bindings/i2c/i2c-exynos5.txt|2 + drivers/i2c/busses/i2c-exynos5.c | 71

[PATCH v2 0/7] arch: arm64: enable support for Samsung Exynos7 SoC

2014-09-02 Thread Naveen Krishna Chatradhi
ARMv8 based Exynos7 (SoC) support Naveen Krishna Chatradhi (6): clk: samsung: add support for 145xx and 1460x PLLs clk: samsung: Factor out the common code to clk.c clk: samsung: Add fixed_factor_clocks field to struct exynos_cmu_info clk: samsung: add initial clock support for Exynos7 SoC

[PATCH v2 1/7] clk: samsung: add support for 145xx and 1460x PLLs

2014-09-02 Thread Naveen Krishna Chatradhi
PLL145xx is similar to PLL35xx and PLL1460x is almost similar to PLL46xx with minor differences in bit positions. Hence, reuse the functions defined for pll_35xx and pll_46xx to support 145xx and 1460x PLLs respectively. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz

[PATCH v2 4/7] clk: samsung: add initial clock support for Exynos7 SoC

2014-09-02 Thread Naveen Krishna Chatradhi
Add initial clock support for Exynos7 SoC which is required to bring up platforms based on Exynos7. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa t.f...@samsung.com Cc: Mike Turquette mturque...@linaro.org --- .../devicetree/bindings/clock/exynos7-clock.txt

[PATCH v2 2/7] clk: samsung: Factor out the common code to clk.c

2014-09-02 Thread Naveen Krishna Chatradhi
multiple clock controllers. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa t.f...@samsung.com Cc: Mike Turquette mturque...@linaro.org --- drivers/clk/samsung/clk-exynos5260.c | 183 +- drivers/clk/samsung/clk.c| 95

[PATCH v2 3/7] clk: samsung: Add fixed_factor_clocks field to struct exynos_cmu_info

2014-09-02 Thread Naveen Krishna Chatradhi
Add the fields fixed_factor_clks and nr_fixed_factor_clks to struct exynos_cmu_info to allow registering of fixed factor clocks as well with exynos_cmu_register_one(). Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa t.f...@samsung.com Cc: Mike Turquette mturque

[PATCH v2 5/7] arm64: dts: Add initial device tree support for EXYNOS7

2014-09-02 Thread Naveen Krishna Chatradhi
Add initial device tree nodes for EXYNOS7 SoC and board dts file to support Espresso board based on Exynos7 SoC. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/boot/dts/Makefile

[PATCH v2 6/7] tty/serial: samsung: enable usage for 64-bit Exynos platforms

2014-09-02 Thread Naveen Krishna Chatradhi
Allow Samsung serial driver to be usable on Exynos 64-bit SoC based platforms. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/Kconfig |2 +- 1 file

[PATCH v2 7/7] arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support

2014-09-02 Thread Naveen Krishna Chatradhi
From: Alim Akhtar alim.akh...@samsung.com This patch adds the necessary Kconfig entries to enable support for the ARMv8 based Exynos7 SoC. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin

[PATCH v3 0/8] arch: arm64: enable support for Samsung Exynos7 SoC

2014-09-11 Thread Naveen Krishna Chatradhi
The following patches are required for this series. 1- tty/serial: fix config dependencies for samsung serial https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg36208.html Alim Akhtar (1): arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support Naveen Krishna Chatradhi (6

[PATCH v3 2/8] clk: samsung: Factor out the common code to clk.c

2014-09-11 Thread Naveen Krishna Chatradhi
multiple clock controllers. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Mike Turquette mturque...@linaro.org --- drivers/clk/samsung/clk-exynos5260.c | 185 +- drivers/clk/samsung/clk.c| 95

[PATCH v3 6/8] arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support

2014-09-11 Thread Naveen Krishna Chatradhi
From: Alim Akhtar alim.akh...@samsung.com This patch adds the necessary Kconfig entries to enable support for the ARMv8 based Exynos7 SoC. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin

[PATCH v3 5/8] arm64: dts: Add initial device tree support for EXYNOS7

2014-09-11 Thread Naveen Krishna Chatradhi
Add initial device tree nodes for EXYNOS7 SoC and board dts file to support Espresso board based on Exynos7 SoC. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/boot/dts/Makefile

[PATCH v3 3/8] clk: samsung: Add fixed_factor_clocks field to struct exynos_cmu_info

2014-09-11 Thread Naveen Krishna Chatradhi
Add the fields fixed_factor_clks and nr_fixed_factor_clks to struct exynos_cmu_info to allow registering of fixed factor clocks as well with exynos_cmu_register_one(). Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Mike Turquette mturque

[PATCH v3 4/8] clk: samsung: add initial clock support for Exynos7 SoC

2014-09-11 Thread Naveen Krishna Chatradhi
Add initial clock support for Exynos7 SoC which is required to bring up platforms based on Exynos7. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Mike Turquette mturque...@linaro.org --- .../devicetree/bindings/clock/exynos7-clock.txt

[PATCH v3 7/8] tty/serial: samsung: enable usage for 64-bit Exynos platforms

2014-09-11 Thread Naveen Krishna Chatradhi
Allow Samsung serial driver to be usable on Exynos 64-bit SoC based platforms. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/Kconfig |2 +- 1 file

[PATCH 2/3 v7] thermal: samsung: change base_common to more meaningful base_second

2013-11-06 Thread Naveen Krishna Chatradhi
the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: None Changes since v2: Changed the flag name from SHARED_MEMORY to ADDRESS_MULTIPLE. https://lkml.org/lkml/2013/8/1/38 Changes since v3: None Changes

[PATCH 1/3 v7] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register

2013-11-06 Thread Naveen Krishna Chatradhi
, INTSTAT and INTCLEAR registers. On Exynos5440, the FALL_IRQEN bits are at an offset of 4 and the RISE_IRQEN bits are at an offset of 0 This patch introduces a new bit field intclr_fall_shift to handle the offset for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi ch.nav

[PATCH 3/3 v7] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-11-06 Thread Naveen Krishna Chatradhi
will be handled properly once the driver moves to complete device driver solution. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: 1. modified the platform data structure in order to pass SHARED flag for channels that need sharing of address space. 2. https

  1   2   >