Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1633908ybt; Thu, 2 Jul 2020 09:57:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhd2CUaKC0T+GG0Rue2EmusvEc2vzgMo3fdd/tHYxMU+AVeiW+ED8v3SSIXztGJYDFEMYp X-Received: by 2002:a17:906:c44c:: with SMTP id ck12mr29446595ejb.145.1593709077246; Thu, 02 Jul 2020 09:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593709077; cv=none; d=google.com; s=arc-20160816; b=D7hPQGgOuUUS0xcHKP2MV4SxC1XrRg8i+hEWHp0rudRTCSzSNZ9752C9sLl5aqJptD TgFd4P0niVgoK0r7qvmA+/yRwcu5n8Y8ujDqwR2/1X0uAz2rRlIVsgHwTh+RkJ1LB95P +WXs8gsNuFkUFsXOn4F9lHzYHPVVdakxn6JOFahXcA+ZId/GcGdH6cpHyn1b37h3kUW5 ZBHQAyS9G7T7KOJ1jGAeZ/YVEmZZT6srSky1YFl6FCJlloC7gJcxPVFe8IJkWLvYl2Dx 7pHm4Jz8avyuyltA5oS1a+wbZntPPdpvuxAubpJeGqrmVvhZPr0eZ6F0oKwQkU5Oz4Hk jV8Q== 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=bRC6H9GAO03hjUbahDZA71O6t6qMNfpXQeFY9ME5H6E=; b=IlLyU87CV5rM7dQBVym/4cCTUz2+h7FeTgCiclm/3jmxYJ1/pC8dcMJ0Azb0EPT6N/ D1vxDvAnAtlKlT6iJkc1Uxx3E18U5qjOMdhP6Gc1bFzBTEhzH53DY9zZxaH5CmuEjYTH BRUTZJQMzpOaKMvwO41mSilrrdf6IJ2zyKgrwuiBDyK36Q8r+enK0BEme1uMQwvlLn4q jEsvPdrgB3YbOgotaGp1uKqJ1VtH9ubcHMY6KoVOwWVFWk0JZckJCvs4xlL0jB6bwri+ FZ3cugPHV2+igZLlbNGMFy6gTLzpriE5tYOcsw4bHL0PpR5Ee2Onzl3ul7zlglIDkfGm WWUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id p7si6132501ejo.392.2020.07.02.09.57.34; Thu, 02 Jul 2020 09:57:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727827AbgGBQzF (ORCPT + 99 others); Thu, 2 Jul 2020 12:55:05 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60958 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgGBQzE (ORCPT ); Thu, 2 Jul 2020 12:55:04 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 220CF2A6047 From: Helen Koike To: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, robh+dt@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, kernel@collabora.com, dafna.hirschfeld@collabora.com, ezequiel@collabora.com, mark.rutland@arm.com, karthik.poduval@gmail.com, jbx6244@gmail.com, kishon@ti.com, tfiga@chromium.org, eddie.cai.linux@gmail.com, zhengsq@rock-chips.com Subject: [PATCH v3 8/9] arm64: dts: rockchip: add isp0 node for rk3399 Date: Thu, 2 Jul 2020 13:54:09 -0300 Message-Id: <20200702165410.2583375-9-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200702165410.2583375-1-helen.koike@collabora.com> References: <20200702165410.2583375-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 has two ISPs, but only isp0 was tested. Add isp0 node in rk3399 dtsi Verified with: make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yaml Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen Signed-off-by: Helen Koike --- V3: - clean up clocks V2: - re-order power-domains property V1: This patch was originally part of this patchset: https://patchwork.kernel.org/patch/10267431/ The only difference is: - add phy properties - add ports --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2581e9cc7a1de..a27c3ccf4bd08 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1710,6 +1710,33 @@ vopb_mmu: iommu@ff903f00 { status = "disabled"; }; + isp0: isp0@ff910000 { + compatible = "rockchip,rk3399-cif-isp"; + reg = <0x0 0xff910000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_ISP0>, + <&cru ACLK_ISP0_WRAPPER>, + <&cru HCLK_ISP0_WRAPPER>; + clock-names = "clk_isp", + "aclk_isp_wrap", + "hclk_isp_wrap"; + iommus = <&isp0_mmu>; + phys = <&mipi_dphy_rx0>; + phy-names = "dphy"; + power-domains = <&power RK3399_PD_ISP0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; -- 2.26.0