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
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
---
.../
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
"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
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
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
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
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
.
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
.
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
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
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
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
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
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
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
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
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
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
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
"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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
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:
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
://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
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 |
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
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
-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
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
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
://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
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
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
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 |
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
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
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/
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
.
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
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
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
-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
.
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
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
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
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
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
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
.
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
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
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
- 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
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
.
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
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
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
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
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
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
101 - 200 of 744 matches
Mail list logo