arm64: dts: qcom: msm8996: fix sound card reset line polarity
Subsystems (6)
PATCH 1/6 arm64: dts: qcom: msm8996: fix sound card reset line polarity
When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low". It will become important when wcd9335 driver will be converted to gpiod API that respects declared line polarities.
--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
@@ -3354,7 +3354,7 @@ wcd9335: codec@1,0 { interrupt-names = "intr1", "intr2"; interrupt-controller; #interrupt-cells = <1>; - reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; slim-ifc-dev = <&tasha_ifd>;
Signature · 1 line
2.38.0.135.g90850a2211-goog
PATCH 2/6 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low".
--- Documentation/devicetree/bindings/sound/qcom,wcd9335.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/qcom,wcd9335.txt +1 -1
@@ -109,7 +109,7 @@ audio-codec@1{ reg = <1 0>; interrupts = <&msmgpio 54 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "intr2" - reset-gpios = <&msmgpio 64 0>; + reset-gpios = <&msmgpio 64 GPIO_ACTIVE_LOW>; slim-ifc-dev = <&wc9335_ifd>; clock-names = "mclk", "native"; clocks = <&rpmcc RPM_SMD_DIV_CLK1>,
Signature · 1 line
2.38.0.135.g90850a2211-goog
Re: [PATCH 2/6] ASoC: dt-bindings: wcd9335: fix reset line polarity in example
Quoted 7 lines · Dmitry Torokhov
When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low".
Fixes 1877c9fda1b7 ("ASoC: dt-bindings: add dt bindings for wcd9335 audio codec")Signed-off-by Dmitry Torokhov <[email protected]>---
Best regards,
Krzysztof
PATCH 3/6 arm64: dts: qcom: sm8250-mtp: fix reset line polarity
In reply to Dmitry TorokhovThe driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the DTS accordingly.
--- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8250-mtp.dts +1 -1
@@ -635,7 +635,7 @@ &soc { wcd938x: codec { compatible = "qcom,wcd9380-codec"; #sound-dai-cells = <1>; - reset-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; vdd-buck-supply = <&vreg_s4a_1p8>; vdd-rxtx-supply = <&vreg_s4a_1p8>; vdd-io-supply = <&vreg_s4a_1p8>;
Signature · 1 line
2.38.0.135.g90850a2211-goog
PATCH 4/6 arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 3.0/3.1
In reply to Dmitry TorokhovThe driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the DTS accordingly.
--- arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +1 -1
@@ -37,7 +37,7 @@ wcd9385: audio-codec-1 { pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>; pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>; - reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>; us-euro-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; qcom,rx-device = <&wcd_rx>;
Signature · 1 line
2.38.0.135.g90850a2211-goog
PATCH 5/6 arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 1.0/2.0
In reply to Dmitry TorokhovThe driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the DTS accordingly.
--- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +1 -1
@@ -34,7 +34,7 @@ wcd9385: audio-codec-1 { pinctrl-0 = <&wcd_reset_n>; pinctrl-1 = <&wcd_reset_n_sleep>; - reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>; qcom,rx-device = <&wcd_rx>; qcom,tx-device = <&wcd_tx>;
Signature · 1 line
2.38.0.135.g90850a2211-goog
PATCH 6/6 ASoC: dt-bindings: wcd938x: fix codec reset line polarity in example
In reply to Dmitry TorokhovThe driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the example DTS accordingly.
--- Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +1 -1
@@ -112,7 +112,7 @@ examples: - | codec { compatible = "qcom,wcd9380-codec"; - reset-gpios = <&tlmm 32 0>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; #sound-dai-cells = <1>; qcom,tx-device = <&wcd938x_tx>; qcom,rx-device = <&wcd938x_rx>;
Signature · 1 line
2.38.0.135.g90850a2211-goog
Re: [PATCH 6/6] ASoC: dt-bindings: wcd938x: fix codec reset line polarity in example
Quoted 6 lines · Dmitry Torokhov
The driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the example DTS accordingly.
Signed-off-by Dmitry Torokhov <[email protected]>---
Best regards,
Krzysztof
Rob Herring
maintainerRe: [PATCH 6/6] ASoC: dt-bindings: wcd938x: fix codec reset line polarity in example
In reply to Dmitry TorokhovQuoted 14 lines · Dmitry Torokhov
The driver for the codec, when resetting the chip, first drives the line low, and then high. This means that the line is active low. Change the annotation in the example DTS accordingly.
Signed-off-by Dmitry Torokhov <[email protected]>--- Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +0
-0
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml examples: · line 115
Quoted 5 lines
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +1
-1@@ -112,7 +112,7 @@ examples: - | codec { compatible = "qcom,wcd9380-codec"; - reset-gpios = <&tlmm 32 0>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
Missing a header for this.
Quoted 7 lines
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml +0
-0#sound-dai-cells = <1>; qcom,tx-device = <&wcd938x_tx>; qcom,rx-device = <&wcd938x_rx>;Signature · 1 line
2.38.0.135.g90850a2211-goog
Re: (subset) [PATCH 1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity
In reply to Dmitry TorokhovQuoted 6 lines · Dmitry Torokhov
When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low". It will become important when wcd9335 driver will be converted to gpiod API that respects declared line polarities.
Applied, thanks!
[1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity
commit: 76d21ffc5d425bf7ea9888652c49d7dbda15f356
[3/6] arm64: dts: qcom: sm8250-mtp: fix reset line polarity
commit: 15d9fcbb3e6e8420c7d1ae331405780c5d9c1c25
[4/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 3.0/3.1
commit: 1caf66104c02d327a2467a69ab18fb24b44e9715
[5/6] arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 1.0/2.0
commit: b8f298d4f69d82119ac0d22809a17c80b1f188d1Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>
Mark Brown
maintainerRe: (subset) [PATCH 1/6] arm64: dts: qcom: msm8996: fix sound card reset line polarity
In reply to Dmitry TorokhovQuoted 6 lines · Dmitry Torokhov
When resetting the block, the reset line is being driven low and then high, which means that the line in DTS should be annotated as "active low". It will become important when wcd9335 driver will be converted to gpiod API that respects declared line polarities.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[2/6] ASoC: dt-bindings: wcd9335: fix reset line polarity in example
commit: 34cb111f8a7b98b5fec809dd194003bca20ef1b2
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