From patchwork Wed Nov 8 16:38:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mehdi Djait X-Patchwork-Id: 742485 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 C919CC4332F for ; Wed, 8 Nov 2023 16:39:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232409AbjKHQjU (ORCPT ); Wed, 8 Nov 2023 11:39:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232187AbjKHQjJ (ORCPT ); Wed, 8 Nov 2023 11:39:09 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D11A21FEF; Wed, 8 Nov 2023 08:39:06 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id DD42220009; Wed, 8 Nov 2023 16:39:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1699461545; 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=O38TB7h/YzOAey2sGfW287IT4IVL6B3BrPOAPkm8UIo=; b=V+Gj4tCz2OotO94/nfO+PTY03jVAVfgYrInWDpHBYMhfYcj7EdxHL3059WLbcYcI8gDY2W sHl3PT1xYIHp5ep17a6wr+IJ4MJvBGxAkOQMQ7PkXMQdufytaGyd2pK/2N3hY+VgHGXmcK pH5mxjIyJBjPqEYEmIZsMq5kp6XT1Q6cZ82AFByJNN8lo2vjIxaCJIkm5fbwgLdMbGLE1v 1YP4NlrKQvTFjtkvoeJcRJ6IPVuyPQXFokova8p6+0FFYryGHB+FG0L6XtMeOZaTFC6qb7 tzguKKquTrIrlzbjzOIEqey5ooTnMrrgci2dfkxcw4wO2IikK4ZQMtzmz4LZQw== 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 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, michael.riesch@wolfvision.net, Mehdi Djait Subject: [PATCH v10 3/3] arm64: dts: rockchip: Add the camera interface Date: Wed, 8 Nov 2023 17:38:58 +0100 Message-ID: <1636a0cdf39b711cead6f8815588fe720c44ed1d.1699460637.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 video capture component, supporting the BT.656 parallel interface. Add a DT description for it. Reviewed-by: Paul Kocialkowski 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..3a4e859e5a49 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>; }; + cif: video-capture@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>;