* [PATCH 0/2] arm64: allwinner: a64: Rename hpvcc-supply to cpvdd-supply
@ 2019-02-13 7:04 Chen-Yu Tsai
2019-02-13 7:04 ` [PATCH 1/2] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd Chen-Yu Tsai
2019-02-13 7:04 ` [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai
0 siblings, 2 replies; 6+ messages in thread
From: Chen-Yu Tsai @ 2019-02-13 7:04 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood, Maxime Ripard
Cc: devicetree, alsa-devel, linux-sunxi, linux-kernel, Chen-Yu Tsai,
linux-arm-kernel
Hi everyone,
This is a small series to fix the CPVDD regulator supply name for the
A64 codec. The datasheet specifies the name "CPVDD" for the supply rail
for the audio codec's internal headphone amp charge pump.
Somehow I managed to write "CPVDD" in the commit message and the device
tree binding, but used "HPVCC" (which is the name used by the A33) in
the device tree files and the device driver. (facepalm)
This feature was just introduced in v5.0-rc1, so if we could merge this
as fixes for v5.0 that would be great.
Thanks, and sorry for the blunder on my part.
Regards
ChenYu
Chen-Yu Tsai (2):
ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to
cpvdd
arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 2 +-
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 2 +-
arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 2 +-
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 2 +-
sound/soc/sunxi/sun50i-codec-analog.c | 4 ++--
5 files changed, 6 insertions(+), 6 deletions(-)
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH 1/2] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd 2019-02-13 7:04 [PATCH 0/2] arm64: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai @ 2019-02-13 7:04 ` Chen-Yu Tsai 2019-02-19 15:50 ` Applied "ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd" to the asoc tree Mark Brown 2019-02-13 7:04 ` [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai 1 sibling, 1 reply; 6+ messages in thread From: Chen-Yu Tsai @ 2019-02-13 7:04 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Maxime Ripard Cc: devicetree, alsa-devel, linux-sunxi, linux-kernel, Chen-Yu Tsai, linux-arm-kernel The A64 datasheet lists the supply rail for the headphone amp's charge pump as "CPVDD". cpvdd-supply is the name of the property for this power rail specified in the device tree bindings. "HPVCC" was the name used in the A33 datasheet for the same function. Rename the supply so it matches the datasheet, bindings, and the subject from the original commit. Fixes: ca0412a05756 ("ASoC: sunxi: sun50i-codec-analog: Add support for cpvdd regulator supply") Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- sound/soc/sunxi/sun50i-codec-analog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sunxi/sun50i-codec-analog.c b/sound/soc/sunxi/sun50i-codec-analog.c index df1fed0aa001..d105c90c3706 100644 --- a/sound/soc/sunxi/sun50i-codec-analog.c +++ b/sound/soc/sunxi/sun50i-codec-analog.c @@ -274,7 +274,7 @@ static const struct snd_soc_dapm_widget sun50i_a64_codec_widgets[] = { * stream widgets at the card level. */ - SND_SOC_DAPM_REGULATOR_SUPPLY("hpvcc", 0, 0), + SND_SOC_DAPM_REGULATOR_SUPPLY("cpvdd", 0, 0), SND_SOC_DAPM_MUX("Headphone Source Playback Route", SND_SOC_NOPM, 0, 0, sun50i_codec_hp_src), SND_SOC_DAPM_OUT_DRV("Headphone Amp", SUN50I_ADDA_HP_CTRL, @@ -362,7 +362,7 @@ static const struct snd_soc_dapm_route sun50i_a64_codec_routes[] = { { "Headphone Source Playback Route", "Mixer", "Left Mixer" }, { "Headphone Source Playback Route", "Mixer", "Right Mixer" }, { "Headphone Amp", NULL, "Headphone Source Playback Route" }, - { "Headphone Amp", NULL, "hpvcc" }, + { "Headphone Amp", NULL, "cpvdd" }, { "HP", NULL, "Headphone Amp" }, /* Microphone Routes */ -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Applied "ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd" to the asoc tree 2019-02-13 7:04 ` [PATCH 1/2] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd Chen-Yu Tsai @ 2019-02-19 15:50 ` Mark Brown 0 siblings, 0 replies; 6+ messages in thread From: Mark Brown @ 2019-02-19 15:50 UTC (permalink / raw) To: Chen-Yu Tsai Cc: devicetree, alsa-devel, Maxime Ripard, Liam Girdwood, linux-kernel, linux-sunxi, Mark Brown, linux-arm-kernel The patch ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 5fd812e6f5ae0376134234ceb70e8de541ccb10d Mon Sep 17 00:00:00 2001 From: Chen-Yu Tsai <wens@csie.org> Date: Wed, 13 Feb 2019 15:04:56 +0800 Subject: [PATCH] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd The A64 datasheet lists the supply rail for the headphone amp's charge pump as "CPVDD". cpvdd-supply is the name of the property for this power rail specified in the device tree bindings. "HPVCC" was the name used in the A33 datasheet for the same function. Rename the supply so it matches the datasheet, bindings, and the subject from the original commit. Fixes: ca0412a05756 ("ASoC: sunxi: sun50i-codec-analog: Add support for cpvdd regulator supply") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org> --- sound/soc/sunxi/sun50i-codec-analog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sunxi/sun50i-codec-analog.c b/sound/soc/sunxi/sun50i-codec-analog.c index df1fed0aa001..d105c90c3706 100644 --- a/sound/soc/sunxi/sun50i-codec-analog.c +++ b/sound/soc/sunxi/sun50i-codec-analog.c @@ -274,7 +274,7 @@ static const struct snd_soc_dapm_widget sun50i_a64_codec_widgets[] = { * stream widgets at the card level. */ - SND_SOC_DAPM_REGULATOR_SUPPLY("hpvcc", 0, 0), + SND_SOC_DAPM_REGULATOR_SUPPLY("cpvdd", 0, 0), SND_SOC_DAPM_MUX("Headphone Source Playback Route", SND_SOC_NOPM, 0, 0, sun50i_codec_hp_src), SND_SOC_DAPM_OUT_DRV("Headphone Amp", SUN50I_ADDA_HP_CTRL, @@ -362,7 +362,7 @@ static const struct snd_soc_dapm_route sun50i_a64_codec_routes[] = { { "Headphone Source Playback Route", "Mixer", "Left Mixer" }, { "Headphone Source Playback Route", "Mixer", "Right Mixer" }, { "Headphone Amp", NULL, "Headphone Source Playback Route" }, - { "Headphone Amp", NULL, "hpvcc" }, + { "Headphone Amp", NULL, "cpvdd" }, { "HP", NULL, "Headphone Amp" }, /* Microphone Routes */ -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply 2019-02-13 7:04 [PATCH 0/2] arm64: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai 2019-02-13 7:04 ` [PATCH 1/2] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd Chen-Yu Tsai @ 2019-02-13 7:04 ` Chen-Yu Tsai 2019-03-21 9:01 ` Maxime Ripard 1 sibling, 1 reply; 6+ messages in thread From: Chen-Yu Tsai @ 2019-02-13 7:04 UTC (permalink / raw) To: Mark Brown, Liam Girdwood, Maxime Ripard Cc: devicetree, alsa-devel, linux-sunxi, linux-kernel, Chen-Yu Tsai, linux-arm-kernel The A64 datasheet lists the supply rail for the headphone amp's charge pump as "CPVDD". cpvdd-supply is the name of the property for this power rail specified in the device tree bindings. "HPVCC" was the name used in the A33 datasheet for the same function. Rename the supply so it matches the datasheet and bindings. Fixes: c56689e6f2fb ("arm64: dts: allwinner: a64: bananapi-m64: Enable audio codec") Fixes: 6de8e717848f ("arm64: dts: allwinner: a64: enable sound on Pinebook") Fixes: 498c21f233ed ("arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine") Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 2 +- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 2 +- arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 2 +- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 7793ebb5d2b8..0a56c0c23ba1 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -104,7 +104,7 @@ }; &codec_analog { - hpvcc-supply = <®_eldo1>; + cpvdd-supply = <®_eldo1>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index c0b9cc7a6b3a..b7ac6374b178 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -80,7 +80,7 @@ }; &codec_analog { - hpvcc-supply = <®_eldo1>; + cpvdd-supply = <®_eldo1>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts index d22736a62481..78c82a665c84 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts @@ -94,7 +94,7 @@ }; &codec_analog { - hpvcc-supply = <®_eldo1>; + cpvdd-supply = <®_eldo1>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi index d2651f284aa0..9d20e13f0c02 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi @@ -48,7 +48,7 @@ #include <dt-bindings/gpio/gpio.h> &codec_analog { - hpvcc-supply = <®_eldo1>; + cpvdd-supply = <®_eldo1>; }; &mmc0 { -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply 2019-02-13 7:04 ` [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai @ 2019-03-21 9:01 ` Maxime Ripard 2019-03-21 9:05 ` [linux-sunxi] " Chen-Yu Tsai 0 siblings, 1 reply; 6+ messages in thread From: Maxime Ripard @ 2019-03-21 9:01 UTC (permalink / raw) To: Chen-Yu Tsai Cc: devicetree, alsa-devel, Liam Girdwood, linux-kernel, linux-sunxi, Mark Brown, linux-arm-kernel [-- Attachment #1.1: Type: text/plain, Size: 840 bytes --] On Wed, Feb 13, 2019 at 03:04:57PM +0800, Chen-Yu Tsai wrote: > The A64 datasheet lists the supply rail for the headphone amp's charge > pump as "CPVDD". cpvdd-supply is the name of the property for this power > rail specified in the device tree bindings. "HPVCC" was the name used in > the A33 datasheet for the same function. > > Rename the supply so it matches the datasheet and bindings. > > Fixes: c56689e6f2fb ("arm64: dts: allwinner: a64: bananapi-m64: Enable audio codec") > Fixes: 6de8e717848f ("arm64: dts: allwinner: a64: enable sound on Pinebook") > Fixes: 498c21f233ed ("arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine") > Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-sunxi] Re: [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply 2019-03-21 9:01 ` Maxime Ripard @ 2019-03-21 9:05 ` Chen-Yu Tsai 0 siblings, 0 replies; 6+ messages in thread From: Chen-Yu Tsai @ 2019-03-21 9:05 UTC (permalink / raw) To: Maxime Ripard Cc: devicetree, Linux-ALSA, Liam Girdwood, linux-kernel, linux-sunxi, Mark Brown, linux-arm-kernel On Thu, Mar 21, 2019 at 5:01 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > On Wed, Feb 13, 2019 at 03:04:57PM +0800, Chen-Yu Tsai wrote: > > The A64 datasheet lists the supply rail for the headphone amp's charge > > pump as "CPVDD". cpvdd-supply is the name of the property for this power > > rail specified in the device tree bindings. "HPVCC" was the name used in > > the A33 datasheet for the same function. > > > > Rename the supply so it matches the datasheet and bindings. > > > > Fixes: c56689e6f2fb ("arm64: dts: allwinner: a64: bananapi-m64: Enable audio codec") > > Fixes: 6de8e717848f ("arm64: dts: allwinner: a64: enable sound on Pinebook") > > Fixes: 498c21f233ed ("arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine") > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> > > Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Merged as a fix for 5.1. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-03-21 9:06 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-02-13 7:04 [PATCH 0/2] arm64: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai 2019-02-13 7:04 ` [PATCH 1/2] ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd Chen-Yu Tsai 2019-02-19 15:50 ` Applied "ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd" to the asoc tree Mark Brown 2019-02-13 7:04 ` [PATCH 2/2] arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply Chen-Yu Tsai 2019-03-21 9:01 ` Maxime Ripard 2019-03-21 9:05 ` [linux-sunxi] " Chen-Yu Tsai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox