[PATCH 0/3] i2c: Add High speed I2C controller driver for Exynos5

2012-11-27 Thread Naveen Krishna Chatradhi
Exynos5 and latter SoCs from Samsung supports High Speed I2C controller. This patch set adds the controller driver, device tree information for Exynos5 platform and defines gating clocks. Naveen Krishna Chatradhi (3): i2c: exynos5: add High Speed I2C controller driver ARM: exynos5: Add gate

[PATCH 1/3] i2c: exynos5: add High Speed I2C controller driver

2012-11-27 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/busses/Kconfig |6 + drivers/i2c

[PATCH 2/3] ARM: exynos5: Add gate clocks for HS-I2C

2012-11-27 Thread Naveen Krishna Chatradhi
Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3. Signed-off-by: Naveen Krishna Chatradhi --- arch/arm/mach-exynos/clock-exynos5.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock

[PATCH 3/3] arm: exynos5: Add HS-I2C device tree platform information

2012-11-27 Thread Naveen Krishna Chatradhi
This patch adds HS-I2C device tree platform information in exynos5.dtsi and exynos5-smdk5250. Signed-off-by: Naveen Krishna Chatradhi --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 +++ arch/arm/boot/dts/exynos5250.dtsi | 32 + 2 files

[PATCH 0/2] i2c-s3c2410: Implementation bus arbitration support

2012-11-28 Thread Naveen Krishna Chatradhi
This patchset adds support for i2c bus arbitration between AP(exynos), device(EC) in i2c-s3c2410 driver. Simon Glass (2): i2c-s3c2410: Leave the bus disabled unless it is in use i2c-s3c2410: Add bus arbitration implementation .../devicetree/bindings/i2c/samsung-i2c.txt| 46 + d

[PATCH 1/2] i2c-s3c2410: Leave the bus disabled unless it is in use

2012-11-28 Thread Naveen Krishna Chatradhi
clear pending interrupts on start-up, but this seems to be a more robust solution. We can't service interrupts when we are not in a transaction, and anyway would rather not lock up the bus while we try. Signed-off-by: Simon Glass Cc: Grant Grundler Signed-off-by: Naveen Krishna Chatradhi --

[PATCH 2/2] i2c-s3c2410: Add bus arbitration implementation

2012-11-28 Thread Naveen Krishna Chatradhi
From: Simon Glass The arbitrator is a general purpose function which uses two GPIOs to communicate with another device to claim/release a bus. We use it to arbitrate an i2c port between the AP and the EC. Signed-off-by: Simon Glass Cc: Grant Grundler Signed-off-by: Naveen Krishna Chatradhi

[RFC: PATCH v5] i2c: exynos5: add High Speed I2C controller driver

2013-03-20 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

[PATCH v7] i2c: exynos5: add High Speed I2C controller driver

2013-04-04 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed

[PATCH v4] i2c: exynos5: add High Speed I2C controller driver

2013-02-01 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

[PATCH v3] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes

[PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes

[PATCH v3] iio: adc: exynos5_adc: fix compilation warnings

2013-03-12 Thread Naveen Krishna Chatradhi
Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Chatradhi Cc: Jonathan Cameron Cc: Lars-Peter Clausen Series-To: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org To: Dan Carpenter --- Cha

[PATCH 1/2] iio: adc: Kconfig: exynos_adc depends on CONFIG_OF

2013-03-15 Thread Naveen Krishna Chatradhi
As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe. Signed-off-by: Naveen Krishna Chatradhi Reported-by: Dan Carpenter Cc: Doug Anderson Cc: Lars-Peter Clausen --- Discussion thread for this patch can be found

[RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-03-15 Thread Naveen Krishna Chatradhi
This patch does the following 1. Handle the return values of wait_for_completion_interruptible_timeout 2. Add spin locks to avoid race conditions during ISR. Signed-off-by: Naveen Krishna Chatradhi Cc: Doug Anderson Cc: Lars-Peter Clausen --- Discussion thread for this patch can be found at

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

2013-08-27 Thread Naveen Krishna Chatradhi
This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU Signed-off-by: Naveen Krishna Chatradhi --- drivers/thermal/samsung/exynos_tmu.c |4 ++ drivers/thermal/samsung

[PATCH 1/3] thermal: samsung: correct the fall interrupt en, status bit fields

2013-08-27 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi --- drivers/thermal/samsung/exynos_tmu.c

[PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-27 Thread Naveen Krishna Chatradhi
0x10068000 contains data for TMU channel 2 The misplaced register address is passed through devicetree and map it seperately during probe. Also, adds the documentation under devicetree/bindings/thermal/ Signed-off-by: Naveen Krishna Chatradhi --- .../devicetree/bindings/thermal/exynos-thermal.txt

[PATCH 0/3] thermal: samsung: Add TMU for Exynos5420

2013-08-27 Thread Naveen Krishna Chatradhi
. Handle the misplaced TRIMINFO register Discussion was going on at https://lkml.org/lkml/2013/8/7/59 Handles the misplaced register on Exynos5420 Only Naveen Krishna Chatradhi (3): thermal: samsung: correct the fall interrupt en, status bit fields thermal: samsung: Add TMU support for Exynos5420

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

2013-08-28 Thread Naveen Krishna Chatradhi
tch changes the base_common to base_second. https://lkml.org/lkml/2013/8/1/38 Signed-off-by: Naveen Krishna Chatradhi --- .../devicetree/bindings/thermal/exynos-thermal.txt |4 ++-- drivers/thermal/samsung/exynos_tmu.c | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-

[PATCH 1/3 v2] thermal: samsung: correct the fall interrupt en, status bit fields

2013-08-28 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/thermal

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

2013-08-28 Thread Naveen Krishna Chatradhi
: Naveen Krishna Chatradhi --- 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://lkml.org/lkml/2013/8/1/38 is merged into this patch. As the changes are minimum and can be added here. drivers

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

2013-10-09 Thread Naveen Krishna Chatradhi
will be handled properly once the driver moves to complete device driver solution. Signed-off-by: Naveen Krishna Chatradhi -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://lkml.org/lkml/2013/8/1/38

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

2013-10-09 Thread Naveen Krishna Chatradhi
tch changes the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi --- 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 .../devi

[PATCH 1/3 v4] thermal: samsung: correct the fall interrupt en, status bit fields

2013-10-09 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Changes since v2: Changes

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

2013-09-03 Thread Naveen Krishna Chatradhi
tch changes the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v2: Changed the flag name from SHARED_MEMORY to ADDRESS_MULTIPLE. https://lkml.org/lkml/2013/8/1/38 .../devicetree/bindings/thermal/exynos-thermal.txt |4 ++--

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

2013-09-03 Thread Naveen Krishna Chatradhi
will be handled properly once the driver moves to complete device driver solution. Signed-off-by: Naveen Krishna Chatradhi --- 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://lkml.org/lkml/2013/8/1

[PATCH 1/3] thermal: samsung: correct the fall interrupt en, status bit fields

2013-09-03 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/thermal

[PATCH v3] i2c: exynos5: add High Speed I2C controller driver

2012-12-28 Thread Naveen Krishna Chatradhi
: Naveen Krishna Chatradhi --- Changes since v2: fixed comments from Felipe Balbi. And minor fixes for the return values in exynos5_i2c_doxfer() drivers/i2c/busses/Kconfig |7 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-exynos5.c | 736

[PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C

2012-12-28 Thread Naveen Krishna Chatradhi
Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3. Signed-off-by: Naveen Krishna Chatradhi --- arch/arm/mach-exynos/clock-exynos5.c | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock

[PATCH 2/2] arm: exynos5: Add HS-I2C device tree platform information

2012-12-28 Thread Naveen Krishna Chatradhi
This patch adds HS-I2C device tree platform information in exynos5.dtsi and exynos5-smdk5250. Signed-off-by: Naveen Krishna Chatradhi --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 +++ arch/arm/boot/dts/exynos5250.dtsi | 32 + 2 files

[PATCH 1/2] i2c: exynos5: add High Speed I2C controller driver

2012-12-25 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Fixed the comments from Felipe Balbi

[PATCH 2/2] i2c-exynos5: add debugfs support for registers

2012-12-25 Thread Naveen Krishna Chatradhi
This patch replaces the dev_vdbg with debugfs function calls in i2c-exynos5.c driver. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: The debugfs implementation is a suggestion by Felipe Balbi. Its not tested, Implemented only for review purpose.. drivers/i2c/busses/i2c-exynos5.c

[PATCH v10] i2c: exynos5: add High Speed I2C controller driver

2013-06-19 Thread Naveen Krishna Chatradhi
1. Removed mode from device tree info (use speed to distinguish the mode of operation) 12. Use wait_for_completion_timeout as the interruptible case is not tested well 13. few other bug fixes and cosmetic changes Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: S

[PATCH] thermal: exynos: Handle the misplaced TRIMINFO register

2013-07-31 Thread Naveen Krishna Chatradhi
0x10068000 contains data for TMU channel 2 The misplaced register address is passed through devicetree and map it seperately during probe. Also, adds the documentation under devicetree/bindings/thermal/ Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Doug Anderson --- Rebased on http

[PATCH] ARM: dts: exynos5420: add ADC device tree node

2013-08-01 Thread Naveen Krishna Chatradhi
From: Jaehoon Kim Add device tree node for ADC in exynos5420.dtsi Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Doug Anderson --- arch/arm/boot/dts/exynos5420.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot

[PATCH v2] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-01 Thread Naveen Krishna Chatradhi
0x10068000 contains data for TMU channel 2 The misplaced register address is passed through devicetree and map it seperately during probe. Also, adds the documentation under devicetree/bindings/thermal/ Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Doug Anderson --- Changes since v1: Rebased

[PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-08-21 Thread Naveen Krishna Chatradhi
f alias 17. Added spinlocks around the irq code 18. Use i2c_add_numbered_adapter() instead of using aliases Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Simon Glass Tested-by: Andrew Bresticker Signed-off-by: Yuvaraj Kumar C D Signed-off-by: Andrew

[PATCH v2] ARM: dts: exynos5420/5250: add ADC device tree node

2013-08-23 Thread Naveen Krishna Chatradhi
Add ADC device tree node for exynos5420 and exynos5250 Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Doug Anderson --- Added recipients accordingly, ./scripts/get_maintainer.pl -f of the modified files arch/arm/boot/dts/exynos5250.dtsi | 11 +++ arch/arm/boot/dts

[PATCH v2] arm: dts: fix NTC thermistor device nodes for cros5250

2013-08-23 Thread Naveen Krishna Chatradhi
This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device. Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Doug Anderson --- Added recipients accordingly, ./scripts/get_maintainer.pl -f of the modified files arch/arm/boot/dts/cros5250

[PATCH] thermal: exynos_tmu: fix wrong error check for mapped memory

2013-08-07 Thread Naveen Krishna Chatradhi
The error check is checking for a "base" mapped memory base instead of "base_common". Fixing the same. Signed-off-by: Naveen Krishna Chatradhi --- drivers/thermal/samsung/exynos_tmu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/sam

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread NAVEEN KRISHNA CHATRADHI
ds the module. Will send the patch separately. Thanks for pointing out the bug for me. Cc: Tony Lindgren Cc: Doug Anderson Cc: Vivek Gautam Cc: Naveen Krishna Chatradhi Cc: Kukjin Kim Cc: Kishon Vijay Abraham I Cc: Roger Quadros Cc: George Cherian Cc: Felipe Balbi Signed-off-by: Seba

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread NAVEEN KRISHNA CHATRADHI
n Cc: Doug Anderson Cc: Vivek Gautam Cc: Naveen Krishna Chatradhi Cc: Kukjin Kim Cc: Kishon Vijay Abraham I Cc: Roger Quadros Cc: George Cherian Cc: Felipe Balbi Signed-off-by: Sebastian Andrzej Siewior --- drivers/bus/omap-ocp2scp.c | 13 ++--- drivers/iio/adc/exynos_adc.c | 15 ++

Re: Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-22 Thread NAVEEN KRISHNA CHATRADHI
Hello Sebastian, --- Original Message --- Sender : Sebastian Andrzej Siewior Date : Jul 22, 2013 13:55 (GMT+05:30) Title : Re: [PATCH] of: provide of_platform_unpopulate() On 07/20/2013 07:42 AM, NAVEEN KRISHNA CHATRADHI wrote: > Hello Sebastian, Hello Naveen, > > I jus

[PATCH] iio: adc: exynos5_adc: fix compilation warnings

2013-03-05 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Ch --- drivers/iio/adc/exynos_adc.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/driv

[PATCH v8] i2c: exynos5: add High Speed I2C controller driver

2013-05-06 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Driver only supports Device Tree method. Changes since v1: 1. Added FIFO functionality 2. Added High speed mode functionality 3. Remove SMBUS_QUICK 4. Remove the debugfs

[PATCH v9] i2c: exynos5: add High Speed I2C controller driver

2013-05-17 Thread Naveen Krishna Chatradhi
ic changes Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Simon Glass Tested-by: Andrew Bresticker Signed-off-by: Yuvaraj Kumar C D Signed-off-by: Andrew Bresticker --- Changes since v8 1. improved the device tree bindings description page for i2c-exynos5 2.

[PATCH] iio: exynos_adc: fix wrong structure extration in suspend and resume

2013-05-19 Thread Naveen Krishna Chatradhi
igned-off-by: Naveen Krishna Chatradhi --- drivers/iio/adc/exynos_adc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c index a6c4df5..2347df5 100644 --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/

[PATCH v6] i2c: exynos5: add High Speed I2C controller driver

2013-03-28 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed

[PATCH v6] i2c: exynos5: add High Speed I2C controller driver

2013-03-28 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

[PATCH v2] iio: adc: exynos5_adc: fix compilation warnings

2013-03-06 Thread Naveen Krishna Chatradhi
Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Ch Cc: Jonathan Cameron Cc: Lars-Peter Clausen Series-to: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Dan Carpenter --- Changes since v1:

[PATCH 1/2] hwmon: ntc: Add DT support to NTC thermistor driver

2013-03-10 Thread Naveen Krishna Chatradhi
This patch adds the DT support to NTC driver to parse the platform data. Signed-off-by: Naveen Krishna Chatradhi --- drivers/hwmon/ntc_thermistor.c | 93 1 file changed, 75 insertions(+), 18 deletions(-) diff --git a/drivers/hwmon/ntc_thermistor.c b

[PATCH 2/2] hwmon: NTC: add IIO get channel and read support

2013-03-10 Thread Naveen Krishna Chatradhi
This patch adds the support to work as a iio device. iio_get_channel and iio_raw_read works. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Still not sure about the read_uV

[PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-03-11 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

[PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-21 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5 series socs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- .../bindings/arm/samsung/exynos5-adc.txt | 20 + drivers/iio/adc/Kconfig|7 + drivers

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-22 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5 series socs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Few doubts regarding the mappings. Kindly

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-22 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5 series socs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Changes since v2: 1. Changed the instance

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-23 Thread Naveen Krishna Chatradhi
This patch adds driver for ADC IP found on EXYNOS5250 and EXYNOS5410 from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Changes since v2: 1

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-23 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5250 and EXYNOS5410 SoCs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed comments from Lars 2. Added support for ADC on EXYNOS5410 Changes since v2: 1. Changed

[PATCH v6] iio: adc: add exynos adc driver under iio framwork

2013-02-14 Thread Naveen Krishna Chatradhi
This patch adds New driver to support: 1. Supports ADC IF found on EXYNOS4412/EXYNOS5250 and future SoCs from Samsung 2. Add ADC driver under iio/adc framework 3. Also adds the Documentation for device tree bindings Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed

[PATCH v7] iio: adc: add exynos adc driver under iio framwork

2013-02-14 Thread Naveen Krishna Chatradhi
This patch adds New driver to support: 1. Supports ADC IF found on EXYNOS4412/EXYNOS5250 and future SoCs from Samsung 2. Add ADC driver under iio/adc framework 3. Also adds the Documentation for device tree bindings Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: 1. Fixed

[PATCH 0/2] i2c: Implement generic gpio based bus arbitration

2012-12-13 Thread Naveen Krishna Chatradhi
This patchset adds 1. Support for generic gpio based i2c bus arbitration between 2 i2c Masters Ex: between AP(exynos), device(EC). 2. Documentation and sample implmentation in i2c-s3c2410 driver. Naveen Krishna Chatradhi (2): i2c-core: Add gpio based bus arbitration implementation i2c

[PATCH 2/2] i2c-s3c2410: Add GPIO based bus arbitration functionality

2012-12-13 Thread Naveen Krishna Chatradhi
Makes use of the generic fucntions in of_i2c.c to parse arbitration timing information and GPIOs for arbitration. Also uses devm_gpio_request() instead of gpio_request() and removes the gpio_free() calls Signed-off-by: Naveen Krishna Chatradhi --- drivers/i2c/busses/i2c-s3c2410.c | 79

[PATCH 1/2] i2c-core: Add gpio based bus arbitration implementation

2012-12-13 Thread Naveen Krishna Chatradhi
-by: Simon Glass Cc: Grant Grundler Signed-off-by: Naveen Krishna Chatradhi --- .../devicetree/bindings/i2c/arbitrator-i2c.txt | 56 drivers/i2c/i2c-core.c | 67 drivers/of/of_i2c.c|

[PATCH v6] iio: exynos_adc: use wait_for_completion_timeout instead of interruptible

2013-11-05 Thread Naveen Krishna Chatradhi
Reset software if a timeout happens. 4. Add reinit_completion() before the wait_for_completion_timeout in raw_read() Note: submitted for review at https://patchwork.kernel.org/patch/2279591/ Signed-off-by: Naveen Krishna Chatradhi Cc: Doug Anderson Cc: Lars-Peter Clausen Reviewed-on: https://chr

[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 --- Changes since

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

2013-11-06 Thread Naveen Krishna Chatradhi
tch changes the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi --- 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 since v

[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 --- 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://lkml.org/lkml/2013/8/1

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

2013-11-06 Thread Naveen Krishna Chatradhi
tch changes the base_common to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE. Signed-off-by: Naveen Krishna Chatradhi --- 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 since v

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

2013-11-06 Thread Naveen Krishna Chatradhi
EXYNOS5440_TMU_FALL_INT_SHIFT, inten_fall_shift field Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Changes since v2: Changes since v3: None Changes since v4: Correct the CLEAR_FALL_INT_SHIFT for Exynos5250/Exynos5440 Changes since v5: Modify the commit message Changes since v6: - Use

[PATCH 3/3 v8] 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 --- 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://lkml.org/lkml/2013/8/1

[PATCH] thermal: exynos: handle gate clock for misplaced TRIMINFO register

2013-11-07 Thread Naveen Krishna Chatradhi
ch will be ungated when accessing the TRIMINFO register. Signed-off-by: Andrew Bresticker Signed-off-by: Naveen Krishna Chatradhi --- drivers/thermal/samsung/exynos_tmu.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/exyno

[PATCH] ARM: dts: Exynos5420: Add device nodes for HSI2C blocks

2013-11-07 Thread Naveen Krishna Chatradhi
Exynos5420 SoC has 7 High speed I2C channels, This patch adds the device tree nodes to the DT device list. Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/exynos5420.dtsi | 98 + 1 file changed, 98 insertions

[PATCH 1/6 v2] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-01-08 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource "0" and hash interrupt as "1". reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung Exynos4 and 5 SoCs

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

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds new compatible and varient 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 CC: Herbert Xu CC: David S. Miller CC: Vl

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

2014-01-08 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch 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 CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: -

[PATCH 2/6 v2] crypto:s5p-sss: Add device tree support

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Implements a varient struct to address the changes in SSS hardware on various SoCs from Samsung. Also, Documentation under devicetree/bindings added. Signed-off-by: Naveen Krishna Ch CC: Herbert Xu CC: David S. Miller CC: Vlad

[PATCH 5/6 v2] ARM: dts: exynos5420: add dt node for sss module

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 Signed-off-by: Naveen Krishna Chatradhi TO: CC: Kukjin Kim CC: --- Changes since v1: Modified dt node name from sss to sss@1083 arch/arm/boot/dts/exynos5420.dtsi | 10 ++ 1 file changed, 10 insertions

[PATCH 6/6 v2] crypto:s5p-sss: validate iv before memcpy

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds code to validate "iv" buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/crypto/s5p-sss.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/s5p-sss.c b/driv

[PATCH 1/8 v3] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-01-10 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource "0" and hash interrupt as "1". reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung Exynos4 and 5 SoCs

[PATCH 0/8 v3] crypto:s5p-sss: Add DT and Exynos support

2014-01-10 Thread Naveen Krishna Chatradhi
tead of _byname() crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver crypto:s5p-sss: Add device tree support crypto:s5p-sss: Add support for SSS module on Exynos crypto:s5p-sss: validate iv before memcpy crypto:s5p-sss: Use clk_prepare/clk_unprepare Naveen Krishna Chatradhi (2): [l

[PATCH 2/8 v3] crypto:s5p-sss: Add device tree support

2014-01-10 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 CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: --- Changes since v2: 1. Moved the variant struct part to the Exynos su

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

2014-01-10 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch 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 CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: -

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

2014-01-10 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 CC: Herbert Xu CC: David S. Miller

[PATCH 5/8 v3] clk:exynos-5250: Add gate clock for SSS module

2014-01-10 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v2: This is a new change to support SSS on Exynos5250 drivers/clk/samsung/clk-exynos5250.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH 7/8 v3] crypto:s5p-sss: validate iv before memcpy

2014-01-10 Thread Naveen Krishna Chatradhi
This patch adds code to validate "iv" buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi --- Changes since v2: None drivers/crypto/s5p-sss.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/s5p-sss.c b/driv

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

2014-01-10 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 TO: CC: Kukjin Kim CC: --- Changes since v2: 1. Added device tree node for SSS on Exynos5250 aswell arch/arm/boot/dts/exynos5250.dtsi |8 arch/arm/boot

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

2014-01-10 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 --- Changes since v2: New change to fix a WARN_ON during the bootup drivers/crypto/s5p-sss.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v4] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-11-25 Thread Naveen Krishna Chatradhi
cpu_freq_transition only if CONFIG_CPU_FREQ_S3C24XX is enabled. This change should save a bunch of cpufreq transitions calls which does not apply to exynos SoCs. Signed-off-by: Naveen Krishna Chatradhi Acked-by: Kyungmin Park Reviewed-by: Doug Anderson --- Changes since v3: As per discussion at https

[PATCH 1/2 v2] i2c: exynos5: add support for HSI2C on Exynos5260 SoC

2013-11-25 Thread Naveen Krishna Chatradhi
This patch adds new compatible to support HSI2C module on Exynos5260 HSI2C module on Exynos5260 needs to be reset during during initialization. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: Rebasing on linux-i2c for-next .../devicetree/bindings/i2c/i2c-exynos5.txt|6

[PATCH 2/2 v2] i2c: exynos5: configure fifo_depth based on HSI2C module version

2013-11-25 Thread Naveen Krishna Chatradhi
fifo_depth of the HSI2C is not constant Exynos5420 and Exynos5250 supports fifo_depth of 64bytes Exynos5260 supports fifo_depth of 16bytes This patch configures the fifo_depth based on HSI2C modules version. Signed-off-by: Naveen Krishna Chatradhi [For finding out the difference and initial

[PATCH 1/8 v4] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-01-15 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource "0" and hash interrupt as "1". reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung Exynos4 and 5 SoCs

[PATCH 2/8 v4] crypto:s5p-sss: Add device tree support

2014-01-15 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 CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: --- Changes since v3: None .../devicetree/bindings/crypto/samsung-sss

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

2014-01-15 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch 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 CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: -

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

2014-01-15 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 CC: Herbert Xu CC: David S. Miller

[PATCH 7/8 v4] crypto:s5p-sss: validate iv before memcpy

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds code to validate "iv" buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi --- Changes since v3: None drivers/crypto/s5p-sss.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/s5p-sss.c b/drivers/

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

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi TO: TO: Tomasz Figa CC: Kukjin Kim CC: --- Changes since v3: 1. Rebased on to https://git.kernel.org/pub/scm/linux/kernel/git/tfiga/samsung-clk.git 2. Added new ID for

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

2014-01-15 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 Reviewed-by: Tomasz Figa TO: CC: Kukjin Kim CC: --- Changes since v3: 1. Modified the SSS clock ID as per dt-bindings for Exynos5250 in samsung-clk.git tree

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

2014-01-15 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 Reviewed-by: Tomasz Figa --- Changes since v3: None drivers/crypto/s5p-sss.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

  1   2   3   >