Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7756100yba; Thu, 2 May 2019 15:55:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZGqpDAxyFnoBhXgZ1lGXUc6eLpAcvCrrdiEFbCnL8+kdAk88NZogmyTeYKYziFO2CEoHf X-Received: by 2002:a62:5795:: with SMTP id i21mr7139683pfj.194.1556837757681; Thu, 02 May 2019 15:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556837757; cv=none; d=google.com; s=arc-20160816; b=f31ZzY0fpi3mehqHI1UqnvKxgFwOlCFBz+znkFEwQvWHqJEyxfw5ojyhXLI3ylYGsd xa2IILsFyTmrZCxN3/jeXejOfdMfcZOUUyiBm/1f8dnV3Xbu5OnjfZJ9HDjGj0xG5UIn lTZcBBQ3rs0sfWghZkYYoIOIxvbee57sQN/18QSoxaV+ddh7OJ8J6w1zKj0mE03OziM6 vv8ED7HDG8F4/KHtP3YMQuADFCTPvSqqXE/88jDGoGCWGyE41PeTtMLJ4V0Ekp+zTQH5 mkhQnEs4X4q2jx67jMZ8BTyibStedLo8B8BBP+DvBP5RmbhlFre4BJq438v7f+8aPMe9 /fbw== 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=BCfT3guVZby54KoAuU06+BY6v/qUrN3VwEkT+0PJiPM=; b=Q9Rz0ZV4vEl7hLzuA06/2fJDpXbICQEo8bohNacLJ3nd7cfXSzR4FGfYQ2UUVYNTIf SvhZkPAJcrDUr3K7t3g/jHKH2vWOX0e7ZVB670crWXh5zMxfNp+pZPxXVQ++ByuPT66b 2ip/o/o4D3FWghbDchFcOk7pGfUZEES1paD2jPLz1sOp0d4nBiUm6rrsPkr7EQRDq8I8 qxZHOUNpaboVG9oPFLQun1stcou8/3Ttsxo6fT2tmp4cY8fYR+Pl7xBWLdA3DIDnWVG9 lpaPnEkgTX2KK80QhYAOXfA2RD6sngQ+2v+Gp92i4KdjHjzrLF8Igp//zjld0tBEhG1a UmVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="myoH4NG/"; 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 o123si342019pfb.116.2019.05.02.15.55.40; Thu, 02 May 2019 15:55:57 -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="myoH4NG/"; 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 S1726377AbfEBWya (ORCPT + 99 others); Thu, 2 May 2019 18:54:30 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:34836 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbfEBWy1 (ORCPT ); Thu, 2 May 2019 18:54:27 -0400 Received: by mail-pl1-f195.google.com with SMTP id w24so1719396plp.2 for ; Thu, 02 May 2019 15:54:26 -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=BCfT3guVZby54KoAuU06+BY6v/qUrN3VwEkT+0PJiPM=; b=myoH4NG/U3H7QRfzmXh4KXBkwHqlnBXLuw+YtDbLUP16dgiGTtAys0/bk3SYGDdI70 6K+XsQzwdrj70SZjh8KM5efvveW/76bJR9i09nnkUlZn/ZFw1ZqUNUvi7N6yAStsPwSx uiRq7YcNI6KCMxbDCNVDo5hZeJamSb50B5Czo= 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=BCfT3guVZby54KoAuU06+BY6v/qUrN3VwEkT+0PJiPM=; b=iJ98ezYikTBzP6Sm2ZtLWFFmYwjmeEDYw5nrRVC3q6cxMmGe1QAFU/8xYL9HSexwup n1kCUgCNq7UC4Yf48ypXFcTdEUCFk3hnJNAMoaat7t+hDKMGIEjisUkFASu1AgiqkuCj GLt0WjreuMF1n4N88+ekwNWTcqI2OjeSoYkgo63bppy9KIG9diJxe2ICtELKoSbmfN9H lDaRWdGZ/GsJCbEew1dY/TgaaU/q27YSU7hnJ0aCbMwAOLVCzXqpGoksKowYRvv5wnjN lUWH7KGcu2Vsip688Sr1z4HxyvSrjUi4M+7NZm4INbtznSvzyAvkD6SRG20yS+wnxCy9 dG1A== X-Gm-Message-State: APjAAAXZfvfBzH9EdQ3VDgQavVtVsf97fVB3kEZCoOXLUOY+7Guu3Z5C pITK/52Rs5GrtSotc9if/zAFkg== X-Received: by 2002:a17:902:1602:: with SMTP id g2mr6499886plg.325.1556837666467; Thu, 02 May 2019 15:54:26 -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.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 15:54:25 -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 3/5] ARM: dts: rockchip: Switch to builtin HDMI DDC bus on rk3288-veyron Date: Thu, 2 May 2019 15:53:34 -0700 Message-Id: <20190502225336.206885-3-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 Downstream Chrome OS kernels use the builtin DDC bus from dw_hdmi on veyron. This is the only way to get them to negotiate HDCP. Although HDCP isn't currently all supported upstream, it still seems like it makes sense to use dw_hdmi's builtin I2C. Maybe eventually we can get HDCP negotiation working. Signed-off-by: Douglas Anderson --- arch/arm/boot/dts/rk3288-veyron.dtsi | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 1252522392c7..e1bee663d2c5 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -163,7 +163,8 @@ }; &hdmi { - ddc-i2c-bus = <&i2c5>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_ddc>; status = "okay"; }; @@ -334,14 +335,6 @@ i2c-scl-rising-time-ns = <300>; /* 225ns measured */ }; -&i2c5 { - status = "okay"; - - clock-frequency = <100000>; - i2c-scl-falling-time-ns = <300>; - i2c-scl-rising-time-ns = <1000>; -}; - &io_domains { status = "okay"; -- 2.21.0.1020.gf2820cf01a-goog