[U-Boot] [PATCH] cros-ec-keyboard: Synchronize DT binding from linux

Simon Glass sjg at chromium.org
Sun Nov 30 19:58:14 CET 2014


On 27 November 2014 at 08:34, Sjoerd Simons
<sjoerd.simons at collabora.co.uk> wrote:
> 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 at collabora.co.uk>
> ---
>  arch/arm/dts/cros-ec-keyboard.dtsi              | 105 ++++++++++++++++++++++++
>  arch/arm/dts/exynos5250-snow.dts                |  59 +------------
>  arch/arm/dts/exynos5420-peach-pit.dts           |  59 +------------
>  arch/arm/dts/exynos5800-peach-pi.dts            |   4 +-
>  doc/device-tree-bindings/input/cros-ec-keyb.txt |  53 ++++++------
>  drivers/input/cros_ec_keyb.c                    |  16 ++--
>  6 files changed, 143 insertions(+), 153 deletions(-)
>  create mode 100644 arch/arm/dts/cros-ec-keyboard.dtsi

Thanks for doing this.

Acked-by: Simon Glass <sjg at chromium.org>

Tested Chrome OS EC and keyboard on snow, pit, pi.

Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list