From patchwork Wed Oct 7 17:20:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 11822265 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B0E91580 for ; Thu, 8 Oct 2020 07:21:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 58DB92087D for ; Thu, 8 Oct 2020 07:21:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=connolly.tech header.i=@connolly.tech header.b="cb2YJNxi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58DB92087D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=connolly.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E05B06EA2A; Thu, 8 Oct 2020 07:20:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id E944C6E118 for ; Wed, 7 Oct 2020 17:20:11 +0000 (UTC) Date: Wed, 07 Oct 2020 17:20:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1602091210; bh=d2j//6xhs2PPOH5F6O6PlO0HsUSK+06Ub5QJ1wgRpaw=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=cb2YJNxiQKsm2m9FIBm86iCX27qa+tPdLDIRE9nFqwdhBQjw86zUeHEMeeEMMkc8q 2ocdyfAUvF/rs7eZk7BCbF51OlcJKsPwwiSkuIdX5rZoopoKQPGEPVFGb04D8J8Phe i8q7ljKNuiu9/A52qK3oC8+/CiGlWLhm9NOaYx9s= To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Caleb Connolly From: Caleb Connolly Subject: [PATCH 2/5] dt-bindings: panel: add documentation for oneplus6 panel Message-ID: <20201007171807.285298-3-caleb@connolly.tech> In-Reply-To: <20201007171807.285298-1-caleb@connolly.tech> References: <20201007171807.285298-1-caleb@connolly.tech> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Mailman-Approved-At: Thu, 08 Oct 2020 07:20:54 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Caleb Connolly Cc: devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Document the OnePlus 6/T common panel driver, example from arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi Signed-off-by: Caleb Connolly --- .../display/panel/panel-oneplus6.yaml | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml b/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml new file mode 100644 index 000000000000..23ba369cc2f5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml @@ -0,0 +1,73 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-oneplus6.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OnePlus 6/T panel driver + +description: | + The OnePlus 6 panel driver encompasses the display panels found in the + OnePlus 6 and 6T devices, the panels have almost identical behaviour and + are not used by any other devices. + +maintainers: + - Caleb Connolly + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - samsung,sofef00 + - samsung,s6e3fc2x01 + + reg: true + reset-gpios: true + port: true + + vddio-supply: + description: VDDIO regulator + +required: + - compatible + - reset-gpios + - vddio-supply + - port + +unevaluatedProperties: false + +examples: + - | + &dsi0 { + status = "okay"; + vdda-supply = <&vdda_mipi_dsi0_1p2>; + + #address-cells = <1>; + #size-cells = <0>; + + display_panel: panel@0 { + status = "okay"; + compatible = "samsung,sofef00"; + + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + vddio-supply = <&vreg_l14a_1p88>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +...