From patchwork Thu Mar 8 09:48:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 10267431 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 877BC602C8 for ; Thu, 8 Mar 2018 09:51:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7933629813 for ; Thu, 8 Mar 2018 09:51:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B5742983D; Thu, 8 Mar 2018 09:51:29 +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 17B9729813 for ; Thu, 8 Mar 2018 09:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966211AbeCHJvM (ORCPT ); Thu, 8 Mar 2018 04:51:12 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37460 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965827AbeCHJtw (ORCPT ); Thu, 8 Mar 2018 04:49:52 -0500 Received: by mail-pg0-f65.google.com with SMTP id y26so2031076pgv.4; Thu, 08 Mar 2018 01:49:52 -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=DgDWAqpoMPPfoEqCpwx9iS/hy0VmD9SPMAnBOvsyCPI=; b=FPR8+21DQGfSVvVoZFYKgRx8O0FoeyzFa6y5NLGamK3tAmKLXfO3GkKqdjZsqapBpw LaO8ltMxhEnmQo+Km7rZMxNxAtquCoXLn7huIAvAemucNGMwfEJW0Q/NAeTs+AMk73XC sKhMD7+FfNhWabK/OOLIAXGomAplaDJLTKyptLqlxEJXDNSWvfF0c1SR+dX5cs7mbPzw IDJ58IQXm7ewMuNDuYZ7oIO+q6krzAhcyt32RARlY6QCI9Atoa1OvKk+urLk2Nwn0tbL zDH0ZwnjPmtc0CvjyZbLw2Xi1rqRWJtMBfHJjRVgMAhbIUjriSYtxphmHOXQPOgs0mXn G4xg== X-Gm-Message-State: APf1xPBedMOn2VpWGYu9Xm742xB489AQTG3/sFu8TYEsCzo5AZrcDh/H jBzpTaLZBR1NUDkf9+yyXpl2Vw== X-Google-Smtp-Source: AG47ELvtrvnJEimYFeHClR0SZL61Mc9mkL7M7vex73VzsiPZCldMlXhA1+UD+UvPZJihYgL4DJ1LrA== X-Received: by 10.98.150.82 with SMTP id c79mr25675297pfe.88.1520502591428; Thu, 08 Mar 2018 01:49:51 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id k66sm40411663pfb.123.2018.03.08.01.49.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 01:49:50 -0800 (PST) From: Jacob Chen To: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mchehab@kernel.org, linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, tfiga@chromium.org, zhengsq@rock-chips.com, laurent.pinchart@ideasonboard.com, zyc@rock-chips.com, eddie.cai.linux@gmail.com, jeffy.chen@rock-chips.com, devicetree@vger.kernel.org, heiko@sntech.de, Jacob Chen Subject: [PATCH v6 15/17] arm64: dts: rockchip: add isp0 node for rk3399 Date: Thu, 8 Mar 2018 17:48:05 +0800 Message-Id: <20180308094807.9443-16-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308094807.9443-1-jacob-chen@iotwrt.com> References: <20180308094807.9443-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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2605118d4b4c..14ed016f2fdd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1614,6 +1614,21 @@ 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"; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;