Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9857729ybl; Thu, 26 Dec 2019 06:32:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxLF5FJAieBX3O+nm56cd8JK5XsaC+fRLZMU6Rt4DGFdQp0xZ6zZqN7GxbLwxCH3upMfjYT X-Received: by 2002:a05:6830:10d5:: with SMTP id z21mr52766883oto.30.1577370753678; Thu, 26 Dec 2019 06:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577370753; cv=none; d=google.com; s=arc-20160816; b=GnufWg+vfolIC+A+cExAcTX0l2FQdPx09tcD4DumuxhGy/CLMrJSYwyVW0kogMWI2G cUhF0vS6AcvtH+Bm8NLtbT6qxXPMusqVU+a3+N0fsMcFVyhAiVPjvAZ1bbMqJAWMl5tq RsNal2lcUwkV0dYrDn/nPIARgm1PZTxj0KN4YO2zxAa+5Ncmf3eSbTHgki7iW+6BhJ4A Tv2x8H4cpBVB2a/5cN0lBFNSpmNAGEaPCWEot5X9C1QwQ2yB8HYnu6qInuf1vgT0181+ OpwSpsUT/UqRV968IFclY4PEUdXcgu02dghR2pUehVZ1//ebdWwOvpBEONkWEnk0nhfw OS1w== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=GYE9m2UHqT66S2aNYiexPg2WWp++pLdE3aeSZZy7xdE=; b=RUQ4/OZ6lXRbepll+FCjO8faMQwd1hRV+CkHal1xDrglxq3lqX45K4aymT8Ltqz1GL YDHTuDMKoPfGhUwH+q034n/ToHK7uFWWvAFAfBX2oKIAyRgPtY6YcJJqR9HLMN4JYg5j n8rKDXss4GrWwAGFlSNzSV8gLiabEV6h7zKqz4s8avHvY5J9Q9w6JKge9R1iCokECvgp qXOlqWbRkF+Ct1oYJlAP5TsOiqB4DEYir9HKzoKu8MhFPNq8a+fleqaxYPZKkAzssl1z c40S9lHcf6GsF2wYxvtbGxAVZcm4SLNOBFEtRoi2enFpDJas6lcTkOndMgHg1MCf/9l/ ghRg== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i203si14487341oia.74.2019.12.26.06.31.59; Thu, 26 Dec 2019 06:32:33 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726596AbfLZO1b (ORCPT + 99 others); Thu, 26 Dec 2019 09:27:31 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34618 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfLZO1a (ORCPT ); Thu, 26 Dec 2019 09:27:30 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 177E129203F Message-ID: <9fc5e30b8bc7e160ddc54a2056ca6e57eaebbab4.camel@collabora.com> Subject: Re: [PATCH v22 1/2] Documentation: bridge: Add documentation for ps8640 DT properties From: Ezequiel Garcia To: Enric Balletbo i Serra , linux-kernel@vger.kernel.org, Rob Herring Cc: Collabora Kernel ML , matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Jitao Shi , Rob Herring , Philipp Zabel , Ulrich Hecht , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, David Airlie , Mark Rutland , Daniel Vetter Date: Thu, 26 Dec 2019 11:27:15 -0300 In-Reply-To: <20191223143538.20327-2-enric.balletbo@collabora.com> References: <20191223143538.20327-1-enric.balletbo@collabora.com> <20191223143538.20327-2-enric.balletbo@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Enric, Rob, On Mon, 2019-12-23 at 15:35 +0100, Enric Balletbo i Serra wrote: > From: Jitao Shi > > Add documentation for DT properties supported by > ps8640 DSI-eDP converter. > > Signed-off-by: Jitao Shi > Acked-by: Rob Herring > Reviewed-by: Philipp Zabel > Signed-off-by: Ulrich Hecht > Signed-off-by: Enric Balletbo i Serra [..] > + > + ports: > + type: object > + description: > + A node containing DSI input & output port nodes with endpoint > + definitions as documented in > + Documentation/devicetree/bindings/media/video-interfaces.txt > + Documentation/devicetree/bindings/graph.txt > + properties: > + port@0: > + type: object > + description: | > + Video port for DSI input > + > + port@1: > + type: object > + description: | > + Video port for eDP output (panel or connector). > + > + required: > + - port@0 > + Is it correct to require port@0 ? This could be called port@1 or port@2, and IIUC it should bind the same. Thanks, Ezequiel > +required: > + - compatible > + - reg > + - powerdown-gpios > + - reset-gpios > + - vdd12-supply > + - vdd33-supply > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ps8640: edp-bridge@18 { > + compatible = "parade,ps8640"; > + reg = <0x18>; > + powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>; > + reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>; > + vdd12-supply = <&ps8640_fixed_1v2>; > + vdd33-supply = <&mt6397_vgp2_reg>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + ps8640_in: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + ps8640_out: endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > + }; > + }; > + > -- > 2.20.1 > >