Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9167743imu; Sat, 29 Dec 2018 11:58:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/XsRakT42/S2gYEr7iJrK83ikGoWMFxkRmHqMEukaSP2ZQKlxKr2QbxDzQNDp+GwMtK3sZD X-Received: by 2002:a62:d701:: with SMTP id b1mr32085855pfh.34.1546113506077; Sat, 29 Dec 2018 11:58:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546113506; cv=none; d=google.com; s=arc-20160816; b=0TtJ44LjzXBvwnxVBed+6n/b5IZkQlYI3DBAltWhY91NL69wkxX4GBeknJ4VNUsc+c NJ6EnGE8PdnrOVP3F1DqrcVBsJ1OXJEmYO8qmOW/Xpp6ych2VGsL43cIaj62frlbVfUE bN2kZ7YOBHhZojiLTxpNLxxhX7YeZO0c1Yqs+jwoR2C2f1NeUC3N+Xc12wUVEGtXQ5vy +dNKUrWzRsMpoLfLyVeYTf/w8S52ghT9snUCeM0EvzGnjx5M3gRdyKTApMa875UBtLGt RQwXZY15+Vq7c7I4lmVKpJGdD1eDYacREs5Ik4vTuGGDDRJVGV4ATt3vCGxiTSrNNN20 cDrQ== 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=+VCBySQXhTipKQxLBqodKfMWCHahqpPnV/2FwaZKvSU=; b=U3ntWxTM78i8K2TNbj+0Kpdph5u5vC2sKwl+D/yO32uj1wLEeaVmLuy4V8PWG+Ic2k WxyD2Q54ZZdhEMLFaQkzuz+t9C92qHStTk6N4L9eKgPmZpD4xtNc2YYR9jLlhR9AHR8C P7EgfLLfW0sBqHMry+hPc/J7z4pa78Xncv7j//wJrmCqwRtR/oovJb9RKXUyvU0qlg8M c6V8a8awCXxHPyK4GEMe/AvNTf3840i9AL02dpbApPcLZd5+Z92pgKSrSXCWZA9IedIW c4mumpcQq7whELlisS1GaL63kCz7mfPD9qe4LpbgJJMs9tXdZP4aHduzbaALvOs78oTl cFQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VnJOrBNm; 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 126si13414657pff.77.2018.12.29.11.58.11; Sat, 29 Dec 2018 11:58:26 -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=VnJOrBNm; 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 S1726611AbeL2Ndo (ORCPT + 99 others); Sat, 29 Dec 2018 08:33:44 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35077 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbeL2Ndl (ORCPT ); Sat, 29 Dec 2018 08:33:41 -0500 Received: by mail-ed1-f65.google.com with SMTP id x30so19496843edx.2; Sat, 29 Dec 2018 05:33:40 -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=+VCBySQXhTipKQxLBqodKfMWCHahqpPnV/2FwaZKvSU=; b=VnJOrBNmue5O1PtnKiJd63+LT/iFauDAvwKw8er3zs8zahN67/i0CX17jsC0w1dRmq lT2D6DPEEs/OL6Fem9t5ic1LruQyXG7ABxEXAe41gstAzeFrtRwSmLH+akGaaMC0LJCe V+ZQIc0D2VsPoTLpBl3gdryCpdS7B0iFrsE3jB36ZsGxpf1+x2l4Oavz6TjfGQwRTbPu lrQ7NA63eVK5DmNnqDg/VsnMlsC30oeSLDn5qgdMYmej/wGq8Qo7M7OztCA3YpNl8QSi WQ1llXJrsmZOL/siYNlLDYcigWyESKkOPSCSy7qrV1wQFM8XKvfCzyOZB/4oxPiHHh/v qBKg== 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=+VCBySQXhTipKQxLBqodKfMWCHahqpPnV/2FwaZKvSU=; b=GoVujRqcKL9dPBNlMmiy+XCEyxyMQ1RESSHwQZsgANQO2CFv+1pAjVpybxLhAI+etM uRhL0Okxw09Ro2B6LUddZp6zsB781p4rFt2f7/9nfhTtLWnBFzvcbJangTOYpiOiMNIn GAOuIs+X3dJ4a5YjQGKhJTzVfXvJ7ayo1puN6LeZLR4wLzW+3ZwFb/axpGcZ43SGaARu wEG6xWvfrt9NfY/J2SKBIXGKYUQYVNRr32972WXJ1+bPV+bNFITezTT4Ej9heNxh06eL ZCYi9kMfaCQ/qNcDLgf+HCSw7BdMT6TtwsYqjleJcIXJIEH68/HdM3VQHwk9qJIA/wbQ B6rw== X-Gm-Message-State: AA+aEWagGHlWGr93C4QIdxxLR0kppO57C5a4clJ31aLtyErXMKXITIyN rYELOgaydst2x0HFXpBssT0= X-Received: by 2002:a05:6402:1286:: with SMTP id w6mr26493428edv.53.1546090419242; Sat, 29 Dec 2018 05:33:39 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Dec 2018 05:33:38 -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 5/7] ARM: dts: rockchip: add rk3066 vop display nodes Date: Sat, 29 Dec 2018 14:33:16 +0100 Message-Id: <20181229133318.18128-6-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: Mark Yao This patch adds the core display subsystem and vop nodes to rk3066. Signed-off-by: Mark Yao Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index b6b3a77da..653127a37 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -44,6 +44,11 @@ }; }; + display-subsystem { + compatible = "rockchip,display-subsystem"; + ports = <&vop0_out>, <&vop1_out>; + }; + sram: sram@10080000 { compatible = "mmio-sram"; reg = <0x10080000 0x10000>; @@ -57,6 +62,48 @@ }; }; + vop0: vop@1010c000 { + compatible = "rockchip,rk3066-vop"; + reg = <0x1010c000 0x19c>; + interrupts = ; + clocks = <&cru ACLK_LCDC0>, + <&cru DCLK_LCDC0>, + <&cru HCLK_LCDC0>; + clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + power-domains = <&power RK3066_PD_VIO>; + resets = <&cru SRST_LCDC0_AXI>, + <&cru SRST_LCDC0_AHB>, + <&cru SRST_LCDC0_DCLK>; + reset-names = "axi", "ahb", "dclk"; + status = "disabled"; + + vop0_out: port { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + + vop1: vop@1010e000 { + compatible = "rockchip,rk3066-vop"; + reg = <0x1010e000 0x19c>; + interrupts = ; + clocks = <&cru ACLK_LCDC1>, + <&cru DCLK_LCDC1>, + <&cru HCLK_LCDC1>; + clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + power-domains = <&power RK3066_PD_VIO>; + resets = <&cru SRST_LCDC1_AXI>, + <&cru SRST_LCDC1_AHB>, + <&cru SRST_LCDC1_DCLK>; + reset-names = "axi", "ahb", "dclk"; + status = "disabled"; + + vop1_out: port { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + i2s0: i2s@10118000 { compatible = "rockchip,rk3066-i2s"; reg = <0x10118000 0x2000>; -- 2.11.0