From patchwork Wed Nov 15 07:31:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 10058937 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B0DE46019D for ; Wed, 15 Nov 2017 07:32:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3674299BB for ; Wed, 15 Nov 2017 07:32:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9810D29DCF; Wed, 15 Nov 2017 07:32:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53FFC299BB for ; Wed, 15 Nov 2017 07:32:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755746AbdKOHcZ (ORCPT ); Wed, 15 Nov 2017 02:32:25 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:45159 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750998AbdKOHby (ORCPT ); Wed, 15 Nov 2017 02:31:54 -0500 Received: by mail-pg0-f67.google.com with SMTP id l19so14828389pgo.2; Tue, 14 Nov 2017 23:31:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6QJuzoggho45N7oSTGZv2dKUiCNV5Nq62IKf6h8N4ls=; b=ObvSGtJQtLWlP9nXXzRSshMI/m6rWmNCgt2S3NjihFuO3LqOjuY9PacQL4VLOxamnX Y7Y5FPwso1KgOSYFU6H7B1rDvyKplrn7e+LmPAfL8Qfwi7gy27gqAPG3rjpZtMnYaGn8 NSCxl8r7sAqC+81nyahbIKGyUamM5vax429K9mDpXrUX+Pa3wBSYaX8UCenXxJIxKyjL VULKulULMnwPZ4nxJ2+MhQ+hZA3Ti+eM4aFkgGxkWpOXLSHYcKsyagdonK6JKw+VtNWx QVpyMbghkdJZHiMGmpGGPBbp0woL9LvjD8WmtydVxl0K90n9acZKKq2CYOsB2BmP5rln +Hxw== X-Gm-Message-State: AJaThX7/podot2n3l5NLevNDiCPkAhyeFqqmAHyNgi/HVMyZK1SfKYrI jP14JJ1Xqdg07HB3zVSiCexOLQ== X-Google-Smtp-Source: AGs4zMbLu9dgBH2rs7J5yZ25jkElUj6sW6AT+WWhs7jOErCyQotgjk+kZF42Nan9tbn0LpWTF+qixQ== X-Received: by 10.159.251.140 with SMTP id m12mr8650900pls.199.1510731113346; Tue, 14 Nov 2017 23:31:53 -0800 (PST) Received: from localhost.localdomain ([2401:fa00:1:fd00:692d:ab5f:79a7:543a]) by smtp.gmail.com with ESMTPSA id 140sm12609690pgd.85.2017.11.14.23.31.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Nov 2017 23:31:52 -0800 (PST) From: Jacob Chen To: linux-rockchip@lists.infradead.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, heiko@sntech.de, mchehab@kernel.org, laurent.pinchart+renesas@ideasonboard.com, hans.verkuil@cisco.com, tfiga@chromium.org, nicolas@ndufresne.ca, sakari.ailus@linux.intel.com, zhengsq@rock-chips.com, zyc@rock-chips.com, eddie.cai.linux@gmail.com, jeffy.chen@rock-chips.com, allon.huang@rock-chips.com, p.zabel@pengutronix.de, slongerbeam@gmail.com, linux@armlinux.org.uk, Jacob Chen Subject: [RFC PATCH 4/5] arm64: dts: rockchip: add isp0 node for rk3399 Date: Wed, 15 Nov 2017 15:31:31 +0800 Message-Id: <20171115073132.30123-4-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171115073132.30123-1-jacob-chen@iotwrt.com> References: <20171115073132.30123-1-jacob-chen@iotwrt.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index ab7629c5b856..f696e62d09dd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1577,6 +1577,32 @@ 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>; + status = "disabled"; + + isp_mipi_dphy_rx0: isp-mipi-dphy-rx0 { + compatible = "rockchip,rk3399-mipi-dphy"; + rockchip,grf = <&grf>; + clocks = <&cru SCLK_MIPIDPHY_REF>, + <&cru SCLK_DPHY_RX0_CFG>, + <&cru PCLK_VIO_GRF>; + clock-names = "dphy-ref", "dphy-cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + status = "disabled"; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;