mbox series

[v5,0/6] Add cs42l43 PC focused SoundWire CODEC

Message ID 20230619095623.1987742-1-ckeepax@opensource.cirrus.com
Headers show
Series Add cs42l43 PC focused SoundWire CODEC | expand

Message

Charles Keepax June 19, 2023, 9:56 a.m. UTC
This patch chain adds support for the Cirrus Logic cs42l43 PC focused
SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
branch.

Thanks,
Charles

Charles Keepax (4):
  dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
  mfd: cs42l43: Add support for cs42l43 core driver
  pinctrl: cs42l43: Add support for the cs42l43
  ASoC: cs42l43: Add support for the cs42l43

Lucas Tanure (2):
  soundwire: bus: Allow SoundWire peripherals to register IRQ handlers
  spi: cs42l43: Add SPI controller support

 .../bindings/sound/cirrus,cs42l43.yaml        |  313 +++
 MAINTAINERS                                   |    4 +
 drivers/mfd/Kconfig                           |   23 +
 drivers/mfd/Makefile                          |    3 +
 drivers/mfd/cs42l43-i2c.c                     |   98 +
 drivers/mfd/cs42l43-sdw.c                     |  239 ++
 drivers/mfd/cs42l43.c                         | 1189 +++++++++
 drivers/mfd/cs42l43.h                         |   28 +
 drivers/pinctrl/cirrus/Kconfig                |   11 +
 drivers/pinctrl/cirrus/Makefile               |    2 +
 drivers/pinctrl/cirrus/pinctrl-cs42l43.c      |  609 +++++
 drivers/soundwire/bus.c                       |   32 +
 drivers/soundwire/bus_type.c                  |   12 +
 drivers/spi/Kconfig                           |    7 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/spi-cs42l43.c                     |  281 ++
 include/linux/mfd/cs42l43-regs.h              | 1184 +++++++++
 include/linux/mfd/cs42l43.h                   |  102 +
 include/linux/soundwire/sdw.h                 |    9 +
 include/sound/cs42l43.h                       |   17 +
 sound/soc/codecs/Kconfig                      |   16 +
 sound/soc/codecs/Makefile                     |    4 +
 sound/soc/codecs/cs42l43-jack.c               |  969 +++++++
 sound/soc/codecs/cs42l43-sdw.c                |   74 +
 sound/soc/codecs/cs42l43.c                    | 2278 +++++++++++++++++
 sound/soc/codecs/cs42l43.h                    |  131 +
 26 files changed, 7636 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml
 create mode 100644 drivers/mfd/cs42l43-i2c.c
 create mode 100644 drivers/mfd/cs42l43-sdw.c
 create mode 100644 drivers/mfd/cs42l43.c
 create mode 100644 drivers/mfd/cs42l43.h
 create mode 100644 drivers/pinctrl/cirrus/pinctrl-cs42l43.c
 create mode 100644 drivers/spi/spi-cs42l43.c
 create mode 100644 include/linux/mfd/cs42l43-regs.h
 create mode 100644 include/linux/mfd/cs42l43.h
 create mode 100644 include/sound/cs42l43.h
 create mode 100644 sound/soc/codecs/cs42l43-jack.c
 create mode 100644 sound/soc/codecs/cs42l43-sdw.c
 create mode 100644 sound/soc/codecs/cs42l43.c
 create mode 100644 sound/soc/codecs/cs42l43.h

Comments

Lee Jones July 21, 2023, 7:55 a.m. UTC | #1
On Mon, 19 Jun 2023 10:56:17 +0100, Charles Keepax wrote:
> This patch chain adds support for the Cirrus Logic cs42l43 PC focused
> SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
> branch.
> 
> Thanks,
> Charles
> 
> [...]

Applied, thanks!

[2/6] dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
      commit: e62ba8443b11f12b45c61444249458a2f8c2f4ef
[3/6] mfd: cs42l43: Add support for cs42l43 core driver
      commit: 843079209e1506c94fde797fc0ff914e2c9e6645
[4/6] pinctrl: cs42l43: Add support for the cs42l43
      commit: 85f034dd7ff0a66aded653cc91dbc406fba7cf1a

--
Lee Jones [李琼斯]
Lee Jones July 21, 2023, 7:58 a.m. UTC | #2
On Fri, 21 Jul 2023, Lee Jones wrote:

> On Mon, 19 Jun 2023 10:56:17 +0100, Charles Keepax wrote:
> > This patch chain adds support for the Cirrus Logic cs42l43 PC focused
> > SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
> > branch.
> > 
> > Thanks,
> > Charles
> > 
> > [...]
> 
> Applied, thanks!
> 
> [2/6] dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
>       commit: e62ba8443b11f12b45c61444249458a2f8c2f4ef
> [3/6] mfd: cs42l43: Add support for cs42l43 core driver
>       commit: 843079209e1506c94fde797fc0ff914e2c9e6645
> [4/6] pinctrl: cs42l43: Add support for the cs42l43
>       commit: 85f034dd7ff0a66aded653cc91dbc406fba7cf1a

Pull-request to follow.
Charles Keepax July 21, 2023, 8:27 a.m. UTC | #3
On Fri, Jul 21, 2023 at 08:55:54AM +0100, Lee Jones wrote:
> On Mon, 19 Jun 2023 10:56:17 +0100, Charles Keepax wrote:
> > This patch chain adds support for the Cirrus Logic cs42l43 PC focused
> > SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
> > branch.
> > 
> > Thanks,
> > Charles
> > 
> > [...]
> 
> Applied, thanks!
> 
> [2/6] dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
>       commit: e62ba8443b11f12b45c61444249458a2f8c2f4ef
> [3/6] mfd: cs42l43: Add support for cs42l43 core driver
>       commit: 843079209e1506c94fde797fc0ff914e2c9e6645
> [4/6] pinctrl: cs42l43: Add support for the cs42l43
>       commit: 85f034dd7ff0a66aded653cc91dbc406fba7cf1a
> 

Only slight hiccup here is there is a build dependency between
the MFD and SoundWire patch. So without the SoundWire patch
the SoundWire part of the MFD won't build.

Vinod, would be really good if you could have a look at the
SoundWire patch would be great to get this moving, this part is
seeing a fair amount of deployment at the moment so getting this
into mainline would be very helpful.

Thanks,
Charles
Lee Jones July 21, 2023, 4:26 p.m. UTC | #4
On Fri, 21 Jul 2023, Lee Jones wrote:

> On Fri, 21 Jul 2023, Lee Jones wrote:
> 
> > On Mon, 19 Jun 2023 10:56:17 +0100, Charles Keepax wrote:
> > > This patch chain adds support for the Cirrus Logic cs42l43 PC focused
> > > SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
> > > branch.
> > > 
> > > Thanks,
> > > Charles
> > > 
> > > [...]
> > 
> > Applied, thanks!
> > 
> > [2/6] dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
> >       commit: e62ba8443b11f12b45c61444249458a2f8c2f4ef
> > [3/6] mfd: cs42l43: Add support for cs42l43 core driver
> >       commit: 843079209e1506c94fde797fc0ff914e2c9e6645
> > [4/6] pinctrl: cs42l43: Add support for the cs42l43
> >       commit: 85f034dd7ff0a66aded653cc91dbc406fba7cf1a
> 
> Pull-request to follow.

Doesn't build without the Soundwire header changes.