Re: [PATCH v4 0/7] Add TI EMIF SDRAM controller driver

2012-04-11 Thread Aneesh V
Hi Paul, On 04/11/2012 07:44 PM, Paul Walmsley wrote: Cc Mark Greer, Mark Salter Hi Greg, Aneesh, On Sat, 17 Mar 2012, Aneesh V wrote: Add a driver for the EMIF SDRAM controller used in TI SoCs EMIF is an SDRAM controller that supports, based on its revision, one or more of LPDDR2/DDR2

[PATCH v4 3/7] misc: emif: add basic infrastructure for EMIF driver

2012-03-16 Thread Aneesh V
: Aneesh V --- v2: - replaced __init with __init_or_module v1: - Removed emif_cleanup() function and instead used devm_* variant of APIs for resource allocations - Split include/linux/emif.h into two parts. The first part now becomes include/linux/platform_data/emif_plat.h and the other part is

[PATCH v4 6/7] misc: emif: add one-time settings

2012-03-16 Thread Aneesh V
Add settings that are not dependent on frequency or any other transient parameters. This includes - power managment control init - impedence calibration control - frequency independent phy configuration registers - initialization of temperature polling Cc: Greg KH Signed-off-by: Aneesh V --- v2

Re: [PATCH v2 1/7] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
On Saturday 17 March 2012 03:03 AM, Greg KH wrote: On Sat, Mar 17, 2012 at 02:28:47AM +0530, Aneesh V wrote: Hi Greg, [...] I have fixed these comments and pushed my latest patches at: git://github.com/aneeshv/linux.git branch: emif-upstream-v4 Sorry, but I don't take git pulls for

[PATCH v4 7/7] misc: emif: add debugfs entries for emif

2012-03-16 Thread Aneesh V
Add debug entries for: 1. calculated registers per frequency 2. last polled value of MR4(temperature level of LPDDR2 memory) Cc: Greg KH Signed-off-by: Aneesh V --- v2: - Corrected the frequency value shown in register cache dump - replaced __init with

[PATCH v4 5/7] misc: emif: add interrupt and temperature handling

2012-03-16 Thread Aneesh V
going back to nominal settings when temperature falls back to nominal levels. Cc: Greg KH Signed-off-by: Aneesh V --- v2: - replaced __init with __init_or_module v1: - Improved commit log - Improved synchronization with thread context --- drivers/misc/emif.c | 211

[PATCH v4 4/7] misc: emif: handle frequency and voltage change events

2012-03-16 Thread Aneesh V
needs to be integrated with clock framework and regulator framework respectively. This is not done today due to missing pieces in the kernel. Cc: Greg KH Signed-off-by: Aneesh V --- v1: - Added comment in commit log as well as code about missing integration part that needs to be done in future

[PATCH v4 2/7] misc: emif: add register definitions for EMIF

2012-03-16 Thread Aneesh V
Add register offsets and bit field definitions for EMIF module in TI SoCs Cc: Greg KH Signed-off-by: Aneesh V --- v1: - Improved commit log - Corrected copyright year - Changed file name in order to add other defines needed by the driver in the same file in subsequent patches --- drivers

[PATCH v4 1/7] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
. Cc: Greg KH Signed-off-by: Aneesh V --- v4: - Removed 'ifndef __ASSEMBLY__' from jedec_ddr.h - Updated commit log to be more specific on where this patch is used currently - Converted EXPORT_SYMBOL to EXPORT_SYMBOL_GPL - Removed un-necessary newline v1: - Moved to /lib from /dr

[PATCH v4 0/7] Add TI EMIF SDRAM controller driver

2012-03-16 Thread Aneesh V
a hwmod series [1] that adds hwmod for EMIF - Converted instances of __init to __init_or_module [1] http://thread.gmane.org/gmane.linux.ports.arm.omap/72855 Aneesh V (7): misc: ddr: add LPDDR2 data from JESD209-2 misc: emif: add register definitions for EMIF misc: emif: add basic infrastr

Re: [PATCH v4] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
On Saturday 17 March 2012 03:13 AM, Greg KH wrote: On Sat, Mar 17, 2012 at 02:20:07AM +0530, Aneesh V wrote: add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data

Re: [PATCH v2 1/7] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
Hi Greg, On Friday 16 March 2012 12:32 AM, Greg KH wrote: On Thu, Mar 15, 2012 at 11:47:31PM +0530, Aneesh V wrote: add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data

