]> 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)
commit78573b3fddf0e519c8d17b854f74399af79c96d5
tree412aa4b55c8ad5152bae9f94b1a28dc37104fe3a
parent13ee2f58d12c371a93d353ccb70ccc361fd2040a
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