From nobody Tue Apr 7 02:34:37 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 8DF273D3CE1 for ; Mon, 16 Mar 2026 18:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773684732; cv=none; b=Y7DBmPVuvAN969GDpPM7UtMLrjfUX+zskP5eQEnfBmR9ZedvrQJuuw1R4CU2y2JHpR3xMYzUAbW3PHfmxFSfAYkcQjXqoTxOW4wsE5JY1FVCyD4BoWbOShAecGRo5iyVr9+D4J+7gK51iC0PRSwzOvjX4Jl42iX+Rt78Id7RcRw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773684732; c=relaxed/simple; bh=dt3alpAXUOQoTq44HebBnWI/jUQU9/9QNQ+dm8LV8Wc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=qCe/1oOZ/2uRMtP6NFXZ4JvWHsZltbjkKPg7/neTRo7tyFzsjr/iKt98sTGkWVefbuKeLOkc+QpOWlysBlm++FvFzDhS3MlZbpBQnP38aC8BhMlMgETTf2MWRBbqEAHcR/TmeVN3D49TRfTGMYOmL1lqIh4lRsLWNzQYECXz+DE= 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=L06XRiFd; arc=none smtp.client-ip=209.85.128.49 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="L06XRiFd" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-48557c8ad47so28633585e9.0 for ; Mon, 16 Mar 2026 11:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773684728; x=1774289528; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ZNoFb191mvWm3HG8KPjdrK6BEhKwrJKwIStTVlNnrUE=; b=L06XRiFdqc5nYolNuqZlVNECB9rA1A2rW9ZQNa8d+rpEWBrJPGzePLFlMJKEJ94eNi MeVSo07TAJh+SDumkZ02KYA9yIPm4hoojIU7fRqUv7AlLRiNh5kMcTQJZV7hV5SuhkQu /m/J96fzt2CASgo5cUrVvWZzlE+lqFaWciwZV5yRSDUxGYCbYFaNPlqJRtF3VM0uFJyN 4+hYE1dbbAGa9XVCv0lf9vM65i6eItNEwhuz+FMuXUsr7pwVFiNDMk+PxWS7nwQmpGV4 nwQNVFDXLRZtDoahKrx8WeKZwPnYOJhVl9ef9tH5HQ33Tsy2sKPy85F/yXJoH2/KVohK qSng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773684728; x=1774289528; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZNoFb191mvWm3HG8KPjdrK6BEhKwrJKwIStTVlNnrUE=; b=Xsy7IGsfWOADgWdUmtUUkpGQXzU2awkeX7B/G3BslJC+034IHvBNkEiP518/KIpgHP YaXTQndBpR9WMvCJnIdnShibXg7Gz8t/l149ngNxPhkAZD0B1j1vq9FC0KPlcI5kIu9p V22vIU1b043nfOul0HjKvTdg58pMgQVXNJNzWpj1CimuH54+4DDygOH0u6k1h5AucVrR 9Ac1MIq0AqL2+O2XNhotaMz6Y98fP7ggOJY5tCN4HkshCGKaNp7Dsy7jgzQXSD/plQ17 W+QCw+OuqNnb/w7SvMRggtCwGRdgKrKQVJiFKpe/7yH7aNPmc+eiFP0WpBhleT/XBj2W fTgQ== X-Forwarded-Encrypted: i=1; AJvYcCVBcAvhi7cywB1Cwpj2h6ZLxsMFr0BUS4JOVDTbWGj5faZ0fYzOIZnc8Iwi88zpszP05gb6PiMNtTp8sZA=@vger.kernel.org X-Gm-Message-State: AOJu0YzCtiZICuTc+4xJPWlBBsfenrSEkD3iRjj7aAyL9BR8EFf/blW3 9g4rNBPvfbNdAHeyo42t9OGmW4dVuZLuts2kJfKJFYithNWjRlueWzVS X-Gm-Gg: ATEYQzy8AfMzUx9GDtyTQu2NnNYvGbu0rTImZ5tdaDbpsCduBS3fEcJ7aZ2aJITE6I2 Mc4GDBpFgj2R9nVhoUMw/xWTu/u2/lIl4W2H6jqAJTFF3b9EBfr4H3AkO7BtQ72uo/U1aqbfCLQ n+PgW6nRjJgPs2r/sDQjkMDpHkEZKlj1DT0JP43jbz5oBzlvfszJh22vufgzEMLQq7o1cxpZ9S+ lwttYwoaFHa+B1PIqx71Pf8BlpuXBGcXXQFbtEhTH4HALorU42b2lSN9+PDFRKhUaCSvgD0tuLF ob64wMFFeM8TJ5jlEH7Yp1kJvcl85+QPHKdNPp9DY9vNV0+irveknDZ1FZyDbW43JQ2AEnpP06n RMsQ2gzLaLucGchP8518JVU6mR6cDc6n6smLaConiOaOxClL2SOlEtc7d4K0CklT6ncqSvEl2Lq cfVWYnthY3hjS7+zA= X-Received: by 2002:a05:600c:548f:b0:477:b642:9dc1 with SMTP id 5b1f17b1804b1-4855670514dmr233546695e9.20.1773684727835; Mon, 16 Mar 2026 11:12:07 -0700 (PDT) Received: from fedora ([82.137.32.223]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-48557c89186sm247427825e9.1.2026.03.16.11.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 11:12:06 -0700 (PDT) From: Eduard Bostina To: daniel.baluta@nxp.com, simona.toaca@nxp.com, egbostina@gmail.com, d-gole@ti.com, m-chawdhry@ti.com, Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: input: touchscreen: Convert TS-4800 to DT schema Date: Mon, 16 Mar 2026 20:10:37 +0200 Message-ID: <20260316181038.9771-1-egbostina@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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the TS-4800 touchscreen bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Krzysztof Kozlowski --- Note: * This patch is part of the GSoC2026 application process for device tree bi= ndings conversions * https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device= -Tree-Bindings .../touchscreen/technologic,ts4800-ts.yaml | 42 +++++++++++++++++++ .../bindings/input/touchscreen/ts4800-ts.txt | 11 ----- 2 files changed, 42 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/tec= hnologic,ts4800-ts.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/ts4= 800-ts.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/technologi= c,ts4800-ts.yaml b/Documentation/devicetree/bindings/input/touchscreen/tech= nologic,ts4800-ts.yaml new file mode 100644 index 000000000..c033774b4 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/technologic,ts480= 0-ts.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/technologic,ts4800-ts= .yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TS-4800 Touchscreen + +maintainers: + - Eduard Bostina + +properties: + compatible: + const: technologic,ts4800-ts + + reg: + maxItems: 1 + + syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: Phandle to the FPGA's syscon + - description: Offset to the touchscreen register + - description: Offset to the touchscreen enable bit + description: Phandle / integers array that points to the syscon node w= hich + describes the FPGA's syscon registers. + +required: + - compatible + - reg + - syscon + +additionalProperties: false + +examples: + - | + touchscreen@1000 { + compatible =3D "technologic,ts4800-ts"; + reg =3D <0x1000 0x100>; + syscon =3D <&fpga_syscon 0x20 3>; + }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.= txt b/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt deleted file mode 100644 index 4c1c092c2..000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt +++ /dev/null @@ -1,11 +0,0 @@ -* TS-4800 Touchscreen bindings - -Required properties: -- compatible: must be "technologic,ts4800-ts" -- reg: physical base address of the controller and length of memory mapped - region. -- syscon: phandle / integers array that points to the syscon node which - describes the FPGA's syscon registers. - - phandle to FPGA's syscon - - offset to the touchscreen register - - offset to the touchscreen enable bit --=20 2.43.0