From patchwork Wed Sep 2 21:54:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 7113531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B2ED9F1CD for ; Wed, 2 Sep 2015 21:57:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51EFE20513 for ; Wed, 2 Sep 2015 21:57:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 777E020397 for ; Wed, 2 Sep 2015 21:57:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZXFzt-0003AK-7x; Wed, 02 Sep 2015 21:55:13 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZXFzq-0001zn-A6 for linux-arm-kernel@lists.infradead.org; Wed, 02 Sep 2015 21:55:10 +0000 Received: by pacex6 with SMTP id ex6so18814875pac.0 for ; Wed, 02 Sep 2015 14:54:49 -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; bh=xL8jkHMzwsTCrqkrrpX5bby67P4Tucq5CcL7rj1dC0A=; b=i9l8O5V/B8XoxSHWxScVTBE9mRRb5Zy1VX3ciJpseEZdt3fEF7fNiqOEV66aPyABEO QO8A/h6ZDCUblNydEqrhUkKvL5QsXSnjH1nTsZZuZeNhFGkXdxDkTqm/z/kB44+uKmQR HeRBQ8mh5J+uWLLyq88ekqc+Nh+fzw7EoG0+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xL8jkHMzwsTCrqkrrpX5bby67P4Tucq5CcL7rj1dC0A=; b=aHxt+A7wTDkGVUC5qQeICytzkzW0PM7WWNr38+gY8hS2DfSOJl8PExe3ej8G0te5qZ wwtmNwHiFi/afII6CevY7cTMR3/VAZmpbHzbOZb+6qL+RL71wLWZMwg6NZcrPP1B67W/ jzl3cSznOo1DVmPsaqYRCB4Qu+nVl3bVOa/Qb5yIVHRqCKMG+/8U9bL+075z+i9SNcQ5 a9S5OfAvQIO9iBgj8WB4HMPrrSROCAVMKdcZdVEq+IhzKOYqXiTguljUHoiCn7110j0S PCmtaL2tOC4G4yItyx4vf6CT8gvxp44a1tHzto5dPNWmmfAjDRvPE9Zck9OYgH/BF/ev DxoA== X-Gm-Message-State: ALoCoQnibewUQ9z3Cul+BNcuGZvOqYKHOYYn3Rkx1N6RsX+gBjmnSXP7uvc3OqNqDXm9KHXZg9jN X-Received: by 10.68.136.138 with SMTP id qa10mr15788070pbb.8.1441230889289; Wed, 02 Sep 2015 14:54:49 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id c4sm22795755pdl.16.2015.09.02.14.54.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Sep 2015 14:54:48 -0700 (PDT) From: Douglas Anderson To: Heiko Stuebner Subject: [PATCH] ARM: dts: Add the hdmi-ddc pinctrl settings for rk3288 Date: Wed, 2 Sep 2015 14:54:22 -0700 Message-Id: <1441230862-17376-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.5.0.457.gab17608 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150902_145510_471514_578F5E87 X-CRM114-Status: GOOD ( 13.28 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, amstan@chromium.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, briannorris@chromium.org, Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, ykk@rock-chips.com, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pins for i2c5 can either be configured as "I2C5" which means that they're controlled by the normal RK3288 I2C controller or as "EDP / HDMI I2C". It's unclear why EDP is referenced here since apparently setting the mux to this position enables I2C communication using the dw_hdmi block with a patch like . There appear to be some reasons why using the builtin I2C controller in dw_hdmi is better than using the normal RK3288 I2C controller, so boards based on rk3288 might eventually want to use this pinmux if it's known to work. Once driver support in dw_hdmi lands, boards would use this by selecting this pinctrl for the HDMI block and then _not_ specifying a ddc-i2c-bus and _not_ setting the status to "okay" for i2c5 (which uses the same pins). Signed-off-by: Douglas Anderson --- arch/arm/boot/dts/rk3288.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 906e938..055b488 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -923,6 +923,13 @@ #interrupt-cells = <2>; }; + hdmi { + hdmi_ddc: hdmi-ddc { + rockchip,pins = <7 19 RK_FUNC_2 &pcfg_pull_none>, + <7 20 RK_FUNC_2 &pcfg_pull_none>; + }; + }; + pcfg_pull_up: pcfg-pull-up { bias-pull-up; };