diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2014-11-27 16:34:08 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-05 17:45:16 -0700 |
commit | 9332274989009b213a405134202088e1bd81fe51 (patch) | |
tree | 0f501bf747ffa134f98a774ad463418b93547aa5 /arch/arm/dts/exynos5800-peach-pi.dts | |
parent | ee5ee87642fdf57ee0c116b9bb5d65b838f09897 (diff) |
cros-ec-keyboard: Synchronize DT binding from linux
The ChromeOS EC keyboard is used by various different chromebooks. Peach
pi being the third board in the u-boot tree to use it (snow and peach
pit the other two). Rather then embedding the same big DT node in the
peach-pi DT again, copy the dtsi snippit & bindings documentation from
linux and include it in all 3 boards.
This slightly changes the dt bindings in u-boot:
* google,key-rows becomes keypad,num-rows
* google,key-colums becomes keypad,num-colums
* google,repeat-delay-ms and google,repeat-rate-ms are no longer used
and replaced by hardcoded values (similar to tegra kbc)
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/exynos5800-peach-pi.dts')
-rw-r--r-- | arch/arm/dts/exynos5800-peach-pi.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b/arch/arm/dts/exynos5800-peach-pi.dts index 2f9d2dbd546..e7c380f83be 100644 --- a/arch/arm/dts/exynos5800-peach-pi.dts +++ b/arch/arm/dts/exynos5800-peach-pi.dts @@ -96,7 +96,7 @@ spi@12d40000 { /* spi2 */ spi-max-frequency = <4000000>; spi-deactivate-delay = <200>; - cros-ec@0 { + cros_ec: cros-ec@0 { reg = <0>; compatible = "google,cros-ec"; spi-half-duplex; @@ -150,3 +150,5 @@ samsung,dual-lcd-enabled = <0>; }; }; + +#include "cros-ec-keyboard.dtsi" |