[PATCH v4] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
. Cc: Greg KH Signed-off-by: Aneesh V --- v4: - Removed 'ifndef __ASSEMBLY__' from jedec_ddr.h - Updated commit log to be more specific on where this patch is used currently v3: - Converted EXPORT_SYMBOL to EXPORT_SYMBOL_GPL - Removed un-necessary newline v1: - Moved to /lib from /dr

[PATCH v3] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-16 Thread Aneesh V
add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data will useful for memory controller device drivers Cc: Greg KH Signed-off-by: Aneesh V --- v3: - Converted

Re: [PATCH v2 0/7] Add TI EMIF SDRAM controller driver

2012-03-15 Thread Aneesh V
On Friday 16 March 2012 12:34 AM, Greg KH wrote: On Thu, Mar 15, 2012 at 11:47:30PM +0530, Aneesh V wrote: Add a driver for the EMIF SDRAM controller used in TI SoCs EMIF is an SDRAM controller that supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols.This driver adds

Re: [PATCH v2 1/7] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-15 Thread Aneesh V
On Friday 16 March 2012 12:32 AM, Greg KH wrote: On Thu, Mar 15, 2012 at 11:47:31PM +0530, Aneesh V wrote: add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data

[PATCH v2 4/4] misc: emif: add device tree support to emif driver

2012-03-15 Thread Aneesh V
Cc: Rajendra Nayak Cc: Benoit Cousson Cc: Grant Likely Signed-off-by: Aneesh V --- v2: - Addressed comments from Grant Likely: Converted occurences of __init to __init_or_module Removed un-necessary instances of #ifdef CONFIG_OF - Rebased to v2 of EMIF driver series v1: - Rebased to the

[PATCH v2 3/4] arm: dts: EMIF and LPDDR2 device tree data for OMAP4 boards

2012-03-15 Thread Aneesh V
Device tree data for the EMIF sdram controllers in OMAP4 and LPDDR2 memory devices attached to OMAP4 boards. Cc: Rajendra Nayak Cc: Benoit Cousson Cc: Grant Likely Signed-off-by: Aneesh V --- v1: - Removed DDR3 only parameters from elpida_ecb240abacn.dtsi --- arch/arm/boot/dts

[PATCH v2 2/4] dt: emif: device tree bindings for TI's EMIF sdram controller

2012-03-15 Thread Aneesh V
Likely Signed-off-by: Aneesh V --- --- .../bindings/memory-controllers/ti/emif.txt| 55 1 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/emif.txt diff --git a/Documentation/devicetree

[PATCH v2 1/4] dt: device tree bindings for LPDDR2 memories

2012-03-15 Thread Aneesh V
on Cc: Grant Likely Signed-off-by: Aneesh V --- v1: - Removed two DDR3 only timing parameters that were inadvertently added in the binding --- .../devicetree/bindings/lpddr2/lpddr2-timings.txt | 52 ++ .../devicetree/bindings/lpddr2/lpddr2.txt | 102

[PATCH v2 0/4] dt: device tree support for TI EMIF driver

2012-03-15 Thread Aneesh V
mp;m=133183554007498&w=2 Cc: Rajendra Nayak Cc: Benoit Cousson Cc: Grant Likely Aneesh V (4): dt: device tree bindings for LPDDR2 memories dt: emif: device tree bindings for TI's EMIF sdram controller arm: dts: EMIF and LPDDR2 device tree data for OMAP4 boards misc: emif: add device tr

[PATCH v2 6/7] misc: emif: add one-time settings

2012-03-15 Thread Aneesh V
Add settings that are not dependent on frequency or any other transient parameters. This includes - power managment control init - impedence calibration control - frequency independent phy configuration registers - initialization of temperature polling Cc: Greg KH Signed-off-by: Aneesh V --- v2

[PATCH v2 7/7] misc: emif: add debugfs entries for emif

2012-03-15 Thread Aneesh V
Add debug entries for: 1. calculated registers per frequency 2. last polled value of MR4(temperature level of LPDDR2 memory) Cc: Greg KH Signed-off-by: Aneesh V --- v2: - Corrected the frequency value shown in register cache dump - replaced __init with

[PATCH v2 5/7] misc: emif: add interrupt and temperature handling

2012-03-15 Thread Aneesh V
going back to nominal settings when temperature falls back to nominal levels. Cc: Greg KH Signed-off-by: Aneesh V --- v2: - replaced __init with __init_or_module v1: - Improved commit log - Improved synchronization with thread context --- drivers/misc/emif.c | 211

[PATCH v2 4/7] misc: emif: handle frequency and voltage change events

