Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24285980rwd; Sat, 1 Jul 2023 16:56:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zDQNbaV7RVMwtJd6MAq4PJzb/67CIE4RW7DPsotbwPIWiI3N4gW67WYlqEBtEZIISwSoZ X-Received: by 2002:a9d:6d8d:0:b0:6b7:1fcd:1e22 with SMTP id x13-20020a9d6d8d000000b006b71fcd1e22mr7918920otp.29.1688255782733; Sat, 01 Jul 2023 16:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688255782; cv=none; d=google.com; s=arc-20160816; b=raXefA00oLEj2zqiSSAsKW54J2qwwFCPqhPbgNka71ciGwQcQMBqOu2lZ3fOiB4kO2 O7jQnMV4Cl/PXEuLlbT1WZYM1n8ugTAYrVToCH17qwgls3ox9IVxHqYCYq9QdBezYeq0 GeTAl8fVcRqL/Rhv7CLaPQIO8QpIjEYVrpZB9Fdo225sVVum/cp7b+c2uYRIlRiTHWir eapBOBKDJ+xMFsFparLCoHmW44zyqBrAIp2Z6fMROh7m2Q7bbw41Skp8Q/FoiDWQ5kpM ibS2LPhn0LK9IzztNmjpuvBReq5MjkfsyTVbsL6necuYMNL8yx26vuBowGx/AuyV6Q9K czzA== 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=j1KsDVEr7/c2nbbUeIZOJL2boV6COVoYPyMdElGZf94=; fh=pxnoB/Mli2EUhXzrZpnwvNBMcHwa5+/WF77uM8eut8w=; b=cSuLpovP36tBUcVo2zlheTIQJDNDadWQs731g9ZJQp0sVG8/fAIevqVEUXqXu6VVfy m7+T1kyWonuCmDz/2hhzbIJfO4/JPH/nLBEy6CMeUwdvZsW1WbIIYP0BxpAruJzOQrhY OUS/EAMnyJhNZN7gxz2NWg3CKl5fBqGLS1y248xHxwBJ+CczsgcdgoQ7u9BUODahMT0j M4gspGqztxVyJMOYgPu0uowdH0Soyri7ep0sLTyA7G+kLHqe7IoNFO3WZY+I1JoyxixN C8elWE5EHobS4G/+t/9s2J89agghBNlLUkPcTbCmHCjfJBg1k994/ZD6mThHhlW0t/8k U0uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ABeUQ/HY"; 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 l12-20020a170903120c00b001b5427c9773si15756924plh.104.2023.07.01.16.55.59; Sat, 01 Jul 2023 16:56:22 -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="ABeUQ/HY"; 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 S229747AbjGAXNg (ORCPT + 99 others); Sat, 1 Jul 2023 19:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjGAXNe (ORCPT ); Sat, 1 Jul 2023 19:13:34 -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 E68EE10DC; Sat, 1 Jul 2023 16:13:33 -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)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7BD6360A29; Sat, 1 Jul 2023 23:13:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1E98C433C9; Sat, 1 Jul 2023 23:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688253212; bh=GICJRTi1UBgWyszLEfObDb7ZtWarNasw276bsUk9Edo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ABeUQ/HYxoMx4QNp6spPUkG54BOEVOZZgI49j1meSVbaR/V8ISazd/2jhieBs5FRl 9TXi1qENoQImrN7kgt51WZIu03YBOsL66LlCm7joI7kdAZNjkVBPq+9j2wMQBxzBXb f7tG/QAlAbLP//QLDdrNzyAYh+SlCKFGYRkgId1LE90c6fqo0wgW+fiLktYD+ewhS0 uvK+rQj+pH1NqFKPNDZcD5iEDE+WvjG6uNT6ok13FfzxG6fGlGQkA4zcrBbO7KQJd9 d2crJt0i7Ln6RJ6uqrMzdgnAvRKGLv9eUwoW9julgFSBvTJedoKmXb2YVyjgOrFaoA dqhEj4XQN/ZRg== Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f96d680399so4947571e87.0; Sat, 01 Jul 2023 16:13:32 -0700 (PDT) X-Gm-Message-State: ABy/qLZ9jbvS+JESE+oumBl+z1sCfbG5BJlZpSYVI5OMrIzjAk4myabC +qR1dKGeoj1Wdh+QFfRp8Vf80BKPn0E3NqX8+w== X-Received: by 2002:a05:6512:718:b0:4fb:7a4e:b573 with SMTP id b24-20020a056512071800b004fb7a4eb573mr4707448lfs.5.1688253210855; Sat, 01 Jul 2023 16:13:30 -0700 (PDT) MIME-Version: 1.0 References: <20230630100321.1951138-1-jstephan@baylibre.com> <20230630100321.1951138-3-jstephan@baylibre.com> In-Reply-To: <20230630100321.1951138-3-jstephan@baylibre.com> From: Chun-Kuang Hu Date: Sun, 2 Jul 2023 07:13:19 +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: Julien Stephan Cc: 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: Julien Stephan =E6=96=BC 2023=E5=B9=B46=E6=9C=8830= =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 found > on several Mediatek SoCs such as the mt8365. > > Then seninf module has 4 physical CSI-2 inputs. Depending on the soc they > 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 > --- > MAINTAINERS | 1 + > drivers/media/platform/mediatek/Kconfig | 1 + > drivers/media/platform/mediatek/Makefile | 1 + > drivers/media/platform/mediatek/isp/Kconfig | 2 + > drivers/media/platform/mediatek/isp/Makefile | 3 + > .../platform/mediatek/isp/isp_30/Kconfig | 16 + > .../platform/mediatek/isp/isp_30/Makefile | 3 + > .../mediatek/isp/isp_30/seninf/Makefile | 5 + > .../mediatek/isp/isp_30/seninf/mtk_seninf.c | 1561 +++++++++++++++++ > .../isp/isp_30/seninf/mtk_seninf_reg.h | 99 ++ I think it's not necessary to create a folder isp_30 inside isp and you could just place all file in isp folder because there are only few files. After adding more and more files then we consider to create folder to separate them. Regards, Chun-Kuang. > 10 files changed, 1692 insertions(+) > create mode 100644 drivers/media/platform/mediatek/isp/Kconfig > create mode 100644 drivers/media/platform/mediatek/isp/Makefile > create mode 100644 drivers/media/platform/mediatek/isp/isp_30/Kconfig > create mode 100644 drivers/media/platform/mediatek/isp/isp_30/Makefile > create mode 100644 drivers/media/platform/mediatek/isp/isp_30/seninf/Mak= efile > create mode 100644 drivers/media/platform/mediatek/isp/isp_30/seninf/mtk= _seninf.c > create mode 100644 drivers/media/platform/mediatek/isp/isp_30/seninf/mtk= _seninf_reg.h > >