From patchwork Wed Nov 15 07:31:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 10058939 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 366BA6019D for ; Wed, 15 Nov 2017 07:32:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27D9D299BB for ; Wed, 15 Nov 2017 07:32:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B3DB29DCF; Wed, 15 Nov 2017 07:32:57 +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=ham 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 AB0FE299BB for ; Wed, 15 Nov 2017 07:32:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755576AbdKOHcy (ORCPT ); Wed, 15 Nov 2017 02:32:54 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:46392 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753470AbdKOHb5 (ORCPT ); Wed, 15 Nov 2017 02:31:57 -0500 Received: by mail-pg0-f65.google.com with SMTP id t10so16371070pgo.3; Tue, 14 Nov 2017 23:31:57 -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=nD9mp48YY+237l9jdv0sBdVjS3VhiFmtLqG+pP+Fr3s=; b=KFsJPLFay3fkLnCfKfGemhBMoz42jk7OJ4G52hAHIcLieQRV4v/oBTQhN1ejylT2p7 U+brxO9o73JApVOuHfDErXIj5pPaHGSWRL5JkyYZ3WhhB0OdJfSAA6SdHyLlznQBeMdb bM6RlS7XaQyCrCQkeHp+R3rgjYZichkYuoK2+22RhG4qHPlwoAnLLNpEC29j0UjAXXa8 Po3iH0JVaSEQsrzwwfzwc9UijZ6yof5o5IkJIg06feeKjDYHe959DxDgNLBiu2qpP7zW eZzhY2qZ4bM/i6HNHk18lMABECfMaXGNP9h+EHEDpvAq3mMrgxJT3h/wUYzhty35ihpf fSgQ== X-Gm-Message-State: AJaThX6bVcE79rOgYn7TubTKx3tDVTuCv3glVXuKGxaibIfH3Mm9gvYz MDV0kDF1rANEKbeBec83ejs= X-Google-Smtp-Source: AGs4zMZ48yazlc+0JIj5i48GovX+haWs5+V8wz9EzCGbMtJZmxNFcvdHJ9aRJ8Jwt7aFNedRILPZ/Q== X-Received: by 10.99.106.67 with SMTP id f64mr14386262pgc.162.1510731117227; Tue, 14 Nov 2017 23:31:57 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Nov 2017 23:31:56 -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 5/5] ARM: dts: rockchip: add isp node for rk3288 Date: Wed, 15 Nov 2017 15:31:32 +0800 Message-Id: <20171115073132.30123-5-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: Jacob Chen rk3288 have a Embedded 13M ISP and MIPI-CSI2 interface. Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 60658c5c9a48..f9a81137146d 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -962,6 +962,30 @@ status = "disabled"; }; + isp: isp@ff910000 { + compatible = "rockchip,rk3288-cif-isp"; + reg = <0x0 0xff910000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_ISP>, <&cru ACLK_ISP>, + <&cru HCLK_ISP>, <&cru PCLK_ISP_IN>, + <&cru SCLK_ISP_JPE>; + clock-names = "clk_isp", "aclk_isp", + "hclk_isp", "pclk_isp_in", + "sclk_isp_jpe"; + assigned-clocks = <&cru SCLK_ISP>; + assigned-clock-rates = <400000000>; + power-domains = <&power RK3288_PD_VIO>; + iommus = <&isp_mmu>; + status = "disabled"; + isp_mipi_phy_rx0: isp-mipi-phy-rx0 { + compatible = "rockchip,rk3288-mipi-dphy"; + rockchip,grf = <&grf>; + clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_MIPI_CSI>; + clock-names = "dphy-ref", "pclk"; + status = "disabled"; + }; + }; + isp_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;