2012-03-15 Thread Aneesh V
needs to be integrated with clock framework and regulator framework respectively. This is not done today due to missing pieces in the kernel. Cc: Greg KH Signed-off-by: Aneesh V --- v1: - Added comment in commit log as well as code about missing integration part that needs to be done in future

[PATCH v2 2/7] misc: emif: add register definitions for EMIF

2012-03-15 Thread Aneesh V
Add register offsets and bit field definitions for EMIF module in TI SoCs Cc: Greg KH Signed-off-by: Aneesh V --- v1: - Improved commit log - Corrected copyright year - Changed file name in order to add other defines needed by the driver in the same file in subsequent patches --- drivers

[PATCH v2 3/7] misc: emif: add basic infrastructure for EMIF driver

2012-03-15 Thread Aneesh V
: Aneesh V --- v2: - replaced __init with __init_or_module v1: - Removed emif_cleanup() function and instead used devm_* variant of APIs for resource allocations - Split include/linux/emif.h into two parts. The first part now becomes include/linux/platform_data/emif_plat.h and the other part is

[PATCH v2 1/7] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-15 Thread Aneesh V
add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data will useful for memory controller device drivers Cc: Greg KH Signed-off-by: Aneesh V --- v1: - Moved to /lib

[PATCH v2 0/7] Add TI EMIF SDRAM controller driver

2012-03-15 Thread Aneesh V
e.org/gmane.linux.ports.arm.omap/72855 Aneesh V (7): misc: ddr: add LPDDR2 data from JESD209-2 misc: emif: add register definitions for EMIF misc: emif: add basic infrastructure for EMIF driver misc: emif: handle frequency and voltage change events misc: emif: add interrupt and temperature handling misc: emif

Re: [PATCH 4/4] misc: emif: add device tree support to emif driver

2012-03-09 Thread Aneesh V
Hi Grant, On Friday 09 March 2012 11:07 AM, Grant Likely wrote: On Thu, 8 Mar 2012 22:03:57 +0530, Aneesh V wrote: Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- Changes since RFC v4: - Rebased to the latest version of EMIF series - Replace kzalloc()/kfree() with devm_

Re: [PATCH 0/8] Add TI EMIF SDRAM controller driver

2012-03-08 Thread Aneesh V
On Friday 09 March 2012 02:29 AM, Greg KH wrote: On Thu, Mar 08, 2012 at 09:24:17PM +0530, Aneesh V wrote: Add a driver for the EMIF SDRAM controller used in TI SoCs EMIF is an SDRAM controller that supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols.This driver adds

Re: [PATCH 1/8] OMAP4: hwmod: add EMIF hw mod data

2012-03-08 Thread Aneesh V
On Thursday 08 March 2012 10:11 PM, Cousson, Benoit wrote: Hi Aneesh On 3/8/2012 4:54 PM, Aneesh V wrote: From: Benoit Cousson Add hwmod data for EMIF IP instances in OMAP4. Paul has just posted an OMAP4 hwmod series (ARM: OMAP4: hwmod data: add almost all remaining IP blocks) that does

[PATCH 4/4] misc: emif: add device tree support to emif driver

2012-03-08 Thread Aneesh V
Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- Changes since RFC v4: - Rebased to the latest version of EMIF series - Replace kzalloc()/kfree() with devm_* variants --- drivers/misc/emif.c | 289 ++- 1 files changed, 288

[PATCH 3/4] arm: dts: EMIF and LPDDR2 device tree data for OMAP4 boards

2012-03-08 Thread Aneesh V
Device tree data for the EMIF sdram controllers in OMAP4 and LPDDR2 memory devices attached to OMAP4 boards. Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- Changes since RFC v4: - Removed DDR3 only parameters from elpida_ecb240abacn.dtsi --- arch/arm/boot/dts

[PATCH 2/4] dt: emif: device tree bindings for TI's EMIF sdram controller

2012-03-08 Thread Aneesh V
-by: Aneesh V --- Changes sice RFC v4: - None --- .../bindings/memory-controllers/ti/emif.txt| 55 1 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/emif.txt diff --git a/Documentation

[PATCH 1/4] dt: device tree bindings for LPDDR2 memories

2012-03-08 Thread Aneesh V
device tree bindings for LPDDR2 SDRAM memories compliant to JESD209-2 standard. The 'lpddr2' binding in-turn uses another binding 'lpddr2-timings' for specifying the AC timing parameters of the memory device at different speed-bins. Cc: Rajendra Nayak Cc: Benoit Cousson Sig

[PATCH 0/4] dt: device tree support for TI EMIF driver

