From patchwork Tue Oct 10 13:15:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mehdi Djait X-Patchwork-Id: 731733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA844CD80CD for ; Tue, 10 Oct 2023 13:15:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232073AbjJJNP1 (ORCPT ); Tue, 10 Oct 2023 09:15:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232029AbjJJNPY (ORCPT ); Tue, 10 Oct 2023 09:15:24 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEC1C6; Tue, 10 Oct 2023 06:15:22 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5A1EE60011; Tue, 10 Oct 2023 13:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696943721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5U2Vlzghfoo774zsU4ZxMClCDoCsWFp/EPSf+mUw5k4=; b=UJJa9QrqKBM5NanrUl5aH4Kr/HzvZeuv2Z6kAU5cuVYtX/lINlw9jS7gRkTTlKCmz+N+gW 9bD/PnT7l/7EXc17Gx9PAHTtrlq7uLnd+LfPbQfHH9VP3jrzj4WFI7fWK1ogOv3gSONIcc 2NY3t+MTAQfJEmtXLcca84OEPZJKCgqcYCtQxtO+fxTnwnXGsi9tMjxezCYj+hF045nGNH Vd0CU2EFBQvF5dZwjhGudCQWJWIoUjXomL7xmAUmVp5VLQyNeFHYhc1JMUCxp1WFoQ4Yoj HFRjabeYbE0DX1T11SL0Oq7jeUuQI9fpnG/AGN7k6kGEU6fGqmEqLgbYRWUegg== From: Mehdi Djait To: mchehab@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, ezequiel@vanguardiasur.com.ar Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, alexandre.belloni@bootlin.com, maxime.chevallier@bootlin.com, paul.kocialkowski@bootlin.com, Mehdi Djait Subject: [PATCH v7 3/3] arm64: dts: rockchip: Add the camera interface Date: Tue, 10 Oct 2023 15:15:06 +0200 Message-ID: <9bc15dee2d2e0f66b98a8aff7adacc9b22dc845c.1696943295.git.mehdi.djait@bootlin.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-GND-Sasl: mehdi.djait@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The PX30 has a camera interface, supporting CSI2 and BT656 modes. Add a DT description for this interface. Signed-off-by: Mehdi Djait --- 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 42ce78beb413..7aaa88a15d07 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1281,6 +1281,18 @@ isp_mmu: iommu@ff4a8000 { #iommu-cells = <0>; }; + vip: vip@ff490000 { + compatible = "rockchip,px30-vip"; + reg = <0x0 0xff490000 0x0 0x200>; + interrupts = ; + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>; + clock-names = "aclk", "hclk", "pclk"; + 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 = "rockchip,px30-qos", "syscon"; reg = <0x0 0xff518000 0x0 0x20>;