From 98bc994d028d3d76271d9a7171fc1222d50f112a Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Fri, 28 Sep 2012 15:24:40 +0100 Subject: [PATCH] --- yaml --- r: 342175 b: refs/heads/master c: fb647002e4b6393a1f552b2fe48ba88c50d1d6e4 h: refs/heads/master i: 342173: d4a0528ed5a5bebb562949d8257902dc2a7d5ae2 342171: d80dd914f8f9ea45618a376ec65b043b8ee2f206 342167: 061ba59ce37dd2a64ab126fd9bf889b53457885d 342159: 5d4916ff61b1abef313df18bbc2728d8602a23aa 342143: a0e7170809a979d5bbb4ba832c87cfdf5c058a6c v: v3 --- [refs] | 2 +- .../bindings/input/touchscreen/bu21013.txt | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 trunk/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt diff --git a/[refs] b/[refs] index e8d8cb1e1030..2c5656ba8576 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ab196b4138fb9b3e6908c85eb4bf412d2a6753cd +refs/heads/master: fb647002e4b6393a1f552b2fe48ba88c50d1d6e4 diff --git a/trunk/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt b/trunk/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt new file mode 100644 index 000000000000..ca5a2c86480c --- /dev/null +++ b/trunk/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt @@ -0,0 +1,28 @@ +* Rohm BU21013 Touch Screen + +Required properties: + - compatible : "rohm,bu21013_tp" + - reg : I2C device address + +Optional properties: + - touch-gpio : GPIO pin registering a touch event + - -supply : Phandle to a regulator supply + - rohm,touch-max-x : Maximum outward permitted limit in the X axis + - rohm,touch-max-y : Maximum outward permitted limit in the Y axis + - rohm,flip-x : Flip touch coordinates on the X axis + - rohm,flip-y : Flip touch coordinates on the Y axis + +Example: + + i2c@80110000 { + bu21013_tp@0x5c { + compatible = "rohm,bu21013_tp"; + reg = <0x5c>; + touch-gpio = <&gpio2 20 0x4>; + avdd-supply = <&ab8500_ldo_aux1_reg>; + + rohm,touch-max-x = <384>; + rohm,touch-max-y = <704>; + rohm,flip-y; + }; + };