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=-14.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,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 A810EC2BB1D for ; Wed, 8 Apr 2020 19:51:52 +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 796252075E for ; Wed, 8 Apr 2020 19:51:52 +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="eoApHJB9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 796252075E 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 0E8A989C63; Wed, 8 Apr 2020 19:51:50 +0000 (UTC) Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4AB466EACD for ; Wed, 8 Apr 2020 19:51:48 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id z23so6107870lfh.8 for ; Wed, 08 Apr 2020 12:51:48 -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=3NIwy6DH0VrIMtQZkqmRlNU3O8nwIcRPTornYJG1h+Y=; b=eoApHJB9l6wRj6v7Z4WjeTe605zriNJCb5fe2jR1gDUBJ4kb8CEjrTyVDhFdvnskfy knEn2es9tTT00LXR1mD2D3SBiPI8MOXv1FGZiS+RM9XIXvCOo5BsC9Tuhm4ByVjLZrHt EgAEYiNixcUQynjEkR8dVicbXSE253j48Ny4jUncEaGaFgOAGqA8wUrqYvM0bQJKjj+y ix+7vf8TcjX96vnJRKGcRpiUMkx8Gn9kQByD2bFJn0nH9ebYwGORPJuLkrvRluotCIo7 kJHJekLjOkOMYzRs1x4NQN6DHpkNMyjGaEFzo4n2gw+ksAzKndIjuxwpqaOatVDUsoAP Xk0A== 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=3NIwy6DH0VrIMtQZkqmRlNU3O8nwIcRPTornYJG1h+Y=; b=A9lVlyGyxZK49UiRg40lYTyjDri9WjCksJmdQv5THX6bscg1/P3ROoopQjyFTSXpeH l45EWyXr8wm69xVIQVWBcop125/93DblSIVEZW8WNyv15iJw24EvjoZ822lUid+gDlGu dfp+gbpdWlK8EZ+CcUSC91OFpmLTE6m8JPSj6eohR0B0g4OX53Y3/OxuHeKEyBqqbR0f GUN3U5Dm2SjmoUgKoafUnxGt1kGg9UdWiCzqHMaAm/WsU1NHdk13Ml3fOakkpsCZ0bFE vytW8yiNqNGfA2PGqxa7PfGKmhTbhqZgUIovt+EuQty2nitlBJb/a9Co/QMejwd+ky0c ou9w== X-Gm-Message-State: AGi0PuZHBHD6j8jdDS7OcvyJ1OAhJrPk0Qoni16EuEScjTdVkUP3vxdv PMu+5q0GWyZcJlrAD2A+zs1eUcxWEEU= X-Google-Smtp-Source: APiQypJLcrrKHvO9hWsDO30ITUy60HaEorZN6HkcRibU4WCr3XXCDrQaT+FDXLlVex8Naylk7snOsQ== X-Received: by 2002:ac2:5684:: with SMTP id 4mr5411988lfr.88.1586375506282; Wed, 08 Apr 2020 12:51:46 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id i20sm3961304lfe.15.2020.04.08.12.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 12:51:45 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Thierry Reding , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 05/36] dt-bindings: display: convert arm, versatile-tft-panel to DT Schema Date: Wed, 8 Apr 2020 21:50:38 +0200 Message-Id: <20200408195109.32692-6-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200408195109.32692-1-sam@ravnborg.org> References: <20200408195109.32692-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: Sam Ravnborg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" v2: - Fix entry in MAINTAINERS Signed-off-by: Sam Ravnborg Cc: Linus Walleij Cc: Thierry Reding Cc: Sam Ravnborg --- .../display/panel/arm,versatile-tft-panel.txt | 31 ----------- .../panel/arm,versatile-tft-panel.yaml | 51 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 52 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt deleted file mode 100644 index 0601a9e34703..000000000000 --- a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt +++ /dev/null @@ -1,31 +0,0 @@ -ARM Versatile TFT Panels - -These panels are connected to the daughterboards found on the -ARM Versatile reference designs. - -This device node must appear as a child to a "syscon"-compatible -node. - -Required properties: -- compatible: should be "arm,versatile-tft-panel" - -Required subnodes: -- port: see display/panel/panel-common.yaml, graph.txt - - -Example: - -sysreg@0 { - compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; - reg = <0x00000 0x1000>; - - panel: display@0 { - compatible = "arm,versatile-tft-panel"; - - port { - panel_in: endpoint { - remote-endpoint = <&foo>; - }; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml new file mode 100644 index 000000000000..68cfdb90f54b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/arm,versatile-tft-panel.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Versatile TFT Panels + +maintainers: + - Linus Walleij + +description: | + These panels are connected to the daughterboards found on the + ARM Versatile reference designs. + + This device node must appear as a child to a "syscon"-compatible + node. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: arm,versatile-tft-panel + + port: true + +required: + - compatible + - port + +additionalProperties: false + +examples: + - | + sysreg { + compatible = "arm,versatile-sysreg", "syscon", "simple-mfd"; + reg = <0x00000 0x1000>; + + panel { + compatible = "arm,versatile-tft-panel"; + + port { + panel_in: endpoint { + remote-endpoint = <&foo>; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 50b068f3580a..2b99fa16ba08 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5229,7 +5229,7 @@ M: Linus Walleij T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained F: drivers/gpu/drm/panel/panel-arm-versatile.c -F: Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt +F: Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml DRM DRIVER FOR AST SERVER GRAPHICS CHIPS M: Dave Airlie -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel