From patchwork Wed Apr 24 15:29:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xilin Wu via B4 Relay X-Patchwork-Id: 791630 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94EB415FA68; Wed, 24 Apr 2024 15:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713972570; cv=none; b=gFSzsfeqKXP7BPyXPnIcBjxKSOTOg/Uo3nhkch9lRmOh9ZX+WgAWAQWNtRfVD9TQ74Qw2/I27XhhDj333Jf8QWWre16KKIiX9D0UUkLFRsieN/b7Jt8IJWHyS+5OoA1Q+CUEOZf7dG/4gPa8JL87HT6nqRc+pV8w/kox+Hb5YmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713972570; c=relaxed/simple; bh=cbHOmS0lgBg4knwMev0Ajy7JVpTSAYRj97U/f4kgL3A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L+VnXPWkRrW0ugfRBzvXxRnvF9M1RsLMc9tc6s/8OOR9UQD4Rajs84b3k3x8ugxTNJyUbV7eWApQuUIcj8jEhuUk12pkpbDKhtyvz1KP/3hfmN5miN9vz9sc5rzCi2etarjDwx4Pow4YxIgpZiDrNl5vZjrL9lBdppaLIEqAIeU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=APDXodnp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="APDXodnp" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4D2E5C4AF08; Wed, 24 Apr 2024 15:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713972570; bh=cbHOmS0lgBg4knwMev0Ajy7JVpTSAYRj97U/f4kgL3A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=APDXodnpRzqcY/HNmhM7Lyr4vX5vlpQk54oY6e2LZW3UYjUMBJ6muMZamlhC4X3P1 j2tS8TFZzWqESdZL9mhb1fMMsmb2tG7UuDuUAE6GLRrceBetu4BhR4jY2JTRZ4I3t8 oaezMzVOfQYIRp80Sjfw0WrGQw10+N1IpbpnghJo9Uq8LTQsG2a4SlPu+FnKbnjX+t 584aC2wi94dpFpc8h2JzTLJfIjQhYGUNEiiJHCmosatQ9KvS9fZ4WMlA3ZAPFm5Un0 EA4DyT1MSdjzjgjCbLOgtmyZ98eDXycLjbgxJcJ9qZzDTialDl5eaBnKg6i5YrSz8D Vsuk6jiwzRzOA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B709C10F15; Wed, 24 Apr 2024 15:29:30 +0000 (UTC) From: Xilin Wu via B4 Relay Date: Wed, 24 Apr 2024 23:29:08 +0800 Subject: [PATCH 03/10] dt-bindings: display: panel: Add Synaptics TD4328 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240424-ayn-odin2-initial-v1-3-e0aa05c991fd@gmail.com> References: <20240424-ayn-odin2-initial-v1-0-e0aa05c991fd@gmail.com> In-Reply-To: <20240424-ayn-odin2-initial-v1-0-e0aa05c991fd@gmail.com> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Junhao Xie , Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Bjorn Andersson , Konrad Dybcio , Tengfei Fan , Molly Sophia , Junhao Xie Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Xilin Wu X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713972563; l=2025; i=wuxilin123@gmail.com; s=20240424; h=from:subject:message-id; bh=0VK+Kj9m0jq5c+1jyByVu388zTnbuAfKwi30ATqYDLI=; b=AweMBhEqEuTCc4enzY9h7GdeI8XUuiwF9MDWxLyD+4cgpmTUAoig7/9l8o0WgxW1VxR4gHORU cYNQ8NATvgzA6BG+EfLmVbx9tD6Qq3ybWio/Y940cWK+I6rFS9he+gk X-Developer-Key: i=wuxilin123@gmail.com; a=ed25519; pk=vPnxeJnlD/PfEbyQPZzaay5ezxI/lMrke7qXy31lSM8= X-Endpoint-Received: by B4 Relay for wuxilin123@gmail.com/20240424 with auth_id=157 X-Original-From: Xilin Wu Reply-To: wuxilin123@gmail.com From: Xilin Wu Synaptics TD4328 is a display driver IC used to drive LCD DSI panels. Signed-off-by: Xilin Wu --- .../bindings/display/panel/synaptics,td4328.yaml | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/synaptics,td4328.yaml b/Documentation/devicetree/bindings/display/panel/synaptics,td4328.yaml new file mode 100644 index 000000000000..216f2fb22b88 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/synaptics,td4328.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/synaptics,td4328.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics TD4328-based DSI display panels + +maintainers: + - Xilin Wu + +description: + The Synaptics TD4328 is a generic DSI Panel IC used to control + LCD panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + contains: + const: syna,td4328 + + vdd-supply: + description: Digital voltage rail + + vddio-supply: + description: Digital I/O voltage rail + + reg: true + port: true + +required: + - compatible + - reg + - reset-gpios + - vdd-supply + - vddio-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "syna,td4328"; + reg = <0>; + + backlight = <&backlight>; + reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; + + vdd-supply = <&vdd_lcm_2p8>; + vddio-supply = <&vreg_l12b_1p8>; + + port { + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +...