Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2253395ybt; Fri, 3 Jul 2020 04:50:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE7gNeoVyJhWFd0JB6nAzXRVCjnmq1AZdF0Y/WCVqSecGWQEGqR+FI2ylazyCZ9V2+/Iem X-Received: by 2002:a05:6402:1a3c:: with SMTP id be28mr30002734edb.140.1593777034559; Fri, 03 Jul 2020 04:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593777034; cv=none; d=google.com; s=arc-20160816; b=AWB1V3MesZS7UHpO27H22edJEPXySvZdKpr8mTf2YH5Xm/7ZPqGYeiHGcYp1KdOXI5 8iVeH/ayuL7fjoNg3R4C5V4ED7hWuYs7PB2aq1ZADWFl+51VeQgJIkduiyifIHzvElZK KdI1KBpFhpFxVvs/iG/zllhbsos32rKkzurSON5iGOCxg6ukteJ+JqwT6GdGe+I6Mvi4 2AIHILAR3kIcLIjt25+va5mTvyUHkoIpW3Ua1piwPH72SXV2tuwNIcEMaTRYdo24fm3H rLZ/Akm120fxi4a2z0aWU34RBXHcojSuNm8jeUifzQn0JZuYZlBVBb2UDbclq5KBU88N 9q9A== 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:cc:to:from :dkim-signature; bh=yXbjn05tTDWzEg8ZlMNwh8uh1qWxFXC8SytW40Ww4ok=; b=o22StKPQlMAsErMCqDBAxirNPTxie5olnCdB3wJHhGdfMOBLFiZumSzH15g8pIqHuI ztk2f3LH0u/d8SOqiJH6fXEBf8AW6OL5AMoq8DXLDt1DLI++bSq0++iBzLZOo1lF6TEp px1Te057HHDg/BycBp7ivUywXiVkBJDLZ6yUT+xQEovYObDVo0/8aEpo+Yl5UCEq6Py7 KyD/165NMRdnRKypomi72+tDmoQugJ/6HjX3Rg/dDQiqq0OyfL6BMbStE59D/cG0bBaf sn9wLbrHkP29ZFy8vcwOxwY5OjSOSfNAq7C/+eEfIaEnZtioNwCGg6YJlAhTwmtM5Syf 3BuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=MuA9Noi6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si7484037ejz.319.2020.07.03.04.50.11; Fri, 03 Jul 2020 04:50:34 -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; dkim=pass header.i=@megous.com header.s=mail header.b=MuA9Noi6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726157AbgGCLrY (ORCPT + 99 others); Fri, 3 Jul 2020 07:47:24 -0400 Received: from vps.xff.cz ([195.181.215.36]:41236 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbgGCLrY (ORCPT ); Fri, 3 Jul 2020 07:47:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1593776842; bh=Mror7EhaRxvkBeJPmtCPvGSBofo331RIQIKcoOFqy6Y=; h=From:To:Cc:Subject:Date:References:From; b=MuA9Noi6uYlKU2CAFK1WTynrh42ZGRL7Tg8K7H1vyG8kWNPzuGLCruUbNWGfmOCU9 OWZBGyUs4yf6qYpa19lLPTYLtYrfT0OfyF8lrONoflImJXKxOSmYDyUGBQyJ1Y/Ck1 zUWj9XpA84Ujd+c37JTA/Q8748X7xbfwo9DPjvc8= From: Ondrej Jirman To: David Airlie , Daniel Vetter , Rob Herring , Thierry Reding , Sam Ravnborg , Ondrej Jirman , Fabio Estevam , =?UTF-8?q?Guido=20G=C3=BCnther?= , Robert Chiras Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: display: Fix example in nwl-dsi.yaml Date: Fri, 3 Jul 2020 13:47:16 +0200 Message-Id: <20200703114717.2140832-2-megous@megous.com> In-Reply-To: <20200703114717.2140832-1-megous@megous.com> References: <20200703114717.2140832-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The example is now validated against rocktech,jh057n00900 schema that was ported to yaml, and didn't validate with: - '#address-cells', '#size-cells', 'port@0' do not match any of the regexes: 'pinctrl-[0-9]+' - 'vcc-supply' is a required property - 'iovcc-supply' is a required property - 'reset-gpios' is a required property Fix it. Signed-off-by: Ondrej Jirman --- .../devicetree/bindings/display/bridge/nwl-dsi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml index 8aff2d68fc33..2c4c34e3bc29 100644 --- a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml @@ -165,6 +165,7 @@ examples: - | #include + #include #include #include @@ -191,12 +192,12 @@ examples: phy-names = "dphy"; panel@0 { - #address-cells = <1>; - #size-cells = <0>; compatible = "rocktech,jh057n00900"; reg = <0>; - port@0 { - reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + port { panel_in: endpoint { remote-endpoint = <&mipi_dsi_out>; }; -- 2.27.0