ASoC: SOC: Add support jh7110 audio driver
Add support audio driver and device tree of starfive JH7110. This
driver is from [1], and the imported patch list[2]. We modified
compatible and clock in the device-tree to fix kernel v6.1. Also fix
the build error for incompatible pointer types and others. And add
set 'legacy_dai_naming' value into starfive_i2s driver, for set to use
legacy dai naming when looking up DAI.
[1] https://github.com/starfive-tech/linux
[2] patch list from v5.15.y
258954bfe609 Xingyu Wu sound: starfive: I2S: Fixed error after hibernation when building module
09407b6be383 Xingyu Wu sound: starfive: pwmdac: Support module building
00a1eaebe170 Xingyu Wu sound: starfive: pwmdac: Fixed playback failed after hibernation
1f6659ddf77c Xingyu Wu sound:starfive:Move playback and capture driver as slave to starfive I2S
c1ec8ddaa121 Xingyu Wu sound:starfive:pwmdac:Add runtime pm operation
78f5ba02befa Xingyu Wu sound:starfive:Add hibernation in I2S
40cbb24940b3 Walker Chen CR_2307_PWMDAC_515: fix playback repeatly issue
099a9cd86939 Xingyu Wu sound:starfive:Remove i2srx-master and merge into starfive_i2s
c813586d1913 Xingyu Wu sound:starfive:Add I2S driver
abd5f99857c5 Walker Chen CR_2071_audio_compatible_standard_515
14d6015d73ed Xingyu Wu sound:starfive:pwmdac:Modify compatible name
8fba0f28d470 Walker Chen CR_1827_cannot_record_play_simultaneously
ae6c3943ef0c minda.chen pwmdac:sound: support 11025hz play mode.
279155cf4805 curry.zhang [Audio: PWMDAC] enable pwmdac driver on 7110 evb board
7868835794ac curry.zhang [Audio: PWMDAC] Adjust code style
1e872b48a7a7 curry.zhang [Audio: PWMDAC] Add standard system clock tree api
e0f5d0916020 “jenny.zhang” [alsa] Add jh7110 audio module driver code
Signed-off-by: jenny.zhang <jenny.zhang@starfivetech.com>
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: PeterYang <linsheng.yang@seeed.cc>
Signed-off-by: Baozhu Zuo <zuobaozhu@gmail.com>
Signed-off-by: Rajeev Kumar <rajeevkumar.linux@gmail.com>
Signed-off-by: michael.yan <michael.yan@starfivetech.com>
Change-Id: If1b6c957bbe5ea9f3464e591138da4cf57c6fd84
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>