Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322840 > unrolled thread

[PATCH 0/3] Add Device Tree support for tps6507x-ts

Started bySushaanth Srirangapathi <sushaanth.s@ti.com>
First post2016-02-01 07:40 +0100
Last post2016-02-01 15:40 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] Add Device Tree support for tps6507x-ts Sushaanth Srirangapathi <sushaanth.s@ti.com> - 2016-02-01 07:40 +0100
    [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts Sushaanth Srirangapathi <sushaanth.s@ti.com> - 2016-02-01 07:40 +0100
      Re: [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts Sushaanth Srirangapathi <sushaanth.s@ti.com> - 2016-02-01 07:50 +0100
    [PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts Sushaanth Srirangapathi <sushaanth.s@ti.com> - 2016-02-01 07:40 +0100
      Re: [PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts Rob Herring <robh@kernel.org> - 2016-02-01 15:40 +0100

#1322840 — [PATCH 0/3] Add Device Tree support for tps6507x-ts

FromSushaanth Srirangapathi <sushaanth.s@ti.com>
Date2016-02-01 07:40 +0100
Subject[PATCH 0/3] Add Device Tree support for tps6507x-ts
Message-ID<qXgjv-72n-3@gated-at.bofh.it>
Add DT support for touchscreen input device tps6507x-ts which is part
of MFD device "TPS6507x"

Sushaanth Srirangapathi (3):
  Input: tps6507x-ts - add binding for tps6507x-ts
  Input: tps6507x-ts - Add device tree support
  ARM: DTS: da850: add DT node for tps6507x-ts

 Documentation/devicetree/bindings/mfd/tps6507x.txt |   10 +++-
 arch/arm/boot/dts/da850-evm.dts                    |    3 ++
 drivers/input/touchscreen/tps6507x-ts.c            |   51 ++++++++++++++++++--
 3 files changed, 59 insertions(+), 5 deletions(-)

-- 
1.7.9.5

[toc] | [next] | [standalone]


#1322843 — [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts

FromSushaanth Srirangapathi <sushaanth.s@ti.com>
Date2016-02-01 07:40 +0100
Subject[PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts
Message-ID<qXgjw-72n-13@gated-at.bofh.it>
In reply to#1322840
add binding information for tps6507x touchscreen input.

Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
---
 Documentation/devicetree/bindings/mfd/tps6507x.txt |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt b/Documentation/devicetree/bindings/mfd/tps6507x.txt
index 8fffa3c..74c768b 100644
--- a/Documentation/devicetree/bindings/mfd/tps6507x.txt
+++ b/Documentation/devicetree/bindings/mfd/tps6507x.txt
@@ -23,6 +23,8 @@ Required properties:
        vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
        vindcdc3-supply  : VDCDC3 input.
        vldo1_2-supply   : VLDO1 and VLDO2 input.
+- touchscreen: This is child node which specify touchscreen
+  properties.
 
 Regulator Optional properties:
 - defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
@@ -30,6 +32,12 @@ Regulator Optional properties:
 			1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
   If this property is not defined, it defaults to 0 (not enabled).
 
+Touchscreen Optional properties:
+- ti,min-pressure : pressure level above which the event is considered as a
+		    valid touch.
+This binding was not added as a generic binding because there was no driver
+using such a property.
+
 Example:
 
 	pmu: tps6507x@48 {
@@ -87,5 +95,7 @@ Example:
 				regulator-boot-on;
 			};
 		};
-
+		touchscreen {
+			ti,min-pressure = <0x30>;
+		};
 	};
-- 
1.7.9.5

[toc] | [prev] | [next] | [standalone]


#1322848 — Re: [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts

FromSushaanth Srirangapathi <sushaanth.s@ti.com>
Date2016-02-01 07:50 +0100
SubjectRe: [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts
Message-ID<qXgtc-765-11@gated-at.bofh.it>
In reply to#1322843

On Monday 01 February 2016 11:58 AM, Sushaanth Srirangapathi wrote:
> add binding information for tps6507x touchscreen input.
>
> Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>

Please ignore this patch. It was an older version which was sent by 
mistake.

Thanks,
Sushaanth

[toc] | [prev] | [next] | [standalone]


#1322844 — [PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts

FromSushaanth Srirangapathi <sushaanth.s@ti.com>
Date2016-02-01 07:40 +0100
Subject[PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts
Message-ID<qXgjv-72n-9@gated-at.bofh.it>
In reply to#1322840
add binding information for tps6507x touchscreen input.

"ti,min-pressure" was added as TI specific binding because it
was specific to tps6507x IP and not applicable or relevant for
other touchscreen drivers.

Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
---
 Documentation/devicetree/bindings/mfd/tps6507x.txt |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt b/Documentation/devicetree/bindings/mfd/tps6507x.txt
index 8fffa3c..52df806 100644
--- a/Documentation/devicetree/bindings/mfd/tps6507x.txt
+++ b/Documentation/devicetree/bindings/mfd/tps6507x.txt
@@ -23,6 +23,8 @@ Required properties:
        vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
        vindcdc3-supply  : VDCDC3 input.
        vldo1_2-supply   : VLDO1 and VLDO2 input.
+- touchscreen: This is the child node that specifes the touchscreen
+  properties.
 
 Regulator Optional properties:
 - defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
@@ -30,6 +32,10 @@ Regulator Optional properties:
 			1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
   If this property is not defined, it defaults to 0 (not enabled).
 
+Touchscreen Optional properties:
+- ti,min-pressure : pressure level above which the event is considered as a
+		    valid touch.
+
 Example:
 
 	pmu: tps6507x@48 {
@@ -87,5 +93,7 @@ Example:
 				regulator-boot-on;
 			};
 		};
-
+		touchscreen {
+			ti,min-pressure = <0x30>;
+		};
 	};
-- 
1.7.9.5

[toc] | [prev] | [next] | [standalone]


#1323179 — Re: [PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts

FromRob Herring <robh@kernel.org>
Date2016-02-01 15:40 +0100
SubjectRe: [PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts
Message-ID<qXnO7-4aB-129@gated-at.bofh.it>
In reply to#1322844
On Mon, Feb 01, 2016 at 11:58:47AM +0530, Sushaanth Srirangapathi wrote:
> add binding information for tps6507x touchscreen input.
> 
> "ti,min-pressure" was added as TI specific binding because it
> was specific to tps6507x IP and not applicable or relevant for
> other touchscreen drivers.
> 
> Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
> ---
>  Documentation/devicetree/bindings/mfd/tps6507x.txt |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)

Seems like you would need other properties from the common touchscreen 
binding.

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web