]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: rockchip: Add pin names for rk3288-veyron-minnie
authorDouglas Anderson <dianders@chromium.org>
Tue, 21 May 2019 20:32:14 +0000 (13:32 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 22 May 2019 07:59:08 +0000 (09:59 +0200)
commit70f9d63b2f66ee65245bb74a1d425b884307512d
tree4298e8c22bf928a618cf6d4cdef3110c39ca40e7
parent6b3dd054d60fb78553ab1a651e71f04ccb146221
ARM: dts: rockchip: Add pin names for rk3288-veyron-minnie

We can now use the "gpio-line-names" property to provide the names for
all the pins on a board.  Let's use this to provide the names for all
the pins on rk3288-veyron-minnie.

In general the names here come straight from the schematic.  That
means even if the schematic name is weird / doesn't have consistent
naming conventions / has typos I still haven't made any changes.

The exception here is for two pins: the recovery switch and the write
protect detection pin.  These two pins need to have standardized names
since crossystem (a Chrome OS tool) uses these names to query the
pins.  In downstream kernels crossystem used an out-of-tree driver to
do this but it has now been moved to the gpiod API and needs the
standardized names.

It's expected that other rk3288-veyron boards will get similar patches
shortly.

NOTE: I have sorted the "gpio" section to be next to the "pinctrl"
section since it seems to logically make the most sense there.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-minnie.dts