Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1153203ybb; Wed, 1 Apr 2020 17:05:13 -0700 (PDT) X-Google-Smtp-Source: APiQypK7JKygDn3FTwVMmvHuIZ7qFS4Nfi6S7+/lvqDW016heV6Gf46rEreX8U94pxyTN0lIuqmf X-Received: by 2002:a9d:a68:: with SMTP id 95mr317693otg.87.1585785913655; Wed, 01 Apr 2020 17:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585785913; cv=none; d=google.com; s=arc-20160816; b=RlKWDJ4kKMMZsd3COd2NYOIgth4F6udlu6VpVBwSvY4LKZ5Eit6LRIeGd1aHKm0NvC M9uDfkRz3pH4IMncXx5wSXzyxUESCpzUuC2cCrFo+eFPE4dxWLuh/JJo3FqxMYPs/CZk uv879UH5+vJ6G6q66UG7odyGOzBA+MDDviH2UD7a1TIdIS8+6UkKR8u5ULStDxt7bViT lwrKSBnYxmQWMV86+9XmAoaFgxEPCuLAPB+72deU1RE4E5sa154p+YADJcVC+05RmJwW oemM4LmwkawkeliBmH7/zzoAPNSvCuUM0WZSWMi2XvUDnSHXA3rWjaPnhlUX/haFSxyf ZkdQ== 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=xSa+YTGRGp+X3XRsGcwgu/oRSZULY+Mm9EpUykNJFrI=; b=StRMjiXXlsVupwsA9lu8RPpLreHXrQyH/vUGYTxjmAaBqvTNmvdB+yA+z1LQv1um1y AqlqoQdA71zRq8WZptPJwx5QVvFCB7Dr8+iOj7ri3UyQFBwfmp84EtgSX+vThh4k1UuL 08Vm/6LcprtHRXNTmQzeB4wbjkIEe+CP0AY+CUJTAUUJ7tAmP2xwXtxvvwu56+nbCQ4d PUUyO1r7o5feLdpnrd4XwKvI3bqEQT/MyxqHPeILwJYSDuXfCrbH3PUziP5f/GiwUSnP YvSgrcJ4XCNzqAyBSesDF7Z9V3Csix/CQcKYl+s4iaVuG9zkwSoyP3GCxVI0j72IXeXZ A62A== 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 m1si1506416ote.308.2020.04.01.17.05.00; Wed, 01 Apr 2020 17:05:13 -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 S2387536AbgDBADM (ORCPT + 99 others); Wed, 1 Apr 2020 20:03:12 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:35732 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732872AbgDBADL (ORCPT ); Wed, 1 Apr 2020 20:03:11 -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 28894297663; Thu, 2 Apr 2020 01:03:05 +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 Subject: [PATCH 4/4] arm64: dts: rockchip: add isp0 node for rk3399 Date: Wed, 1 Apr 2020 21:02:34 -0300 Message-Id: <20200402000234.226466-5-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200402000234.226466-1-helen.koike@collabora.com> References: <20200402000234.226466-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 --- 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 fc0295d2a65a1..815099a0cd0dd 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"; + 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 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; -- 2.26.0