[PATCH v6 1/2] memory: ti-aemif: introduce AEMIF driver

2014-02-24 Thread Ivan Khoronzhuk
selects with 64M byte access per chip select. Synchronous memories such as DDR1 SD RAM, SDR SDRAM and Mobile SDR are not supported. This controller is used on SoCs like Davinci, Keysone2 Acked-by: Santosh Shilimkar Signed-off-by: Ivan Khoronzhuk --- drivers/memory/Kconfig| 11 ++ drivers

[PATCH v6 2/2] memory: ti-aemif: add bindings for AEMIF driver

2014-02-24 Thread Ivan Khoronzhuk
emory ranges to it, as result we can't encode CS number in "reg" for AEMIF child devices (NAND/NOR/etc), as it will break bindings compatibility. In this patch, NAND node is used just as an example of child node. Acked-by: Santosh Shilimkar Signed-off-by: Ivan Khoronzhuk --- .../

[PATCH v6 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2014-02-24 Thread Ivan Khoronzhuk
added ti.cs-chipselect property instead of representing chipselect number in cs node name. Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory: ti-aemif: add bindings for AEMIF driver .../bindings/memory-controllers/ti-aemif.txt | 210 ++ drivers/memor

Re: linux-next: manual merge of the clk tree with the keystone tree

2014-02-26 Thread Ivan Khoronzhuk
"clkvcp3" (for wich reg is corrected) is moved to the following two dts: k2hk-clocks.dtsi k2l-clocks.dtsi So probably you should apply this change to k2l-clocks.dtsi too. -- Regards, Ivan Khoronzhuk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

[PATCH 5/5] ARM: keystone: enable reset driver support

2014-02-28 Thread Ivan Khoronzhuk
Enable reset driver support in order to have opportunity to reboot SoC by watchdog and by software. Signed-off-by: Ivan Khoronzhuk --- CC: Russell King CC: Santosh Shilimkar arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs

[PATCH 1/5] Power: reset: keystone-reset: introduce keystone reset driver

2014-02-28 Thread Ivan Khoronzhuk
use. So add keystone reset driver to handle all this stuff. Signed-off-by: Ivan Khoronzhuk --- CC: Dmitry Eremin-Solenikov CC: David Woodhouse CC: Grant Likely CC: Rob Herring drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset

[PATCH 3/5] ARM: keystone: remove redundant reset stuff

2014-02-28 Thread Ivan Khoronzhuk
Remove reset stuff in flavour of using keystone reset driver: driver/power/reset/keystone-reset.c Signed-off-by: Ivan Khoronzhuk --- CC: Santosh Shilimkar CC: Russell King arch/arm/mach-keystone/keystone.c | 35 --- 1 file changed, 35 deletions(-) diff --git

[PATCH 0/5] Introduce keystone reset driver

2014-02-28 Thread Ivan Khoronzhuk
Eremin-Solenikov CC: David Woodhouse CC: Grant Likely CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: Rob Landley CC: Santosh Shilimkar CC: Russell King Ivan Khoronzhuk (5): Power: reset: keystone-reset: introduce keystone reset driver Power

[PATCH 2/5] Power: reset: add bindings for keystone reset driver

2014-02-28 Thread Ivan Khoronzhuk
. Additionally soft or hard reset can be configured. Signed-off-by: Ivan Khoronzhuk --- CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: Rob Landley .../bindings/power/reset/keystone-reset.txt| 59 ++ 1 file changed, 59 insertions

[PATCH 4/5] ARM: dts: keystone: update reset node to work with reset driver

2014-02-28 Thread Ivan Khoronzhuk
. Also add range for reset multiplex registers for SoC on the device. These registers are located in Bootcfg memory space and needed to setup behaviour after appropriate watchdog is triggered. Add "ti,wdt_list" option to declare what watchdog are used to reboot the SoC. Signed-of

[PATCH] ARM: dts: keystone: Fix domain register range for clkfftc1

2014-03-18 Thread Ivan Khoronzhuk
The domain register range for clkfftc1 has to be 0x0235004c instead of 0x023504c0. Signed-off-by: Ivan Khoronzhuk --- arch/arm/boot/dts/k2hk-clocks.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/k2hk-clocks.dtsi b/arch/arm/boot/dts/k2hk-clocks.dtsi

[PATCH] ARM: dts: keystone: Fix control register range for clktsip

2014-03-18 Thread Ivan Khoronzhuk
The control register range for clktsio interferes with clkaemifspi clock. And it causes issues for NAND/AEMIF. So fix it. Signed-off-by: Ivan Khoronzhuk --- Only comment is corrected. arch/arm/boot/dts/k2hk-clocks.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH 2/2] ARM: dts: keystone: disable subpage write for davinci nand device

