Message ID | 1430874218-27738-1-git-send-email-zyw@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi, On Tue, May 5, 2015 at 6:03 PM, Chris Zhong <zyw@rock-chips.com> wrote: > Add support for 4 Japanese keys > > Signed-off-by: Chris Zhong <zyw@rock-chips.com> > Reviewed-by: Doug Anderson <dianders@chromium.org> > > --- > > arch/arm/boot/dts/cros-ec-keyboard.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/arch/arm/boot/dts/cros-ec-keyboard.dtsi > index 9c7fb0a..4e42f30c 100644 > --- a/arch/arm/boot/dts/cros-ec-keyboard.dtsi > +++ b/arch/arm/boot/dts/cros-ec-keyboard.dtsi > @@ -22,6 +22,7 @@ > MATRIX_KEY(0x00, 0x02, KEY_F1) > MATRIX_KEY(0x00, 0x03, KEY_B) > MATRIX_KEY(0x00, 0x04, KEY_F10) > + MATRIX_KEY(0x00, 0x05, KEY_RO) > MATRIX_KEY(0x00, 0x06, KEY_N) > MATRIX_KEY(0x00, 0x08, KEY_EQUAL) > MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) > @@ -34,6 +35,7 @@ > MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) > MATRIX_KEY(0x01, 0x09, KEY_F9) > MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) > + MATRIX_KEY(0x01, 0x0c, KEY_HENKAN) > > MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) > MATRIX_KEY(0x02, 0x01, KEY_TAB) > @@ -45,6 +47,7 @@ > MATRIX_KEY(0x02, 0x07, KEY_102ND) > MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) > MATRIX_KEY(0x02, 0x09, KEY_F8) > + MATRIX_KEY(0x02, 0x0a, KEY_YEN) > > MATRIX_KEY(0x03, 0x01, KEY_GRAVE) > MATRIX_KEY(0x03, 0x02, KEY_F2) > @@ -53,6 +56,7 @@ > MATRIX_KEY(0x03, 0x06, KEY_6) > MATRIX_KEY(0x03, 0x08, KEY_MINUS) > MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) > + MATRIX_KEY(0x03, 0x0c, KEY_MUHENKAN) > > MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) > MATRIX_KEY(0x04, 0x01, KEY_A) > -- > 1.9.1 Is anyone planning to pick up this trivial change? -Doug
diff --git a/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/arch/arm/boot/dts/cros-ec-keyboard.dtsi index 9c7fb0a..4e42f30c 100644 --- a/arch/arm/boot/dts/cros-ec-keyboard.dtsi +++ b/arch/arm/boot/dts/cros-ec-keyboard.dtsi @@ -22,6 +22,7 @@ MATRIX_KEY(0x00, 0x02, KEY_F1) MATRIX_KEY(0x00, 0x03, KEY_B) MATRIX_KEY(0x00, 0x04, KEY_F10) + MATRIX_KEY(0x00, 0x05, KEY_RO) MATRIX_KEY(0x00, 0x06, KEY_N) MATRIX_KEY(0x00, 0x08, KEY_EQUAL) MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) @@ -34,6 +35,7 @@ MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) MATRIX_KEY(0x01, 0x09, KEY_F9) MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) + MATRIX_KEY(0x01, 0x0c, KEY_HENKAN) MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) MATRIX_KEY(0x02, 0x01, KEY_TAB) @@ -45,6 +47,7 @@ MATRIX_KEY(0x02, 0x07, KEY_102ND) MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) MATRIX_KEY(0x02, 0x09, KEY_F8) + MATRIX_KEY(0x02, 0x0a, KEY_YEN) MATRIX_KEY(0x03, 0x01, KEY_GRAVE) MATRIX_KEY(0x03, 0x02, KEY_F2) @@ -53,6 +56,7 @@ MATRIX_KEY(0x03, 0x06, KEY_6) MATRIX_KEY(0x03, 0x08, KEY_MINUS) MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) + MATRIX_KEY(0x03, 0x0c, KEY_MUHENKAN) MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) MATRIX_KEY(0x04, 0x01, KEY_A)