Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp749894ybz; Wed, 15 Apr 2020 18:07:58 -0700 (PDT) X-Google-Smtp-Source: APiQypI6+JufpH407gGw2Z7cdsKJiPn7JBoBX81jq2QvY6oxbOZJW+AXNVfnKr8tqDhCWQ5XWmLd X-Received: by 2002:a17:906:d291:: with SMTP id ay17mr7575564ejb.183.1586999278674; Wed, 15 Apr 2020 18:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586999278; cv=none; d=google.com; s=arc-20160816; b=JUwD5ydRnWx5vMznZKOC5U0JwkL7Qn/aptOKn62/P4mNRvvcbbDUeB9HFyJ3W0Ki1Z avlcV0UU92/cpkIMidC5cn7ghYTzBESburcotpHebUwtMzLLTxPEidFjryAUfHaxdLH4 9k7gUqTYZcFGlAN8Cw668dEEgzCMaTudvPOUCaex+aFMwqPydpdwb9HfEfHkajBmzODG HOWKWf1kQL60rbC9XwftI9hza7lZDqOa5ATvj18uUuCAw01cH0p/HSFBaeaiJUY+DZiU jAewkm98y8GP5NgV+BTw718t+hgxn9lfCEmXm6pQDGElMMl0opIsxMUn5muZ2mmEcg6H iRuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XInprciw4TG1/wikocNRQHcYhHX5xo67D0GI+pzRw2E=; b=v5TnMTjzyIR0jgXxtncMZoLjfz/FI9TJJKxhQtBRki1+6NwT8jzZa5XuXCKtmgdOI6 wmGW57Cb6XzaVt6GeXyxQZL7sumAOOL0pqr/hyIO0OO8DHqjgBlDoxp0riqud83mm0jU mRIpCPgpJ0q/JiFZiGKvdbmGt30MM3xTW2T8ivCozZLo41JE7Z8DFPAMHTjDjQtHjasR ZKq/EkBSwkJzX/Md6LRRUsvrHpnpKInCj/YU+FbmX7u8JTfMT+Ep4XSDoMNAOrckYjU6 zKr3JlerY4oz54pPwaPBdosvQPk0T2ZWzRqfH8il6EENNhULqURJxoSUtufdrYcWO7kp FW3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=GQiAUrd7; 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 cx7si6357221edb.125.2020.04.15.18.07.31; Wed, 15 Apr 2020 18:07:58 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=GQiAUrd7; 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 S371278AbgDOUdV (ORCPT + 99 others); Wed, 15 Apr 2020 16:33:21 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:38086 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S371264AbgDOUdM (ORCPT ); Wed, 15 Apr 2020 16:33:12 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4BCC8DD3; Wed, 15 Apr 2020 22:33:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1586982789; bh=ZWrQLQiITcnJHS7w+LOALjXfWMs5iz+rT8aFRxucxtw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GQiAUrd7WJjvq8jNIeeljZaHhBNFa/QhJS4yGJW5WND2eu3EUuqC3ud3FcqdxopQf XSO0UCi7+yJP0gda51b3GJ5gC4HhTREnnvjaC0aBVqfHLALAzWwxAUjKVIJuL19Bua VngkH6/jze8rIhCrN/ha0VSue9EADOCMji40G+to= Date: Wed, 15 Apr 2020 23:32:56 +0300 From: Laurent Pinchart To: Stephen Boyd Cc: Douglas Anderson , a.hajda@samsung.com, airlied@linux.ie, daniel@ffwll.ch, narmstrong@baylibre.com, robh+dt@kernel.org, spanda@codeaurora.org, jonas@kwiboo.se, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, jeffrey.l.hugo@gmail.com, jernej.skrabec@siol.net, linux-arm-msm@vger.kernel.org, robdclark@chromium.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] dt-bindings: drm/bridge: ti-sn65dsi86: Add hpd-gpios to the bindings Message-ID: <20200415203256.GP4758@pendragon.ideasonboard.com> References: <20200415084758.1.Ifcdc4ecb12742a27862744ee1e8753cb95a38a7f@changeid> <20200415084758.2.Ic98f6622c60a1aa547ed85781f2c3b9d3e56b734@changeid> <158698038289.105027.2860892334897893887@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <158698038289.105027.2860892334897893887@swboyd.mtv.corp.google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 15, 2020 at 12:53:02PM -0700, Stephen Boyd wrote: > Quoting Douglas Anderson (2020-04-15 08:48:40) > > Allow people to specify to use a GPIO for hot-plug-detect. Add an > > example. > > > > NOTE: The current patch adding support for hpd-gpios to the Linux > > driver for hpd-gpios only adds enough support to the driver so that > > the bridge can use one of its own GPIOs. The bindings, however, are > > written generically. > > > > Signed-off-by: Douglas Anderson > > --- > > > > .../bindings/display/bridge/ti,sn65dsi86.yaml | 10 +++++++++- > > 1 file changed, 9 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml > > index 8cacc6db33a9..554bfd003000 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml > > @@ -60,6 +60,10 @@ properties: > > const: 1 > > description: See ../../pwm/pwm.yaml for description of the cell formats. > > > > + hpd-gpios: > > + maxItems: 1 > > + description: If present use the given GPIO for hot-plug-detect. > > Shouldn't this go in the panel node? And the panel driver should get the > gpio and poll it after powering up the panel? Presumably that's why we > have the no-hpd property in the simple panel binding vs. putting it here > in the bridge. Same question really, I think this belongs to the panel (or connector) node indeed. -- Regards, Laurent Pinchart