Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1252186ybi; Wed, 3 Jul 2019 12:13:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTYZgQIHaLoZvdtMJ8bzvDzS1kO/OcDjbHcwNRdl/wpCq53GT74pCpz1AU3aEaLyh+d+A6 X-Received: by 2002:a17:902:8a8a:: with SMTP id p10mr45117341plo.88.1562181189157; Wed, 03 Jul 2019 12:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562181189; cv=none; d=google.com; s=arc-20160816; b=Pfuvy1soZtZ3ILPiSy9DqaQ+hMNOyt8Iy893ycs0yDpL1owshbfVSGuX3qq65SJLJj Ot2FOIWE1XWDt+yuTq2pgMMCtYZMzK0+QH6Z5i6kMnuhh1AK45Rp4zIY+If0Q+5tvhwV 1uTnI5NlGP3u6kJbwU9puNR1RLFc00qPl33pLkDBJzKo+g2mWDNyk2BI8Ux1SkmLRJFn ORnD+oUpgoQtfGCoz2DH/X/iBZNVD62NoihJaCf848E1axdB43V6A/GxRmpUkKLn8TV5 tR3c71RJ3P0fuG3Z/Pu6pqgyDLl3LodRxx26DzS56iv9vtPSPODjyS96+fTcLQAvFslb FDfQ== 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=NmRG7+85FGkzgyGXuGwz2LKaksoNDvwDnODu5NOqnqY=; b=FzlbFF5w7kXctwsM11fthXf8oQQJijRvA5Zca+TbTAOdepdaIQDOe0miwwIiU9wPZy vQk2ixyRzhC4xDqFUj8vyBO3qzUrKBYtZ+aPnqTIzTsoBjCCWOs5XxGwdFfi/z5JpO05 vyWWQXs+KjtTGrUJttcSkEWhNkXnbwdkw/mQ6m3Frc3j7L1rSXgYoxa6as4uwTaXfCWA 9hjSpi+sVjU/g2mJRa5YdesKE3GCEJd6FPn2EDIOYIYtqUEujwXlfF07o8gNnbNRWj95 w3BbWf/U3h0SaO7VWvF/9Vau8pjFb40X79q2tdVHqnQ92MAvxwddZbCVfcI3B+Kqmtbz 3VJA== 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 188si3439132pgd.404.2019.07.03.12.12.54; Wed, 03 Jul 2019 12:13:09 -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 S1727458AbfGCTKw (ORCPT + 99 others); Wed, 3 Jul 2019 15:10:52 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42532 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727392AbfGCTKu (ORCPT ); Wed, 3 Jul 2019 15:10:50 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 38FBE28AB6A 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 , Christoph Muellner , Rob Herring , Mark Rutland , Marc Zyngier , Tony Xie Subject: [PATCH v7 12/14] arm64: dts: rockchip: add isp0 node for rk3399 Date: Wed, 3 Jul 2019 16:09:08 -0300 Message-Id: <20190703190910.32633-13-helen.koike@collabora.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190703190910.32633-1-helen.koike@collabora.com> References: <20190703190910.32633-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 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 153305e8c465..e7cf52e4b0ec 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1701,6 +1701,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.20.1