Skip to content

Add support for new SAI IP version

Daniel Baluta alsa-devel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 9 repliesIn review
  2. v27 patches 16 repliesSuperseded
  3. v110 patches 16 repliesSuperseded

Changes in v3 from the cover letter

- removed patches regarding data line mask because I need to find a better way to describe to model data lines. Perhaps,we only need to specify how many datalines a specific SAI instance supports and then let SAI driver to activate datalines based on the number of channels. Will open the discussion on this on a separate thread.
- fixed devicetree documentation as per Nicolin comments and will send a separate patch to convert it to yaml.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: fsl_sai: Add registers definition for multiple datalinessound/soc/fsl/fsl_sai.c sound/soc/fsl/fsl_sai.h+98 -142 replies
2/5ASoC: fsl_sai: Update Tx/Rx channel enable masksound/soc/fsl/fsl_sai.c sound/soc/fsl/fsl_sai.h+5 -22 replies
3/5ASoC: fsl_sai: Add support for SAI new versionsound/soc/fsl/fsl_sai.c sound/soc/fsl/fsl_sai.h+156 -1132 replies
4/5ASoC: fsl_sai: Add support for imx7ulp/imx8mqsound/soc/fsl/fsl_sai.c+14 -01 reply
5/5ASoC: dt-bindings: Introduce compatible strings for 7ULP and 8MQDocumentation/devicetree/bindings/sound/fsl-sai.txt+2 -12 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchNicolin Chen
1/5A-b A-b
2/5A-b A-b
3/5A-b A-b
4/5A-b A-b
5/5A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Add support for new SAI IP version

So far SAI IPs integrated with imx6 only supported one data line. Starting with imx7 and imx8 SAI integration support up to 8 data lines. First patch introduce register definition to support this.

New SAI IP version introduces two new registers (Version and Parmeter registers) which are placed at the beginning of register address space. For this reason we need to fix the register's address. Support for this is introduced in patch 3.

Changes since v2:
- removed patches regarding data line mask because I need to find a better way to describe to model data lines. Perhaps,we only need to specify how many datalines a specific SAI instance supports and then let SAI driver to activate datalines based on the number of channels. Will open the discussion on this on a separate thread.
- fixed devicetree documentation as per Nicolin comments and will send a separate patch to convert it to yaml.

Changes since v1:
- removed patches from Lucas as they were already accepted
- addressed comments from Lucas and Nicolin regarding device tree property naming
- removed comment saying that "datalines" must be always consecutively enabled (this is not true, checked with IP owner)
- added new patch to document newly introduced compatbile strings
- removed patch introducing combined mode as I will still need some time to figure out how to properly allow users to set it.

Daniel Baluta (5):
ASoC: fsl_sai: Add registers definition for multiple datalines
ASoC: fsl_sai: Update Tx/Rx channel enable mask
ASoC: fsl_sai: Add support for SAI new version
ASoC: fsl_sai: Add support for imx7ulp/imx8mq
ASoC: dt-bindings: Introduce compatible strings for 7ULP and 8MQ

 .../devicetree/bindings/sound/fsl-sai.txt     |   3 +-
 sound/soc/fsl/fsl_sai.c                       | 320 ++++++++++++------
 sound/soc/fsl/fsl_sai.h                       |  78 +++--
 3 files changed, 273 insertions(+), 128 deletions(-)
Signature · 1 line
2.17.1