Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp53497ybc; Fri, 22 Nov 2019 16:01:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyQ4FJDqpr5iZL10ktTNLERoJ9A1KkV9dyKaKK7w7JT4sFxGGafpAjLtsJdzKVkxJktH3hB X-Received: by 2002:a50:ec97:: with SMTP id e23mr4536480edr.111.1574467288810; Fri, 22 Nov 2019 16:01:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574467288; cv=none; d=google.com; s=arc-20160816; b=LQt1anUHOqoHKW+IHem6lgr1bVR+XsbRgT3XZz/ohd8aCTGOHlJpZtJ7nYKJ+pizye FQwAcAJCK8PmUmDrdgKN32AzNdcBR/f70SCX4aLv6zOs3BbysCILuBNMfSvR8YrBIt9z akhbGdvUwQ8493PjXn295H4YXKoiwP6YHCwBEAZ+BsOtzAeLzNwuJqaPFi+Ey2BtfqMd CoZU7PdenMuW73sE/OXcIEpmLyxcfMQib3eyhhpRlK93ixNAgrBX3CUnDTWbZ/eFDe2g CFUF5kSW3UuMtuITKJiDwOM1zomwGUN/GBhfa0cwLn3wNbnNdUl1ZdeH0Gl3e4iQDVBD qnQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=frUbXg9HVcTRfaaxELwHERf+lloS19EI1WW6S+yHA38=; b=sgsOSUReaLEsRJ1HHcjjyS5yS5O6OAXI1AHFn3v3E+kjiXrtI+h3oGYv68e9iQ/AO8 edfn9GFwWCAlFagu1I4Nn8pSgGc2O9+52VKC7aPa1RG3V4SG17k9WngshKWf40vyDQcj e8/Cdpo8TtHene+j3x8NJ328FdkT+jhENB9g+N/IsWKwfnuW3yBkpioy4A62LsdgHHWb 8zwgyezAf/O9zFdakEPJA+o+/RqrEmyzTAewQCzQIwJuT0SOQD5oMag3bSznsGmu7x0E knRYnF6Lc8km8k6pjazzlSR9ilWpLn2IpP+op7u/HcvWieh+TZg825repWhuzCRE83X5 3ybw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si5540973ejr.10.2019.11.22.16.01.05; Fri, 22 Nov 2019 16:01:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbfKVX5r (ORCPT + 99 others); Fri, 22 Nov 2019 18:57:47 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:33695 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbfKVX5q (ORCPT ); Fri, 22 Nov 2019 18:57:46 -0500 Received: by mail-ot1-f68.google.com with SMTP id q23so1884008otn.0; Fri, 22 Nov 2019 15:57:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=frUbXg9HVcTRfaaxELwHERf+lloS19EI1WW6S+yHA38=; b=Mtgn6Hp0Wb8ozbW6eCvPfqphsPvVvTYy1Fq3/CYe6r+0mw/UOpReaIPi4ZJQSvv+W/ W767UhB/9K7qM2sWHST2WAu5AxnYA4SU1LZyG30qI9xvUxZSMmZNr3ABuwx0z9Z6tqUe elgQ9ANq2IHXvOVFQO/PaqPgK7aJXCuxUviVF/wlzqme0zvoA3gwKnG9kUuQe2y4Nn3t rirF0qKbJtAKhaRQIr6zuygFdb9+IK5Gs2rK4LMbqU/jNJKw3FQpNWhxrELHMvhPWDc1 fgAwoZVBO4/sXNEC+pONenSDOMIyw5KqrTmTcd1xZo9f7LOHrR0VkDWSha1qaEQtTFOn VfQg== X-Gm-Message-State: APjAAAV1Uo1u7HVhxEx9ClsVj3AUrr+Z5kvVzozFuBqok5SwEvzP6Y9O yRQuiurrOA3xg4lwHYqYmh7Iw7k= X-Received: by 2002:a9d:12d2:: with SMTP id g76mr13180792otg.232.1574467066059; Fri, 22 Nov 2019 15:57:46 -0800 (PST) Received: from localhost ([2607:fb90:bd7:3743:c9ec:246b:67b7:9768]) by smtp.gmail.com with ESMTPSA id b135sm2608451oii.1.2019.11.22.15.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 15:57:45 -0800 (PST) Date: Fri, 22 Nov 2019 17:57:31 -0600 From: Rob Herring To: allen Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , open list , "open list:DRM DRIVERS" , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH v4 3/4] dt-bindings: Add binding for IT6505. Message-ID: <20191122235731.GB7738@bogus> References: <1573811564-320-1-git-send-email-allen.chen@ite.com.tw> <1573811564-320-4-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1573811564-320-4-git-send-email-allen.chen@ite.com.tw> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 15, 2019 at 05:52:19PM +0800, allen wrote: > From: Allen Chen > > Add a DT binding documentation for IT6505. > > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.txt | 28 ++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.txt Please make this a DT schema. See Documentation/devicetree/writing-schema.rst. > diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt > new file mode 100644 > index 00000000..72da0c4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt > @@ -0,0 +1,28 @@ > +iTE it6505 DP bridge bindings > + > +Required properties: > + - compatible: "ite,it6505" > + - reg: i2c address of the bridge > + - ovdd-supply: I/O voltage > + - pwr18-supply: Core voltage > + - interrupts: interrupt specifier of INT pin > + - reset-gpios: gpio specifier of RESET pin > + - hpd-gpios: > + Hotplug detect GPIO. > + Indicates which GPIO should be used for hotplug detection Indentation is not consistent. > + - port@[x]: SoC specific port nodes with endpoint definitions as defined > + in Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt You need to define what each port is. With the schema, that will be 'port@0' and 'port@1' properties. > + > +Example: > + dp-bridge@5c { > + compatible = "ite,it6505"; > + interrupts = <152 IRQ_TYPE_EDGE_RISING 152 0>; > + reg = <0x5c>; > + pinctrl-names = "default"; > + pinctrl-0 = <&it6505_pins>; > + ovdd-supply = <&mt6358_vsim1_reg>; > + pwr18-supply = <&it6505_pp18_reg>; > + reset-gpios = <&pio 179 1>; > + hpd-gpios = <&pio 9 0>; > + extcon = <&usbc_extcon>; Not documented plus it's deprecated. You're missing ports here and they are required. Rob