From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9EB2C433F5 for ; Sat, 11 Sep 2021 02:54:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE2F561041 for ; Sat, 11 Sep 2021 02:54:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235218AbhIKCzW (ORCPT ); Fri, 10 Sep 2021 22:55:22 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:39497 "EHLO mail-lf1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbhIKCzV (ORCPT ); Fri, 10 Sep 2021 22:55:21 -0400 Received: by mail-lf1-f43.google.com with SMTP id i25so4060745lfg.6; Fri, 10 Sep 2021 19:54:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=HrzUj2kOKfp3nelOA5Rh3JYBH3kW210KP3kKzozo3hQ=; b=kgm4E0OyVEQndM7D0SAxVtMvYCKl3CHDQ7rpkWckfK22kHk7v7+4tnKTsVR+tPWZP2 KlONujkQc9kEGaoWfjtSKq4BEM8Ov3hhgOphWEjaarAH1oQI7NbkSMkLve2Q0dwggrhu twD3qfF6dhQp/Brk8MELjBKKg8jKsCGNZC3hEcfib12dIjajxQX90GG+Q9y/c8TLcXnU uscfFwZky2GtEgNMiKyiWW5dmp1FfHJhp/sMBhd8yGLeyBRrFP0kQEpJPyeEFmW6vf0M r4T3lAaumoMQIVcs1fwaXXuUQdWWSp//+JZ5JMZG9PsTB/jOw7VcpjU/S+AlElcTWbj9 e8EQ== X-Gm-Message-State: AOAM532huNCmXfLUgFuB64t7XySLZNABobOpnxKv8BX5+UIURc1VKLNO 0pbJfba4S0VEK+J9OrQ4hP0MdrY2/c3PFQ== X-Google-Smtp-Source: ABdhPJznoZHw/vwCHNuPc4k4BJNc28bbs1F15FpEepcfJrowI2o6C4Yzr+WbvxxpNh7xII40KyMj8g== X-Received: by 2002:a05:6512:6cd:: with SMTP id u13mr564262lff.184.1631328847818; Fri, 10 Sep 2021 19:54:07 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id b28sm44043ljf.101.2021.09.10.19.54.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 19:54:07 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id s10so7999726lfr.11; Fri, 10 Sep 2021 19:54:07 -0700 (PDT) X-Received: by 2002:ac2:482d:: with SMTP id 13mr583877lft.120.1631328846840; Fri, 10 Sep 2021 19:54:06 -0700 (PDT) MIME-Version: 1.0 References: <20210910184147.336618-1-paul.kocialkowski@bootlin.com> <20210910184147.336618-14-paul.kocialkowski@bootlin.com> In-Reply-To: <20210910184147.336618-14-paul.kocialkowski@bootlin.com> Reply-To: wens@csie.org From: Chen-Yu Tsai Date: Sat, 11 Sep 2021 10:53:55 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH NOT FOR MERGE 13/22] ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node To: Paul Kocialkowski Cc: Linux Media Mailing List , devicetree , linux-arm-kernel , linux-sunxi@lists.linux.dev, linux-kernel , linux-phy@lists.infradead.org, linux-clk , linux-staging@lists.linux.dev, Yong Deng , Mauro Carvalho Chehab , Rob Herring , Maxime Ripard , Sakari Ailus , Hans Verkuil , Jernej Skrabec , Greg Kroah-Hartman , Helen Koike , Laurent Pinchart , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Sep 11, 2021 at 2:42 AM Paul Kocialkowski wrote: > > 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 I believe you tagged the wrong patch to not be merged? AFAICT it should be the next patch that hooks up OV8865, not this one. > --- > 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 ac97eac91349..1fa51f7ef063 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.32.0 > >