From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 9E2353BBFB3 for ; Thu, 10 Sep 2026 07:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789024070; cv=none; b=QWkzgvrZMWwF4vAc/rCccG5J+KMTvQEUfQNUJ+34obShj2ySXz7mx/Bkt7+mU4irX45g1Zt/Ru2O6ktRSCliFYPQ0ruj6WgtspXCIXd3SOlac7gOXcQ7vgDQ35ct60t67SHTJuwpji6M78jC9gC32GQZQkTdHWBuCTR7EzYDMso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789024070; c=relaxed/simple; bh=P2OqeAVCWHFS1/46fjXp/GqTmb5OLthjWFq4IcxNSrc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KqKCsExXclW3d9leksRPr0Xab1Gn3eeQQoaoSN+YF8rkWfd4hSt2piMij4hLr2XOAKDHSeCPN61PRLFKQTx3x0Vl1uypneaQKWL6oYxBWbAp439AH3XDLS+njUjrizVD7m+IbSk8RJ6IhxQkkeXdgKbxAbVbReG8KJUcJhnBbgw= 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=O28Mq88m; arc=none smtp.client-ip=209.85.221.42 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="O28Mq88m" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-482f2ee53e7so4877133f8f.1 for ; Thu, 10 Sep 2026 00:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789024064; x=1789628864; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6N41mPYMtwHJxcU+b3y0AU5P4+rfzOFqefvh/tO1NTI=; b=O28Mq88mXSz6XKCUzS9M/KBDQXXgZURxNuPPzcjkA7ep1BYoB8jn6395/uA9wyUm81 PzfM6rSpniSRzSLbNKxRWuGScTYsGJRnCcGx3U9DuJX/ZjBr2cSlOj5YBU/LqwB/waex 1gP6XtZpdb6sWSOmTBcEoz8dSIVt7Cc9FAv0ta8ICEApMq2cDji08BiC4DMW7tzGYJVO +H6TpqIVfpztHFkhOHE0gPNJ9cfwN7IssO67B+m9YFaeTVHXHP0HJtKvqN5r0tBJL95b 7Cji+9o4CYFKmioJSZsu3SdmmxmRN/5MV4xfKuQlmkOv7zDPWiGqvNj+kTwQ00x80St+ KaaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789024064; x=1789628864; h=content-transfer-encoding:mime-version:references:in-reply-to :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=6N41mPYMtwHJxcU+b3y0AU5P4+rfzOFqefvh/tO1NTI=; b=ffyk1PjFsEGHU59xsLZZv7TDmKcXD+zIfa1FlZZog56d2bAP6r4K7s0wgIhCOjDdtT goeHWYC1d7bpLmluIMz4u/dxpbKpUuc+srEuILEn9z+MJe4IERuiAJNw85zmVUJ4p0tG iV7tk4gphtc0q8Gm9R9kELyWzFtJpO0U3x5IbGbG9a2gG2HFHAvuD49grR/+V1VeP0Y0 ugKCwsn+4/tkMjADgh8TFSGrnrRlFe5DhBOiuwtgMILffpHLyb1P3YflnlAQX/rXaXSB IRvdghcOWMHeHsbwEVkTZNA3vplHS1BnGtD+Z7YpiQR80+cbZfo9c8X2oIRT38FVHb9i gRjQ== X-Forwarded-Encrypted: i=1; AKwUvBxz/F2Bti/IdMxkLOHbwMr5zzKl0wVW9rPbBtOFc/0gg/DejVEUfQ5OL8Sg416G7MImQBv2gCSLBE6J2z4=@vger.kernel.org X-Gm-Message-State: AFuF++nr3/gDoU9p8xTZBjsl8tv/Vp7S6Qeu3zJQbKjkOzm7Si0t+6pS MGEUuuVkzN7QhyZAbTYqrpGEh9JgT1+czjWCXFuAZ6xIHw+s3FDOcDfR X-Gm-Gg: AYBFou0pPO/pbF54V8GM6cr2nY8IyXiQOpvNKjzjBJeh7PHtCKA99t/pmCEos+hC6gS SEilsDz4dOWm1XQT6D5bWd/ZFrkDXo5g3jmlohQgTA09CYPhxFQ3dlhLROXKmiJjIEBbYzUz0Qc a0Xa7nDD0yOigng2MZyP7k/XaOoDhyVGLsfbvSmoQmfEUT+NpwyIVQnDvg70+lMgbogXkzmmHKK 1ZvEWNfTdFMgH9CxLxoF2A7Xse+vPdhjJwWc6E88Iqij/GxnGXu8jb4oCvpSnWwKKynAk+HLQtH VJk9181I8kfuiPZY2vRDXZgaVdpQ7qRpozEomNFK0w0yoi10/A/EfbtLEwpJguY94u9/g2u0Di6 zc2ayyL8jCDGej2Gny1ZUb/Ia1Z51BscUd+5S0BqSOPTOvLEx8WmOTOu6BsWBtGiTMusv8N7IUK dqfoxNXy3eko8/tVNk/j2HQNTpCh94Txh2RVtdFqfmE4uX7WbAAzuSjioWHx9KacekNHxVD8Gk9 c4= X-Received: by 2002:a05:6000:38e:b0:485:ea30:1f72 with SMTP id ffacd0b85a97d-485ea301fb5mr5498696f8f.27.1789024064007; Thu, 10 Sep 2026 00:07:44 -0700 (PDT) Received: from Empers0n ([193.23.219.104]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-485883959f0sm52244311f8f.10.2026.09.10.00.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 00:07:43 -0700 (PDT) From: Vsevolod Nevorotov To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vsevolod Nevorotov Subject: [PATCH 1/2] dt-bindings: input: touchscreen: add Synaptics S3908 controller Date: Thu, 10 Sep 2026 14:07:22 +0700 Message-ID: <20260910070723.347768-2-sevanevorotov29@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260910070723.347768-1-sevanevorotov29@gmail.com> References: <20260910070723.347768-1-sevanevorotov29@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add devicetree schema binding for the Synaptics S3908 TouchComm generation-1 I2C touchscreen controller, found in devices such as the OnePlus 9RT. Signed-off-by: Vsevolod Nevorotov --- .../input/touchscreen/syna,s3908.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/syna,s3908.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/syna,s3908.yaml b/Documentation/devicetree/bindings/input/touchscreen/syna,s3908.yaml new file mode 100644 index 00000000000..68479b0b7d7 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/syna,s3908.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/syna,s3908.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics S3908 TouchComm I2C Touchscreen + +maintainers: + - Vsevolod Nevorotov + +description: + Synaptics S3908 is a TouchComm generation-1 touchscreen controller connected + over I2C. + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: syna,s3908 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdd-supply: + description: Core / digital power supply regulator (VDD) + + avdd-supply: + description: Analog power supply regulator (AVDD) + + wakeup-source: true + +required: + - compatible + - reg + - interrupts + - reset-gpios + - vdd-supply + - avdd-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@4b { + compatible = "syna,s3908"; + reg = <0x4b>; + interrupt-parent = <&tlmm>; + interrupts = <23 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>; + vdd-supply = <&vreg_l3c_3p0>; + avdd-supply = <&vreg_l8c_1p8>; + wakeup-source; + }; + }; -- 2.55.0