Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24673516rwd; Sun, 2 Jul 2023 02:34:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFtP/U2u1w7Fhe22H3jXazNYtunaJCOAzrHlX5LXR6izxyrEp94p1gTPWA1nu12nXK71bEV X-Received: by 2002:a17:902:e995:b0:1b8:6cf8:42da with SMTP id f21-20020a170902e99500b001b86cf842damr7296789plb.45.1688290441348; Sun, 02 Jul 2023 02:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688290441; cv=none; d=google.com; s=arc-20160816; b=pn47h43WpwWPSYSEbdn/oXlMszwoKBU21e8u/2QgVc8HHIPwvMasfI/33TXbmvTP+1 LSPw8q7zrcQGHyBSVtAZYcxe1VO0f/WGCaUav+z+NNkxxsoZkO8/WVvSZgGM18oywlQk vOXzNdebMOBMvgwln/rg5EWdsq39UmuXIL7uFcNM8+TDRBwCmp5k9nZxyL5ObcUGLSqR 5e8Zkhp5rMxyIMHnMtXp4iUlic9tnjtn62E+hIavI2bajOr2H2sbMhGWV3TwoTSrY7A6 cQ7rUxrZwf3Is2UhCFRTdmM1vLGLAIR0E6cCdPjjf1bQ8Fb+GjqPDptVaHjcoSmWPOMM Gr5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4Y92lXyifAyJtOM5gK7Dsb34fvRwiHTeIOUsz1X8hBY=; fh=n4CWmNEv5YGtObeb+PunNaGTg7J4WG7CjbRmw4Cii50=; b=0h1Qs0IUoxjnhIVXb7c0+3XmwPDFDdCNIpMU7WKTyDS94rdNetJhpejxwLiDA7kq7x Rrnsq3Lia7gUJHIQV1oXkeVQxG4wUBkPCT5kErZT0D8b6mkOhIkVHu8X9hDFV36vpBiR nvyradL2uRf98tzbmmLFzMy6n07I/nMA6z8AavlxnRwQTcGNvj1AZqlexbvI8nEsJzSS X7tUVl7Pfu9Nu3qOpH646waZQ08nAWis0FDkfBS2KPyya7CN8SKMbRfq5pgffOwxhNVJ Cb7FV6UoM3bI0yG6fUvgMvuwK2l8kRuPYerc3UCAm1S7ioQGlFyxlHPoOw7nytqWNB0x 4ytQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bL0RniYz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a170902ecc300b001b55048e61asi17190228plh.612.2023.07.02.02.33.47; Sun, 02 Jul 2023 02:34:01 -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=@kernel.org header.s=k20201202 header.b=bL0RniYz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229766AbjGBJUr (ORCPT + 99 others); Sun, 2 Jul 2023 05:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjGBJUq (ORCPT ); Sun, 2 Jul 2023 05:20:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B44741AC; Sun, 2 Jul 2023 02:20:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4DD1D60B93; Sun, 2 Jul 2023 09:20:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2E3EC43395; Sun, 2 Jul 2023 09:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688289639; bh=OoxJTr497VHioUOadb8LISKib9/DxBLCZJxT7FykF9g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bL0RniYz/c2H9vpv4pnuaegmDqeFYDlUS2BEZ7GDJrxaZs9kAQm8I1PMBYfdWmWpL Q4BwNtmNN7cjEb9ZEBMxfdH6HGTTH7ldQIhsTRnan2H8upACk1UfBKxzWVDIqZK7EC aoJ9kyx0fO+f5T4QELXyDFR3OOW71En9FO9CRQCv8gCGAKA+8DvNDYz/5JckqAS+Yl vdPmulOGE4uWEYbOL2mghdaRMKPAWPkzRISV58zSqCf0nVYb8PmGRuSaqq5toObf3+ udZE9XFmwFXy7ZVJQy1bsEEI0vrmLPLd+BMr1MqiYnB2kpaKuFh8RCPJN3a206Hxl9 OIBmWKxePHZ8A== Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2b69f216c73so50938281fa.3; Sun, 02 Jul 2023 02:20:39 -0700 (PDT) X-Gm-Message-State: ABy/qLYQ/gaK092RUztfq/Xg0bUMGQqLLMO/j0Ob3oO03h0F2n+9UNqS g9W5bA6Mb7VVIAMv3+DQwO1BZrytKHggI+lm7Q== X-Received: by 2002:a05:6512:ea0:b0:4f8:6882:ae9d with SMTP id bi32-20020a0565120ea000b004f86882ae9dmr5936084lfb.69.1688289637554; Sun, 02 Jul 2023 02:20:37 -0700 (PDT) MIME-Version: 1.0 References: <20230630100321.1951138-1-jstephan@baylibre.com> <20230630100321.1951138-3-jstephan@baylibre.com> In-Reply-To: From: Chun-Kuang Hu Date: Sun, 2 Jul 2023 17:20:25 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/4] media: platform: mediatek: isp_30: add mediatek ISP3.0 sensor interface To: Chun-Kuang Hu Cc: Julien Stephan , Louis Kuo , Phi-bang Nguyen , Florian Sylvestre , Laurent Pinchart , Alexander Gordeev , Andy Hsieh , AngeloGioacchino Del Regno , Conor Dooley , daoyuan huang , devicetree@vger.kernel.org, Hans Verkuil , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, Matthias Brugger , Mauro Carvalho Chehab , Moudy Ho , Rob Herring , Vasily Gorbik Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Hi, Julien: Chun-Kuang Hu =E6=96=BC 2023=E5=B9=B47=E6=9C=882= =E6=97=A5 =E9=80=B1=E6=97=A5 =E4=B8=8A=E5=8D=887:35=E5=AF=AB=E9=81=93=EF=BC= =9A > > Hi, Julien: > > Julien Stephan =E6=96=BC 2023=E5=B9=B46=E6=9C=883= 0=E6=97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=886:05=E5=AF=AB=E9=81=93=EF= =BC=9A > > > > From: Louis Kuo > > > > This will add the mediatek ISP3.0 seninf (sensor interface) driver foun= d > > on several Mediatek SoCs such as the mt8365. > > > > Then seninf module has 4 physical CSI-2 inputs. Depending on the soc th= ey > > may not be all connected. > > > > Signed-off-by: Louis Kuo > > Signed-off-by: Phi-bang Nguyen > > Signed-off-by: Florian Sylvestre > > Signed-off-by: Laurent Pinchart > > Signed-off-by: Julien Stephan > > > > [snip] > > > + > > +static const struct mtk_seninf_conf seninf_8365_conf =3D { > > + .model =3D "mtk-camsys-3.0", > > + .nb_inputs =3D 4, > > + .nb_muxes =3D 6, > > + .nb_outputs =3D 4, > > +}; > > + > > +static const struct of_device_id mtk_seninf_of_match[] =3D { > > + { > > + .compatible =3D "mediatek,mt8365-seninf", > > + .data =3D &seninf_8365_conf, > > Now only support one SoC, so it's necessary to select the SoC data and > you could directly place the data in the code. After support other Typo. Now only support one SoC, so it's not necessary to select the SoC data and you could directly place the data in the code. Regards, Chun-Kuang. > SoC, so we could know what should be placed in struct mtg_seninf_conf > (Now we have no any information). > > Regards, > Chun-Kuang. > > > + }, > > + { > > + }, > > +}; > > +MODULE_DEVICE_TABLE(of, mtk_seninf_of_match);