From patchwork Mon Mar 12 03:49:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shunqian Zheng X-Patchwork-Id: 10275385 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 73FBB60211 for ; Mon, 12 Mar 2018 03:49:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65627287E0 for ; Mon, 12 Mar 2018 03:49:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57D0628BBC; Mon, 12 Mar 2018 03:49:35 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8DE6528B9F for ; Mon, 12 Mar 2018 03:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hdyZok+sDZ/oXLEFdCJ2kMoV9WAykFJJaeDvajJVZOQ=; b=eSgq2Wyk/zruDiwpW0BLxU7lSo YJcrGj9ME1hdNhiwR3aWD6ImKjFNTvqX5g/q2tGbnqAnLIHyqNsEvGLGt3IiCOxoHKJhJa1LMEemT zGj9uZzWyl0ztjEn2YocstR87JhWtX4gc0VR2RLbL6388DNuoXAMWdkNDE6t3WSdDoDN5CxC8Sk/w xTDXZ05552pYr4hJb0IPecdQX/QRX09rJqGbbjr4z/gQwThOptSCJtanxgjlqb2liqW9fCeRSuYBi iFCSxmgTAOwPbagkP+D5Ox8soepzW1kHzxF1NkvK0Hc5g67Omq8hVmrclALaz9XQuXx0UN2ee2KPm iMkblgew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1evESp-0004fq-Vf; Mon, 12 Mar 2018 03:49:31 +0000 Received: from mail-pl0-f66.google.com ([209.85.160.66]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1evESm-0004ep-HM for linux-rockchip@lists.infradead.org; Mon, 12 Mar 2018 03:49:29 +0000 Received: by mail-pl0-f66.google.com with SMTP id f5-v6so1052850plj.13 for ; Sun, 11 Mar 2018 20:49:16 -0700 (PDT) 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=q3ByR9rnTfO8UqCpAg/IFieQFYv2rbWhj4NyaN2fG/Y=; b=T7nUqUfWYEFFHRwR2kvGNerz52ml4HUOlwv1r8Qgc3xkt5hFQPW6E+CaOVuyCQg+Nc ZeprwD28OulEhs5lOW5Sf3i8f3yG5OHArkaTBlSBV4AsYEUkDKhES0iygOy68mChhYOj 4PB8431WpKb6ISea1DWuKWWzSf3Pia4EFl1AVeP0VA1VfcaQo9HAgaCxtorunUMumy9/ sKa3U1ft7c3uW8GTRdb94JcKFez/BE2elWUphhYYtBRcJssjoAMndVP+Ma07shYWhFWU u4o8Tzkpf+uM5LfArGp4rLkFdxCryrWb1lQBDqODKmSVX9RPITNm0ImKdDzb1uuW8AYX Ocgw== X-Gm-Message-State: AElRT7HLRimSKdymlozwzNz/rLAbluqwTtiOA5D7J4bsCUwpN+gFkU2a Cy+AgAcEvR0Zw6VsMb3DoesgbQ== X-Google-Smtp-Source: AG47ELv3RFDUwRZQk6LKc2l93DLuq16sq2lwmoT3WvAeTBtOeq+0naThhbRCjm1J1TGFceQi532buQ== X-Received: by 2002:a17:902:6b82:: with SMTP id p2-v6mr6814253plk.326.1520826555627; Sun, 11 Mar 2018 20:49:15 -0700 (PDT) Received: from SHUNQIAN-W530.example.org ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id b72sm13965319pfl.21.2018.03.11.20.49.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Mar 2018 20:49:15 -0700 (PDT) From: Shunqian Zheng To: linux-rockchip@lists.infradead.org Subject: [PATCH v6-1,15/17] arm64: dts: rockchip: add isp0 node for rk3399 Date: Mon, 12 Mar 2018 11:49:07 +0800 Message-Id: <1520826547-24825-1-git-send-email-zhengsq@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20180308094807.9443-16-jacob-chen@iotwrt.com> References: <20180308094807.9443-16-jacob-chen@iotwrt.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180311_204928_582096_B6AB665C X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jacob Chen , Shunqian Zheng , linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2605118..5729786 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1614,6 +1614,24 @@ 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"; + assigned-clocks = <&cru SCLK_ISP0>, <&cru ACLK_ISP0>; + assigned-clock-rates = <500000000>, <400000000>; + + 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>;