From patchwork Sat Dec 23 15:20:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Traut X-Patchwork-Id: 758305 Received: from mecka.net (mecka.net [159.69.159.214]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7053CDF4E; Sat, 23 Dec 2023 15:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mecka.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mecka.net Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=mecka.net header.i=@mecka.net header.b="KmfjTpyi" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mecka.net; s=2016.11; t=1703344838; bh=eKk/DlnzPtMcPQxfNWOgU5Nu4ITnGNL+vBoe3BdXNpk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=KmfjTpyirTuxzhN5kRBez0UKDeoEjWwsTPqJcC7UyM0Dbm2SsePYa0PdDCdwRQa7t HbmDD+u3sGyw933zqnKQPS5iIeq1iOYNH/nycrjrqVFrCpFM2aQifwDEJ/xhUBlYy3 Vv2InnjAmQ33kf7A+5Fhxks+crunKFtDd3xKQbVXGLjXq4sP7QGf8H53ttuzS/21NS 6LbWAPEXsbGEahhdeLE2gOA0Na+Orhs4S9EZ2s4eJ0MxL7IyBnmUO507W4ZX4N9i2l gQ1ZfqqJQbDiUz2r6pCsQKsR2ALANPlt6jGZXjGznRWcqVGGym8It2XtH3z6XdS7A2 D6nWj6rgRqamg== Received: from arthur.fritz.box (unknown [185.147.11.134]) by mecka.net (Postfix) with ESMTPSA id BD3B6371959; Sat, 23 Dec 2023 16:20:37 +0100 (CET) From: Manuel Traut Date: Sat, 23 Dec 2023 16:20:15 +0100 Subject: [PATCH v2 1/4] dt-bindings: display: panel: Add BOE TH101MB31IG002-28A panel Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231223-pinetab2-v2-1-ec1856d0030e@mecka.net> References: <20231223-pinetab2-v2-0-ec1856d0030e@mecka.net> In-Reply-To: <20231223-pinetab2-v2-0-ec1856d0030e@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 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 X-Mailer: b4 0.12.4 Add bindings for the BOE TH101MB31IG002-28A LCD panel. It is used e.g. in the Pine64 Pinetab2 and PinetabV. Signed-off-by: Manuel Traut --- .../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>; + }; + }; + }; + }; + +...