Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp651604rwe; Fri, 26 Aug 2022 11:34:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR7LXeKFgXh9ATeE4z2pWjNf1pgA+HvsCOd4MN8iDIwenbX0WCT6Mz0s4Auh+3OuBvb14YFX X-Received: by 2002:a17:90a:d484:b0:1fd:7c5b:8fdb with SMTP id s4-20020a17090ad48400b001fd7c5b8fdbmr1349423pju.151.1661538896968; Fri, 26 Aug 2022 11:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661538896; cv=none; d=google.com; s=arc-20160816; b=kJC/o3/Tdyzqd1OhnTh1oKVdz/C7cZk7zaAFn+GwxJ4ZMRI/OZ2mO5qHdVLwNliZIf Wx9qJi/Yq01BBwcqBRSJMPC7Z18xZrsb8m1ZVDB3roRQebjeEQlYSVmT4nVuvQlfCiMI orQc1QgJj0qHomu7QyxUxgirj3QSv30oJDei6NDbDzkx1vA4HY5b+63fEXmwcuqJuWUj eiAbcnsUnYzupCNG1CL0GvbeTMfeGMVRTbN5Z49B8+xbahd0D4Ld6bm9Il8kem3YXny7 /VbXFiY6l70zGWmQRQSTojxwaLUuniMFxjyveXz2T70ChScWG9vsSjXa0NzfECa0bF3y uIcw== 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=VuPWwHujNKuYn/4OYpuFanoJ3XOxhmOa8Fvjb8ZqIHg=; b=GqmfnEmEXvBimDv8k2X8hbsxwzvn9PhezyzWbajybLvkcSxlJiecMG841OtmDPlToJ 8ddNBrtq3FABcgCinhIcZRxrA5YgSNIbvgyZuU9RrXOYUbC42z1BzyrH8Y9RL5b/CMyu QNO0eWH9S69XQL3Hi7CgOIBFOzkizl/9fLCe/9ZYzEQq9s2e1NFTqmdJIXrg+zH5v1fb G7zbjSnoRf/SuQ039Y1XDWhUxFPnwqiHcd/5lG4P3xdtlBSHT+dpzkDJr02byl7OB1ds SaLci9dB/1x3U0rs2+vAXnBV3lFzDaZ+aQ2WUS1kvwzR5v4dbBlp5QhlvjDjWf+/WX4m kySQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VRR7SNxE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020aa788c5000000b00536f59ec245si2306568pff.161.2022.08.26.11.34.45; Fri, 26 Aug 2022 11:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VRR7SNxE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344694AbiHZS2r (ORCPT + 99 others); Fri, 26 Aug 2022 14:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343558AbiHZS2f (ORCPT ); Fri, 26 Aug 2022 14:28:35 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04859D51EE; Fri, 26 Aug 2022 11:28:33 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 59657100008; Fri, 26 Aug 2022 18:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661538512; 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=VuPWwHujNKuYn/4OYpuFanoJ3XOxhmOa8Fvjb8ZqIHg=; b=VRR7SNxEYegTyvNsp3gp3YwlVU+kYkIirzzh38dAFqQdgDlP1bhNPCnE5zZWtsIVUsBq+c tZpsVhJ8KknUUFipF85zNBhvWRY17DtQYPdwqpM9oJRzGJMFsORaEt5pumV817CUx/IO1F khDcE3yky9fOfFSB5lgcisMXw4xBT1GQB6TZTRs6eYBBtPYHRkK0nN44vnk15YubzyPe05 BAyoFBAAcmqbT45Z4dEYllHtZvN5wupbovj8xuIwLPsoxfXc2D51/wQ9Z1C4eKmUngNNAl 5XpDieJcotWklykC+Omfi03+yC+9v9LaMi0pL+SAkDMjj5Yb+xBn8yfCZ1pdKg== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michael Turquette , Stephen Boyd , Frank Rowand , Maxime Ripard , Laurent Pinchart , Thomas Petazzoni , Paul Kocialkowski Subject: [PATCH v5 5/6] ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node Date: Fri, 26 Aug 2022 20:28:02 +0200 Message-Id: <20220826182803.604563-6-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220826182803.604563-1-paul.kocialkowski@bootlin.com> References: <20220826182803.604563-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 MIPI CSI-2 is supported on the A83T with a dedicated controller that covers both the protocol and D-PHY. It can be connected to the CSI interface as a V4L2 subdev through the fwnode graph. This is not done by default since connecting the bridge without a subdev attached to it will cause a failure on the CSI driver. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-a83t.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 82fdb04122ca..ecf9f3b2c0c0 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -1064,6 +1064,32 @@ csi: camera@1cb0000 { status = "disabled"; }; + mipi_csi2: csi@1cb1000 { + compatible = "allwinner,sun8i-a83t-mipi-csi2"; + reg = <0x01cb1000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI_SCLK>, + <&ccu CLK_MIPI_CSI>, + <&ccu CLK_CSI_MISC>; + clock-names = "bus", "mod", "mipi", "misc"; + resets = <&ccu RST_BUS_CSI>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mipi_csi2_in: port@0 { + reg = <0>; + }; + + mipi_csi2_out: port@1 { + reg = <1>; + }; + }; + }; + hdmi: hdmi@1ee0000 { compatible = "allwinner,sun8i-a83t-dw-hdmi"; reg = <0x01ee0000 0x10000>; -- 2.37.1