]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: Enable Gemini flash access
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Oct 2018 18:06:23 +0000 (20:06 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 8 Dec 2018 22:19:23 +0000 (23:19 +0100)
commita6a0e118cca4637471cd01c947921ece59ab047a
tree412aa4b55c8ad5152bae9f94b1a28dc37104fe3a
parent823446b3f52d893ae09d9ff46fbde34aab4bdda8
ARM: dts: Enable Gemini flash access

Some Gemini platforms have a parallel NOR flash which conflicts
with use cases reusing some of the flash lines (such as CE1)
for GPIO.

Fix this on the D-Link DIR-685 and Itian SQ201 by creating
"enabled" and "disabled" states for the flash pin control
handle, and rely on the flash handling code to switch this
in and out when accessed so these lines can be used
for GPIO when flash is not accessed, and enable flash
access.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-dlink-dir-685.dts
arch/arm/boot/dts/gemini-sq201.dts