Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4992844ybi; Tue, 30 Jul 2019 11:47:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzpNl7EVPdM9BuLLK1fX3TOYauyFodqiD76PnNqTzMfvriryQOwnlDLFqST+Pik8c9Lj76 X-Received: by 2002:a63:f452:: with SMTP id p18mr84533089pgk.373.1564512432251; Tue, 30 Jul 2019 11:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564512432; cv=none; d=google.com; s=arc-20160816; b=uP8cC9Uu5UzIXVXYWFSkwdhDah3I9AveLvI/soKjjtFPrFknqyARpR3Hw1v3C3HFY4 4SpgXqwkpXlElZ7dr6rbLuDb94aH9KjVwY3OCmQJHqSy3fLRpWaf6OB40nmHaWK0AKfv KUPS4MDqM00GYhMJABPQs6WTJ67Bq+GpKF982mudnNiWHxtt65pUxWfFURRzPQK10dN+ HG6qqo/skkWZ/5l0OoBbKdKyDO9lG4rCG65o/fBitNG6vbQPJ8nxyfV3KMGZj6YkG6ls YNLEaBwn4nssM6MQBc9SS3fkqHMtw9WLRfADvIlY4qoFjsygdM9ZJChH9TbkdpTWCz5Q HKtA== 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=ho/QSw3WrhgYl0sxsCV+UcEWQPbkZC3jYsnJlbdiEP0=; b=VuWMgFJsuWNj8bW355pXsANurID9QnFTQvPdr9NnBImJuH3ZZ3p+x8hyMnd2ubZGGC jqF92fMXgy4uWWNb1aZcUcMbMceben2D0XwCY/6dk6ibvRUXcEXDm2WZyldVbCDbrC4p 0m1CD0Qgw4dzZwKF82dGZKCtL3BYhrZsvmZBwOmJCiD0BM5JRLK4u7t0ys+bU9eXl/nH PAU5FSdtDsuPazg1ENb5dGKOPSa5bOTfDH999J2Ys1edX0du8W0o85DfmdWclLlFIevC xC2rzRmX5CrYvRE6EDKojLAgy0l3DITPTToEKxuLFLDXcLWYoZcvOW96ZR62dH2YgPYE J1TA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4si27053846pgj.558.2019.07.30.11.46.57; Tue, 30 Jul 2019 11:47:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388457AbfG3Spv (ORCPT + 99 others); Tue, 30 Jul 2019 14:45:51 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42866 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387744AbfG3Spt (ORCPT ); Tue, 30 Jul 2019 14:45:49 -0400 Received: from floko.floko.floko (unknown [IPv6:2804:431:c7f1:ce2f:ec1:e6e6:2e9f:e76e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id F1A9128B920; Tue, 30 Jul 2019 19:45:38 +0100 (BST) From: Helen Koike To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, mchehab@kernel.org, heiko@sntech.de, jacob2.chen@rock-chips.com, jeffy.chen@rock-chips.com, zyc@rock-chips.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, kernel@collabora.com, ezequiel@collabora.com, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zhengsq@rock-chips.com, Helen Koike Subject: [PATCH v8 12/14] arm64: dts: rockchip: add isp0 node for rk3399 Date: Tue, 30 Jul 2019 15:42:54 -0300 Message-Id: <20190730184256.30338-13-helen.koike@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190730184256.30338-1-helen.koike@collabora.com> References: <20190730184256.30338-1-helen.koike@collabora.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: Shunqian Zheng rk3399 have two ISP, but we havn't test isp1, so just add isp0 at present. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen [update for upstream] Signed-off-by: Helen Koike --- Changes in v8: None Changes in v7: - add phy properties - add ports arch/arm64/boot/dts/rockchip/rk3399.dtsi | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index cede1ad81be2..776d2bd48c06 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1698,6 +1698,31 @@ status = "disabled"; }; + isp0: isp0@ff910000 { + compatible = "rockchip,rk3399-cif-isp"; + reg = <0x0 0xff910000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_ISP0>, + <&cru ACLK_ISP0>, <&cru ACLK_ISP0_WRAPPER>, + <&cru HCLK_ISP0>, <&cru HCLK_ISP0_WRAPPER>; + clock-names = "clk_isp", + "aclk_isp", "aclk_isp_wrap", + "hclk_isp", "hclk_isp_wrap"; + power-domains = <&power RK3399_PD_ISP0>; + iommus = <&isp0_mmu>; + phys = <&mipi_dphy_rx0>; + phy-names = "dphy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + }; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; -- 2.22.0