devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Clean up RK3328 audio codec GPIO control
@ 2020-02-06  1:07 Robin Murphy
  2020-02-06  1:07 ` [PATCH 1/3] ASoC: dt-bindings: Make RK3328 codec GPIO explicit Robin Murphy
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Robin Murphy @ 2020-02-06  1:07 UTC (permalink / raw)
  To: lgirdwood, broonie, heiko
  Cc: alsa-devel, linux-arm-kernel, devicetree, linux-rockchip, pgwipeout

Hi all,

Investigating the RK3328 GPIO_MUTE pin in the context of boards that use
it to control a regulator has highlighted that the audio codec driver
currently has some hard-coded implicit control of that pin. Fortunately
those boards don't currently enable the audio codec, because it would be
pretty terrible if playing audio changed the SD card I/O voltage. This
is a first crack at making things better.

Robin.


Robin Murphy (3):
  ASoC: dt-bindings: Make RK3328 codec GPIO explicit
  ASoC: rockchip: Make RK3328 GPIO_MUTE control explicit
  arm64: dts: rockchip: Describe RK3328 GPIO_MUTE users

 .../bindings/sound/rockchip,rk3328-codec.txt  |  7 ++++++-
 arch/arm64/boot/dts/rockchip/rk3328-a1.dts    |  1 +
 .../arm64/boot/dts/rockchip/rk3328-rock64.dts |  1 +
 sound/soc/codecs/rk3328_codec.c               | 20 +++++--------------
 4 files changed, 13 insertions(+), 16 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH v2 0/3] Clean up RK3328 audio codec GPIO control
@ 2020-02-18 21:31 Robin Murphy
  2020-02-18 21:31 ` [PATCH v2 2/3] ASoC: rockchip: Make RK3328 GPIO_MUTE control explicit Robin Murphy
  0 siblings, 1 reply; 12+ messages in thread
From: Robin Murphy @ 2020-02-18 21:31 UTC (permalink / raw)
  To: lgirdwood, broonie, heiko
  Cc: alsa-devel, linux-arm-kernel, devicetree, linux-rockchip, pgwipeout

Hi all,

Since nobody said anything resembling "that looks like a terrible idea!"
to what I propsed on top of v1, resending as a full v2 per Mark's
request.

Robin.


Robin Murphy (3):
  ASoC: dt-bindings: Make RK3328 codec GPIO explicit
  ASoC: rockchip: Make RK3328 GPIO_MUTE control explicit
  arm64: dts: rockchip: Describe RK3328 GPIO_MUTE users

 .../bindings/sound/rockchip,rk3328-codec.txt  |  7 ++++-
 arch/arm64/boot/dts/rockchip/rk3328-a1.dts    |  1 +
 .../arm64/boot/dts/rockchip/rk3328-rock64.dts |  1 +
 sound/soc/codecs/rk3328_codec.c               | 31 ++++++++++---------
 4 files changed, 24 insertions(+), 16 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-02-19 12:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06  1:07 [PATCH 0/3] Clean up RK3328 audio codec GPIO control Robin Murphy
2020-02-06  1:07 ` [PATCH 1/3] ASoC: dt-bindings: Make RK3328 codec GPIO explicit Robin Murphy
2020-02-06  1:07 ` [PATCH 2/3] ASoC: rockchip: Make RK3328 GPIO_MUTE control explicit Robin Murphy
2020-02-06 11:46   ` Mark Brown
2020-02-06 12:36     ` Robin Murphy
2020-02-06 13:57       ` Mark Brown
2020-02-06 18:05         ` Peter Geis
2020-02-06 21:38           ` [PATCH v2 " Robin Murphy
2020-02-10 13:56             ` Mark Brown
2020-02-06  1:07 ` [PATCH 3/3] arm64: dts: rockchip: Describe RK3328 GPIO_MUTE users Robin Murphy
2020-02-18 21:31 [PATCH v2 0/3] Clean up RK3328 audio codec GPIO control Robin Murphy
2020-02-18 21:31 ` [PATCH v2 2/3] ASoC: rockchip: Make RK3328 GPIO_MUTE control explicit Robin Murphy
2020-02-19 12:06   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).