Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7219154ybi; Wed, 5 Jun 2019 13:22:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9Sk6i9PEmZQDz5hmxEThRiljkULfBikbkDPgVDLxC/hdHk9tsQPkNOZbRrm+4ZmtVfsF9 X-Received: by 2002:a17:902:ac81:: with SMTP id h1mr40924588plr.129.1559766153451; Wed, 05 Jun 2019 13:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559766153; cv=none; d=google.com; s=arc-20160816; b=p/YlkmsJ5poCMFMztGWIEuXVEiEP8jI2gd+Uz8mJjEULa37akGQS/xFoIausS8RItw aIBmmYOIbZiBSEMtUoHZodvJCjHu5zARnocrj1z/MlLzD4YZbiKy3DRUKC/FCMIW9NJZ N5fA/Vt1lM55y4UTx2aep5Rwo1tO1mgpzB1mqn1+6YtryTQaY1Ufl9OEBTXFOrvMx7LH NjTAwUHOeI+BORTMVyPXey2EXUc8Jzj8wQNb/36SLGKLFWcfcnmFrL6a5q1xXAXboX9r eVc0P0LcRQf24nWal08SHbVdauqaROyJbTk5viFkKklhNb9Txb2isSWravj4TGXueEQN KmzA== 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:dkim-signature; bh=Oow9DtVx6/e9vc91OkJJ9FrpnBvTPD2Rx2lgdcaFGT8=; b=S1UuRIVFJSFI5cJ5yorrp1irXgTKvL2mXUSyMEPUItgBxv2w32a2817/cmGICbr+PE qzfZa0SkE+PtJknxkkPxp1hSIr3qsylHkyAVwjcvJrHCTxpfzuaKjcZeyXiSGH/QJgtt MluVELPYvXnRqnkDx4ME9KROH7B0B1KcJtMhuaBgHrNqBKuwtWKqKca588RQy8mYVIZ1 RL46E85On9DDssx+xGqhm9g2MMspT0agTseX801Dsa9luAI6tXnHS0t5aJSjzzbn5dc8 NJ9U6/joNs6W51p1jMXSxZzw73PMbhLfTI2vUf+Jozdq61jx7rSJahmrIEEMUEiOWPKV 85Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@poorly.run header.s=google header.b="gDJ/pCAV"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 205si29617489pgb.424.2019.06.05.13.22.16; Wed, 05 Jun 2019 13:22:33 -0700 (PDT) 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; dkim=pass header.i=@poorly.run header.s=google header.b="gDJ/pCAV"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbfFEUVE (ORCPT + 99 others); Wed, 5 Jun 2019 16:21:04 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35310 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbfFEUVE (ORCPT ); Wed, 5 Jun 2019 16:21:04 -0400 Received: by mail-qk1-f193.google.com with SMTP id l128so75393qke.2 for ; Wed, 05 Jun 2019 13:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Oow9DtVx6/e9vc91OkJJ9FrpnBvTPD2Rx2lgdcaFGT8=; b=gDJ/pCAVI21mCAOhscYUVpPPbSPZSdohQtVojLJOqXj6LyfNoLVKYA1EdTQBHcRnNV gY8GucJcSp74i+ayJHV+sn7wRmTb2V83nd3VxGipHMTNW5oGUZNerkQIOIo6H8ogVrcT MtKKHW8Iw1EWQc8olTokbrcD2OIpPNzoaMesSPt8hl1X0nF1osj2k2b2xX5mP2j7GYr8 9RRw1U5V9bgLGTzeAmVAp6hIoNUhmQdKU4/BWYTtRym5973/zBT314jApMpyX9ipKAxO GtfUkDH9BW4veDlaFvbLLIjqemkU+31viOumlbu/QlmXG1RMgP5DQ5JARBVybS9Hzg1E AHRQ== 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=Oow9DtVx6/e9vc91OkJJ9FrpnBvTPD2Rx2lgdcaFGT8=; b=TVo1vD3syfdUxuWsGcj3hPWLa8b5q5swEGo3YeoU4dCDb626pX2LODIaivfFoMnhRj X7/iVVxjWw8vjfDZAcoLpujT+cBweiVuN0xFZMTykpYSS9iYByRM6e9eb6X4PgU2mqrv 63/42I3USHefxIcGfWfu3CqflH0Ey029EviHzhCyN6xQN89sBFLxkm8VQm29wss9ZHQ6 HnLZerLK/Dk5qk9TRUBSvNjPyUX5XEKKPKMkNMbYaby2CqlPyTSPJ2xlEZ1JGgpaq9zN s5Xf+8Z9gAs402vEtUyfIwesvhlc6+zpQBKTBeirKdccquKZyMVXVuOCzVNSKzRFANqt kz2g== X-Gm-Message-State: APjAAAWZ+7KdHDbQymsvICag0bIDOqsumoWUKZHhuz0/RN3SZjHvsvsX AFEvT334/RPvU35vPQ77fh5wrw== X-Received: by 2002:a37:f50f:: with SMTP id l15mr16279331qkk.343.1559766063140; Wed, 05 Jun 2019 13:21:03 -0700 (PDT) Received: from localhost ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id d5sm9881582qtj.3.2019.06.05.13.21.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jun 2019 13:21:02 -0700 (PDT) Date: Wed, 5 Jun 2019 16:21:01 -0400 From: Sean Paul To: Douglas Anderson Cc: Heiko Stuebner , Sandy Huang , Andrzej Hajda , Laurent Pinchart , Rob Herring , linux-rockchip@lists.infradead.org, Neil Armstrong , Mark Rutland , mka@chromium.org, Sean Paul , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , linux-arm-kernel@lists.infradead.org, Daniel Vetter Subject: Re: [PATCH 1/5] dt-bindings: drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus Message-ID: <20190605202101.GG17077@art_vandelay> References: <20190502225336.206885-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190502225336.206885-1-dianders@chromium.org> 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 Thu, May 02, 2019 at 03:53:32PM -0700, Douglas Anderson wrote: > In certain situations it was seen that we could wedge up the DDC bus > on the HDMI adapter on rk3288. The only way to unwedge was to mux one > of the pins over to GPIO output-driven-low temporarily and then > quickly mux back. Full details can be found in the patch > ("drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus"). > > Since unwedge requires remuxing the pins, we first need to add to the > bindings so that we can specify what state the pins should be in for > unwedging. Pushed to drm-misc-next along with patch 2. I'll let Heiko land the dts patches. Thanks! Sean > > Signed-off-by: Douglas Anderson > --- > > .../bindings/display/rockchip/dw_hdmi-rockchip.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt > index 39143424a474..8346bac81f1c 100644 > --- a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt > +++ b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt > @@ -38,6 +38,13 @@ Optional properties > - phys: from general PHY binding: the phandle for the PHY device. > - phy-names: Should be "hdmi" if phys references an external phy. > > +Optional pinctrl entry: > +- If you have both a "unwedge" and "default" pinctrl entry, dw_hdmi > + will switch to the unwedge pinctrl state for 10ms if it ever gets an > + i2c timeout. It's intended that this unwedge pinctrl entry will > + cause the SDA line to be driven low to work around a hardware > + errata. > + > Example: > > hdmi: hdmi@ff980000 { > -- > 2.21.0.1020.gf2820cf01a-goog > -- Sean Paul, Software Engineer, Google / Chromium OS