mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
To: Igor Paunovic <royalnet026@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-media@vger.kernel.org, kernel@collabora.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 2/2] media: synopsys: hdmirx: add HDMI audio capture support
Date: Wed, 15 Jul 2026 22:07:44 +0300	[thread overview]
Message-ID: <8089de84-0793-4668-9030-42881912e6e7@collabora.com> (raw)
In-Reply-To: <20260715051939.64652-3-royalnet026@gmail.com>

Hi,

15.07.2026 08:19, Igor Paunovic пишет:
> +static int hdmirx_register_audio_device(struct snps_hdmirx_dev *hdmirx_dev)
> +{
> +	struct hdmi_codec_pdata codec_data = {
> +		.ops = &hdmirx_audio_codec_ops,
> +		.i2s = 1,
> +		.no_i2s_playback = 1,
> +		.max_i2s_channels = 8,
> +		.data = hdmirx_dev,
> +	};
> +	struct platform_device_info pdevinfo = {
> +		.parent = hdmirx_dev->dev,
> +		.id = PLATFORM_DEVID_AUTO,
> +		.name = HDMI_CODEC_DRV_NAME,
> +		.data = &codec_data,
> +		.size_data = sizeof(codec_data),
> +		.dma_mask = DMA_BIT_MASK(32),
> +	};
> +
> +	hdmirx_dev->audio_pdev = platform_device_register_full(&pdevinfo);
Nit: platform_device_register_data() should work too. The specified DMA
mask should be unused by the codec driver and even if it was used, it
should be inherited from the parent dev and not fixed to 32bit. Please
either remove .dma_mask or use platform_device_register_data().

Please fix Sashiko bug reports for v2. Otherwise, the patch looks okay.
Thanks for working on it.

-- 
Best regards,
Dmitry

  reply	other threads:[~2026-07-15 19:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-15  5:19 [RFC PATCH 0/2] " Igor Paunovic
2026-07-15  5:19 ` [RFC PATCH 1/2] dt-bindings: media: snps,dw-hdmi-rx: add #sound-dai-cells Igor Paunovic
     [not found]   ` <20260715055448.AEA021F000E9@smtp.kernel.org>
2026-07-15  6:55     ` Royal Net
2026-07-15 12:59       ` Sebastian Reichel
2026-07-15 13:19         ` Igor Paunovic
2026-07-15 17:27           ` Sebastian Reichel
2026-07-15 17:41             ` Igor Paunovic
2026-07-15 19:20               ` Sebastian Reichel
2026-07-15  5:19 ` [RFC PATCH 2/2] media: synopsys: hdmirx: add HDMI audio capture support Igor Paunovic
2026-07-15 19:07   ` Dmitry Osipenko [this message]
2026-07-15 19:27     ` Igor Paunovic

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=8089de84-0793-4668-9030-42881912e6e7@collabora.com \
    --to=dmitry.osipenko@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@collabora.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.org \
    --cc=royalnet026@gmail.com \
    /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

all inboxes | Powered by JetHome®