Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp648931ybb; Fri, 3 Apr 2020 09:18:07 -0700 (PDT) X-Google-Smtp-Source: APiQypIALoe2FR9kvATMTNjPLxjzMwb8lPNAMVPOytWRdyBjO2THNXHPr/dB8AIzaYKmZVldy5ol X-Received: by 2002:a9d:bf7:: with SMTP id 110mr7426648oth.259.1585930686814; Fri, 03 Apr 2020 09:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585930686; cv=none; d=google.com; s=arc-20160816; b=gyWZe+Pb7rgVOWguYii296vx77Z7SeVce6vpbqKnjgwuXEteQz8abBYEzcs/V3kggj MqOFPnaBXBGV7cS1Z6DRAHPDMmxsbiyJcDOPve5kQn5xIWHjTWwZ0EkfnawNH/FXaBmm ulFwMOdOIbGDYJwiaUX9hPZde4Tp3fEsggolcaBUohHNYiQ2ungA2U7mBtAKxvvARk6/ UMZFKbolKurSexPFEM9sNrH2jmzNh/eN6n2BrIGZuK0xeCN+44DsuYpwi6NMX83x306M lo4MaRBPfvxVcpN/MKlQgFnXfvGguiOafL/SOsH03qiClf67AQAY+E0AvJ3St7ZHIw8i DL6Q== 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=j0aT1P7ZHWFvRIseI0wZPzclYNs9dX07BA6K7oWfY0o=; b=OikrByPbbzDLtEOx3fBB5c5SJuOnfIp/a5zDWuC2/IMf1BrRBE/gJv9jhGTn65GSl3 l/7oncQFMud57KZdVB4fN8oPSYLg+99AqjwqQUgmAwV7aNOCkwU2eCLpamKVcwEW9bzj f1z8P9EcEOdqc5KCMZSR4sF7oak/OgPYyxqivVXe1K+Fxsc1SvdG/8Kz23j9Y5kS45q4 B5q/PRhq20eEw2vxojudYcKHLPLjo4w0K2RCv3lyQ6DTzqmegHJ7yAZGZGusLB5e8na/ dhcJKaIOf2nwQsNB83I8WD0yDZZXpqANpo+idtmf/fiDdX6G4A1Bec4w8m7a9Khb62vn EzOQ== 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 i204si3878841oif.245.2020.04.03.09.17.53; Fri, 03 Apr 2020 09:18:06 -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 S2404348AbgDCQQw (ORCPT + 99 others); Fri, 3 Apr 2020 12:16:52 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58122 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404035AbgDCQQv (ORCPT ); Fri, 3 Apr 2020 12:16:51 -0400 Received: from floko.floko.floko (unknown [IPv6:2804:431:e7cc:11ff:4f80:3de:e2b2:5c1d]) (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 53653298674; Fri, 3 Apr 2020 17:16:45 +0100 (BST) From: Helen Koike To: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, robh+dt@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, kernel@collabora.com, dafna.hirschfeld@collabora.com, ezequiel@collabora.com, mark.rutland@arm.com, karthik.poduval@gmail.com, jbx6244@gmail.com, kishon@ti.com Subject: [PATCH v2 9/9] arm64: dts: rockchip: add isp0 node for rk3399 Date: Fri, 3 Apr 2020 13:15:38 -0300 Message-Id: <20200403161538.1375908-10-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200403161538.1375908-1-helen.koike@collabora.com> References: <20200403161538.1375908-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 has two ISPs, but only ISP0 was tested at present. Add isp0 node in rk3399 dtsi Verified with: make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yaml Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen Signed-off-by: Helen Koike --- V2: - re-order power-domains property V1: This patch was originally part of this patchset: https://patchwork.kernel.org/patch/10267431/ The only difference is: - add phy properties - add ports --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 6b3380b10e596..b1d62a87c5616 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1718,6 +1718,33 @@ vopb_mmu: iommu@ff903f00 { 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"; + iommus = <&isp0_mmu>; + phys = <&mipi_dphy_rx0>; + phy-names = "dphy"; + power-domains = <&power RK3399_PD_ISP0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; -- 2.26.0