2014-03-19 Thread Ivan Khoronzhuk
Add the property davinci-no-subpage-write to disable sub page write in the nand driver. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/boot/dts/k2hk-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk

[PATCH 0/2] Disable subpage write for k2hk-evm

2014-03-19 Thread Ivan Khoronzhuk
These patches disable subpage write for k2hk-evm. Based on linux-next tag: next-20140319 Ivan Khoronzhuk (2): mtd: davinci-nand: add dts property for NAND_NO_SUBPAGE_WRITE option ARM: dts: keystone: disable subpage write for davinci nand device Documentation/devicetree/bindings/mtd/davinci

[PATCH 1/2] mtd: davinci-nand: add dts property for NAND_NO_SUBPAGE_WRITE option

2014-03-19 Thread Ivan Khoronzhuk
Add a property to disable subpage write. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- Documentation/devicetree/bindings/mtd/davinci-nand.txt | 2 ++ drivers/mtd/nand/davinci_nand.c| 3 +++ 2 files changed, 5 insertions(+) diff --git a

Re: [PATCH 0/2] Disable subpage write for k2hk-evm

2014-03-20 Thread Ivan Khoronzhuk
Please ignore this series On 03/20/2014 12:15 AM, Ivan Khoronzhuk wrote: These patches disable subpage write for k2hk-evm. Based on linux-next tag: next-20140319 Ivan Khoronzhuk (2): mtd: davinci-nand: add dts property for NAND_NO_SUBPAGE_WRITE option ARM: dts: keystone: disable subpage

[PATCH 3/3] ARM: dts: k2hk-evm: disable subpage write for davinci nand device

2014-03-20 Thread Ivan Khoronzhuk
From: Murali Karicheri Add the property davinci-no-subpage-write to disable sub page write in the nand driver. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/boot/dts/k2hk-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/k2hk-evm.dts

[PATCH 2/3] mtd: davinci-nand: add dts property for NAND_NO_SUBPAGE_WRITE option

2014-03-20 Thread Ivan Khoronzhuk
From: Murali Karicheri After testing NAND flash with ubifs for k2hk-emv board were committed that flash doesn't support subpage writing, so we can fix it by adding a property to disable subpage write. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- Documentation/devic

[PATCH 0/3] Fix NAND propeties for k2hk-evm

2014-03-20 Thread Ivan Khoronzhuk
This series is intedent to fix problems founded when checked NAND flash for k2hk-emv board rev2.0. Whithout this series we cannot use ubifs and whole volume of present NAND memory. Based on linux-next tag: next-20140320 Murali Karicheri (3): ARM: dts: k2hk-evm: set ubifs partition size for 512M

[PATCH 1/3] ARM: dts: k2hk-evm: set ubifs partition size for 512M NAND

2014-03-20 Thread Ivan Khoronzhuk
From: Murali Karicheri The UBIFS partition size was incorrectly defined as for 128M NAND, but on k2hk-evm installed NAND flash size is 512M. Hence, correct it. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/boot/dts/k2hk-evm.dts | 2 +- 1 file changed, 1

Re: [PATCH 2/3] mtd: davinci-nand: add dts property for NAND_NO_SUBPAGE_WRITE option

2014-03-20 Thread Ivan Khoronzhuk
"ti,davinci-nand", }, {.compatible = "ti,keystone-nand", }, {}, }; -- Regards, Ivan Khoronzhuk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2] mtd: davinci-nand: disable subpage write for keystone-nand

2014-03-20 Thread Ivan Khoronzhuk
GE_WRITE option. Cc: Brian Norris Cc: Warner Losh Cc: Santosh Shilimkar Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- This patch is a result of discussion on patch v1: https://lkml.org/lkml/2014/3/20/461 drivers/mtd/nand/davinci_nand.c | 6 ++ 1 file changed, 6 inserti

[PATCH v2] ARM: dts: k2hk-evm: set ubifs partition size for 512M NAND

2014-03-20 Thread Ivan Khoronzhuk
From: Murali Karicheri The UBIFS partition size was incorrectly defined as for 128M NAND, but on k2hk-evm installed NAND flash size is 512M. Hence, correct it. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- Just cut from series v1: [PATCH 1/3] ARM: dts: k2hk-evm: set

