Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5560577rdb; Wed, 13 Dec 2023 12:12:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdELxBMT1wT30KI68IN4AmEHc+p+s4UsgyFM9h3AeGrITaZ4/e626j7OzUOk7r9LQEK+lX X-Received: by 2002:a05:6a21:3398:b0:18f:97c:614b with SMTP id yy24-20020a056a21339800b0018f097c614bmr11284548pzb.72.1702498325914; Wed, 13 Dec 2023 12:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702498325; cv=none; d=google.com; s=arc-20160816; b=kYeaY0TnG//MetRYbfGtY/A4PyZDnRGy+z3SQrlVS83zM1iuw2cEugQcwcif2JlKBL 6hGkImvQB+U1M45R4wSYMuKhaOWtwr8mxhK/XRSf8/ZLfeS2BFbnJ+gH+Fe31lpXZiyX rRuB17qQBU1f640RRX4KWihPlUE6+zYUDaGzKSkPjZmDEmbIXR5dtIVkIPCE9EGaHI1x UwAsWYzhA+7+Tp0ySf2EU7Nxuk9meeyLVUF4xBOgh+VE+OrJINHKhOx1oinhC27YrLun OXJmtXe+TasENXKnV+n1/fFOZQ4OsJhJDH/qDRrHkw91q4PYXoDJRi+wfC1VxoPjB0oo oxfw== 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=SHZJxjE/63ZPQdMM7w++i0H3AQcrKC5RCaCrTHY5Njs=; fh=u9IfX3H274d1n7wSx96qaHxgEsK4yuI/7iMYtrEFZFs=; b=0ap7B415+x4QINhXuPF6/qV1tj5fAApscP2i0v9RIsnPFw2etAvWxFfY6uCN8BktzM YODu6BEHekaH2vE5VlAwkhPUWTF6lrJjGd2qmIBSsi2Z0l7l1rrjige8lybCHikn6zfI 8pHuEEkLgyjVV+e9t2Ho2/EqMrB/CNpmbpuNSV03UWHBmQno3Cs18Kg4UQrkxDBL1l3L nzi8TsVMmkaIXjGJe4RoJVcY/yJ7/J6c21GCrOIk7/OUcuBd3ScZs+gycIUDhWJgWRz7 UZ5tg6YcMcbn4qn3RByQ9KXUDvS+JKDKbqrtPYRCzbwNJkFZSONi3GvBbu3GT6wn3NMZ nsCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZgsigAG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ck17-20020a056a02091100b005c668c65401si10461845pgb.480.2023.12.13.12.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 12:12:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZgsigAG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3CEDD80BEF26; Wed, 13 Dec 2023 12:12:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjLMULu (ORCPT + 99 others); Wed, 13 Dec 2023 15:11:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233702AbjLMULt (ORCPT ); Wed, 13 Dec 2023 15:11:49 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE359D0; Wed, 13 Dec 2023 12:11:55 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3331752d2b9so4845617f8f.3; Wed, 13 Dec 2023 12:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702498314; x=1703103114; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SHZJxjE/63ZPQdMM7w++i0H3AQcrKC5RCaCrTHY5Njs=; b=ZgsigAG8jfJ+kBydniVf67BWA9G+Bz+wa0c39/hKxY3cBjYEhYK61Fm3aDmXcGjziv W29YYxIl1iJBqGdCgnRwOuwKFLvn52Lyw6tSDqOLjsQPtGaPhhl/up0GzAkZHCYTZzns OGwUw8CWq/xL0hvxKWY1yInqPZvm5tg1vSPewcJjhlzVYmujiUPWMyoF+jTaHsR83Jd6 ADCtDa381Td0TdXurJZD3GGOfabXJluYgX2UzWcYzAK5H0yDyIidZ0NPQOawZwSpCtsy fbqz0AXlcq3dO9veM1ie8EgVUGN+ypYLGh89dLavTQCqcACh0sGoRHTEPxjeqXZw9Tvo zQfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702498314; x=1703103114; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SHZJxjE/63ZPQdMM7w++i0H3AQcrKC5RCaCrTHY5Njs=; b=VQiNahbCl2+9hUekMWVVIpSl6zRkKBFEhMWbls9p4wbXgB+56BYkum3BMN97OfL8ps X6ltJ4irwRlC5Sg94ZD3JoLRHB06BPnrLWZK9EeKXt5ncUHy7WuIVT60iiOb8NHxolfB gJ/lERWR0OzFpzUT56zFswqX1k62YJCfpAMTYXNn+H/2ZR8Vw/E7VkmYii+OJWomT/cT 0W8rZSUc2DzVaynvC85IdZl+RfkTBaO+QQ7yzICtR5gY7/I6LuQ/Z9JIVqPDlrv3hm0U /drkfUHxfVH0s+nm2ViBGbCzxQy899d4fxw097YsnNg/P8tzCkgJxO6E27LF1U+xarjl 32JA== X-Gm-Message-State: AOJu0YyRAIjlyld+36OBPjhaCoGBA0WVLlHpp2qfZvNz8uVr8pvisWe4 1EEMZrCTHC0aq4E1BmHq7r0KUiL/9jM= X-Received: by 2002:a5d:4c4e:0:b0:336:30d8:a75f with SMTP id n14-20020a5d4c4e000000b0033630d8a75fmr1969785wrt.136.1702498314064; Wed, 13 Dec 2023 12:11:54 -0800 (PST) Received: from archlinux.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id p10-20020a5d458a000000b00336463625c0sm100880wrq.51.2023.12.13.12.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 12:11:53 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Paul Kocialkowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: Re: [PATCH v7 5/7] ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node Date: Wed, 13 Dec 2023 21:11:52 +0100 Message-ID: <8310859.T7Z3S40VBb@archlinux> In-Reply-To: <20231122141426.329694-6-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> <20231122141426.329694-6-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 12:12:03 -0800 (PST) On Wednesday, November 22, 2023 3:14:23 PM CET Paul Kocialkowski wrote: > MIPI CSI-2 is supported on the A83T with a dedicated controller that > covers both the protocol and D-PHY. It is connected to the only CSI > receiver with a fwnode graph link. Note that the CSI receiver supports > both this MIPI CSI-2 source and a parallel source. > > An empty port with a label for the MIPI CSI-2 sensor input is also > defined for convenience. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Jernej Skrabec Best regards, Jernej > --- > arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi | 43 +++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi b/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi > index 94eb3bfc989e..b74c3f9e6598 100644 > --- a/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi > +++ b/arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi > @@ -1062,6 +1062,49 @@ csi: camera@1cb0000 { > clock-names = "bus", "mod", "ram"; > resets = <&ccu RST_BUS_CSI>; > status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@1 { > + reg = <1>; > + > + csi_in_mipi_csi2: endpoint { > + remote-endpoint = <&mipi_csi2_out_csi>; > + }; > + }; > + }; > + }; > + > + 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>; > + > + mipi_csi2_out_csi: endpoint { > + remote-endpoint = <&csi_in_mipi_csi2>; > + }; > + }; > + }; > }; > > hdmi: hdmi@1ee0000 { >