public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Support Tegra I2S client format conversion
@ 2024-05-27 12:56 Sameer Pujar
  2024-05-27 12:56 ` [PATCH v2 1/2] ASoC: simple-card-utils: Split simple_fixup_sample_fmt func Sameer Pujar
  2024-05-27 12:56 ` [PATCH v2 2/2] ASoC: tegra: I2S client convert formats handling Sameer Pujar
  0 siblings, 2 replies; 5+ messages in thread
From: Sameer Pujar @ 2024-05-27 12:56 UTC (permalink / raw)
  To: broonie, linux-sound, alsa-devel
  Cc: linux-tegra, linux-kernel, lgirdwood, thierry.reding, jonathanh,
	mkumard, spujar

From: Mohan Kumar <mkumard@nvidia.com>

The AHUB HW modules are interconnected with CIF which are capable of
supporting Channel and Sample bit format conversion. Due to this, the
I2S Client can have different Channel and Sample bit from the hw_params()
and this config is passed from CIF port of I2S DT node which can help to
perform this conversion.

- First change to split simple_fixup_sample_fmt to support returning
  sample format value
- Second patch to support Tegra I2S client channel and sample format
  programming based on CIF port from DT node.


Changelog
=========
  v2:
    - Fix sparse warning related to incorrect type assignment for
      variable 'sample_format' in hw_params() call. The defect was
      reported by "kernel test robot <lkp@intel.com>" and details
      can be found below:

      https://lore.kernel.org/oe-kbuild-all/202405211805.UMAdiH0d-lkp@intel.com/

Mohan Kumar (2):
  ASoC: simple-card-utils: Split simple_fixup_sample_fmt func
  ASoC: tegra: I2S client convert formats handling

 include/sound/simple_card_utils.h     |  2 +
 sound/soc/generic/simple-card-utils.c | 26 +++++++---
 sound/soc/tegra/tegra210_i2s.c        | 71 +++++++++++++++++++++++++--
 sound/soc/tegra/tegra210_i2s.h        |  2 +
 4 files changed, 91 insertions(+), 10 deletions(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-30 11:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 12:56 [PATCH v2 0/2] Support Tegra I2S client format conversion Sameer Pujar
2024-05-27 12:56 ` [PATCH v2 1/2] ASoC: simple-card-utils: Split simple_fixup_sample_fmt func Sameer Pujar
2024-05-30 11:02   ` Thierry Reding
2024-05-27 12:56 ` [PATCH v2 2/2] ASoC: tegra: I2S client convert formats handling Sameer Pujar
2024-05-30 11:54   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox