Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp128253rdg; Tue, 10 Oct 2023 06:15:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfP5AdGVPCVEXUnAxK58gTLElT4djRdlbzy2V5heAERrLq2Bb3K3MrT1v7nqgga0JPmpBb X-Received: by 2002:a05:6e02:184f:b0:349:3020:d103 with SMTP id b15-20020a056e02184f00b003493020d103mr22842444ilv.25.1696943742033; Tue, 10 Oct 2023 06:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696943741; cv=none; d=google.com; s=arc-20160816; b=ldFVHJGMknyCPf210CfyDgoMk3NZzfWGdHKFAmVcwFThjz1aq/AWJyXcF1cAG1vLCR 0m4DbHaH9VPXrUU9fVPt6NwHBRphmao//o/PD6ygB/Yv0TikZAZKKji7gdwTLDFNTRl+ BUoqB3qpQsXvq4bSpX4MEwUuOsdqQpnui96HOKhUMf9Gwc/jwmvb4s7jTmanJWDUmtvp HNjzQmvfq4srGJoFMwA+9aG4QpYtQW9/K7+thI0RQsNCjihsOiCaMP8C2+KS3pYJS76J d2zVF5okVQ4rgM5wTOeaxtQMlVhbZbVoYep2y3FN51GXkGK97GwVbeSqdInCPrcmSml0 wjDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5U2Vlzghfoo774zsU4ZxMClCDoCsWFp/EPSf+mUw5k4=; fh=/ps7i0a5eTmc6YnKJAsVAP2Hb/L4Lzk0k1UNSKUlUHs=; b=ALuMqTUft2nvOjJ//0ejM0e0auId0Erq9BHz1WVosM9MODyohtkjcVNd/bfqy9NJQw vUivQa0JGXz/BFG2JD8Ha4kPjftpTIWOomhJUj0juLCGkYwaJuaIfnmTsvySqBv/XOUM 43d07WMFL6u9D/FJb4zsrEGpGQAQD3NQtogsPc8YAW/H6vc9loGL8pCoDEBoZSNBA+aR +3DEd0W4gpK0g4fB40fXXP5w+kv7fQ3xkuU/htuoXPL/AicVvS936e7cTlp1m+yyT8D+ vnmJwq/Or7cB7/nEnRUkwGARQ+fI/TQorieQ8SaVLq9z0P+ZpdoAGyW0fzVbfEA3tlaQ VnYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UJJa9Qrq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f4-20020a637544000000b00584d292d519si61098pgn.386.2023.10.10.06.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 06:15:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UJJa9Qrq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 851B2815A1E2; Tue, 10 Oct 2023 06:15:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232081AbjJJNP1 (ORCPT + 99 others); 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 Content-Transfer-Encoding: 8bit X-GND-Sasl: mehdi.djait@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 06:15:40 -0700 (PDT) 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>; -- 2.41.0