Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6123f119 authored by Viresh Kumar's avatar Viresh Kumar Committed by Dmitry Torokhov
Browse files

Input: spear-keyboard - document DT bindings



Signed-off-by: default avatarViresh Kumar <viresh.kumar@st.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 829c4f96
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
* SPEAr keyboard controller

Required properties:
- compatible: "st,spear300-kbd"

Optional properties, in addition to those specified by the shared
matrix-keyboard bindings:
- autorepeat: bool: enables key autorepeat
- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2

Example:

kbd@fc400000 {
	compatible = "st,spear300-kbd";
	reg = <0xfc400000 0x100>;
	linux,keymap = < 0x00030012
			 0x0102003a >;
	autorepeat;
	st,mode = <0>;
};