Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1525813pxa; Sun, 16 Aug 2020 01:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/RHO1O+rc3m6FpqhNLd1/MkJrjPEWYT/8RNIslDf2Nohi5bSZIcgDShSYSiAwbz07Gn1v X-Received: by 2002:a17:906:e0d:: with SMTP id l13mr10555234eji.434.1597566573179; Sun, 16 Aug 2020 01:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597566573; cv=none; d=google.com; s=arc-20160816; b=aNzc2Rdm5Hsw7iPZ5BHcOQfJeTJYoBaKjTErZfyFBsaZKN7P/43LSnxxuOoy+EtEFn J34PcYvywJ7XDW1zVo2PStIkTWNMuJ/0gmLPiGmgvuworBs/S/PcGC9wTt4sP8DCKtj4 +PpkUbTrh3x37429oIOv9qpraw33NMzULWGKjztYqIqm8H9q52d88QwAqOVkGXGXhKJW 3Mqq7JIlCf2IMyO6YQ18Qm1QnQcSVYSN9Jabl6YWMXVGEyQkME89n7iTlwPkqJ2uua70 EXoLtbk3gsoJzTjQxCQcT5To8dorSfUdhqKbYTZ9tNwmlYwtnmQaEZAxUQzyULiU4piO dk5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=1nc6Y7rr971LbyUuoIHf5uv6StuRgZgTuL4mPgY3e/k=; b=Ptt6w0Qty0nCVTW0mvIQNiZTtfGeAr2eNq8rlMNL5vqECfGIXWpX5np0JQwJ5/mYl8 Y/9rkHOQLBEOocaUlsmqcwxtiOe2J8JiNZC4vQz6US/yl15MgxwfxRky3Tpzxf2CEfGx OIWiczykZwiak2/q6B+mMba9OqAzRUYVUDuU8aIflIqdry8E6l22nUWy1NS1ODo48Xah vTd6zJ5ABcxmY8xUc8gFv3rs2bepvLSGNss5UWijfZxBe+WxQT4DHB2R9BMn0ZbGH/JX FAfZudeTCGkJivafTcrUFEOtiBQryuzNzBs8y4lpEc3aiFMjXAWX0FIAiVRVjAHQ/+YE RdEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e15si8582619edy.357.2020.08.16.01.29.09; Sun, 16 Aug 2020 01:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728266AbgHPHNv (ORCPT + 99 others); Sun, 16 Aug 2020 03:13:51 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:35644 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbgHPHNu (ORCPT ); Sun, 16 Aug 2020 03:13:50 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 55563FB02; Sun, 16 Aug 2020 09:13:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AUS8qpNbV_7t; Sun, 16 Aug 2020 09:13:44 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id D5083457CB; Sun, 16 Aug 2020 09:13:43 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Ondrej Jirman , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: panel: rocktech,jh057n00900: Modernize Date: Sun, 16 Aug 2020 09:13:42 +0200 Message-Id: <60639e670028af7e8ab31379256ba331a1bdf6cc.1597561897.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Use common properties from panel-common.yaml - Indent comment like content - Don't preserve newlines in description - Indent example by four spaces Signed-off-by: Guido Günther --- .../display/panel/rocktech,jh057n00900.yaml | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml index d5733ef309549..c97e89707342e 100644 --- a/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml +++ b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml @@ -9,9 +9,9 @@ title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel maintainers: - Ondrej Jirman -description: | - Rocktech JH057N00900 is a 720x1440 TFT LCD panel - connected using a MIPI-DSI video interface. +description: + Rocktech JH057N00900 is a 720x1440 TFT LCD panel + connected using a MIPI-DSI video interface. allOf: - $ref: panel-common.yaml# @@ -19,9 +19,9 @@ allOf: properties: compatible: enum: - # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel + # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel - rocktech,jh057n00900 - # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel + # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel - xingbangda,xbd599 port: true @@ -35,13 +35,9 @@ properties: iovcc-supply: description: I/O voltage supply - reset-gpios: - description: GPIO used for the reset pin - maxItems: 1 + reset-gpios: true - backlight: - description: Backlight used by the panel - $ref: "/schemas/types.yaml#/definitions/phandle" + backlight: true required: - compatible @@ -57,15 +53,16 @@ examples: #include dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "rocktech,jh057n00900"; - reg = <0>; - vcc-supply = <®_2v8_p>; - iovcc-supply = <®_1v8_p>; - reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; - backlight = <&backlight>; - }; + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "rocktech,jh057n00900"; + reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + }; }; + ... -- 2.26.2