From nobody Mon Sep 28 12:33:40 2026 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 830AF3A1A21 for ; Fri, 21 Aug 2026 13:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787317868; cv=none; b=fa4ssIii02Eh5vTA6Pb1WZ5C5cQAoDQcid5+deUVWDFoyHHeGNUVuO5JbeybU/GhYp2+YTcsQvyCMP0XhJ0Et8A8REGrb1WSI6e75QXwB/VLPunfZFy65i8QhI7Yun77JJYWJtk4i7YeKtServwnm9rDv95aT4JwLvGDLMNrAUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787317868; c=relaxed/simple; bh=ND4t+afKTeWJNKvkfd+bkaxZPQtRVRH6YSMWkHeH59w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=H//zoMNeh6rtap4mGFoib2W+YnzhhZD7+zemCXIwxP2prwLj4pRZEYmUXm6csaWZeAfAPFKlgGk5fImudN0DFTCN68GovrTuWFwovNqi/KgWpb4grzdGCvOBi5iV+rmIzM8H/wFO76cnI51P+RuAYCctIHGenj6GXJvI6AUILRA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DeROmTH3; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DeROmTH3" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-c15ba3a2b4bso147070066b.1 for ; Fri, 21 Aug 2026 06:10:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787317851; x=1787922651; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HSblcr0CCEdB1oJUM1Wum0cFSHQwfMNAeMnxc8Z942I=; b=DeROmTH3mhek7zKY/W4TO8o9ycL+iWZ4KYO/55JbK3NQkef9AEOdm+fUFKl+jqpFgC smCnKSwjJO5AXQfWe33EeQVmp1n1uKmScMmpw3uaFYSNM5HTF45ybfq8SqA7EZ4Hz4WD EkKDd231PYGjHTSMHsNXM6phiOug97WR5AR0tQX3j6JuV0ocGmmBvZnUnje6ekO9BWk3 AKROKGYyTR5Kd4AkXXo2PYV/CFfg8rtiKKHLMpwMX0FMDgYKtb2BT6V6FtrgDtobHnGO IURDFynWa1zpxqv3DxHnRd/TyFIhGya75v3+4IpJahWnIEhYcpoWQWPiouy9LcF53VSj NSAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787317851; x=1787922651; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=HSblcr0CCEdB1oJUM1Wum0cFSHQwfMNAeMnxc8Z942I=; b=ob55TlbhWS+WV1BgPPeHl6+mVMBhlSFO9JVrlotPyR5Hwx7wI/OifE7BgmwSbil+o7 6yA8ua0sK4lvAGaW9UqftWRdtJWftnNstS6v9087b2DfACKk9KoH0K56i+RAv5josZE6 nsM0zAVwylnQcOtrZpDKNL5WjSfkqFi6zPxvp/F9o1JmYhFgsA17oE2GDCZqrRbQZRkp xUlwx972LRmCy74eczdsL7j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:43ed:1b3e with SMTP id a640c23a62f3a-c2469f9a365mr727120166b.0.1787317850935; Fri, 21 Aug 2026 06:10:50 -0700 (PDT) Received: from workstation ([85.186.165.159]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c2459197cc9sm468761466b.31.2026.08.21.06.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 06:10:50 -0700 (PDT) From: =?UTF-8?q?=C8=98tefan=20Ghe=C8=9Bu?= To: =?UTF-8?q?Mika=20Penttil=C3=A4?= , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?=C8=98tefan=20Ghe=C8=9Bu?= Subject: [PATCH] dt-bindings: input: touchscreen: convert sis_i2c to DT schema Date: Fri, 21 Aug 2026 16:10:39 +0300 Message-ID: <20260821131039.37525-1-stefanghetu9@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Convert the SiS 9200 family I2C touchscreen binding from free-form text to DT schema format. While at it, fix the example which referenced a non-existent "irq-gpios" property; the driver looks up "attn" via devm_gpiod_get_optional(), so the correct property is "attn-gpios". Signed-off-by: =C8=98tefan Ghe=C8=9Bu Acked-by: Conor Dooley Reviewed-by: Mika Penttil=C3=A4 --- .../input/touchscreen/sis,9200-ts.yaml | 61 +++++++++++++++++++ .../bindings/input/touchscreen/sis_i2c.txt | 31 ---------- MAINTAINERS | 2 +- 3 files changed, 62 insertions(+), 32 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/sis= ,9200-ts.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/sis= _i2c.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/sis,9200-t= s.yaml b/Documentation/devicetree/bindings/input/touchscreen/sis,9200-ts.ya= ml new file mode 100644 index 000000000..5c4806348 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/sis,9200-ts.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/sis,9200-ts.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiS 9200 Family I2C Touchscreen Controller + +maintainers: + - Mika Penttil=C3=A4 + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: sis,9200-ts + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + attn-gpios: + maxItems: 1 + description: GPIO pin used as the attention line + + reset-gpios: + maxItems: 1 + description: GPIO pin used to reset the controller + + wakeup-source: true + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + touchscreen@5c { + compatible =3D "sis,9200-ts"; + reg =3D <0x5c>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_sis>; + interrupt-parent =3D <&gpio3>; + interrupts =3D <19 IRQ_TYPE_EDGE_FALLING>; + attn-gpios =3D <&gpio3 19 GPIO_ACTIVE_LOW>; + reset-gpios =3D <&gpio2 30 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.tx= t b/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt deleted file mode 100644 index 8f5322e01..000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt +++ /dev/null @@ -1,31 +0,0 @@ -* SiS I2C Multiple Touch Controller - -Required properties: -- compatible: must be "sis,9200-ts" -- reg: i2c slave address -- interrupts: touch controller interrupt (see interrupt - binding [0]) - -Optional properties: -- pinctrl-names: should be "default" (see pinctrl binding [1]). -- pinctrl-0: a phandle pointing to the pin settings for the - device (see pinctrl binding [1]). -- attn-gpios: the gpio pin used as attention line -- reset-gpios: the gpio pin used to reset the controller -- wakeup-source: touchscreen can be used as a wakeup source - -[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt -[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt - -Example: - - sis9255@5c { - compatible =3D "sis,9200-ts"; - reg =3D <0x5c>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_sis>; - interrupt-parent =3D <&gpio3>; - interrupts =3D <19 IRQ_TYPE_EDGE_FALLING>; - irq-gpios =3D <&gpio3 19 GPIO_ACTIVE_LOW>; - reset-gpios =3D <&gpio2 30 GPIO_ACTIVE_LOW>; - }; diff --git a/MAINTAINERS b/MAINTAINERS index 8014b9f82..88d0cb1d8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24866,7 +24866,7 @@ SIS I2C TOUCHSCREEN DRIVER M: Mika Penttil=C3=A4 L: linux-input@vger.kernel.org S: Maintained -F: Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt +F: Documentation/devicetree/bindings/input/touchscreen/sis,9200-ts.yaml F: drivers/input/touchscreen/sis_i2c.c =20 SIS USB2VGA DRIVER --=20 2.53.0