From patchwork Sat Jan 27 09:48:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Traut X-Patchwork-Id: 13534034 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1D53C47DDB for ; Sat, 27 Jan 2024 09:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=it+REstn3Y9lgY7eDvBTVUBpP8UdUbfGNPpIAq95/Zs=; b=DtemapdiLl3CFB OyUH8Qk4/N8IfyA09C69tOqtjZLihCyX2Me3mbhl/MV3+MweQ1oxrS/gz+tfW1fcwdmEXZ0YHSCTT D4NRA6olPXIBYcF07IaDuE7ZKXxuof9+HhH/xyX0ksdW2LLH4Gfan1wJ4BqbPl2krQ2O/hJAhoY7M fynmJp/J3NOlmB3cixJA3QpE/IlyuQdiJ8qPwEpqWjd0m2soCMPXiSLyDY73yI+/U6mBTfdnGDfgZ 3dq6xJLDheoY7ECgLfYkPjBQlmfFfqUgEvPXP6nVeMn0mu3rI0ysuECe2Zpx4oCAhJ9SLbOqcWtyZ occd3mQN6+QQcUYcHCFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTfJ5-00000007J3a-3XMP; Sat, 27 Jan 2024 09:48:59 +0000 Received: from mecka.net ([159.69.159.214]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTfIr-00000007Isb-0uIv; Sat, 27 Jan 2024 09:48:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mecka.net; s=2016.11; t=1706348924; bh=d/mPhCDD2i3XgKxf8jrSdZHr8qoOj21nqnUYrLCOwkM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Lpv60KY9OiB7fdvFNMxUFh78OaTgbSlN+lX+mWpSZ/xotVLlAlyzt0XW12DQNmOhu gREj1sYbd2MdWp4stsPhepsVCeGkXzQUkCxcAUoJ1PTsox4P9ThcLs1sb9lqzwj0gi /Ptq1lD559s402ZWmJ+dEsU4osZS2kiKPy0mtqATvjbx+9B4Ra5U2HPMCpIABXJOgM 327XGDEHXlyOTUGQ+8LoM8tk9xGl1P/c6FSe+khJ9tGt1P0/jDn4fA/jbxuPKwJWIg bIPbLasIu6WrG7KbyZGmLX0Jvt5hj3YArk9sK8eEVKbJ6WxERISnH+pOEbLxauFoX9 LY/3d5t+mUIdw== Received: from arthur.fritz.box (unknown [185.147.11.134]) by mecka.net (Postfix) with ESMTPSA id 98F983BF7A5; Sat, 27 Jan 2024 10:48:43 +0100 (CET) From: Manuel Traut Date: Sat, 27 Jan 2024 10:48:42 +0100 Subject: [PATCH v4 1/4] dt-bindings: display: panel: Add BOE TH101MB31IG002-28A panel MIME-Version: 1.0 Message-Id: <20240127-pinetab2-v4-1-37aab1c39194@mecka.net> References: <20240127-pinetab2-v4-0-37aab1c39194@mecka.net> In-Reply-To: <20240127-pinetab2-v4-0-37aab1c39194@mecka.net> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sandy Huang , Mark Yao , Diederik de Haas , Segfault , Arnaud Ferraris , Danct12 , Ondrej Jirman Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Manuel Traut , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_014845_700214_C58160AF X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add bindings for the BOE TH101MB31IG002-28A LCD panel. It is used e.g. in the Pine64 PineTab2 and PineTab-V. Signed-off-by: Manuel Traut Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20240102-pinetab2-v3-1-cb1aa69f8c30@mecka.net Signed-off-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/20240102-pinetab2-v3-1-cb1aa69f8c30@mecka.net (cherry picked from commit baae3a0b10c499d4228514a701602f6fd2a8d6b4) --- .../display/panel/boe,th101mb31ig002-28a.yaml | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml b/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml new file mode 100644 index 000000000000..32df26cbfeed --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BOE TH101MB31IG002-28A WXGA DSI Display Panel + +maintainers: + - Manuel Traut + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel + - boe,th101mb31ig002-28a + + reg: true + backlight: true + enable-gpios: true + power-supply: true + port: true + rotation: true + +required: + - compatible + - reg + - enable-gpios + - power-supply + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "boe,th101mb31ig002-28a"; + reg = <0>; + backlight = <&backlight_lcd0>; + enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; + rotation = <90>; + power-supply = <&vcc_3v3>; + port { + panel_in_dsi: endpoint { + remote-endpoint = <&dsi_out_con>; + }; + }; + }; + }; + +...