devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Keke Li <keke.li@amlogic.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com,
	laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com
Subject: Re: [PATCH 4/9] media: platform: Add c3 mipi adapter driver
Date: Wed, 4 Sep 2024 17:16:47 +0800	[thread overview]
Message-ID: <d00f2003-fd4c-4841-87e4-bb977733d969@amlogic.com> (raw)
In-Reply-To: <8f0fd464-b20d-4f44-9c1a-66f8ccab63d4@kernel.org>

Hi Krzysztof,

         Thanks for your reply.

On 2024/9/3 22:12, Krzysztof Kozlowski wrote:
> [You don't often get email from krzk@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> [ EXTERNAL EMAIL ]
>
> On 03/09/2024 08:57, Keke Li via B4 Relay wrote:
>> From: Keke Li <keke.li@amlogic.com>
>>
>> This driver mainly responsible for organizing
>> MIPI data and sending raw data to ISP pipeline.
>>
>> Signed-off-by: Keke Li <keke.li@amlogic.com>
> ...
>
>> +static int c3_mipi_adap_probe(struct platform_device *pdev)
>> +{
>> +     struct device *dev = &pdev->dev;
>> +     struct adap_device *adap;
>> +     int ret;
>> +
>> +     adap = devm_kzalloc(dev, sizeof(*adap), GFP_KERNEL);
>> +     if (!adap)
>> +             return -ENOMEM;
>> +
>> +     adap->info = of_device_get_match_data(dev);
>> +     adap->dev = dev;
>> +
>> +     ret = c3_mipi_adap_ioremap_resource(adap);
>> +     if (ret) {
>> +             dev_err(dev, "Failed to ioremap resource: %d\n", ret);
>> +             return ret;
>> +     }
>> +
>> +     ret = c3_mipi_adap_configure_clocks(adap);
>> +     if (ret) {
>> +             dev_err(dev, "Failed to configure clocks: %d\n", ret);
> All your patches repeat the same patterns, so all my comments apply to
> each patch.

OK,  I will modify the code according to your comments.

Thanks again.

>
> Best regards,
> Krzysztof
>

  reply	other threads:[~2024-09-04  9:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03  6:57 [PATCH 0/9] Amlogic C3 ISP support Keke Li via B4 Relay
2024-09-03  6:57 ` [PATCH 1/9] dt-bindings: media: Add amlogic,c3-mipi-csi2.yaml Keke Li via B4 Relay
2024-09-03 14:08   ` Krzysztof Kozlowski
2024-09-04  8:15     ` Keke Li
2024-09-03  6:57 ` [PATCH 2/9] media: platform: Add c3 mipi csi2 driver Keke Li via B4 Relay
2024-09-03 14:10   ` Krzysztof Kozlowski
2024-09-04  8:53     ` Keke Li
2024-09-03  6:57 ` [PATCH 3/9] dt-bindings: media: Add amlogic,c3-mipi-adapter.yaml Keke Li via B4 Relay
2024-09-03 14:11   ` Krzysztof Kozlowski
2024-09-04  9:07     ` Keke Li
2024-09-03  6:57 ` [PATCH 4/9] media: platform: Add c3 mipi adapter driver Keke Li via B4 Relay
2024-09-03 14:12   ` Krzysztof Kozlowski
2024-09-04  9:16     ` Keke Li [this message]
2024-09-03  6:57 ` [PATCH 5/9] dt-bindings: media: Add amlogic,c3-isp.yaml Keke Li via B4 Relay
2024-09-03 14:11   ` Krzysztof Kozlowski
2024-09-04  9:21     ` Keke Li
2024-09-03  6:57 ` [PATCH 6/9] media: Add C3ISP_PARAMS and C3ISP_STATS meta formats Keke Li via B4 Relay
2024-09-10 16:59   ` Dan Scally
2024-09-03  6:57 ` [PATCH 7/9] media: platform: Add c3 ISP driver Keke Li via B4 Relay
2024-09-03  6:57 ` [PATCH 8/9] Documentation: media: add documentation file metafmt-c3-isp.rst Keke Li via B4 Relay
2024-09-03  6:57 ` [PATCH 9/9] Documentation: media: add documentation file c3-isp.rst Keke Li via B4 Relay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d00f2003-fd4c-4841-87e4-bb977733d969@amlogic.com \
    --to=keke.li@amlogic.com \
    --cc=conor+dt@kernel.org \
    --cc=dan.scally@ideasonboard.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).