From patchwork Fri Jul 5 16:42:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168571 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791513ilk; Fri, 5 Jul 2019 09:42:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyVVOriOjMdXsAsG9hwvW0/dFqKA1Fx/+XH3gsrfmusdQChDJspZHwv4StV4zYpUJyNY7N X-Received: by 2002:a17:90a:2768:: with SMTP id o95mr6680009pje.37.1562344949127; Fri, 05 Jul 2019 09:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344949; cv=none; d=google.com; s=arc-20160816; b=d4R1MQaR6SDOw+EzjcSPvVjfCicw0WcScz3Ao6m9Gt2T4ZmSjjPOEe/jUHSuIPTBhQ By3+ukOCtT4u7Y9uofNqh+iVweuJYTS/iCmSdpd2XpZzRTJ15hSmoETLES4A5UE1OZwq DIbmE5wzP/0qR3h8oHJ3axqAIbapHArB7qtLLwWdcuvqNMK8Sx3rMvGINoMzYXHqqBJl aRAg4vWJxxnRctnkmXcpWgFvEzPIADK4CDPzlCGn71+EIP/FGCaGfF+LhxnSMEuTlVuU erdYNrd/smL9lyNF3NfGORUJJ59tt7j/ZcXFsTHzUU11+XV8BBKDWOdKR3ho7uwffb6L dPdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=d4VW41BoEtvnCGJnkqnDP6cTsur17FmX/SLHyxLyOkA=; b=eijVjusaMFavv8ioiB1v9kfl6lnZW6Pl/YW+jvGft4CrbUY+h4QhiizX9jnleH6WsZ f4wKVoLmm0kbOXLDSStSppyO/d4j6S+uyE5xJYXAo2mbJMDsfig7mGZDsYwJPoxwzfLb tj5u0YxrT2XSZJvIfwPlutDbPvFtrU/cnOyPfncCktt8VuH4lcGtX3P2lmJ5kK9av5/F d+hdhaCo1SDGTyEwWj+/sdUDMu6jYddnvMWgkvp3Xa2fgkqOvI8tk97ekHH/mQljvOtu 4KLcAG0U7me5YNlAn4J6eZ+FRmAvm0HBbqOp061FPSUQuXrLKTk7zTtxrTgTp76OPkpj SfdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id h65si9761824pfb.18.2019.07.05.09.42.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C6AC26E504; Fri, 5 Jul 2019 16:42:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 58DA86E504 for ; Fri, 5 Jul 2019 16:42:26 +0000 (UTC) Received: by mail-io1-f41.google.com with SMTP id f4so4851390ioh.6 for ; Fri, 05 Jul 2019 09:42:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ID9V3N/+8SxVffaUkEE/O3htUObL21XTrwW4Ch4Bw6U=; b=N0H/QCrbjVMosK1aOuaPkI35VFAznhTO5FB47HgNqP9Muz/MmIqFUYpHYIUuXV+RsY Ob2BzTATA7QMw+w8KNUz093oaSpfDbvz7SrBi/NCKn7OjghujetkzaJqd8Rb99G7N6zD zpwwDm7qPSo3K8HYODhakQSYtJr3qZ1esm4cWw2ZXsZrL2Lg/L4r4b0WAwavIJwq6qHr p0sIUyVMVLkGV9LcKcjQjVDpmOV0HjY7jn5ebPG0XV+tm2gdsk7p+6P9ga+h2LmkMqqd eUZAjnVnOTq4P99ckiRd6YQ43b5IrQg5AyqCfSaAvmt6vAt5jXWdL+EFM6f66jmX5Et5 WAdA== X-Gm-Message-State: APjAAAWiZxXHIU5T/rARGijhQi0tVGYudnHHgJBm+WJwcZAxvLjtBIQ6 Y11FWDC6JAGWpAjWC94J/ufkLF0= X-Received: by 2002:a5e:8913:: with SMTP id k19mr4962627ioj.155.1562344945026; Fri, 05 Jul 2019 09:42:25 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:24 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 01/13] dt-bindings: display: Convert common panel bindings to DT schema Date: Fri, 5 Jul 2019 10:42:09 -0600 Message-Id: <20190705164221.4462-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the common panel bindings to DT schema consolidating scattered definitions to a single schema file. The 'simple-panel' binding just a collection of properties and not a complete binding itself. All of the 'simple-panel' properties are covered by the panel-common.txt binding with the exception of the 'no-hpd' property, so add that to the schema. As there are lots of references to simple-panel.txt, just keep the file with a reference to common.yaml for now until all the bindings are converted. Cc: Thierry Reding Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Acked-by: Sam Ravnborg Reviewed-by: Maxime Ripard Reviewed-by: Thierry Reding Signed-off-by: Rob Herring --- .../display/panel/arm,versatile-tft-panel.txt | 2 +- .../bindings/display/panel/panel-common.txt | 101 ------------ .../bindings/display/panel/panel-common.yaml | 149 ++++++++++++++++++ .../bindings/display/panel/panel.txt | 4 - .../bindings/display/panel/simple-panel.txt | 29 +--- 5 files changed, 151 insertions(+), 134 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/panel-common.txt create mode 100644 Documentation/devicetree/bindings/display/panel/panel-common.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt index 248141c3c7e3..0601a9e34703 100644 --- a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt +++ b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt @@ -10,7 +10,7 @@ Required properties: - compatible: should be "arm,versatile-tft-panel" Required subnodes: -- port: see display/panel/panel-common.txt, graph.txt +- port: see display/panel/panel-common.yaml, graph.txt Example: diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.txt b/Documentation/devicetree/bindings/display/panel/panel-common.txt deleted file mode 100644 index 5d2519af4bb5..000000000000 --- a/Documentation/devicetree/bindings/display/panel/panel-common.txt +++ /dev/null @@ -1,101 +0,0 @@ -Common Properties for Display Panel -=================================== - -This document defines device tree properties common to several classes of -display panels. It doesn't constitue a device tree binding specification by -itself but is meant to be referenced by device tree bindings. - -When referenced from panel device tree bindings the properties defined in this -document are defined as follows. The panel device tree bindings are -responsible for defining whether each property is required or optional. - - -Descriptive Properties ----------------------- - -- width-mm, -- height-mm: The width-mm and height-mm specify the width and height of the - physical area where images are displayed. These properties are expressed in - millimeters and rounded to the closest unit. - -- label: The label property specifies a symbolic name for the panel as a - string suitable for use by humans. It typically contains a name inscribed on - the system (e.g. as an affixed label) or specified in the system's - documentation (e.g. in the user's manual). - - If no such name exists, and unless the property is mandatory according to - device tree bindings, it shall rather be omitted than constructed of - non-descriptive information. For instance an LCD panel in a system that - contains a single panel shall not be labelled "LCD" if that name is not - inscribed on the system or used in a descriptive fashion in system - documentation. - - -Display Timings ---------------- - -- panel-timing: Most display panels are restricted to a single resolution and - require specific display timings. The panel-timing subnode expresses those - timings as specified in the timing subnode section of the display timing - bindings defined in - Documentation/devicetree/bindings/display/panel/display-timing.txt. - - -Connectivity ------------- - -- ports: Panels receive video data through one or multiple connections. While - the nature of those connections is specific to the panel type, the - connectivity is expressed in a standard fashion using ports as specified in - the device graph bindings defined in - Documentation/devicetree/bindings/graph.txt. - -- ddc-i2c-bus: Some panels expose EDID information through an I2C-compatible - bus such as DDC2 or E-DDC. For such panels the ddc-i2c-bus contains a - phandle to the system I2C controller connected to that bus. - - -Control I/Os ------------- - -Many display panels can be controlled through pins driven by GPIOs. The nature -and timing of those control signals are device-specific and left for panel -device tree bindings to specify. The following GPIO specifiers can however be -used for panels that implement compatible control signals. - -- enable-gpios: Specifier for a GPIO connected to the panel enable control - signal. The enable signal is active high and enables operation of the panel. - This property can also be used for panels implementing an active low power - down signal, which is a negated version of the enable signal. Active low - enable signals (or active high power down signals) can be supported by - inverting the GPIO specifier polarity flag. - - Note that the enable signal control panel operation only and must not be - confused with a backlight enable signal. - -- reset-gpios: Specifier for a GPIO coonnected to the panel reset control - signal. The reset signal is active low and resets the panel internal logic - while active. Active high reset signals can be supported by inverting the - GPIO specifier polarity flag. - -Power ------ - -- power-supply: display panels require power to be supplied. While several - panels need more than one power supply with panel-specific constraints - governing the order and timings of the power supplies, in many cases a single - power supply is sufficient, either because the panel has a single power rail, - or because all its power rails can be driven by the same supply. In that case - the power-supply property specifies the supply powering the panel as a phandle - to a regulator. - -Backlight ---------- - -Most display panels include a backlight. Some of them also include a backlight -controller exposed through a control bus such as I2C or DSI. Others expose -backlight control through GPIO, PWM or other signals connected to an external -backlight controller. - -- backlight: For panels whose backlight is controlled by an external backlight - controller, this property contains a phandle that references the controller. diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml new file mode 100644 index 000000000000..ef8d8cdfcede --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml @@ -0,0 +1,149 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Display Panels + +maintainers: + - Thierry Reding + - Laurent Pinchart + +description: | + This document defines device tree properties common to several classes of + display panels. It doesn't constitue a device tree binding specification by + itself but is meant to be referenced by device tree bindings. + + When referenced from panel device tree bindings the properties defined in this + document are defined as follows. The panel device tree bindings are + responsible for defining whether each property is required or optional. + +properties: + # Descriptive Properties + width-mm: + description: + Specifies the width of the physical area where images are displayed. This + property is expressed in millimeters and rounded to the closest unit. + + height-mm: + description: + Specifies the height of the physical area where images are displayed. This + property is expressed in millimeters and rounded to the closest unit. + + label: + description: | + The label property specifies a symbolic name for the panel as a + string suitable for use by humans. It typically contains a name inscribed + on the system (e.g. as an affixed label) or specified in the system's + documentation (e.g. in the user's manual). + + If no such name exists, and unless the property is mandatory according to + device tree bindings, it shall rather be omitted than constructed of + non-descriptive information. For instance an LCD panel in a system that + contains a single panel shall not be labelled "LCD" if that name is not + inscribed on the system or used in a descriptive fashion in system + documentation. + + rotation: + description: + Display rotation in degrees counter clockwise (0,90,180,270) + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [ 0, 90, 180, 270 ] + + # Display Timings + panel-timing: + type: object + description: + Most display panels are restricted to a single resolution and + require specific display timings. The panel-timing subnode expresses those + timings as specified in the timing subnode section of the display timing + bindings defined in + Documentation/devicetree/bindings/display/panel/display-timing.txt. + + # Connectivity + port: + type: object + + ports: + type: object + description: + Panels receive video data through one or multiple connections. While + the nature of those connections is specific to the panel type, the + connectivity is expressed in a standard fashion using ports as specified + in the device graph bindings defined in + Documentation/devicetree/bindings/graph.txt. + + ddc-i2c-bus: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Some panels expose EDID information through an I2C-compatible + bus such as DDC2 or E-DDC. For such panels the ddc-i2c-bus contains a + phandle to the system I2C controller connected to that bus. + + no-hpd: + type: boolean + description: + This panel is supposed to communicate that it's ready via HPD + (hot plug detect) signal, but the signal isn't hooked up so we should + hardcode the max delay from the panel spec when powering up the panel. + + # Control I/Os + + # Many display panels can be controlled through pins driven by GPIOs. The nature + # and timing of those control signals are device-specific and left for panel + # device tree bindings to specify. The following GPIO specifiers can however be + # used for panels that implement compatible control signals. + + enable-gpios: + maxItems: 1 + description: | + Specifier for a GPIO connected to the panel enable control signal. The + enable signal is active high and enables operation of the panel. This + property can also be used for panels implementing an active low power down + signal, which is a negated version of the enable signal. Active low enable + signals (or active high power down signals) can be supported by inverting + the GPIO specifier polarity flag. + + Note that the enable signal control panel operation only and must not be + confused with a backlight enable signal. + + reset-gpios: + maxItems: 1 + description: + Specifier for a GPIO connected to the panel reset control signal. + The reset signal is active low and resets the panel internal logic + while active. Active high reset signals can be supported by inverting the + GPIO specifier polarity flag. + + # Power + power-supply: + description: + Display panels require power to be supplied. While several panels need + more than one power supply with panel-specific constraints governing the + order and timings of the power supplies, in many cases a single power + supply is sufficient, either because the panel has a single power rail, or + because all its power rails can be driven by the same supply. In that case + the power-supply property specifies the supply powering the panel as a + phandle to a regulator. + + # Backlight + + # Most display panels include a backlight. Some of them also include a backlight + # controller exposed through a control bus such as I2C or DSI. Others expose + # backlight control through GPIO, PWM or other signals connected to an external + # backlight controller. + + backlight: + $ref: /schemas/types.yaml#/definitions/phandle + description: + For panels whose backlight is controlled by an external backlight + controller, this property contains a phandle that references the + controller. + +dependencies: + width-mm: [ height-mm ] + height-mm: [ width-mm ] + +... diff --git a/Documentation/devicetree/bindings/display/panel/panel.txt b/Documentation/devicetree/bindings/display/panel/panel.txt deleted file mode 100644 index e2e6867852b8..000000000000 --- a/Documentation/devicetree/bindings/display/panel/panel.txt +++ /dev/null @@ -1,4 +0,0 @@ -Common display properties -------------------------- - -- rotation: Display rotation in degrees counter clockwise (0,90,180,270) diff --git a/Documentation/devicetree/bindings/display/panel/simple-panel.txt b/Documentation/devicetree/bindings/display/panel/simple-panel.txt index b2b872c710f2..e11208fb7da8 100644 --- a/Documentation/devicetree/bindings/display/panel/simple-panel.txt +++ b/Documentation/devicetree/bindings/display/panel/simple-panel.txt @@ -1,28 +1 @@ -Simple display panel -==================== - -panel node ----------- - -Required properties: -- power-supply: See panel-common.txt - -Optional properties: -- ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing -- enable-gpios: GPIO pin to enable or disable the panel -- backlight: phandle of the backlight device attached to the panel -- no-hpd: This panel is supposed to communicate that it's ready via HPD - (hot plug detect) signal, but the signal isn't hooked up so we should - hardcode the max delay from the panel spec when powering up the panel. - -Example: - - panel: panel { - compatible = "cptt,claa101wb01"; - ddc-i2c-bus = <&panelddc>; - - power-supply = <&vdd_pnl_reg>; - enable-gpios = <&gpio 90 0>; - - backlight = <&backlight>; - }; +See panel-common.yaml in this directory. From patchwork Fri Jul 5 16:42:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168573 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791591ilk; Fri, 5 Jul 2019 09:42:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwImDD1eIAXqivco0Sf+ns7Fot28/sXEhACaKKOJVUqpxZNlIsHIWh5KEmgzUpcOBJc2Bhw X-Received: by 2002:a17:902:2a26:: with SMTP id i35mr6588269plb.315.1562344953274; Fri, 05 Jul 2019 09:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344953; cv=none; d=google.com; s=arc-20160816; b=j149vOamvVnSNlVHHt9Hr6CqAR3yhYhHSq91hotj57LONnBj2a5RN0AV5pMXR6Edpg C/q1IDhrjs1eVLOFeDGx6AbUPFNX9CqkqKexbuRxYVpnNT7kBmLVe5R1pdusgv6WQEDs zQ+8OXlGlvwYgn86nsa+1LgxRvdaKrlD/AWxI2gdX7CWS79sG7k6aPBnz8gUR6081jpA mi3zmpKoi3ufjWP2N7C/siuQoS92r4nZ/wC8OIqEithOSOGzMQ9oUDfQEI+LVfyAcL59 mawlwn1eOSNXYBJxkeKdBN/qlyZNrygux3rviT99r9pxTUldTTSGm9sNtmndHQQGV3BW 2AIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=MRgo07P16hlda0CrjqBYTK0gI7AmaqWsFhkNeeJBD3g=; b=x2Pcx02KwCEB3OlbJGCgz3LtpyqEctNfXMa7oZWdU0mHqbLNG1mWQrbSU8SOERfD4r 90sd/qrukt50xUZz0Y9UBI/pCvsJrYae5q0Mf/JgdlwIoqyXGBpU2mgqcxMhcFpHc/hc mM3F3Wb4/Ku00kDQkli9JYbnQSw6u+wIx+dNgEoGJ3QADYJl0GQwwxdunLPTGfRK4T/S 66GrliemVa++FP6uvmw9MeZfBdtzBBPPeWy+aaFAgTCP4ivdaGVoDOlLaObcEw+qpkEC oWzI5m4W2KJk/w1PcFv9LJw7jjNmLA9N6ugTuahRooh1xQOIuWX6Q1RefecVaqqJ+d8Q CRHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z2si8269190pgp.191.2019.07.05.09.42.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 30E576E508; Fri, 5 Jul 2019 16:42:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 33D2A6E508 for ; Fri, 5 Jul 2019 16:42:30 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id f4so4851849ioh.6 for ; Fri, 05 Jul 2019 09:42:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9TlywxX14ySmHTYN+js2f/7/fr0bdtbmAsh6I7swK/0=; b=nBY5QC/2GtVB9tvGkSdVj7Jg+cYnKpOIfLDOC5UEE/a64zGP6kIgFTC1HhlPkDvp3u AnpZzXjEug+PDw5Kqg81GSk2JrQiHTBAtme5BEW49UqLzXUE6vtFRS/gNCPiSiY0tx8l GZQ0Js3ptqh25VmYOF4EIjR4v1meJ0wlcdtaUTHPtOyrdZ2o4lj1JqdgNHVxDPENCV6E z3iif//k+3lcXu3K/Nx89teOHw6Cvn8qbd33i7b902WjEUFtTjSfMttOA6ltmf7InXFP OfD+rMe4FY6Hvxrr29WFD3YdkQCPK9Rq47sRqXTyutKn91jLteZq16bmThMiaGbPtxKp 0O/w== X-Gm-Message-State: APjAAAVwVLikI7vECzOV7e8aFS7dBZjvAfuncbQLu2EojMimhutDnRVV rHiD8qW8m76NjIO4H/GMarxmCEY= X-Received: by 2002:a5e:990a:: with SMTP id t10mr1765957ioj.182.1562344948712; Fri, 05 Jul 2019 09:42:28 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:28 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 03/13] dt-bindings: display: Convert armadeus, st0700-adapt panel to DT schema Date: Fri, 5 Jul 2019 10:42:11 -0600 Message-Id: <20190705164221.4462-4-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the armadeus,st0700-adapt panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/armadeus,st0700-adapt.txt | 9 ----- .../display/panel/armadeus,st0700-adapt.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 9 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.txt create mode 100644 Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml diff --git a/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.txt b/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.txt deleted file mode 100644 index a30d63db3c8f..000000000000 --- a/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.txt +++ /dev/null @@ -1,9 +0,0 @@ -Armadeus ST0700 Adapt. A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with -an adapter board. - -Required properties: -- compatible: "armadeus,st0700-adapt" -- power-supply: see panel-common.txt - -Optional properties: -- backlight: see panel-common.txt diff --git a/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml b/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml new file mode 100644 index 000000000000..a6ade47066b3 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/armadeus,st0700-adapt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Armadeus ST0700 Adapter + +description: + A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with an adapter board. + +maintainers: + - '"Sébastien Szymanski" ' + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: armadeus,st0700-adapt + + power-supply: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +... From patchwork Fri Jul 5 16:42:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168574 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791630ilk; Fri, 5 Jul 2019 09:42:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqweP+HGgSrFBp3/5rqCRbcyWYb4YML1kN4h4gbvxw7FrwJRdR8p6/tTm1cXrOtaHBNRzowH X-Received: by 2002:a63:6103:: with SMTP id v3mr6754486pgb.161.1562344955348; Fri, 05 Jul 2019 09:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344955; cv=none; d=google.com; s=arc-20160816; b=04JZQvfRJBauV/cP7qmCt+SGJ5J5dy7fY24TRDYixuKpcqLsGQRcsXFaXV6JU1Vr9R 8A+viLsUuEO3DBN8qv3Lc2Atx33WnfzeCdrQZOODDQlLKoqsj2k1Bew3Ykd9QDHBdbiL 3TOq/rPKFAsjBqExQtmxqs/NHePzZh1lre7ybjtH8OrRtsChMNJBm0NOlD9Cl+BJXYgD jpE3CfGlVXeUGLfwMb1olntePda0DApRsq7vv+vLpb3oD5dUBgL90ATjbinGBLWg3fuI /NDj6GlFxtE/gMPxvNmpdNZdNJhevCpQHu9s4uYjyxL01zCN8fpaGfHfDwulc3qIMVwS S8sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=oNiQv+qSNmtvHxp715lj0eDzlOSZdmHazKJwCNWtyGI=; b=POBTdUKqV12JgL1QUcw05MAvsmpAC8uog29eDQxh07bzeNxsjTVQb8kVzER39lSOtj ydk61QoPF+kLBaA6OG62ScIpsIATX44G39auxP+oLKG8mZpwRdLgMnI0C8Iw2lxzJE3T FHQ6fKrO9GNlwNh5aJvSGvHXXDVpZahDTjAxRv60eP/qAUG+eK5Tl7BjffwxGXPLjsOs DPWhHbUEpP4SmQAvAVpOW8tyzd8RRDtYqTDL/1GrOsbyl4ms5Scv0LPiEtRg9qkCfI33 XqB7/O8AoemClX4VBkXfmETdU09rnKIn6gT19YnWqzwWzJbzdipw4erjRuHKq8uHqOmA ogZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id m8si3344012pls.115.2019.07.05.09.42.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B691E6E50B; Fri, 5 Jul 2019 16:42:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 32DC26E509 for ; Fri, 5 Jul 2019 16:42:32 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id m24so10880799ioo.2 for ; Fri, 05 Jul 2019 09:42:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QmMSkEMpERvJyjJRrG5g4f+OapV9H/whTXHG0VCoTaM=; b=CKc/4uXrWzHe7N85nDFn5E0JuA/Qo7y35XW4t2FyuE7x2QB37Zgxbx+PZRPiSHszjM PLz4+5SbOHyDSgFg58bft3BmwuwhgclJ52WwZym/HihZhntFETy+pgfsDhM2an466eGm G1gqkaXedHcTFwvFfnMKR63I45gtDU4VbJ3DrzryTyaQ5RSDfHM1/fhBDDeddd4g02nB 6LL3mo/bBTCcJAdV3nlU6y+kUUy10q/WEQT0egZPNkYkTlMQ9Aq2vDg3e9iDuLuPNOMf jM7GXCIZyErWpJedNwrB23Px7NeEtHfmXO97o1S0erfqL2TLzbMSiMylIMGIuf3eotcT 6+2Q== X-Gm-Message-State: APjAAAUIr5cW+GSQZyzVoPGlPr/W+pKJcXtqWFa6iqcjgqI3/LdzTN7I v1zZI4+w7ITCqo1r/IbKRnWhbQo= X-Received: by 2002:a02:8a:: with SMTP id 132mr5543519jaa.89.1562344950866; Fri, 05 Jul 2019 09:42:30 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:30 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 04/13] dt-bindings: display: Convert bananapi, s070wv20-ct16 panel to DT schema Date: Fri, 5 Jul 2019 10:42:12 -0600 Message-Id: <20190705164221.4462-5-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the bananapi,s070wv20-ct16 panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/bananapi,s070wv20-ct16.txt | 12 ------- .../display/panel/bananapi,s070wv20-ct16.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt create mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt deleted file mode 100644 index 35bc0c839f49..000000000000 --- a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt +++ /dev/null @@ -1,12 +0,0 @@ -Banana Pi 7" (S070WV20-CT16) TFT LCD Panel - -Required properties: -- compatible: should be "bananapi,s070wv20-ct16" -- power-supply: see ./panel-common.txt - -Optional properties: -- enable-gpios: see ./simple-panel.txt -- backlight: see ./simple-panel.txt - -This binding is compatible with the simple-panel binding, which is specified -in ./simple-panel.txt. diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml new file mode 100644 index 000000000000..bbf127fb28f7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel + +maintainers: + - Chen-Yu Tsai + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: bananapi,s070wv20-ct16 + + power-supply: true + backlight: true + enable-gpios: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +... From patchwork Fri Jul 5 16:42:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168575 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791651ilk; Fri, 5 Jul 2019 09:42:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyknIgn2YWhF0seebVTxPyVt1w7gww8GT8W8JoCjXHxXNwBf/zB8TKkVS7TR2A8zHcYmxoC X-Received: by 2002:a63:3203:: with SMTP id y3mr1598430pgy.191.1562344957070; Fri, 05 Jul 2019 09:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344957; cv=none; d=google.com; s=arc-20160816; b=uXAXh6pkGpOxFIam2zSeFL3hcM/bw8cJCcGfQR4OUGhULorYlE2lJ5tQK2wzPsAK7k Rrf3J1l4qx93yPrpkIJ0hlFMGVNy1zBDCykQmwgtKfFE9LarEGYMMs57bqZDTeF46x9i P/K7n4ijBGMHyBj+1R4f4JyQxN6ljoYOo6+E/Y47ZqtWy57svTl3JRsfydQ98HYqdvwu udJRGEB7ooLrnaVsnGkbe6i2w7LhOKknviPH7VNgjWl+IJ1CZ4qKb24MYv51CCNAoPrw aL5OKDsMNHAoJTgFbWJ5kSsAtsDm5Nuhk27WRuRfM11Nv3bb3OjnhmmERihsrXK06Uqs SRaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=eSp3ypNjbUf/Yn535D8AQzTLYe3F0VMppdE3tDuhjik=; b=lgGvL4g7D7NnTDy9qWQ7X4qR8VsBuk3WlYaUcym9hCzTxsTotohayLD2CoXia6TFNy Iu4iX33tXoZqyIn78q07ln6ppPVJ1J4ch3sv+CUg9YEAS0TqwLrIl+pPQ3Ce0vqegLpD z5U3DB2IiIvYmB2ApZdl+NUsQ4wsASDb0cbWTda3kNvfwAUBCOHu3utEDtcZf34kWhLY H0YbVG34iwvyytdXiGq4nV9l8+0XYQz2VbIsHzxWd9PlFDcglfOyTFNSD7dcmOTsQJvB pyAE7fL6jwHlzuHLlwLbs+NSniL5XGwoqrEx90m1zV5EEgaJzJ2als/59CXheYrBIDex kXcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id l19si9136390pgb.204.2019.07.05.09.42.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DFB66E509; Fri, 5 Jul 2019 16:42:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 79C616E50C for ; Fri, 5 Jul 2019 16:42:34 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id u19so20326746ior.9 for ; Fri, 05 Jul 2019 09:42:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WIBJ9DoW85CJmy6TrFg2SdCJgMlWzD7A88ZcXqMgYx0=; b=nNWUS9rcNbXvKOoqDnw6NlkoIRTzj2cVa6kZmmLAtvmqUJ7Pkch009dlqfTRZanWzz oJxYpawu2fbtr5QxDTpW515QiKlLW4lNVD2BBY8dlCXaTJvWVBtC19lfYPGWYR0yO4GC lJc+R2C6QXVB0cvPBcY+SdLydTcZqbA2H1+zq5Z6JRnGrdyw9xGlcbkoISc0n/GL1c52 HzTL0Km1tRPah0mQFpU+TOLJn/1cua6Otn49MnrGrIsP4hBoWLVmIKQY8bnTgLVjjdMX URFjWKphoOk3DkzlQToCA2NeOyZTMjxD15X25AFTPqyvEcuM8xXUD96doxf49LrpMK3X zrQw== X-Gm-Message-State: APjAAAWs0gKYtkA5VkxPaQ2StEmGTGwot5dhV2RO8J+Ce2kjbTyHz05g FdaO43NmwLpfAXMYnMUC5a7ek14= X-Received: by 2002:a6b:691d:: with SMTP id e29mr4865968ioc.96.1562344952759; Fri, 05 Jul 2019 09:42:32 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:31 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 05/13] dt-bindings: display: Convert dlc, dlc0700yzg-1 panel to DT schema Date: Fri, 5 Jul 2019 10:42:13 -0600 Message-Id: <20190705164221.4462-6-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the dlc,dlc0700yzg-1 panel binding to DT schema. Cc: Philipp Zabel Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/dlc,dlc0700yzg-1.txt | 13 -------- .../display/panel/dlc,dlc0700yzg-1.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 13 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt deleted file mode 100644 index bf06bb025b08..000000000000 --- a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt +++ /dev/null @@ -1,13 +0,0 @@ -DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel - -Required properties: -- compatible: should be "dlc,dlc0700yzg-1" -- power-supply: See simple-panel.txt - -Optional properties: -- reset-gpios: See panel-common.txt -- enable-gpios: See simple-panel.txt -- backlight: See simple-panel.txt - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml new file mode 100644 index 000000000000..287e2feb6533 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel + +maintainers: + - Philipp Zabel + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: dlc,dlc0700yzg-1 + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +... From patchwork Fri Jul 5 16:42:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168576 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791688ilk; Fri, 5 Jul 2019 09:42:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc97De3bOFGmfNIkoZzWd97kzHAxmjX/N14qAXhLFDMINVkbY6QtOaHKiaxcIaqVTAh581 X-Received: by 2002:a63:f746:: with SMTP id f6mr6471942pgk.56.1562344959019; Fri, 05 Jul 2019 09:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344959; cv=none; d=google.com; s=arc-20160816; b=a4loDL8vS+Iyxf0AyGqBXqKlTc9EfNmugqThde6KSfud39QaahEkddClTvq7oNM7aL FAtgRsMME6FiL5auhiw1SzYA+aNqFNPeqlAvPM5fQqcGij3OeY3sc93G9Ya7xPXT+bzI 6XZL0PdAVTcsvSViBedcX/YG/z6fT34aJLNO+NGq9n2fcUSSkOotfkq/si3DYAqQMF1w SEWUxZlF7f1uhPDrMuFAsTMdVRSHK65pH3Q4kZrEvP6TqJzzpWE6gewFHxa7Tx5B5GuF 7rQa94tiTUzZFSVaSzKsdXzixv7cJrMcMQADNQGXRYFoix0NYVKcIOAkWPsETK2YWP1P fPiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=ME7Y+Fe5jQy33j81UQbLgcngfjIUh9GcqLDqXnr0rDE=; b=f+z2r5QY1gHIQJ415f4qXEHB75keGNRyi5G7jGHVmBpnG+5Xy0omL9GW8gdMzZYz4z GPnQtw5kUjtq2PZbW7brKPmCYc7zU8WwYaOmBn1p6EvJYQfqSDg46t0MddozLTj1W9/d CKIXJubdNmcl8a+vqk4ArpBi7nRhIi+xK74e27nl/IFUNNDlARcUNopFW2mli4VUsFkt uwJsWVx1wrGBKJUJaFk/FW3qZi3EhLQfre5wscWKP2EBRSMcUhCv/9TooXLC4vf/oyGM NMuQZQc8abxsBbZfzGNgRgVe3lQGcP8EGqxEdH7GOd7V4DhlAi+UKPyTOIQQjVd9Qo2h wmlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id p5si8495864pls.163.2019.07.05.09.42.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 918E46E50D; Fri, 5 Jul 2019 16:42:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4019F6E50C for ; Fri, 5 Jul 2019 16:42:35 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id k8so20432892iot.1 for ; Fri, 05 Jul 2019 09:42:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XIsUK/A7o9jXe5kJWwnsjnmxD0dE/u9IBMQhPou9+Nw=; b=hMdfVRH5/e24vJYKquiFoMfyJCy9rFXnsNBXEXIYlMh185n8h6ZGsMOCorliNV5iSd riuASwkFSac+5Ae9p1RbZuzle5E7pHIeETDefQ9swH9yiFQaWt+nD/RMr4fIdoEFCN1M XUJUuqYpnZadU1N6LoSyS5MUj5CQfwYyhsaT5R5IxTRq+ImmFIVGcKmBg8IwJkZxlZyv FWnyHdNt+MUQLps4DSmxaD4b2j/i1/N5K74xIY8tgmFa7tzdkFTLqHak7iuCBxyEi/42 Zj2KVzEn5F3nlZYvJSx/tptmbHExRBIYt7dbnwzZpPVGQ+PD2EcLM2BnLg8/LoYw3mKI qXeQ== X-Gm-Message-State: APjAAAU9KnWvCT6BRcQNZSfe2GmonBDkS0MDOE4y8TvG7JNd5wLDyXoC Aktq9R9G2Yx5kIc6mWDHfA7arvE= X-Received: by 2002:a02:bca:: with SMTP id 193mr5789955jad.46.1562344954046; Fri, 05 Jul 2019 09:42:34 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:33 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 06/13] dt-bindings: display: Convert pda, 91-00156-a0 panel to DT schema Date: Fri, 5 Jul 2019 10:42:14 -0600 Message-Id: <20190705164221.4462-7-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the pda,91-00156-a0 panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/pda,91-00156-a0.txt | 14 --------- .../display/panel/pda,91-00156-a0.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt create mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml diff --git a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt deleted file mode 100644 index 1639fb17a9f0..000000000000 --- a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt +++ /dev/null @@ -1,14 +0,0 @@ -PDA 91-00156-A0 5.0" WVGA TFT LCD panel - -Required properties: -- compatible: should be "pda,91-00156-a0" -- power-supply: this panel requires a single power supply. A phandle to a -regulator needs to be specified here. Compatible with panel-common binding which -is specified in the panel-common.txt in this directory. -- backlight: this panel's backlight is controlled by an external backlight -controller. A phandle to this controller needs to be specified here. -Compatible with panel-common binding which is specified in the panel-common.txt -in this directory. - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml new file mode 100644 index 000000000000..ccd3623b4955 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/pda,91-00156-a0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PDA 91-00156-A0 5.0" WVGA TFT LCD panel + +maintainers: + - Cristian Birsan + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: pda,91-00156-a0 + + power-supply: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + - backlight + +... From patchwork Fri Jul 5 16:42:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168578 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791717ilk; Fri, 5 Jul 2019 09:42:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqycG9h7/bEzR6R93Em/tPS2pscx/jX2ARHTzrPf0+7dZ5ed2/H7cn0OVvlcevmSocKKLf0H X-Received: by 2002:a17:902:7887:: with SMTP id q7mr6777497pll.129.1562344960886; Fri, 05 Jul 2019 09:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344960; cv=none; d=google.com; s=arc-20160816; b=en6WNK1uELfG1WQ+IzkFcbgEnWIFyOt3u9rJHPughuf2BN4LrWwfXEZRK3GY3DnoSh xNkqg9lQnkgZfWJDvhGNz8XlXluP7KsGl5eXs6/+KKrrhg0KtidlHgJjl8laveYvkjWe b3NlBRQZ32WI2BECzoebzn3A9+igVfDRXUC/Bfwy66ZNUWy/DjFRudR4Ua3/Vm3fXaAt ramfJ35iR1u0CxxUmBA+RHm688Ir7o1Yu0ZtOLTCwoA3wccoJRI8FJ6feliTzasxDIpi Yq0dzwh+i3op3Bd3NyEmVDgkgg0Wj3CtWcclvB59QBLLxLRyhAu+u4865g2dK2vSN6Si pEBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=t0kCtvhimpM8vpKBQkNjRPtUEGOa0h0Y3z24ztAd/o0=; b=Fpl9vNzjbLTxtMD+GujDUEo2HFE9b4i0kDBhyoaf9RjxtvrlmjpARaxMIvPV0kgMgr 8h3YS29Gujyk2dz5MFG07FgG1OnAscxG0Weu84fexY8WYmg0JB5do/wAQuu5HNrtO+o7 P2w1YeULEN09BbD5bit5quC1+uZ7a4h4DSfDicnEC6851si7xlE9pgFbFk7An2UnGFzb lt4FGnRCo15nHJNnFuU5ERMDXInvzroDM4MCOEgO8qfpRCrhLbK5wfiF0Vy82caBzcZO soQDS5nObkrGXWvMo6yOfTwi6OjR1Bf25xjVMJrFt/LHqTIZeTon0G3RbLqHiIEiG6O/ P2Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id z14si8269153pju.64.2019.07.05.09.42.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AB64B6E50C; Fri, 5 Jul 2019 16:42:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id 526B46E50C for ; Fri, 5 Jul 2019 16:42:37 +0000 (UTC) Received: by mail-io1-f51.google.com with SMTP id j5so973882ioj.8 for ; Fri, 05 Jul 2019 09:42:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XS98x+56z0gRiNEek56gSNwAwH+14pgGnF4eQrePkmg=; b=uZ9fkjAjFXSih/TcLJzUZo1bZNOVibs2hCoeP+tA2HeAWhPxyoKV4A5NwljwmgJTEH 731xmUUz2+7/m9Jn7K8WJHukEXcaAD6+3iRl2dMF6N51t6PDPfI49G+5xccj+XQXbejy hV4KadIFaS0T8aU2uNhHPtihXsw1uGr0aAs+yAzpTb0j7LlGDSgr33b0OrgU+kMjILmt vI9VryYuf928WfRxc3fIHC8ZN913hNnZe0Rnj8lNm5fGxRLGuhKDtCh3mCaprD9cMxnj GG4Lw9SzgG4CMyIV8FnbkogU6z4fS5vzncd7xrSuh97Jvsw/QZtt3AK5+ptDJmf4f1/N k2Fw== X-Gm-Message-State: APjAAAWKmmGRN2peC3lpqSxyGAAGQj+snorx4x1XJRY3OAS4ohe2vrIr ubkkm5tpEze/ST4NmM5UK4qa4jk= X-Received: by 2002:a6b:790a:: with SMTP id i10mr4957673iop.150.1562344956206; Fri, 05 Jul 2019 09:42:36 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:35 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 07/13] dt-bindings: display: Convert raspberrypi, 7inch-touchscreen panel to DT schema Date: Fri, 5 Jul 2019 10:42:15 -0600 Message-Id: <20190705164221.4462-8-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the raspberrypi,7inch-touchscreen panel binding to DT schema. Cc: Eric Anholt Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../panel/raspberrypi,7inch-touchscreen.txt | 49 ------------- .../panel/raspberrypi,7inch-touchscreen.yaml | 71 +++++++++++++++++++ 2 files changed, 71 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt create mode 100644 Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml diff --git a/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt b/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt deleted file mode 100644 index e9e19c059260..000000000000 --- a/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt +++ /dev/null @@ -1,49 +0,0 @@ -This binding covers the official 7" (800x480) Raspberry Pi touchscreen -panel. - -This DSI panel contains: - -- TC358762 DSI->DPI bridge -- Atmel microcontroller on I2C for power sequencing the DSI bridge and - controlling backlight -- Touchscreen controller on I2C for touch input - -and this binding covers the DSI display parts but not its touch input. - -Required properties: -- compatible: Must be "raspberrypi,7inch-touchscreen-panel" -- reg: Must be "45" -- port: See panel-common.txt - -Example: - -dsi1: dsi@7e700000 { - #address-cells = <1>; - #size-cells = <0>; - <...> - - port { - dsi_out_port: endpoint { - remote-endpoint = <&panel_dsi_port>; - }; - }; -}; - -i2c_dsi: i2c { - compatible = "i2c-gpio"; - #address-cells = <1>; - #size-cells = <0>; - gpios = <&gpio 28 0 - &gpio 29 0>; - - lcd@45 { - compatible = "raspberrypi,7inch-touchscreen-panel"; - reg = <0x45>; - - port { - panel_dsi_port: endpoint { - remote-endpoint = <&dsi_out_port>; - }; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml b/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml new file mode 100644 index 000000000000..22a083f7bc8e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: The official 7" (800x480) Raspberry Pi touchscreen + +maintainers: + - Eric Anholt + - Thierry Reding + +description: |+ + This DSI panel contains: + + - TC358762 DSI->DPI bridge + - Atmel microcontroller on I2C for power sequencing the DSI bridge and + controlling backlight + - Touchscreen controller on I2C for touch input + + and this binding covers the DSI display parts but not its touch input. + +properties: + compatible: + const: raspberrypi,7inch-touchscreen-panel + + reg: + const: 0x45 + + port: true + +required: + - compatible + - reg + - port + +additionalProperties: false + +examples: + - |+ + dsi1: dsi { + #address-cells = <1>; + #size-cells = <0>; + + port { + dsi_out_port: endpoint { + remote-endpoint = <&panel_dsi_port>; + }; + }; + }; + + i2c_dsi: i2c { + compatible = "i2c-gpio"; + #address-cells = <1>; + #size-cells = <0>; + scl-gpios = <&gpio 28 0>; + sda-gpios = <&gpio 29 0>; + + lcd@45 { + compatible = "raspberrypi,7inch-touchscreen-panel"; + reg = <0x45>; + + port { + panel_dsi_port: endpoint { + remote-endpoint = <&dsi_out_port>; + }; + }; + }; + }; + +... From patchwork Fri Jul 5 16:42:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168580 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791817ilk; Fri, 5 Jul 2019 09:42:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvRUGwa2hqT7U7QR3ZGkRsRBUSNIMRZMD3AM3TncyxC+d0sK2owNMuZGR6x1EeUdEM+01n X-Received: by 2002:a17:90a:380d:: with SMTP id w13mr6644906pjb.138.1562344967037; Fri, 05 Jul 2019 09:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344967; cv=none; d=google.com; s=arc-20160816; b=AwygX9xhz0h934dFjUYtNyK0GOmouvC6i2n97qCqQP+qvxZYIdyALMwZWXNuQGm9KP UUX2Qut7nbNK9GuHpr6SKhO9Z/xFBEL8271dM+T3Y9DQiaivXEPLJvGi/n1PF2U66fGm 7Wh80bE66RN7abjP9zLSiKGsDN8thCK3iTR1n5ARKVVwVTkzHhK+eXbe1Be28ZJksHku wJDOzwJQOf8oyzuXhqMiPl70pBDLUSs/NzboWi4hJwi7bRmNzDJJ5UV/OgGxiZb5ww5d n6TI2arheXM5hFEn2J0rhHdD0NB3Uyd24omF7U4ut+vR5nJhSozxJYGVO8joH0LQpBoN Phig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=LJJACPb1bxwsH6z/H3r6yQmzU3TFL8llvT2xBWDaRR4=; b=hhPHQTufQXXHWw+9gdap4kVyiGJVDHdz6SEexDKfX7ggv2ZVDIUcvneFxJtosiVmLh 8v7iVvFHPRmdkU+HjgSYt6dmwNlC53YstSxToll74VHGAx1ur1ePjmuoxdFqnClrsIk/ jnZOEQJbcZGqLBJ4acKZrOWx8H4FUzq0tPz5ILaCe4eKCHcxNhvL3xpd/P0wWa3YRAu2 RXaONswS07aXksfpjo/CNcSgEDiwjkORcOgi4VyOakSrf1niyEhobJt1tjyFrQI5e3sf ROBW52AN84ELvLCFx3moF1sencUS9u3KjX3VrxCFxG1hswng4J/5qF7YfQ/fLxJOcU03 2eRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id k33si8089807pgi.563.2019.07.05.09.42.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 17A6F6E513; Fri, 5 Jul 2019 16:42:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 80D8C6E514 for ; Fri, 5 Jul 2019 16:42:42 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id z3so5404177iog.0 for ; Fri, 05 Jul 2019 09:42:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FoIk+rbFwPJ/lDbdbtoXks82bIuWeLHVYlyQ0/EsZZU=; b=SqhtluD3ZNKIUFS9L0yLwRdGtVk+VnIJg2u8oMSR3dpCZcmnP9yaYMQFFgfI461nmx u7QkWAkb1IbZP8u2yhIapVPZCWKUHjW6BGBF4C6khPRSpQuzSVQ/LMJwXSO5Gd13A2gZ VruvGilydb4pGHhiWGazDhJfZWb9QFBUk9R4OPiVDsOEwenRcNy6huXSbDIBa24tNHEw rdxolFKBDs+SSz/QHvHEGVL5xTTTvtpGEkMvnG5FqxOs4lHvhttVUFaP0XV6A24wLRqO hsQZ8STJzSHQETvc7FLhQp3nJraxVfChq+Iyb35GMSHV22dNDsQyjbNcTEw1Z9RW5Jkd Dm6w== X-Gm-Message-State: APjAAAWAsAbJx7aNvpTEMAG+isIeNJ5I6p6gbLqB7+DHe6hWgeIFrC+t tLhdzIdwS32O0EQbHM04zPA4Gz4= X-Received: by 2002:a5d:9f4a:: with SMTP id u10mr4984238iot.243.1562344961433; Fri, 05 Jul 2019 09:42:41 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:40 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 10/13] dt-bindings: display: Convert innolux, ee101ia-01 panel to DT schema Date: Fri, 5 Jul 2019 10:42:18 -0600 Message-Id: <20190705164221.4462-11-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-kernel@vger.kernel.org, Thierry Reding , Laurent Pinchart , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the innolux,ee101ia-01 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Acked-by: Thierry Reding Signed-off-by: Rob Herring --- .../display/panel/innolux,ee101ia-01d.txt | 7 ----- .../display/panel/innolux,ee101ia-01d.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 7 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml diff --git a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt deleted file mode 100644 index e5ca4ccd55ed..000000000000 --- a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.txt +++ /dev/null @@ -1,7 +0,0 @@ -Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel - -Required properties: -- compatible: should be "innolux,ee101ia-01d" - -This binding is compatible with the lvds-panel binding, which is specified -in panel-lvds.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml new file mode 100644 index 000000000000..a69681e724cb --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel + +maintainers: + - Heiko Stuebner + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: innolux,ee101ia-01d + - {} # panel-lvds, but not listed here to avoid false select + + backlight: true + enable-gpios: true + power-supply: true + width-mm: true + height-mm: true + panel-timing: true + port: true + +additionalProperties: false +... From patchwork Fri Jul 5 16:42:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168581 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791823ilk; Fri, 5 Jul 2019 09:42:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxduuMrOixp7BZMWeZmTA9TmN3J8ImjUHrkYgcDI2wrNiXMOuQ+pewfffGWX9mBany/wQN0 X-Received: by 2002:a63:4104:: with SMTP id o4mr6726449pga.345.1562344967721; Fri, 05 Jul 2019 09:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344967; cv=none; d=google.com; s=arc-20160816; b=1IMtQe6CJJbw0qkZfRlCGAdVxo2IML9vjafUEE5J7MjpPriKCd80HFshchHAtY7cOs C0lIRIyRg874to11yiOPfIZrQLu7unaF6rQtbFngUMERJyvbvT2ikrvldtMxr4tqn7d3 lyB4SvdSfINOWFjklrUAIl7cm6rgYordzFMlS8dF5Hj0lY4tdTP0tIClsnSzuEyjUFQ0 vYkjitdp6louq6+ValynZ2JGGahVvfUf9evtMLLmFQUND/cRAKjJMVk2N2KrV59kfsF4 KpEsarHaVnndmLwuGiqLyjE54XNy1qu1TuzccVb+1alWE17aaqXMJER985+C0AtFlY56 SHdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=ywNw7rocvMeZhbhydO+vq5CnGPRGf1hwRfxBHk7L2K8=; b=Or2l8l3AGu/crNw6/wGuQkopM6IA9lYbuO8T4ArruXn8vgMC3Pwwc7PbmDYwnkMm9L tRH7m8WfOgYUN7L5VjD+xAW5kPMJDp09MwbVmYCvbYB0jkPnRL3OqD+svRikLFFdTfuj UEjC3Yp57r31dW5Q9ZiBghLW81Qs5qMq3iZDwFqGauKlNcFO+zwuW+YN7X0jMHMRNMQB xaKrxoDvO1c+esb0FjSnOFdl0lIAJbqYdGRCWL/LyM4+CafGwF5HqwC1tKzqUMUAPkpO yCLl9KDGAz5hVL1DMOikdYrkc34IZrXMbCxv06Fzr0HyQYtPc3wbNNXu4EIhn9UFiG8X og6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id z197si9760469pgz.267.2019.07.05.09.42.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F7836E514; Fri, 5 Jul 2019 16:42:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 083FA6E513 for ; Fri, 5 Jul 2019 16:42:44 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id o9so4773602iom.3 for ; Fri, 05 Jul 2019 09:42:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LabiQkmC1Rr/HV25LNsfRozq8YmiX5RtewiyO4nDttY=; b=Rlm9O9DHw8nsQgragLSaYkycZXmSea6yhxzFuCw+YY31UB7JmXvY4xnKkQn2Hj7dh+ q4wyom/Y8Pt4O4JA0PVlkXQWt+V9L/Vs/m6fTdHYR7lBCinQUpUUzxhsuTAisV1gV3uu 3uRqtzAEWe08qg2RYoytaukCdKbBY18zEw6LhFhI0H3VumfC489ZCFiBKjumPL5r26wV zwU1DMQB71u9CZJBNNeiNfk5q20YnSpydYympDB905PrS9gxBkhRkmXpOF3tWe3up6Uo mAKkizwUOztltOMtNiReQu3y1YYujM+vEujxnQOqSIPszs247YMbODs/QsOFvaTS99mt 3Twg== X-Gm-Message-State: APjAAAUqdU4fZNH6LY8zKNz+42ImFynXNKUvt7owrcqroYyTD1Um9Utw hKeaDGlTG8bpTiiXMS1hGpDyYaQ= X-Received: by 2002:a6b:c98c:: with SMTP id z134mr892385iof.276.1562344962954; Fri, 05 Jul 2019 09:42:42 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:42 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 11/13] dt-bindings: display: Convert mitsubishi, aa104xd12 panel to DT schema Date: Fri, 5 Jul 2019 10:42:19 -0600 Message-Id: <20190705164221.4462-12-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the mitsubishi,aa104xd12 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa104xd12.txt | 47 ------------ .../display/panel/mitsubishi,aa104xd12.yaml | 75 +++++++++++++++++++ 2 files changed, 75 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt deleted file mode 100644 index ced0121aed7d..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA204XD12 LVDS Display Panel -======================================= - -The AA104XD12 is a 10.4" XGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - - -Required properties: - -- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that - order. -- vcc-supply: Reference to the regulator powering the panel VCC pins. - - -Example -------- - -panel { - compatible = "mitsubishi,aa104xd12", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <210>; - height-mm = <158>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1024x768 @65Hz */ - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hsync-len = <136>; - hfront-porch = <20>; - hback-porch = <160>; - vfront-porch = <3>; - vback-porch = <29>; - vsync-len = <6>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml new file mode 100644 index 000000000000..b5e7ee230fa6 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa104xd12 + - {} # panel-lvds, but not listed here to avoid false select + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 210 + + height-mm: + const: 158 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - vcc-supply + +examples: + - |+ + + panel { + compatible = "mitsubishi,aa104xd12", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <210>; + height-mm = <158>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1024x768 @65Hz */ + clock-frequency = <65000000>; + hactive = <1024>; + vactive = <768>; + hsync-len = <136>; + hfront-porch = <20>; + hback-porch = <160>; + vfront-porch = <3>; + vback-porch = <29>; + vsync-len = <6>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... From patchwork Fri Jul 5 16:42:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168582 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3791872ilk; Fri, 5 Jul 2019 09:42:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7/qfKgAkEigueIdWvd8UF+ORU+dikvM2EMLvk/Z4CEjG7k229lWPFvYwBTW+h3FFP2LdU X-Received: by 2002:a63:4518:: with SMTP id s24mr6643819pga.123.1562344970319; Fri, 05 Jul 2019 09:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562344970; cv=none; d=google.com; s=arc-20160816; b=erC3ZW/1uExe1sMdXSpZujsqvFmt1JrsnI28KVAlHAvm0wj1LII18lOHJfLGqN7OtR ZIi/dGgPIOiQcXKGBWZZfxvTZpro+izvEnEDwNm8k/OHUZzSKpT05mGVRzqe+0HrpjqR 6fUqCrEYRDG8xfX0YT90UAV6QzKcgKW3g7Fbm15iXXpxtXyTzq4gdvKGKJlbQPFqe+qF zsQOPQRpEAatAWwm9w4BHEN04cOEWvnp8y6PrCze87iqOYzWHMtTKw4bNaXEPwDSQZAe s5yB0yjslBoaLPefr0OWC/lfJzK96KK7B7yeLXI/nLKrV/HFy+N5O6rJL3wPTbOiDcBG TqHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=E85aB5RpOwld+JV24sKXDk1IMzl9UKxXkTFv9SKdcvs=; b=b9xoaPMudAF5Vhr+Q19r1iVL746lAsL6GxO51OH4Pm6c54Sfr75FycJTxw6bW/iN+Q qDiQci+kccWc5bTD4w4cmF3QlpLCvYC8K66a0ZReCMu6mS/91ZFBb7/Gd05SSCZctZha F4w4Mco5ciRQd0s4uClY+iOT1GaCiE6qV+xfIpEMF+b9uq4WnnybiCVj+GNgq1G5u9xI SmtT2oTDLjPWzykoORg6F++VZ5XGSBgSaAuLZkZMtdjERZnyNh+Q1xb05jBbZzdXbQzu ZAJn3PHkBNTjihDdlnT5lrdrlkjDia9fm9Az489ALZrjb6oG8TuD0pOQE2gY2WTlNmFh vfVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id u19si9707035pgb.148.2019.07.05.09.42.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 09:42:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 29CDE6E517; Fri, 5 Jul 2019 16:42:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id B56636E516 for ; Fri, 5 Jul 2019 16:42:45 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id j5so974892ioj.8 for ; Fri, 05 Jul 2019 09:42:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MqMTUG9wusta6WwgMcwAagT6tLykgnN6pCm15C73X54=; b=UwxDd/Ma1aqTVP/FNfD+AR37JAhdd01o69PFVsvjlIJvjF2xoFz5iIe7CSKWTVLinG 9+KBXNCKCLXLD494g+qV4zWFDlW5z7ghYwm3/8HTue6YdGjnlXNL00MUKvAyW4ONhEpT GdnujKh9O0v8Um1poAc17xi0DY1qXQi63fIw5u9DPmeolLwTZ7kSSaU6w7wQSKyEN4h1 7EUZNAEz76UlRUhWSR/VZY2vdrc6rPB2mFh23TDhqJm1faiE2KKKtcSNcPYTxv8QCAIr U7Q+ouSErO9tZXfrOR8cjiYMQoO5n2hNwNLOz6OLJFCvrYN8lBH4RWu3koVfX+AMNuOz JXsw== X-Gm-Message-State: APjAAAW+VBe0eZuPp5Ow6/kvoRoPhNnJKWVLf+81MCtrk+3fg9yEcYEL LgpbgvMQpMi8RJ3YHkiMO88j7aw= X-Received: by 2002:a5e:8913:: with SMTP id k19mr4963873ioj.155.1562344964310; Fri, 05 Jul 2019 09:42:44 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.252]) by smtp.googlemail.com with ESMTPSA id b8sm6878104ioj.16.2019.07.05.09.42.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:42:43 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 12/13] dt-bindings: display: Convert mitsubishi, aa121td01 panel to DT schema Date: Fri, 5 Jul 2019 10:42:20 -0600 Message-Id: <20190705164221.4462-13-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190705164221.4462-1-robh@kernel.org> References: <20190705164221.4462-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Thierry Reding , Sam Ravnborg , linux-kernel@vger.kernel.org, Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the mitsubishi,aa121td01 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Reviewed-by: Maxime Ripard Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa121td01.txt | 47 ------------ .../display/panel/mitsubishi,aa121td01.yaml | 74 +++++++++++++++++++ 2 files changed, 74 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt deleted file mode 100644 index d6e1097504fe..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA121TD01 LVDS Display Panel -======================================= - -The AA121TD01 is a 12.1" WXGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - - -Required properties: - -- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that - order. -- vcc-supply: Reference to the regulator powering the panel VCC pins. - - -Example -------- - -panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml new file mode 100644 index 000000000000..977c50a85b67 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa121td01 + - {} # panel-lvds, but not listed here to avoid false select + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 261 + + height-mm: + const: 163 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - vcc-supply + +examples: + - |+ + panel { + compatible = "mitsubishi,aa121td01", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <261>; + height-mm = <163>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1280x800 @60Hz */ + clock-frequency = <71000000>; + hactive = <1280>; + vactive = <800>; + hsync-len = <70>; + hfront-porch = <20>; + hback-porch = <70>; + vsync-len = <5>; + vfront-porch = <3>; + vback-porch = <15>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +...