Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Padmanabhan Rajanbabu <p.rajanbabu@samsung.com>,
	'Rob Herring' <robh@kernel.org>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-samsung-soc@vger.kernel.org,
	krzysztof.kozlowski+dt@linaro.org, rcsekar@samsung.com,
	aswani.reddy@samsung.com, pankaj.dubey@samsung.com,
	tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org,
	alim.akhtar@samsung.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/6] dt-bindings: sound: Add sound card bindings for Tesla FSD
Date: Tue, 8 Nov 2022 11:36:57 +0100	[thread overview]
Message-ID: <2ba09d50-229a-25d6-e437-c0b31429eaf0@linaro.org> (raw)
In-Reply-To: <01c101d8f333$b3bc8db0$1b35a910$@samsung.com>

On 08/11/2022 06:33, Padmanabhan Rajanbabu wrote:
>>>
>>> The actual reason for having a custom sound card driver lies in the
>>> fact that the Samsung i2s cpu dai requires configuration of some
>>> Samsung specific properties like rfs, bfs, codec clock direction and
>>> root clock source. We do not have flexibility of configuring the same
>>> in simple card driver (sound/soc/generic/simple-card.c) or audio graph
>>> card driver (sound/soc/generic/audio-graph-card.c). The binding has
>>> been added to support the custom sound card driver.
>>>
>>> I understand from your query that the newly added card has device tree
>>> nodes and properties which are used in simple card as well, but having
>>> a different or new prefixes. I believe to address that, we can
>>> restructure the string names to generic ones.
>>
>> You must use generic, existing properties where applicable.
> 
> Okay
> 
>>
>>> But I would like to understand, to reuse the simple card or audio
>>> graph card bindings, can we add secondary compatible strings in the
>>> simple card dt-binding for the custom sound card to probe ?
>>
>> If you see other vendor compatibles there, then yes... But there aren't any,
>> right?
> 
> Yes you are right, we don't see other vendor compatibles. But, am I allowed
> to add such secondary compatibles so that we can extend the simple card
> and its utilities to a large extent?
> 
> If no, then I believe we will need a separate binding to extend the generic
> properties.

If you have any custom properties, then yes. But you don't have.


Best regards,
Krzysztof


  reply	other threads:[~2022-11-08 10:37 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20221014104843epcas5p47f6daaad2e67e0c9eedd68c2256c025b@epcas5p4.samsung.com>
2022-10-14 10:21 ` [PATCH 0/6] ASoC: samsung: fsd: audio support for FSD SoC Padmanabhan Rajanbabu
2022-10-14 10:21   ` [PATCH 1/6] ASoC: samsung: i2s: TDM Support for CPU DAI driver Padmanabhan Rajanbabu
2022-10-14 10:21   ` [PATCH 2/6] ASoC: samsung: i2s: configure PSR from sound card Padmanabhan Rajanbabu
2022-10-14 12:02     ` Mark Brown
2022-10-21  8:00       ` Padmanabhan Rajanbabu
2022-10-21 11:53         ` Mark Brown
2022-11-08  5:23           ` Padmanabhan Rajanbabu
2022-11-09 17:38             ` Mark Brown
2023-01-03  4:55               ` Padmanabhan Rajanbabu
2022-10-23 13:12         ` Krzysztof Kozlowski
2022-10-14 10:21   ` [PATCH 3/6] dt-bindings: sound: Add sound card bindings for Tesla FSD Padmanabhan Rajanbabu
2022-10-14 15:13     ` Rob Herring
2022-10-21  8:44       ` Padmanabhan Rajanbabu
2022-10-22 16:48         ` Krzysztof Kozlowski
2022-11-08  5:33           ` Padmanabhan Rajanbabu
2022-11-08 10:36             ` Krzysztof Kozlowski [this message]
2022-10-14 10:21   ` [PATCH 4/6] ASoC: samsung: fsd: Add FSD soundcard driver Padmanabhan Rajanbabu
2022-10-14 12:23     ` Mark Brown
2022-10-21  8:09       ` Padmanabhan Rajanbabu
2022-10-16 15:18     ` Krzysztof Kozlowski
2022-10-21  9:04       ` Padmanabhan Rajanbabu
2022-10-14 10:21   ` [PATCH 5/6] arm64: dts: fsd: Add I2S DAI node for Tesla FSD Padmanabhan Rajanbabu
2022-10-14 13:24     ` Alim Akhtar
2022-10-21  8:09       ` Padmanabhan Rajanbabu
2022-10-16 15:14     ` Krzysztof Kozlowski
2022-10-21  8:49       ` Padmanabhan Rajanbabu
2022-10-21 13:01         ` Krzysztof Kozlowski
2022-11-08  5:26           ` Padmanabhan Rajanbabu
2022-10-14 10:21   ` [PATCH 6/6] arm64: dts: fsd: Add sound card " Padmanabhan Rajanbabu
2022-10-14 13:29     ` Alim Akhtar
2022-10-21  8:12       ` Padmanabhan Rajanbabu
2022-10-21 12:53         ` Krzysztof Kozlowski
2022-11-08  5:25           ` Padmanabhan Rajanbabu

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=2ba09d50-229a-25d6-e437-c0b31429eaf0@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=alim.akhtar@samsung.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=aswani.reddy@samsung.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=p.rajanbabu@samsung.com \
    --cc=pankaj.dubey@samsung.com \
    --cc=rcsekar@samsung.com \
    --cc=robh@kernel.org \
    --cc=tiwai@suse.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