From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8A36C10DCE for ; Sun, 15 Mar 2020 13:44:57 +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 9042F206BE for ; Sun, 15 Mar 2020 13:44:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iQA17Ulo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9042F206BE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org 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 C545C6E18F; Sun, 15 Mar 2020 13:44:56 +0000 (UTC) Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id A740B6E181 for ; Sun, 15 Mar 2020 13:44:53 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id w4so890156lji.11 for ; Sun, 15 Mar 2020 06:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=85+JPdL0riE6y9vKE6MRhU8yOWIkV4ii4OdHXgpGAjY=; b=iQA17Ulo+My4nZO1xTunXJ/1o8QZU5pyq+Jatgtep5c1GDb/OVWO9pxqOeCI6+kQFM 8qNt9KvDpO0B1n/luViP2nBRN/mjstvu1YU+nol/eCvDjlxh1RruBN0fEBHFJRBMIHUx w8/mS0Qq2f6nrNBc2QLfkxFBWhewJyyg9h5jC9qoQp5jz+P7fwdarLVEEDvTtXsZpm45 SRuZaVWvVSQ6w3jtViQsNbmwUivJjPamVPlpVGcxLubwNe2+5mmJ26kG1uEiIEHpKfVf p5rr3p1Zz3AlIrRLjfKR8aC5DaCqu5kR2uMWF51QbTyfuIIAtAMXhGOqvGLQTLJM1GEe CNqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=85+JPdL0riE6y9vKE6MRhU8yOWIkV4ii4OdHXgpGAjY=; b=GCTxgeZdeALrnAZhXHb1i6W26yUp5pF1ppFo9gc2HK+sGULOxjktObUWZyMrwCE+YA 0NJKLvArhuVULwZ3WpRuXWuiT+ta4n28WSDO/oDEI+5jALqxaKDJ2RcwMvjACkxlsnvU j0zbYMxQfG6KC1u9l4ksFhcYrU9UlnWuutaJ6IPh9KHMa7tSWyAoLEj+5cOvp1gduYoh HqFRl3EScqWWW301ubyvSiPCRlLsN06bz0/aD2cDj4zbxvznphlU4Iza6ZtnjLXXGyIV xjffzok99JaFXCpIJUYzRapWdfCcg5GFQ6wv8L6lESisdXdsOUiP4SjT87yE87q3bnGR Yezg== X-Gm-Message-State: ANhLgQ1bw4G6bwU4cWYY+F0H8i+rRNMlR6S+fQYfwbfOZk31o2CLHXB6 hotThdruSVbJMifr60XR42CdzHkcvNg= X-Google-Smtp-Source: ADFU+vsxRHkh8Taf7X9qBubBFsYa1RVHoV8i/HWKAno4brv64JuVSrPLYD3RFxAPK17fcRd3Yw9fmA== X-Received: by 2002:a2e:b602:: with SMTP id r2mr14217474ljn.45.1584279891718; Sun, 15 Mar 2020 06:44:51 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id a9sm23025212lfb.21.2020.03.15.06.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 06:44:51 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Thierry Reding , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v1 11/36] dt-bindings: display: convert innolux, p120zdg-bf1 to DT Schema Date: Sun, 15 Mar 2020 14:43:51 +0100 Message-Id: <20200315134416.16527-12-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200315134416.16527-1-sam@ravnborg.org> References: <20200315134416.16527-1-sam@ravnborg.org> MIME-Version: 1.0 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: , Cc: Maxime Ripard , Nikolaus Schaller , Jonathan Bakker , Sandeep Panda , Paul Cercueil , Andrzej Hajda , Laurent Pinchart , Chris Zhong , Marco Franchi , Sam Ravnborg , Stefan Mavrodiev , Jerry Han , Hoegeun Kwon , Tony Lindgren , Nickey Yang , Tomi Valkeinen , Jagan Teki , Robert Chiras , Vinay Simha BN , Marek Belisko , Heiko Schocher , Brian Masney , Guido Gunther , Mark Brown , Alexandre Courbot , Werner Johansson , Purism Kernel Team , Peter Ujfalusi , Lin Huang , Douglas Anderson , linux-spi@vger.kernel.org, Peter Rosin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Signed-off-by: Sam Ravnborg Cc: Sandeep Panda Cc: Douglas Anderson Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/innolux,p120zdg-bf1.txt | 22 ---------- .../display/panel/innolux,p120zdg-bf1.yaml | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt b/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt deleted file mode 100644 index 513f03466aba..000000000000 --- a/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt +++ /dev/null @@ -1,22 +0,0 @@ -Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "innolux,p120zdg-bf1" -- power-supply: regulator to provide the supply voltage - -Optional properties: -- enable-gpios: GPIO pin to enable or disable the panel -- backlight: phandle of the backlight device attached to the panel -- no-hpd: If HPD isn't hooked up; add this property. - -Example: - panel_edp: panel-edp { - compatible = "innolux,p120zdg-bf1"; - enable-gpios = <&msmgpio 31 GPIO_ACTIVE_LOW>; - power-supply = <&pm8916_l2>; - backlight = <&backlight>; - no-hpd; - }; diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml b/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml new file mode 100644 index 000000000000..42f97b7b86b2 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/innolux,p120zdg-bf1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel + +maintainers: + - Sandeep Panda + - Douglas Anderson + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: innolux,p120zdg-bf1 + + enable-gpios: true + power-supply: true + backlight: true + no-hpd: true + +required: + - compatible + - power-supply + +additionalProperties: false + +examples: + - | + #include + + panel_edp: panel-edp { + compatible = "innolux,p120zdg-bf1"; + enable-gpios = <&msmgpio 31 GPIO_ACTIVE_LOW>; + power-supply = <&pm8916_l2>; + backlight = <&backlight>; + no-hpd; + }; + +... -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel