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 2FAECC10DCE for ; Sun, 15 Mar 2020 13:45:51 +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 06CF220575 for ; Sun, 15 Mar 2020 13:45:51 +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="lWl9RmPx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06CF220575 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 697FA6E1F1; Sun, 15 Mar 2020 13:45:50 +0000 (UTC) Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id B94FF6E1ED for ; Sun, 15 Mar 2020 13:45:42 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id j15so11740113lfk.6 for ; Sun, 15 Mar 2020 06:45:42 -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=0i0vgiKfLOmpvuqPVA7m37qiPqNJFhGX4H4IYa6i4ig=; b=lWl9RmPxxkjrxxWHn9utIetUaSmb9LWP3dVx4LimFMdzM1pk4BlRSvi1ySK/IEufn0 sX03MMuFa9fOc7XV7XzjU44uaC2qHvytzCv/+Eec+pOEMjXwSldTW15Lw7xTl6U3EYvo iOlegHCxdN/qHX4wOAJj25qdQSlTLnUA3Kq0WFs9COZnKCyu6bCfQ3jZ2QjOFu59reGJ xm9slFbDqTG90364EIv3Blcrj1s71u4H0URzNu+uwzEBwp7oqm0ryY4zNqFXWsrZdHBA mQdfbgd/THjSCD/WHIE/PmPFPFgduBAcck5FZUsO5830N8egRmhNMnThEqK2WibiCBSf C8iQ== 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=0i0vgiKfLOmpvuqPVA7m37qiPqNJFhGX4H4IYa6i4ig=; b=R/uNEaGFz+j0k1I4BnujQqduRzS0+uJLkvuokBGvUZS/BwiEGhjiQvLU2FKkqdZMRq jhtCh/erGZ+Ke4GoE6gLmQca39eCp/Ha5CkZHIzoxFxgsRyterGsR1h1DpNkrR/ynNuc Z8m4WL5jf7H3g/R0A1hSTDildeAXRXSLeUM9cHY2TEcH2qAIicO93AOSK+l6xhJZdCdv EjUOtNbdli8DYXxHpn2QazeDSaYrKCPOK2uox2HO5ApXKXQlDm3nNqS891yOh1eK8vO7 SfqvGIUqQ9RhpfOO/bGf8UcLbJPS2wFKRxb/IIfZMgc/BNwLBtms2BGU6JyKGuCLEPea cYSw== X-Gm-Message-State: ANhLgQ2N/fMr8pM527ImUgYc3sonYHDksfb29tvxB+x0v8xaoc5HuiTF 5KirsmOUu4qtTl70HSUo2Sl6lVV0S1E= X-Google-Smtp-Source: ADFU+vus3KIMVrdLNQumK21IeQLFPAIhvE0B8wkk6LKoU2xSpSVPWgRyVc6zyWu+4lJgoeI03mbkew== X-Received: by 2002:a19:80e:: with SMTP id 14mr13715743lfi.206.1584279940829; Sun, 15 Mar 2020 06:45:40 -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.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 06:45:40 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Thierry Reding , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v1 35/36] dt-bindings: display: convert lgphilips, lb035q02 to DT Schema Date: Sun, 15 Mar 2020 14:44:15 +0100 Message-Id: <20200315134416.16527-36-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: Tomi Valkeinen Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/lgphilips,lb035q02.txt | 33 ------------ .../display/panel/lgphilips,lb035q02.yaml | 54 +++++++++++++++++++ 2 files changed, 54 insertions(+), 33 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt create mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml diff --git a/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt b/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt deleted file mode 100644 index 1a1e653e5407..000000000000 --- a/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt +++ /dev/null @@ -1,33 +0,0 @@ -LG.Philips LB035Q02 Panel -========================= - -Required properties: -- compatible: "lgphilips,lb035q02" -- enable-gpios: panel enable gpio - -Optional properties: -- label: a symbolic name for the panel - -Required nodes: -- Video port for DPI input - -Example -------- - -lcd-panel: panel@0 { - compatible = "lgphilips,lb035q02"; - reg = <0>; - spi-max-frequency = <100000>; - spi-cpol; - spi-cpha; - - label = "lcd"; - - enable-gpios = <&gpio7 7 0>; - - port { - lcd_in: endpoint { - remote-endpoint = <&dpi_out>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml b/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml new file mode 100644 index 000000000000..09eba4090736 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lgphilips,lb035q02.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LG.Philips LB035Q02 Panel + +maintainers: + - Tomi Valkeinen + +allOf: + - $ref: panel-common.yaml# + - $ref: ../../spi/spi-slave.yaml# + +properties: + compatible: + const: lgphilips,lb035q02 + + label: true + enable-gpios: true + port: true + +required: + - compatible + - enable-gpios + - port + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel: panel@0 { + compatible = "lgphilips,lb035q02"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + + enable-gpios = <&gpio7 7 0>; + + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; + +... -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel