Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp526479ybm; Fri, 29 May 2020 06:09:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlmVlwDiip6j6bg4cVurv17eGWZEV8BbK54dScuWkSd1JxO6hMeME1Woszx1ow8WvkOnNi X-Received: by 2002:a17:906:7e15:: with SMTP id e21mr7478302ejr.106.1590757760556; Fri, 29 May 2020 06:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590757760; cv=none; d=google.com; s=arc-20160816; b=vRKBTG8h2+OIag5H3MDLVLWpdlx6DGdRZeAaaj6VGxXs8exlMM/Y4XxQEAubDYvvOt KdvdHK5p7q1usTiXZRuVsbv69E6XCfc9Zy7JVIw4dsIaMRGP39JaphnTrEVhbBJE68U7 w/Rc8tkQdTAKFM2tydjhG9I/mvJgvUunyrepG9OooO64MUdukQNCRqpdnx/O7O17rg4f ad5KDNqrGWMRFB6P40YDWdyo9vOtqGLmjtCf/lcsSyKxyOoKgYPj6JY+DoDi4WnaTat3 F0EkzbnTWSjnNbfERoUW2zTpXUaBgYF1MNblSexmMP13ddp0t17Pl2ptcaowpsXmKNFA 6+CA== 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=VUqK+OkEVCzARN0P3gPTF5cVTvJZu+ycQRC+B3qzbaI=; b=V7VWnKsPGA4fqVxZEjzFKcug1mFnKMBgfPj/aoEkpharDsN3YS+bP+syU+lnCFQW07 IqNPAN6QQDG5CTyaD7sfRlvd37NicDuVWKmVmSVsqSnSuSb/A/0uNJGhtv+rwlgHvisl 2ROpFPOcRsCp5TwwduQD0PBZL51yzJEcbzdYiE5nm4gmNBKnJIfcCt7xlWlZ1Koj162b mn4i0XQOmB28xpAmmpgcom7QqNseB4oPa/ddmNJYshsEB4aOCECUpbQ99YXagOn2cyvG wwmsYhFpXuBqpDyyBbE1DvPmIn8sKUWc3ZbtcZ+IJdySZB/k9egUYNjDtUtC7+9y3Sjo +RvA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si5708156edl.432.2020.05.29.06.08.57; Fri, 29 May 2020 06:09:20 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbgE2NE0 (ORCPT + 99 others); Fri, 29 May 2020 09:04:26 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54075 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726955AbgE2NEZ (ORCPT ); Fri, 29 May 2020 09:04:25 -0400 X-Originating-IP: 86.250.147.67 Received: from pc-10.home (lfbn-tou-1-695-67.w86-250.abo.wanadoo.fr [86.250.147.67]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 01CB8C0004; Fri, 29 May 2020 13:04:21 +0000 (UTC) From: Maxime Chevallier To: Mauro Carvalho Chehab , Robin Murphy , Rob Herring , Mark Rutland , Heiko Stuebner , Hans Verkuil Cc: Maxime Chevallier , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Miquel Raynal , Paul Kocialkowski Subject: [PATCH v2 3/3] arm64: dts: rockchip: Add the camera interface description of the PX30 Date: Fri, 29 May 2020 15:04:05 +0200 Message-Id: <20200529130405.929429-4-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200529130405.929429-1-maxime.chevallier@bootlin.com> References: <20200529130405.929429-1-maxime.chevallier@bootlin.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 The PX30 has a camera interface, supporting CSI2, BT656 and Parallel modes. Add a DT description for this interface. Signed-off-by: Maxime Chevallier --- Changes since V1: - Updated the clock and reset names - Reordered the properties to have clocks and resets bundled together arch/arm64/boot/dts/rockchip/px30.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 9f84aaaf3fba..d895541b7216 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1140,6 +1140,18 @@ vopl_mmu: iommu@ff470f00 { status = "disabled"; }; + cif: cif@ff490000 { + compatible = "rockchip,px30-cif"; + reg = <0x0 0xff490000 0x0 0x200>; + interrupts = ; + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>, <&cru SCLK_CIF_OUT>; + clock-names = "aclk", "hclk", "pclkin"; + power-domains = <&power PX30_PD_VI>; + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>; + reset-names = "axi", "ahb", "pclkin"; + status = "disabled"; + }; + qos_gmac: qos@ff518000 { compatible = "syscon"; reg = <0x0 0xff518000 0x0 0x20>; -- 2.25.4