Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9167626imu; Sat, 29 Dec 2018 11:58:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN728pRAzj0G9F3bgou0AlIbIzKiERo/l9pC4PQGtrvoogamMIJt5nizzWjKAZqWBvpOHipA X-Received: by 2002:a63:1258:: with SMTP id 24mr2581290pgs.114.1546113495394; Sat, 29 Dec 2018 11:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546113495; cv=none; d=google.com; s=arc-20160816; b=Ncnns6KRtgPjzVZTqRRy/3DcMuFc69AJEr8NMaGuK55crhs+BvfoEaCv7OHC1qFBlU zGqDu/SWUlYjvI4a4n+lBD3p6rWHWdAkZZZTLCShyqLASjXjDaConTeCr/k3zckGt8T9 IGTIx6Qsbm7c5YgDxjIKhZFyb7whpsOxqiHnaeI0V8q71ShCWh7qoOx1XM7LjeNZWL0n J5EVP2cVhuXeeEmzijUtDRxlmYj2FvrPMhif6SlkyC4qKQPt/hJVRNsYp7oJ+bbs6QPZ nIjuBtKXB2wPNRIlDQfYo5FDY6lRlXr4Q3XmCIGlNvWvNL0Cgci9auiKwslXmSU8WBmO lrrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ohQaTv2J9kKKkZzf1BMm6V+1alRU++HuBiNVjD/Tdc8=; b=yxQ1lkKBP60uDVwxfDMZyIxKby5GSv/hUPHMRIppA4HZQHEI+LunEjPYfXcNh71YuW ewIUTHDfpaolT+ziCbtf2ecfyTUZxizeSYcITt8HrlkAH2IxZVJj3llpFwC9kguT+xdc Y7vxYatTfFsMQsUuIGwr4wJmVee8bM777KZ/cfSSWppyh24hec4oY0olUUsLZ8xxvnlM CDItMcp6FXmZQ1nWaW4DJ/oEvrAAi1hYs2HWyv/QZN3ohLGpTQgg2nYhaAjxRdPvMOL2 a2ErGY1AYF7LAhzsESwkAhgZLi+rRzXdrHn7HT8WNp+VRpYrQnBWM/XO+0rgkiZ7qCgK R5Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lROcxNZt; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si25785691pln.425.2018.12.29.11.57.59; Sat, 29 Dec 2018 11:58:15 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=lROcxNZt; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726872AbeL2NeE (ORCPT + 99 others); Sat, 29 Dec 2018 08:34:04 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:33636 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbeL2Ndm (ORCPT ); Sat, 29 Dec 2018 08:33:42 -0500 Received: by mail-ed1-f68.google.com with SMTP id p6so19513872eds.0; Sat, 29 Dec 2018 05:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ohQaTv2J9kKKkZzf1BMm6V+1alRU++HuBiNVjD/Tdc8=; b=lROcxNZtyZz0YqrsCbaYhuDDYoGcZtzQ5YVmgJ28QLNus2d5lKpfUlKr8dLNUKa2RY rUoHV9cJfN3s5z5SmmwIrk+shjN6sLo+zzSh324y7Wrpk4oVvOsJchKWn0AkKHI0dDsr zOOXGRf+dkBmbRyW+Ba86F/muGL6bBGkEScm+f4tZnr4evTcqXZbxBOzXUdFkwGkaHgW yN9o2+WexfsDhYSXcLhOPDkoXaAOe2tBseE48zy4BF22S80/900W/CRLHrF7PxiQ8OBt FYRgplwlBv7VqI0v2Gj/mgFB2a1837qBzwQUUoEFebEevMJ41IoQu1zOup8JeiG7gAMw 4kMA== 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; bh=ohQaTv2J9kKKkZzf1BMm6V+1alRU++HuBiNVjD/Tdc8=; b=gZmsfRG9wGwLuSjIZfG2paiGtCe9ihD1IG5ClMVii1QP0Ry3FoVGRp0QeZkh533PK0 CRgz1ecjEU3WfleTQJnhd/aVborYkFlO0Bzs86RXTQoHiuCE+2TwRFW5pgpI70+7OljX JdLAaO8NRwIXoG1xamg3+05a3JvURGqQP8B7sWSR3KstPYa6AYrBqtYE9y/GteTVEYs5 GHYJdZcCRrau/spyxDf9447jnnwTzDFdEAY8/y9drmosj9/Msv5q7r/VncSoVwVMe/JW c+MZFp7fb/XQbZaWc83j7+p7ora6Zt+SBV7Slp3CZqJjMaL69+t+trkPEW0h8ZRnb0vV NZdw== X-Gm-Message-State: AA+aEWZ4Q08vavGgPUD7odEltihePwUAkq7qIOJICV+q6i7qTAneG/5L PaN0roEceTErUvz4h7HzcZkO/6Iv X-Received: by 2002:a50:b5c6:: with SMTP id a64mr26354856ede.112.1546090420207; Sat, 29 Dec 2018 05:33:40 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id d7-v6sm8023063ejx.68.2018.12.29.05.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Dec 2018 05:33:39 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: hjc@rock-chips.com, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 6/7] ARM: dts: rockchip: add rk3066 hdmi nodes Date: Sat, 29 Dec 2018 14:33:17 +0100 Message-Id: <20181229133318.18128-7-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181229133318.18128-1-jbx6244@gmail.com> References: <20181229133318.18128-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zheng Yang This patch adds the hdmi nodes to rk3066. Signed-off-by: Zheng Yang Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 653127a37..f95ce9881 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -80,6 +80,10 @@ vop0_out: port { #address-cells = <1>; #size-cells = <0>; + vop0_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vop0>; + }; }; }; @@ -101,6 +105,36 @@ vop1_out: port { #address-cells = <1>; #size-cells = <0>; + vop1_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_vop1>; + }; + }; + }; + + hdmi: hdmi@10116000 { + compatible = "rockchip,rk3066-hdmi"; + reg = <0x10116000 0x2000>; + interrupts = ; + clocks = <&cru HCLK_HDMI>; + clock-names = "hclk"; + power-domains = <&power RK3066_PD_VIO>; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>; + status = "disabled"; + + hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + hdmi_in_vop0: endpoint@0 { + reg = <0>; + remote-endpoint = <&vop0_out_hdmi>; + }; + hdmi_in_vop1: endpoint@1 { + reg = <1>; + remote-endpoint = <&vop1_out_hdmi>; + }; }; }; @@ -415,6 +449,16 @@ }; }; + hdmi { + hdmi_hpd: hdmi-hpd { + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_default>; + }; + hdmii2c_xfer: hdmii2c-xfer { + rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>, + <0 RK_PA2 1 &pcfg_pull_none>; + }; + }; + pwm0 { pwm0_out: pwm0-out { rockchip,pins = ; -- 2.11.0