From nobody Sat Oct 11 00:28:58 2025 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (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 7F46A72616; Thu, 12 Jun 2025 14:48:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749739727; cv=none; b=k3YlEQk8zbbVXt3+3SRuSMz4Dw9z4+KqvY0291wzYrS013R6wrXTaIK2//sLaIZE9PVQm8hhtCxyKEsRBGTwKJmj3klQSwi8vUiI/ZydWtpKzcjn0guICz0Oyi9pfsc6V43RKkSs6Bs5SGtU0wD4GlXTfk2Dqa5rkfGKAMxYAbo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749739727; c=relaxed/simple; bh=MNY5GrlKulcobjKhaz4Ugy35VrS+LfXdMTxhyeYCZ3U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jRUiuHmr3ygmPDU+Zta6IGX59QjVrBuVdnV+dcgZ6lgOTWL3xFqig5DZB0uvsPLu4tk+rHE0yEFYyRzD3msgRZf0he9ZdAgiz8CSws+/HbK4UTKeZJHzIEjBj8torSI9W/I+95dOnW43e1kgHU+3BAeVuuxi5+roxvRaL673N6w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=bYS8wDMr; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="bYS8wDMr" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C2F8825E38; Thu, 12 Jun 2025 16:40:09 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SR4gQnR6tiSp; Thu, 12 Jun 2025 16:40:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1749739208; bh=MNY5GrlKulcobjKhaz4Ugy35VrS+LfXdMTxhyeYCZ3U=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=bYS8wDMrUnyo4JzaHSlNlBuQJs2yRt7Q3r9qwIqoFOe1mzNq6pgINXshKC8h4AlHS Sf6eL7xdwdGfRCjkT7ojVU1sduxcNKNHQk/gQhD7ao0ZNyhpN2t231XXbc6kO+OSRW OQ1HAoOS1Hg+6VJnpr+BBvanuXg4eKgYbmXHNpBVGQSx/9I+Jck+EDvriZ9L3uC2nC baKxMlr+A1murkSHJ9wbhgxKIiF8nzcyXHpYtuc4aCFUpGQB9HtozuBRlVRjA7O/3P MlsSKOs/bKdGEvPKEIlYDjBJbmsr8as9zvtIzdVeqqKwtr65y/87oTPke25OWMq3qw eAM8cXbAcwpVg== From: Kaustabh Chakraborty Date: Thu, 12 Jun 2025 20:09:40 +0530 Subject: [PATCH 1/2] dt-bindings: display: panel: document Synaptics TDDI panel driver 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 Message-Id: <20250612-panel-synaptics-tddi-v1-1-dfb8a425f76c@disroot.org> References: <20250612-panel-synaptics-tddi-v1-0-dfb8a425f76c@disroot.org> In-Reply-To: <20250612-panel-synaptics-tddi-v1-0-dfb8a425f76c@disroot.org> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jessica Zhang Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kaustabh Chakraborty X-Developer-Signature: v=1; a=ed25519-sha256; t=1749739197; l=2932; i=kauschluss@disroot.org; s=20250202; h=from:subject:message-id; bh=MNY5GrlKulcobjKhaz4Ugy35VrS+LfXdMTxhyeYCZ3U=; b=4j7u0ZeD2t4wgyl9xeAF3zzcvOQbOARt4jYlNXeqN1cKeberTGie2+iVPNKswaGLsKepy3Uii lqjhmVDlrsVAQgRdfuUxrzahqYv8KzzJ/vfCz7l+czOcN6gy3hmYGWx X-Developer-Key: i=kauschluss@disroot.org; a=ed25519; pk=h2xeR+V2I1+GrfDPAhZa3M+NWA0Cnbdkkq1bH3ct1hE= Document the driver for Synaptics TDDI (Touch/Display Integration) panels. Along with the MIPI-DSI panel, these devices also have an in-built LED backlight device and a touchscreen, all packed together in a single chip. Also, add compatibles for supported panels - TD4101 and TD4300. Signed-off-by: Kaustabh Chakraborty --- .../bindings/display/panel/synaptics,tddi.yaml | 92 ++++++++++++++++++= ++++ 1 file changed, 92 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/synaptics,tddi= .yaml b/Documentation/devicetree/bindings/display/panel/synaptics,tddi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3aae1358a1d764361c072d3b54f= 74cdf634f7fa8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/synaptics,tddi.yaml @@ -0,0 +1,92 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,tddi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics TDDI Display Panel Controller + +maintainers: + - Kaustabh Chakraborty + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - syna,td4101-panel + - syna,td4300-panel + + reg: + maxItems: 1 + + vio-supply: + maxItems: 1 + description: core I/O voltage supply + + vsn-supply: + maxItems: 1 + description: negative voltage supply for analog circuits + + vsp-supply: + maxItems: 1 + description: positive voltage supply for analog circuits + + backlight-gpios: + maxItems: 1 + description: backlight enable GPIO + + reset-gpios: true + width-mm: true + height-mm: true + panel-timing: true + +required: + - compatible + - reg + - width-mm + - height-mm + - panel-timing + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "synaptics,td4300-panel"; + reg =3D <0>; + + vio-supply =3D <&panel_vio_reg>; + vsn-supply =3D <&panel_vsn_reg>; + vsp-supply =3D <&panel_vsp_reg>; + + backlight-gpios =3D <&gpd3 5 GPIO_ACTIVE_LOW>; + reset-gpios =3D <&gpd3 4 GPIO_ACTIVE_LOW>; + + width-mm =3D <68>; + height-mm =3D <121>; + + panel-timing { + clock-frequency =3D <144389520>; + + hactive =3D <1080>; + hsync-len =3D <4>; + hfront-porch =3D <120>; + hback-porch =3D <32>; + + vactive =3D <1920>; + vsync-len =3D <2>; + vfront-porch =3D <21>; + vback-porch =3D <4>; + }; + }; + }; + +... --=20 2.49.0