Re: [PATCH 15/28] Remove TI_AEMIF

2014-02-11 Thread Ivan Khoronzhuk
y arch/arm/mach-davinci/aemif.c. In case of Keystone the timings are going to be set by AEMIF driver. AEMIF is going to be merged I hope. That's plan. So you can leave it. -- Regards, Ivan Khoronzhuk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu

Re: [PATCH v4 1/2] memory: ti-aemif: introduce AEMIF driver

2014-02-19 Thread Ivan Khoronzhuk
On 02/18/2014 10:30 PM, Greg KH wrote: On Wed, Feb 05, 2014 at 09:46:13PM +0200, Ivan Khoronzhuk wrote: Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and

[PATCH v5 2/2] memory: ti-aemif: add bindings for AEMIF driver

2014-02-19 Thread Ivan Khoronzhuk
emory ranges to it, as result we can't encode CS number in "reg" for AEMIF child devices (NAND/NOR/etc), as it will break bindings compatibility. In this patch, NAND node is used just as an example of child node. Signed-off-by: Ivan Khoronzhuk --- .../bindings/memory-contro

[PATCH v5 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2014-02-19 Thread Ivan Khoronzhuk
ler v1..v2 (https://lkml.org/lkml/2013/11/21/170): - memory: ti-aemif: introduce AEMIF driver - memory: ti-aemif: add bindings for AEMIF driver added ti.cs-chipselect property instead of representing chipselect number in cs node name. Ivan Khoronzhuk (2): memory: ti-aemif: in

[PATCH v5 1/2] memory: ti-aemif: introduce AEMIF driver

2014-02-19 Thread Ivan Khoronzhuk
selects with 64M byte access per chip select. Synchronous memories such as DDR1 SD RAM, SDR SDRAM and Mobile SDR are not supported. This controller is used on SoCs like Davinci, Keysone2 Acked-by: Santosh Shilimkar Signed-off-by: Ivan Khoronzhuk --- drivers/memory/Kconfig| 11 ++ drivers

Re: [PATCH v4 1/2] memory: ti-aemif: introduce AEMIF driver

2014-02-19 Thread Ivan Khoronzhuk
On 02/19/2014 04:34 PM, Greg KH wrote: On Wed, Feb 19, 2014 at 12:32:02PM +0200, Ivan Khoronzhuk wrote: + aemif->clk = devm_clk_get(dev, NULL); + if (IS_ERR(aemif->clk)) { + dev_err(dev, "cannot get clock 'aemif'\n"); + retur

Re: [PATCH v5 2/2] memory: ti-aemif: add bindings for AEMIF driver

2014-02-20 Thread Ivan Khoronzhuk
On 02/19/2014 08:11 PM, Mark Rutland wrote: On Wed, Feb 19, 2014 at 01:40:10PM +, Ivan Khoronzhuk wrote: Add bindings for TI Async External Memory Interface (AEMIF) controller. The Async External Memory Interface (EMIF16/AEMIF) controller is intended to provide a glue-less interface to a

Re: [PATCH v5 2/2] memory: ti-aemif: add bindings for AEMIF driver

2014-02-20 Thread Ivan Khoronzhuk
On 02/20/2014 03:44 PM, Rob Herring wrote: On Thu, Feb 20, 2014 at 6:44 AM, Ivan Khoronzhuk wrote: On 02/19/2014 08:11 PM, Mark Rutland wrote: On Wed, Feb 19, 2014 at 01:40:10PM +, Ivan Khoronzhuk wrote: Add bindings for TI Async External Memory Interface (AEMIF) controller. The Async

[PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-11-27 Thread Ivan Khoronzhuk
core, so use it in order to set timeout period. Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck Signed-off-by: Ivan Khoronzhuk --- drivers/watchdog/Kconfig |2 + drivers/watchdog/davinci_wdt.c | 147 ++-- 2 files changed, 37 insertions

[PATCH v4 5/5] watchdog: davinci: reuse driver for keystone arch

2013-11-27 Thread Ivan Khoronzhuk
The keystone arch uses the same IP watchdog, so add "ti,keystone-wdt" compatible and correct identity. The Keystone arch is using clocks in DT and source clock for watchdog has to be specified, so add this to binding. Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck Signed-of

[PATCH v4 2/5] watchdog: davinci: use davinci_wdt_device structure to hold device data

2013-11-27 Thread Ivan Khoronzhuk
Some SoCs, like Keystone 2, can support more than one WDT and each watchdog device has to use it's own base address, clock source, watchdog device, so add new davinci_wdt_device structure to hold device data. Acked-by: Santosh Shilimkar Reviewed-by: Guenter roeck Signed-off-by: Ivan Khoro

[PATCH v4 3/5] watchdog: davinci: add GET_TIMELEFT option support

2013-11-27 Thread Ivan Khoronzhuk
Currently, the davinci watchdog can be read while counting, so we can add ability to report the remaining time before the system will reboot. Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck Signed-off-by: Ivan Khoronzhuk --- drivers/watchdog/davinci_wdt.c | 26

[PATCH v4 4/5] watchdog: davinci: add "timeout-sec" property

2013-11-27 Thread Ivan Khoronzhuk
Since Davinci WDT has been switched to use WDT core, it became able to support timeout-sec property, so add it to it's binding description. Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/watchdog/davinci-wdt.txt |

[PATCH v4 0/5] Update Davinci watchdog driver

2013-11-27 Thread Ivan Khoronzhuk
erty use consistent formatting - watchdog: davinci: reuse driver for keystone arch use consistent formatting - watchdog: davinci: add "clocks" property merged with above patch Ivan Khoronzhuk (5): watchdog: davinci: change driver to use WDT core watchdog:

[PATCH] watchdog: davinci: rename platform driver to davinci-wdt

2013-11-27 Thread Ivan Khoronzhuk
As we switch to use the watchdog core which permits more than one active watchdog in the system, rename platform driver to "davinci-wdt" to be identifiable. Signed-off-by: Ivan Khoronzhuk --- based on: https://lkml.org/lkml/2013/11/27/164 CC: Sekhar Nori Guenter Roeck arch/arm/ma

[PATCH v2] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2013-11-27 Thread Ivan Khoronzhuk
name "davinci_ntosd2_nandflash_device" was renamed to "ntosd2_nandflash" as requested by Sekhar Nori, because after adding changes the line is so broken that its almost unreadable. Signed-off-by: Ivan Khoronzhuk --- v2..v1: - enabled AEMIF clock - removed EXPORT_SYMBOL(davinci_aemif_s

[PATCH 3/7] mtd: nand: davinci: check required ti,davinci-chipselect property

2013-11-20 Thread Ivan Khoronzhuk
The property "ti,davinci-chipselect" is required. So we have to check if it is set. Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c ind

[PATCH 5/7] mtd: nand: davinci: move bindings under mtd

2013-11-20 Thread Ivan Khoronzhuk
Move bindings under mtd. Do this in order to make davinci-nand driver usable by keystone architecture. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- .../devicetree/bindings/arm/davinci/nand.txt | 46 .../devicetree/bindings/mtd/davinci-nand.txt

[PATCH 1/7] mtd: nand: davinci: fix driver registration

2013-11-20 Thread Ivan Khoronzhuk
g has to be made with core mechanism. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- drivers/mtd/nand/davinci_nand.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index b77a01e..d87213f 1

[PATCH 2/7] mtd: nand: davinci: return ENOMEM if memory allocation is failed

2013-11-20 Thread Ivan Khoronzhuk
In case when memory allocation is failed the driver should return ENOMEM instead of ENODEV. Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand

[PATCH 6/7] mtd: nand: davinci: extend description of bindings

2013-11-20 Thread Ivan Khoronzhuk
Extend bindings for davinci_nand driver to be more clear. Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt | 77 ++-- 1 file changed, 54 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b

[PATCH 7/7] mtd: nand: davinci: adjust DT properties to MTD generic

2013-11-20 Thread Ivan Khoronzhuk
The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt, nand-bus-width accordingly. So rename them in dts and documentation. Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci

[PATCH 4/7] mtd: nand: davinci: simplify error handling

2013-11-20 Thread Ivan Khoronzhuk
There is not needed to use a lot of names for err handling. It complicates code support and reading. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- drivers/mtd/nand/davinci_nand.c | 46 +++ 1 file changed, 17 insertions(+), 29 deletions

[PATCH 0/7] Davinci nand driver fixes and updates

2013-11-20 Thread Ivan Khoronzhuk
This series contains fixes and updates of Davinci nand driver, in order to prepare it to be reused for Keystone platform. V1: https://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (7): mtd: nand: davinci: fix driver registration mtd: nand: davinci: return ENOMEM if memory allocation is failed

[PATCH 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2013-11-20 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. V1: https://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory: ti-aemif: add bindings for AEMIF driver .../bindings/memory

[PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-20 Thread Ivan Khoronzhuk
Add bindings for AEMIF controller drivers/memory/ti-aemif.c Signed-off-by: Ivan Khoronzhuk --- .../bindings/memory-controllers/ti-aemif.txt | 198 1 file changed, 198 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti-aemif.txt

[PATCH 1/2] memory: ti-aemif: introduce AEMIF driver

2013-11-20 Thread Ivan Khoronzhuk
-L138 - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk --- drivers/memory/Kconfig| 11 ++ drivers/memory/Makefile |1 + drivers/memory/ti-aemif.c | 415

[PATCH 3/3] mtd: nand: davinci: don't request AEMIF address range

2013-11-20 Thread Ivan Khoronzhuk
cannot request it twice, just ioremap. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- drivers/mtd/nand/davinci_nand.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index e904364

[PATCH 0/3] Reuse davinci-nand driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (3): mtd: nand: davinci: reuse driver for Keystone arch mtd: nand: davinci: don't set timings if AEMIF is used mtd: nand: davinci: don't request AEMIF address range .../devicetree/bindings/mtd/davinci-nand.txt |8 +-- driver

[PATCH 2/3] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-20 Thread Ivan Khoronzhuk
h. It is done by AEMIF driver (drivers/memory/ti-aemfi.c). The timings code has to be removed together with Davinci aemif platform code (aemif.c), once Davinci will be converted to DT and use ti-aemif.c driver. Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |

[PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt

[PATCH v2 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2013-11-21 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. v1..v2: - added ti.cs-chipselect property instead to represent chipselect number in cs node name. Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory: ti

[PATCH v2 1/2] memory: ti-aemif: introduce AEMIF driver

2013-11-21 Thread Ivan Khoronzhuk
-L138 - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk --- drivers/memory/Kconfig| 11 ++ drivers/memory/Makefile |1 + drivers/memory/ti-aemif.c | 415

[PATCH v2 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-21 Thread Ivan Khoronzhuk
Add bindings for AEMIF controller drivers/memory/ti-aemif.c Signed-off-by: Ivan Khoronzhuk --- .../bindings/memory-controllers/ti-aemif.txt | 201 1 file changed, 201 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti-aemif.txt

[PATCH v2 01/10] mtd: nand: davinci: fix driver registration

2013-11-21 Thread Ivan Khoronzhuk
g has to be made with core mechanism. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko --- drivers/mtd/nand/davinci_nand.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_n

[PATCH v2 00/10] Reuse davinci-nand driver for Keystone arch

2013-11-21 Thread Ivan Khoronzhuk
://lkml.org/lkml/2013/11/20/315 Ivan Khoronzhuk (10): mtd: nand: davinci: fix driver registration mtd: nand: davinci: return ENOMEM if memory allocation is failed mtd: nand: davinci: check required ti,davinci-chipselect property mtd: nand: davinci: simplify error handling mtd: nand: davinci

[PATCH v3 3/6] watchdog: davinci: add GET_TIMELEFT option support

2013-11-25 Thread Ivan Khoronzhuk
Currently, the davinci watchdog can be read while counting, so we can add ability to report the remaining time before the system will reboot. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck --- drivers/watchdog/davinci_wdt.c | 26

[PATCH v3 5/6] watchdog: davinci: reuse driver for keystone arch

2013-11-25 Thread Ivan Khoronzhuk
The keystone arch uses the same IP watchdog, so add "ti,keystone-wdt" compatible and correct identity. The Keystone arch is using clocks in DT and source clock for watchdog has to be specified, so add this to binding. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar R

[PATCH v3 4/6] watchdog: davinci: add "timeout-sec" property

2013-11-25 Thread Ivan Khoronzhuk
Since Davinci WDT has been switched to use WDT core, it became able to support timeout-sec property, so add it to it's binding description. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck --- .../devicetree/bindings/watchdog/davinci-wdt.txt |

[PATCH v3 2/6] watchdog: davinci: use davinci_wdt_device structure to hold device data

2013-11-25 Thread Ivan Khoronzhuk
Some SoCs, like Keystone 2, can support more than one WDT and each watchdog device has to use it's own base address, clock source, watchdog device, so add new davinci_wdt_device structure to hold device data. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by: Guenter

[PATCH v3 0/6] Update Davinci watchdog driver

2013-11-25 Thread Ivan Khoronzhuk
es" improved decsription of "clocks" property - arm: dts: keystone: add watchdog entry replaced "ti,keystone-wdt" compatible on "ti,keystone-wdt","ti,davinci-wdt" Ivan Khoronzhuk (6): watchdog: davinci: change driver to

[PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-25 Thread Ivan Khoronzhuk
core, so use it in order to set timeout period. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by: Guenter Roeck --- arch/arm/mach-davinci/da8xx-dt.c |2 +- arch/arm/mach-davinci/devices-da8xx.c |4 +- arch/arm/mach-davinci/devices.c |2 +- drivers/

[PATCH v3 5/6] watchdog: davinci: reuse driver for keystone arch

2013-11-25 Thread Ivan Khoronzhuk
The keystone arch uses the same IP watchdog, so add "ti,keystone-wdt" compatible and correct identity. The Keystone arch is using clocks in DT and source clock for watchdog has to be specified, so add this to binding. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar R

[PATCH v3 6/6] arm: dts: keystone: add watchdog entry

2013-11-25 Thread Ivan Khoronzhuk
Add watchdog entry to keystone device tree. Signed-off-by: Ivan Khoronzhuk Acked-by: Guenter Roeck --- arch/arm/boot/dts/keystone.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index f6d6d9e..54a8ff7 100644

[PATCH] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2013-11-25 Thread Ivan Khoronzhuk
mings and bus width. It is done by AEMIF driver. To get rid of davinci-nand driver dependency on aemif platform code we moved aemif code to davinci platform. The platform AEMIF code (aemif.c) has to be removed once Davinci will be converted to DT and use ti-aemif.c driver. Signed-off-by: Ivan Khoro

[PATCH v4 0/9] Reuse davinci-nand driver for Keystone arch

2013-12-17 Thread Ivan Khoronzhuk
ription of bindings clarified changeset description - mtd: nand: davinci: reuse driver for Keystone arch removed "ti,keystone-nand" compatible from driver Ivan Khoronzhuk (9): mtd: nand: davinci: fix driver registration mtd: nand: davinci: return ENOMEM if memory alloca

[PATCH v4 1/9] mtd: nand: davinci: fix driver registration

2013-12-17 Thread Ivan Khoronzhuk
g has to be made with core mechanism. Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mtd

[PATCH v4 3/9] mtd: nand: davinci: check required ti,davinci-chipselect property

2013-12-17 Thread Ivan Khoronzhuk
The property "ti,davinci-chipselect" is required. So we have to check if it is set. Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/driver

[PATCH v4 2/9] mtd: nand: davinci: return ENOMEM if memory allocation is failed

2013-12-17 Thread Ivan Khoronzhuk
In case when memory allocation is failed the driver should return ENOMEM instead of ENODEV. Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v4 5/9] mtd: nand: davinci: move bindings under mtd

2013-12-17 Thread Ivan Khoronzhuk
Move bindings under mtd. Do this in order to make davinci-nand driver usable by keystone architecture. Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- .../{arm/davinci/nand.txt => mtd/davinci-nand.txt} |0 1 f

[PATCH v4 7/9] mtd: nand: davinci: adjust DT properties to MTD generic

2013-12-17 Thread Ivan Khoronzhuk
-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt | 25 drivers/mtd/nand/davinci_nand.c| 14 +++ 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b

[PATCH v4 9/9] mtd: nand: davinci: don't request AEMIF address range

2013-12-17 Thread Ivan Khoronzhuk
cannot request it twice, just ioremap. Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/mtd

[PATCH v4 8/9] mtd: nand: davinci: reuse driver for Keystone arch

2013-12-17 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan

[PATCH v4 6/9] mtd: nand: davinci: extend description of bindings

2013-12-17 Thread Ivan Khoronzhuk
Extend bindings for davinci_nand driver to be more clear. This is clarification only, without semantic changes. Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt | 77 ++-- 1

[PATCH v4 4/9] mtd: nand: davinci: simplify error handling

2013-12-17 Thread Ivan Khoronzhuk
There is not needed to use a lot of names for err handling. It complicates code support and reading. Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c | 46

Re: [PATCH 08/10] power/reset: keystone: Register with kernel restart handler

2014-09-29 Thread Ivan Khoronzhuk
On 09/27/2014 03:57 AM, Guenter Roeck wrote: Register with kernel restart handler instead of setting arm_pm_restart directly. Move notifier registration to the end of the probe function to avoid having to implement error handling. Cc: Ivan Khoronzhuk Cc: Santosh Shilimkar Signed-off-by

[Patch v3 4/5] ARM: dts: keystone: update reset node to work with reset driver

2014-05-19 Thread Ivan Khoronzhuk
. Also add range for reset multiplex registers for SoC on the device. These registers are located in Bootcfg memory space and needed to setup behaviour after appropriate watchdog is triggered. Add "ti,wdt_list" option to declare what watchdog are used to reboot the SoC. Signed-of

[Patch v3 5/5] ARM: keystone: enable reset driver support

2014-05-19 Thread Ivan Khoronzhuk
Enable reset driver support in order to have opportunity to reboot SoC by watchdog and by software. Signed-off-by: Ivan Khoronzhuk --- arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs

[Patch v3 3/5] ARM: keystone: remove redundant reset stuff

2014-05-19 Thread Ivan Khoronzhuk
Remove reset stuff in flavour of using keystone reset driver: driver/power/reset/keystone-reset.c Signed-off-by: Ivan Khoronzhuk --- arch/arm/mach-keystone/keystone.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/arch/arm/mach-keystone/keystone.c b

[Patch v3 0/5] Introduce keystone reset driver

2014-05-19 Thread Ivan Khoronzhuk
-rc1 without changes Ivan Khoronzhuk (5): Power: reset: keystone-reset: introduce keystone reset driver Power: reset: add bindings for keystone reset driver ARM: keystone: remove redundant reset stuff ARM: dts: keystone: update reset node to work with reset driver ARM: keystone: enable

[Patch v3 2/5] Power: reset: add bindings for keystone reset driver

2014-05-19 Thread Ivan Khoronzhuk
. Additionally soft or hard reset can be configured. Signed-off-by: Ivan Khoronzhuk --- .../bindings/power/reset/keystone-reset.txt| 61 ++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/keystone-reset.txt diff --git a

[Patch v3 1/5] Power: reset: keystone-reset: introduce keystone reset driver

2014-05-19 Thread Ivan Khoronzhuk
use. So add keystone reset driver to handle all this stuff. Signed-off-by: Ivan Khoronzhuk --- drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/keystone-reset.c | 171 +++ 3 files changed, 179

Re: [Patch v3 0/5] Introduce keystone reset driver

2014-05-20 Thread Ivan Khoronzhuk
On 05/19/2014 08:47 PM, Arnd Bergmann wrote: On Monday 19 May 2014 11:07:24 Santosh Shilimkar wrote: On Monday 19 May 2014 06:25 AM, Ivan Khoronzhuk wrote: These patches introduce keystone reset driver. The keystone SoC can be rebooted in several ways. By external reset pin, by soft and by

Re: [PATCH] nand: davinci: add support for 4K page size nand devices

2014-05-14 Thread Ivan Khoronzhuk
On 05/12/2014 06:21 PM, Santosh Shilimkar wrote: On Thursday 08 May 2014 06:31 PM, Ivan Khoronzhuk wrote: From: Sandeep Paulraj It is needed for k2l keystone2 EVM which uses NAND flash with 4K page size, hence add support for 4K page size nand devices. Signed-off-by: Sandeep Paulraj Signed

[PATCH] nand: davinci: add support for 4K page size nand devices

2014-05-08 Thread Ivan Khoronzhuk
From: Sandeep Paulraj It is needed for k2l keystone2 EVM which uses NAND flash with 4K page size, hence add support for 4K page size nand devices. Signed-off-by: Sandeep Paulraj Signed-off-by: Ivan Khoronzhuk --- Based on l2-mtd/master drivers/mtd/nand/davinci_nand.c | 41

Re: [PATCH v2] mtd: davinci-nand: disable subpage write for keystone-nand

2014-04-08 Thread Ivan Khoronzhuk
On 03/20/2014 10:14 PM, Santosh Shilimkar wrote: On Thursday 20 March 2014 04:08 PM, Ivan Khoronzhuk wrote: From: Murali Karicheri Sub page write doesn't work because of hw issue in controller found on Keystone SOCs. AEMIF controller is also used on DaVinci SOCs which don't seems t

[PATCH v2 4/5] ARM: dts: keystone: update reset node to work with reset driver

2014-04-14 Thread Ivan Khoronzhuk
. Also add range for reset multiplex registers for SoC on the device. These registers are located in Bootcfg memory space and needed to setup behaviour after appropriate watchdog is triggered. Add "ti,wdt_list" option to declare what watchdog are used to reboot the SoC. Signed-of

[PATCH v2 1/5] Power: reset: keystone-reset: introduce keystone reset driver

2014-04-14 Thread Ivan Khoronzhuk
use. So add keystone reset driver to handle all this stuff. Signed-off-by: Ivan Khoronzhuk --- drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/keystone-reset.c | 171 +++ 3 files changed, 179

[PATCH v2 3/5] ARM: keystone: remove redundant reset stuff

2014-04-14 Thread Ivan Khoronzhuk
Remove reset stuff in flavour of using keystone reset driver: driver/power/reset/keystone-reset.c Signed-off-by: Ivan Khoronzhuk --- arch/arm/mach-keystone/keystone.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/arch/arm/mach-keystone/keystone.c b

[PATCH v2 0/5] Introduce keystone reset driver

2014-04-14 Thread Ivan Khoronzhuk
- re basedon on v3.15-rc1 without changes Ivan Khoronzhuk (5): Power: reset: keystone-reset: introduce keystone reset driver Power: reset: add bindings for keystone reset driver ARM: keystone: remove redundant reset stuff ARM: dts: keystone: update reset node to work with reset driver

[PATCH v2 5/5] ARM: keystone: enable reset driver support

2014-04-14 Thread Ivan Khoronzhuk
Enable reset driver support in order to have opportunity to reboot SoC by watchdog and by software. Signed-off-by: Ivan Khoronzhuk --- arch/arm/configs/keystone_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs

[PATCH v2 2/5] Power: reset: add bindings for keystone reset driver

2014-04-14 Thread Ivan Khoronzhuk
. Additionally soft or hard reset can be configured. Signed-off-by: Ivan Khoronzhuk --- .../bindings/power/reset/keystone-reset.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/keystone-reset.txt diff --git a

Re: [PATCH v2 2/5] Power: reset: add bindings for keystone reset driver

2014-04-15 Thread Ivan Khoronzhuk
On 04/14/2014 09:44 PM, Arnd Bergmann wrote: On Monday 14 April 2014 20:41:20 Ivan Khoronzhuk wrote: +Optional properties: + +- ti,soft-reset: Boolean option indicating soft reset. + By default hard reset is used. + +- ti,wdt_list: WDT list that can cause

Re: [PATCH v2] mtd: davinci-nand: disable subpage write for keystone-nand

2014-04-16 Thread Ivan Khoronzhuk
On 04/16/2014 10:08 AM, Brian Norris wrote: On Tue, Apr 08, 2014 at 03:51:34PM +0300, Ivan Khoronzhuk wrote: On 03/20/2014 10:14 PM, Santosh Shilimkar wrote: On Thursday 20 March 2014 04:08 PM, Ivan Khoronzhuk wrote: From: Murali Karicheri Sub page write doesn't work because of hw iss

Re: [PATCH 2/3] mtd: hisilicon: add a new nand controller driver for hisilicon hip04 Soc

2014-06-30 Thread Ivan Khoronzhuk
bsize & HINFC504_DMA_LEN_OOB_MASK) + << HINFC504_DMA_LEN_OOB_SHIFT), HINFC504_DMA_LEN); + + hinfc_write(host, HINFC504_DMA_PARA_DATA_RW_EN + | HINFC504_DMA_PARA_OOB_RW_EN, HINFC504_DMA_PARA); + } else Add {} for else also

Re: [Patch v3 0/5] Introduce keystone reset driver

2014-05-20 Thread Ivan Khoronzhuk
On 05/20/2014 04:49 PM, Santosh Shilimkar wrote: On Tuesday 20 May 2014 09:44 AM, Arnd Bergmann wrote: On Tuesday 20 May 2014 16:16:08 Ivan Khoronzhuk wrote: Thank for the reply The reset driver uses two ranges: - RSTYPE, RSTCTRL,RSTCFG, RSISO (Reset Main PLL Controller) - RESETMUX8-10

[Patch] ARM: dts: keystone: add device state control syscon entry

2014-05-21 Thread Ivan Khoronzhuk
Device state control registers has register regions with different purposes so add syscon entry in order to be able to correctly access them from appropriate places. Signed-off-by: Ivan Khoronzhuk --- Based on linux-next/master arch/arm/boot/dts/keystone.dtsi | 5 + 1 file changed, 5

<    1   2   3   4   5   6   7   8   >