Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4860694imb; Thu, 7 Mar 2019 02:12:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzItP2VahK2jAOhE+8vFKQYGvHYzilykIAbo7JYHeO3ri1vbMRqkjgnEczQSjq5yJRQuUIg X-Received: by 2002:a62:6d81:: with SMTP id i123mr11899442pfc.235.1551953530425; Thu, 07 Mar 2019 02:12:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551953530; cv=none; d=google.com; s=arc-20160816; b=ZfAx3Xbg9PLourOwkyINg6A9BchMpZPkh5nLVPBO3gKGWftLjFqbYNREhmr/bUa20I k2x2ntoHdi5ADPAOgNBjxySjM2LrZcbwTsawzaJ4LFnu5DLV9TNQdunYLw4TcBabfmW5 86liHgDR0CDpXNKvaaBuuAZXQlBhImO4oRXvW57yCVPtW1+Y74tF30YJiWj5C19nwbLk gocw2LOHeG+FdSrmV7ZP9R5UPEWUFOQgY9EZLsiC9RHpBe7NLXHL+TRl86nwRyqKLtbH 5TKOTQoIVWQx3NlRdket4Cap+4a5o6E4eMH1AOAQZfB0R1E5iFhc/XxR7qfP9xMPrCjz mTLA== 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; bh=2a89U/k211lEYfpyQ3Dp/NeD0ZoW6dn0xW38GaY9MFg=; b=LfBMB/zgNAWSbQN5adFVJCEWp+RktWVTQG8DE2B+KTenYg3DeGCQ2g2zZIRCMjdtKY 8GiPForD4BpvyujYrh5kJk6o8Ie7NcQr1/3qyEOo3OivRdS9/Mz1SlFdUg28nOQcTCzv 291+95hFhLoNeJOdIOEIDO428TK91XhdI2K2WcqnyN3gMChn6NyOTzVVutp0skf43Q1y CytohKLKJtiFUmutzUNzn6Nhix2nTweXujDHP3gcmNxen0pwSDPjFAec+ilE+nU4fuXh dj8xWTbFgjiLAzgt6iv1pzpLJ9ca5jkmXgHB4jbjYe8KNVusRWs5xT6Vpm8nVx4ppCiW PLfA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10si3358025pgi.95.2019.03.07.02.11.55; Thu, 07 Mar 2019 02:12:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbfCGKKE (ORCPT + 99 others); Thu, 7 Mar 2019 05:10:04 -0500 Received: from regular1.263xmail.com ([211.150.99.138]:39494 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfCGKKD (ORCPT ); Thu, 7 Mar 2019 05:10:03 -0500 Received: from randy.li?rock-chips.com (unknown [192.168.167.139]) by regular1.263xmail.com (Postfix) with ESMTP id 9929A29F; Thu, 7 Mar 2019 18:03:33 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from randy-pc.lan (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P17008T140071111993088S1551952999924990_; Thu, 07 Mar 2019 18:03:32 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <2570fe3db80530bcfee662caed67e8d4> X-RL-SENDER: randy.li@rock-chips.com X-SENDER: randy.li@rock-chips.com X-LOGIN-NAME: randy.li@rock-chips.com X-FST-TO: linux-media@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Randy Li To: linux-media@vger.kernel.org Cc: Randy Li , hverkuil@xs4all.nl, maxime.ripard@bootlin.com, joro@8bytes.org, linux-kernel@vger.kernel.org, jernej.skrabec@gmail.com, nicolas@ndufresne.ca, paul.kocialkowski@bootlin.com, linux-rockchip@lists.infradead.org, thomas.petazzoni@bootlin.com, mchehab@kernel.org, ezequiel@collabora.com, linux-arm-kernel@lists.infradead.org, posciak@chromium.org, groeck@chromium.org Subject: [PATCH v2 1/6] arm64: dts: rockchip: add power domain to iommu Date: Thu, 7 Mar 2019 18:03:11 +0800 Message-Id: <20190307100316.925-2-randy.li@rock-chips.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307100316.925-1-randy.li@rock-chips.com> References: <20190307100316.925-1-randy.li@rock-chips.com> 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 From: Randy Li Signed-off-by: Randy Li --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 ++++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 84f14b132e8f..117d02e21932 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -581,6 +581,7 @@ clocks = <&cru ACLK_H265>, <&cru PCLK_H265>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3328_PD_HEVC>; status = "disabled"; }; @@ -592,6 +593,7 @@ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3328_PD_HEVC>; status = "disabled"; }; @@ -603,6 +605,7 @@ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3328_PD_VPU>; status = "disabled"; }; @@ -614,6 +617,7 @@ clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3328_PD_VIDEO>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index db9d948c0b03..23d061ab6fa6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1263,6 +1263,7 @@ clock-names = "aclk", "iface"; #iommu-cells = <0>; power-domains = <&power RK3399_PD_VCODEC>; + status = "disabled"; }; vdec_mmu: iommu@ff660480 { @@ -1273,6 +1274,7 @@ clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3399_PD_VDU>; status = "disabled"; }; -- 2.20.1