Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7757149yba; Thu, 2 May 2019 15:57:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9+XGAx3GdCSg/YimOfG/hy04S4mWBljTr163lRpiVbMH55O+sdD44WmzgEzjQKaUESdtO X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr6443023plo.21.1556837855205; Thu, 02 May 2019 15:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556837855; cv=none; d=google.com; s=arc-20160816; b=hRiyyHeWOAJaBmH6N+7UJdjbM4XyAtd2dKALqBwO7e3YM0VY9pcI1qQTmig8evW7gb ayuCFzLhKKSs5ZzZfxSqvs+ctxo0sysP/EZQ0790TjGNGUX6Io5OmJuRkbmfHZmEDI7v mMZYRivyQHns2/WTlxV/APrckkQh6akLejelOcE6bkziZ1LjYElbek2AibzZ0Sbf7nC7 ++QOTpzOuvK9AzkCA4tkAK205EffYMTvyqOHK2JVKpOb03kRHfRxjcRvjLUDLcP4b2Wk 1JVxZpnjem1rAv3Mm5cApADzpN6nHmMWlTO8CMCchFt2VBoOPvDSmGdB7hhspPiQtKXA KCxA== 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=P+ZPNiv5B5kytob2vOwdU5pZyvzNXPIUr8ZUKGFUcOY=; b=kyFgmu12ud8Mb1qPs2GrlsPFsX1x0TVOOiM+4iEouk3TMqBhO+hMQXKk5FkzV4Xt3S FOfYewKEThQnba8xEuwDIHCpyPdNIeRIYx3wuD2wQo3MN2ge7jYEKQLIPrORYi98oywV hPTJImJo6L2SjzVQ7ghaHYmoHlVkyLvZew+vhW/N2gwdRlVi3hwNsY4vLuH67afyOSoj qbDI8EAlH523SvsLFp77GqCHDryycajsdxEyE5MS2Zso+j3WBLHr1/4ZF64zMBNp+l4+ 3dRF7Uid+LLE4wkbpD4C455xdtzUzl/XROQ1EzgkukLHyxfHvHT8gIrIfLtcmSKbQYVf ABJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h0wYyVMl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si442648plk.385.2019.05.02.15.57.19; Thu, 02 May 2019 15:57:35 -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=@chromium.org header.s=google header.b=h0wYyVMl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726338AbfEBWy3 (ORCPT + 99 others); Thu, 2 May 2019 18:54:29 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:47032 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbfEBWy2 (ORCPT ); Thu, 2 May 2019 18:54:28 -0400 Received: by mail-pl1-f194.google.com with SMTP id bi2so1693213plb.13 for ; Thu, 02 May 2019 15:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P+ZPNiv5B5kytob2vOwdU5pZyvzNXPIUr8ZUKGFUcOY=; b=h0wYyVMluUVAdv1NwQOAAhlwteWpgYwW8HXhS8VG32Z7Lf9yxA4NuF5+A0czBvZzKv lJVcxHPaPYIKXirJmLKL7liFbEaF4geinpGCsaSD7+tuUJ31PO4yA9oJQyZ+bTMX2yqH davXBEyebjxtzyIeeIKbXwcoU9AzTCZef7yaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P+ZPNiv5B5kytob2vOwdU5pZyvzNXPIUr8ZUKGFUcOY=; b=jDCw76J4sv7yeLWg60ZKjCP1CDr7Xxxw8Ed6UUU5nGzemhCiHDk/fOTVXtYeTIQN2N XfpLCjGhcLISAJGup8XWVY2HAayEoiORdZ/HqtFm4BBSlb0K6r/AxZO7FQaIe0WWLfqS fODr2D8tnLBEMQ9kbLIEsK6AI9Emfu0g//IPvsH8jJveWvnfMfph274YrrcILZw8sTzJ DeeUElzYbUBFa4f8RkQiKFbhb9TbwmVooMHWQfoENccVHRtNee/z1H8lRYYKVPpEQNoV HpqQPBPRfL5vbAuZL1MLeywLh8KUrEPe+aFkM7rhZFxOrSYevvtsbsq12yVGfUKd9LtT ry9g== X-Gm-Message-State: APjAAAXo21UfwbyxVZOse0J2e5A8mnaLVEeQWKYctXHiJKoZY8/Ul+IE h6J6P0iEa5/726nrs4Yd2Hf6Vg== X-Received: by 2002:a17:902:8545:: with SMTP id d5mr6351215plo.198.1556837667556; Thu, 02 May 2019 15:54:27 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id v15sm264736pff.105.2019.05.02.15.54.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 15:54:27 -0700 (PDT) From: Douglas Anderson To: Heiko Stuebner , Sandy Huang , Andrzej Hajda , Laurent Pinchart , Rob Herring Cc: linux-rockchip@lists.infradead.org, Neil Armstrong , Mark Rutland , mka@chromium.org, Sean Paul , Douglas Anderson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: dts: rockchip: Add unwedge pinctrl entries for dw_hdmi on rk3288 Date: Thu, 2 May 2019 15:53:35 -0700 Message-Id: <20190502225336.206885-4-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.1020.gf2820cf01a-goog In-Reply-To: <20190502225336.206885-1-dianders@chromium.org> References: <20190502225336.206885-1-dianders@chromium.org> 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 This adds the "unwedge" pinctrl entries introduced by a recent dw_hdmi change that can unwedge the dw_hdmi i2c bus in some cases. It's expected that any boards using this would add: pinctrl-names = "default", "unwedge"; pinctrl-0 = <&hdmi_ddc>; pinctrl-1 = <&hdmi_ddc_unwedge>; Note that this isn't added by default because some boards may choose to mux i2c5 for their DDC bus (if that is more tested for them). Signed-off-by: Douglas Anderson --- arch/arm/boot/dts/rk3288.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 74c9517c4f92..eebc04fa1e4d 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1545,6 +1545,15 @@ rockchip,pins = <7 RK_PC3 2 &pcfg_pull_none>, <7 RK_PC4 2 &pcfg_pull_none>; }; + + hdmi_ddc_unwedge: hdmi-ddc-unwedge { + rockchip,pins = <7 RK_PC3 RK_FUNC_GPIO &pcfg_output_low>, + <7 RK_PC4 2 &pcfg_pull_none>; + }; + }; + + pcfg_output_low: pcfg-output-low { + output-low; }; pcfg_pull_up: pcfg-pull-up { -- 2.21.0.1020.gf2820cf01a-goog