2012-03-08 Thread Aneesh V
42&w=2 Aneesh V (4): dt: device tree bindings for LPDDR2 memories dt: emif: device tree bindings for TI's EMIF sdram controller arm: dts: EMIF and LPDDR2 device tree data for OMAP4 boards misc: emif: add device tree support to emif driver .../devicetree/bindings/lpddr2/lpddr

[PATCH 8/8] misc: emif: add debugfs entries for emif

2012-03-08 Thread Aneesh V
Add debug entries for: 1. calculated registers per frequency 2. last polled value of MR4(temperature level of LPDDR2 memory) Cc: Greg KH Signed-off-by: Aneesh V --- Changes since RFC: - None --- drivers/misc/emif.c | 138

[PATCH 0/8] Add TI EMIF SDRAM controller driver

2012-03-08 Thread Aneesh V
doesn't have DVFS support yet, testing was done using a test module. - Temperature alert handling was tested with simulated interrupts and faked temperature values as testing all cases in real-life scenarios is difficult. - Tested the driver as a module Cc: Greg KH Aneesh V (7): misc

[PATCH 7/8] misc: emif: add one-time settings

2012-03-08 Thread Aneesh V
Add settings that are not dependent on frequency or any other transient parameters. This includes - power managment control init - impedence calibration control - frequency independent phy configuration registers - initialization of temperature polling Cc: Greg KH Signed-off-by: Aneesh V

[PATCH 6/8] misc: emif: add interrupt and temperature handling

2012-03-08 Thread Aneesh V
going back to nominal settings when temperature falls back to nominal levels. Cc: Greg KH Signed-off-by: Aneesh V --- Changes since RFC: - Improved commit log - Improved synchronization with thread context --- drivers/misc/emif.c | 211 ++- 1 files

[PATCH 5/8] misc: emif: handle frequency and voltage change events

2012-03-08 Thread Aneesh V
needs to be integrated with clock framework and regulator framework respectively. This is not done today due to missing pieces in the kernel. Cc: Greg KH Signed-off-by: Aneesh V --- Changes since RFC: - Added comment in commit log as well as code about missing integration part that needs to be

[PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-03-08 Thread Aneesh V
: Aneesh V --- Changes since RFC: - Removed emif_cleanup() function and instead used devm_* variant of APIs for resource allocations - Split include/linux/emif.h into two parts. The first part now becomes include/linux/platform_data/emif_plat.h and the other part is now merged in drivers/misc

[PATCH 3/8] misc: emif: add register definitions for EMIF

2012-03-08 Thread Aneesh V
Add register offsets and bit field definitions for EMIF module in TI SoCs Cc: Greg KH Signed-off-by: Aneesh V --- Changes since RFC: - Improved commit log - Corrected copyright year - Changed file name in order to add other defines needed by the driver in the same file in subsequent patches

[PATCH 2/8] misc: ddr: add LPDDR2 data from JESD209-2

2012-03-08 Thread Aneesh V
add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data will useful for memory controller device drivers Cc: Greg KH Signed-off-by: Aneesh V --- Changes since RFC

[PATCH 1/8] OMAP4: hwmod: add EMIF hw mod data

2012-03-08 Thread Aneesh V
From: Benoit Cousson Add hwmod data for EMIF IP instances in OMAP4. Signed-off-by: Benoit Cousson --- Changes since RFC: - Improved commit log --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 110 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/ar

Re: [RFC PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-02-24 Thread Aneesh V
On Thursday 16 February 2012 10:00 PM, Cousson, Benoit wrote: Hi Aneesh, [...] +struct emif_data { + u8 duplicate; + u8 temperature_level; + u32 irq; + spinlock_t

Re: [RFC v4 PATCH 0/4] dt: device tree support for TI EMIF driver

2012-02-23 Thread Aneesh V
On Saturday 04 February 2012 06:12 PM, Aneesh V wrote: This series adds device tree support for TI EMIF SDRAM controller driver. For this, a binding has been added for representing AC timing parameters and other details of LPDDR2 memories. Ping! Any comments on this series? br, Aneesh -- To

Re: [RFC PATCH 0/8] Add TI EMIF SDRAM controller driver

2012-02-20 Thread Aneesh V
On Friday 17 February 2012 11:20 PM, Greg KH wrote: On Fri, Feb 17, 2012 at 07:26:29PM +0530, Aneesh V wrote: [...] I don't know what any of those TLA words mean, so I really can't suggest This is a driver for TI's memory controller(called EMIF). The driver is needed fo

Re: [RFC PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-02-17 Thread Aneesh V
On Friday 17 February 2012 07:14 PM, Cousson, Benoit wrote: Hi Aneesh, [...] + emif = kzalloc(sizeof(struct emif_data), GFP_KERNEL); You should use the devm_* version of this API to get the simplify the error handling / removal. Please note that most of my allocations are happening throug

Re: [RFC PATCH 0/8] Add TI EMIF SDRAM controller driver

2012-02-17 Thread Aneesh V
Greg, On Thursday 16 February 2012 09:53 PM, Greg KH wrote: On Thu, Feb 16, 2012 at 04:21:11PM +0530, Santosh Shilimkar wrote: Andrew, Greg, On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: Add a driver for the EMIF SDRAM controller used in TI SoCs EMIF is an SDRAM controller that

Re: [RFC PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-02-17 Thread Aneesh V
Hi Benoit, On Thursday 16 February 2012 10:00 PM, Cousson, Benoit wrote: Hi Aneesh, On 2/4/2012 1:16 PM, Aneesh V wrote: EMIF is an SDRAM controller used in various Texas Instruments SoCs. EMIF supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols. Add the basic

Re: [RFC PATCH 7/8] misc: emif: add one-time settings

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 04:14 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: Add settings that are not dependent on frequency or any other transient parameters Expand the changelog a bit. One time settings like SDRAM_CONFIG, PHY_CONTROL, TEMP alert

Re: [RFC PATCH 2/8] misc: ddr: add LPDDR2 data from JESD209-2

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 04:40 PM, Alan Cox wrote: On Thu, 16 Feb 2012 15:57:57 +0530 Aneesh V wrote: On Thursday 16 February 2012 03:37 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: add LPDDR2 data from the JEDEC spec JESD209-2. The data includes

Re: [RFC PATCH 6/8] misc: emif: add interrupt and temperature handling

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 04:11 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: Add an ISR for EMIF that: 1. reports details of access errors 2. takes action on thermal events On thermal events SDRAM timing parameters are adjusted to

Re: [RFC PATCH 5/8] misc: emif: handle frequency and voltage change events

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 04:08 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: Change SDRAM timings and other settings as necessary on voltage and frequency changes. We calculate these register settings based on data from the device data sheet and inputs

Re: [RFC PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 04:03 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: EMIF is an SDRAM controller used in various Texas Instruments SoCs. EMIF supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols. Add the basic

Re: [RFC PATCH 3/8] misc: emif: add register definitions for EMIF

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 03:40 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: Signed-off-by: Aneesh V --- drivers/misc/emif_regs.h | 461 ++ 1 files changed, 461 insertions(+), 0 deletions(-) create mode

Re: [RFC PATCH 2/8] misc: ddr: add LPDDR2 data from JESD209-2

2012-02-16 Thread Aneesh V
On Thursday 16 February 2012 03:37 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data

Re: [RFC PATCH 1/8] OMAP4: hwmod: add EMIF hw mod data

2012-02-16 Thread Aneesh V
Santosh, Thanks for the review. On Thursday 16 February 2012 03:32 PM, Santosh Shilimkar wrote: On Saturday 04 February 2012 05:46 PM, Aneesh V wrote: From: Benoit Cousson One line of change log will do here. Ok. Will add. br, Aneesh -- To unsubscribe from this list: send the line

Re: [RFC PATCH 3/8] misc: emif: add register definitions for EMIF

2012-02-09 Thread Aneesh V
On Thursday 09 February 2012 04:55 PM, Bedia, Vaibhav wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of V, Aneesh Sent: Saturday, February 04, 2012 5:46 PM To: linux-omap@vger.kernel.org Cc: linux-ker...@vger.kernel.or

[RFC v4 PATCH 4/4] misc: emif: add device tree support to emif driver

2012-02-04 Thread Aneesh V
Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- drivers/misc/emif.c | 281 ++- 1 files changed, 280 insertions(+), 1 deletions(-) diff --git a/drivers/misc/emif.c b/drivers/misc/emif.c index f67a9e7..2fc0813 100644 --- a

[RFC v4 PATCH 3/4] arm: dts: EMIF and LPDDR2 device tree data for OMAP4 boards

2012-02-04 Thread Aneesh V
Device tree data for the EMIF sdram controllers in OMAP4 and LPDDR2 memory devices attached to OMAP4 boards. Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- arch/arm/boot/dts/elpida_ecb240abacn.dtsi | 71 + arch/arm/boot/dts/omap4-panda.dts

[RFC v4 PATCH 2/4] dt: emif: device tree bindings for TI's EMIF sdram controller

2012-02-04 Thread Aneesh V
-by: Aneesh V --- --- .../bindings/memory-controllers/ti/emif.txt| 55 1 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/emif.txt diff --git a/Documentation/devicetree/bindings/memory

[RFC v4 PATCH 1/4] dt: device tree bindings for LPDDR2 memories

2012-02-04 Thread Aneesh V
device tree bindings for LPDDR2 SDRAM memories compliant to JESD209-2 standard. The 'lpddr2' binding in-turn uses another binding 'lpddr2-timings' for specifying the AC timing parameters of the memory device at different speed-bins. Cc: Rajendra Nayak Cc: Benoit Cousson Sig

[RFC v4 PATCH 0/4] dt: device tree support for TI EMIF driver

2012-02-04 Thread Aneesh V
* Incorporated review comments from Olof Changes from RFC v3 to RFC v4: * Added a new patch to add DT support in the EMIF driver [1] http://marc.info/?l=linux-omap&m=132835811606125&w=2 Aneesh V (4): dt: device tree bindings for LPDDR2 memories dt: emif: device tree bindings for TI'

[RFC PATCH 8/8] misc: emif: add debugfs entries for emif

2012-02-04 Thread Aneesh V
Add debug entries for: 1. calculated registers per frequency 2. last polled value of MR4(temperature level of LPDDR2 memory) Signed-off-by: Aneesh V --- drivers/misc/emif.c | 129 +++ 1 files changed, 129 insertions

[RFC PATCH 7/8] misc: emif: add one-time settings

2012-02-04 Thread Aneesh V
Add settings that are not dependent on frequency or any other transient parameters Signed-off-by: Aneesh V --- drivers/misc/emif.c | 147 +++ 1 files changed, 147 insertions(+), 0 deletions(-) diff --git a/drivers/misc/emif.c b/drivers/misc

[RFC PATCH 6/8] misc: emif: add interrupt and temperature handling

2012-02-04 Thread Aneesh V
-by: Aneesh V --- drivers/misc/emif.c | 209 ++- 1 files changed, 207 insertions(+), 2 deletions(-) diff --git a/drivers/misc/emif.c b/drivers/misc/emif.c index 36ba6f4..5c2b0ae 100644 --- a/drivers/misc/emif.c +++ b/drivers/misc/emif.c @@ -500,6

[RFC PATCH 5/8] misc: emif: handle frequency and voltage change events

2012-02-04 Thread Aneesh V
Change SDRAM timings and other settings as necessary on voltage and frequency changes. We calculate these register settings based on data from the device data sheet and inputs such a frequency, voltage state(stable or ramping), temperature level etc. Signed-off-by: Aneesh V --- drivers/misc

[RFC PATCH 4/8] misc: emif: add basic infrastructure for EMIF driver

2012-02-04 Thread Aneesh V
EMIF is an SDRAM controller used in various Texas Instruments SoCs. EMIF supports, based on its revision, one or more of LPDDR2/DDR2/DDR3 protocols. Add the basic infrastructure for EMIF driver that includes driver registration, probe, parsing of platform data etc. Signed-off-by: Aneesh V

[RFC PATCH 3/8] misc: emif: add register definitions for EMIF

2012-02-04 Thread Aneesh V
Signed-off-by: Aneesh V --- drivers/misc/emif_regs.h | 461 ++ 1 files changed, 461 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/emif_regs.h diff --git a/drivers/misc/emif_regs.h b/drivers/misc/emif_regs.h new file mode 100644 index

[RFC PATCH 2/8] misc: ddr: add LPDDR2 data from JESD209-2

2012-02-04 Thread Aneesh V
add LPDDR2 data from the JEDEC spec JESD209-2. The data includes: 1. Addressing information for LPDDR2 memories of different densities and types(S2/S4) 2. AC timing data. This data will useful for memory controller device drivers Signed-off-by: Aneesh V --- drivers/misc/Kconfig

[RFC PATCH 1/8] OMAP4: hwmod: add EMIF hw mod data

2012-02-04 Thread Aneesh V
From: Benoit Cousson Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 110 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index

[RFC PATCH 0/8] Add TI EMIF SDRAM controller driver

2012-02-04 Thread Aneesh V
g was done using a test module. - Temperature alert handling was tested with simulated interrupts and faked temperature values as testing all cases in real-life scenarios is difficult. Aneesh V (7): misc: ddr: add LPDDR2 data from JESD209-2 misc: emif: add register definitions for EMIF misc:

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-30 Thread Aneesh V
Hi Catalin, On Friday 27 January 2012 11:00 PM, Catalin Marinas wrote: On Fri, Jan 20, 2012 at 08:57:11AM +, Joe Woodward wrote: So I re-iterate that we need to have solution to this problem. ... I don't want to be a pain, but it seems to me that this dicussion didn't reach a full conclus

Re: [RFC v3 PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-21 Thread Aneesh V
On Saturday 21 January 2012 12:58 PM, Olof Johansson wrote: On Thu, Jan 19, 2012 at 12:56 PM, Aneesh V wrote: Hi Olof, On Friday 20 January 2012 01:01 AM, Olof Johansson wrote: Hi, Sorry for the delay in responding, I know you pinged me about it yesterday. On Thu, Jan 19, 2012 at 6:31 AM

Re: [RFC v3 PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-19 Thread Aneesh V
Hi Olof, On Friday 20 January 2012 01:01 AM, Olof Johansson wrote: Hi, Sorry for the delay in responding, I know you pinged me about it yesterday. On Thu, Jan 19, 2012 at 6:31 AM, Aneesh V wrote: device tree bindings for LPDDR2 SDRAM memories compliant to JESD209-2 standard. The 'l

[RFC v3 PATCH 3/3] arm/dts: EMIF and lpddr2 device tree data for OMAP4 boards

2012-01-19 Thread Aneesh V
Device tree data for the EMIF sdram controllers in OMAP4 and LPDDR memory devices attached to OMAP4 boards. Cc: Rajendra Nayak Cc: Benoit Cousson Cc: Olof Johansson Signed-off-by: Aneesh V --- Changes in RFC v3: * Fixed review comments from RFC v2 --- arch/arm/boot/dts

[RFC v3 PATCH 2/3] dt: device tree bindings for TI's EMIF sdram controller

2012-01-19 Thread Aneesh V
Johansson Signed-off-by: Aneesh V --- Changes in RFC v3: * Fixed review comments from RFC v2 --- .../bindings/memory-controllers/ti/emif.txt| 49 1 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory

[RFC v3 PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-19 Thread Aneesh V
Cc: Olof Johansson Signed-off-by: Aneesh V Changes in RFC v2: * Removed the "manufacturer" property and added it in compatible property instead * Changed the DDR device names in example to indicate the part number Changes in RFC v3: * Removed DDR3 support * Fixed review comments

[RFC v3 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-19 Thread Aneesh V
4 and LPDDR2 memories attached to them on various boards. Thanks to Rajendra for answering my numerous queries on device tree. Changes in RFC v3: * Removed support for DDR3 * Incorporated review comments from Olof Aneesh V (3): dt: device tree bindings for DDR memories dt: device tree bindings for

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-19 Thread Aneesh V
On Thursday 19 January 2012 07:58 PM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM controller. The first patch adds bindings for DDR memories. Currently, we have added properties for only DDR3 and LPDDR2 memories. However, the bi

[PATCH 3/3] arm/dts: EMIF and lpddr2 device tree data for OMAP4 boards

2012-01-19 Thread Aneesh V
Device tree data for the EMIF sdram controllers in OMAP4 and DDR memories attached to OMAP4 boards. Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V --- arch/arm/boot/dts/elpida_ecb240abacn.dtsi | 64 + arch/arm/boot/dts/omap4-panda.dts

[PATCH 2/3] dt: device tree bindings for TI's EMIF sdram controller

2012-01-19 Thread Aneesh V
-by: Aneesh V --- .../bindings/memory-controllers/ti/emif.txt| 62 1 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/emif.txt diff --git a/Documentation/devicetree/bindings/memory

[PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-19 Thread Aneesh V
x27;ddr-timings' for specifying the AC timing parameters of the memory device at different speed-bins. Cc: Rajendra Nayak Cc: Benoit Cousson Signed-off-by: Aneesh V Changes in RFC v2: * Removed the "manufacturer" property and added it in compatible property instead * Changed the

[RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-19 Thread Aneesh V
a re-post of the RFC that was posted to devicetree-discuss ml, now sent to a larger audience and looping out an internal list. Please ignore the previous version. Aneesh V (3): dt: device tree bindings for DDR memories dt: device tree bindings for TI's EMIF sdram controller arm/dts: EMIF

Re: [RFC v2 PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-19 Thread Aneesh V
Hi Olof, On Tuesday 20 December 2011 12:39 PM, Aneesh V wrote: Hi Olof, On Monday 19 December 2011 10:22 PM, Olof Johansson wrote: Hi, Some comments below, but also a more general question: How much of this generic data makes sense to encode in the device tree? Final hardware configuration

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-17 Thread Aneesh V
On Tuesday 17 January 2012 07:11 PM, Catalin Marinas wrote: On Tue, Jan 17, 2012 at 12:27:25PM +, Aneesh V wrote: Hi Catalin, On Tuesday 17 January 2012 05:41 PM, Catalin Marinas wrote: On Tue, Jan 17, 2012 at 08:54:44AM +, Joe Woodward wrote: So, is the upshot of this that the

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-17 Thread Aneesh V
Hi Catalin, On Tuesday 17 January 2012 05:41 PM, Catalin Marinas wrote: On Tue, Jan 17, 2012 at 08:54:44AM +, Joe Woodward wrote: So, is the upshot of this that the kernel isn't going to be in a position to enable the L2/outer cache on OMAP3 (due to the need for hacky/unmaintainable code)?

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-17 Thread Aneesh V
Hi Olof, On Saturday 14 January 2012 01:06 AM, Aneesh V wrote: Hi Olof, We wish to drop the DDR3 support because we have concluded that our platforms with DDR3 memories will not scale DDR frequency due to limitations in DDR3 protocol(operating frequency can vary only in a small range). So

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-17 Thread Aneesh V
Santosh, Russel, On Monday 16 January 2012 06:52 PM, Shilimkar, Santosh wrote: On Mon, Jan 16, 2012 at 2:13 PM, Russell King - ARM Linux wrote: On Mon, Jan 16, 2012 at 01:43:03PM +0100, Shilimkar, Santosh wrote: This code will be in assembly and that's what I have been using. Not having stac

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-13 Thread Aneesh V
Hi Olof, On Monday 09 January 2012 11:12 AM, Olof Johansson wrote: Hi, On Sun, Jan 8, 2012 at 9:23 AM, Aneesh V wrote: Hi, On Tuesday 20 December 2011 03:08 PM, Aneesh V wrote: Hi Benoit On Tuesday 20 December 2011 06:10 PM, Cousson, Benoit wrote: Hi Aneesh, In general, is it

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2012-01-08 Thread Aneesh V
Hi, On Tuesday 20 December 2011 03:08 PM, Aneesh V wrote: Hi Benoit On Tuesday 20 December 2011 06:10 PM, Cousson, Benoit wrote: Hi Aneesh, In general, is it really feasible to parse the DTB before DDR is initialized? Changing timings is still needed for DVFS during runtime. But we

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
Hi Benoit On Tuesday 20 December 2011 06:10 PM, Cousson, Benoit wrote: Hi Aneesh, In general, is it really feasible to parse the DTB before DDR is initialized? Changing timings is still needed for DVFS during runtime. But we can boot to userspace with bootloader set timings, so I'm As

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
On Tuesday 20 December 2011 05:05 AM, Tony Lindgren wrote: * Rob Herring [111219 14:29]: On 12/19/2011 08:05 AM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM controller. The first patch adds bindings for DDR memories. Currentl

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
On Tuesday 20 December 2011 04:31 AM, Rob Herring wrote: On 12/19/2011 08:05 AM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM controller. The first patch adds bindings for DDR memories. Currently, we have added properties for

Re: [RFC v2 PATCH 2/3] dt: device tree bindings for TI's EMIF sdram controller

2011-12-19 Thread Aneesh V
On Monday 19 December 2011 10:29 PM, Olof Johansson wrote: Oh wait, when I saw 3/3 I realized the following too: On Mon, Dec 19, 2011 at 6:05 AM, Aneesh V wrote: +- phy-type : string indicating the phy type. Should be one of the + following: + + "phy-type-omap4" : PHY use

Re: [RFC v2 PATCH 2/3] dt: device tree bindings for TI's EMIF sdram controller

2011-12-19 Thread Aneesh V
On Monday 19 December 2011 10:26 PM, Olof Johansson wrote: Hi, Fewer comments here. :) But see below. On Mon, Dec 19, 2011 at 6:05 AM, Aneesh V wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt @@ -0,0 +1,64 @@ +* EMIF family of TI SDRAM

Re: [RFC v2 PATCH 1/3] dt: device tree bindings for DDR memories

2011-12-19 Thread Aneesh V
ed by our driver to re-configure our SDRAM controller during DVFS. In fact, I have not listed all AC timing parameters in the spec in this binding, leaving the rest for future users to add if they need them. On Mon, Dec 19, 2011 at 6:05 AM, Aneesh V wrote: diff --git a/Documentation/devic

  1   2   >