[alsa-devel] [PATCH V5] ASoC: cs42xx8: add reset-gpios in binding document
Add reset-gpios property, which is optional.
Signed-off-by: Shengjiu Wang shengjiu.wang@nxp.com --- Changes in V5 - use GPIO_ACTIVE_LOW
Changes in V4 - use gpios instead of gpio
Changes in RESEND v3 - send updated binding document only
Changes in v3 - update binding document.
Changes in v2 - use devm_gpiod_get_optional instead of of_get_named_gpio
Documentation/devicetree/bindings/sound/cs42xx8.txt | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/cs42xx8.txt b/Documentation/devicetree/bindings/sound/cs42xx8.txt index 8619a156d038..bbfe39347c20 100644 --- a/Documentation/devicetree/bindings/sound/cs42xx8.txt +++ b/Documentation/devicetree/bindings/sound/cs42xx8.txt @@ -14,6 +14,11 @@ Required properties: - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device, as covered in Documentation/devicetree/bindings/regulator/regulator.txt
+Optional properties: + + - reset-gpios : a GPIO spec to define which pin is connected to the chip's + !RESET pin + Example:
cs42888: codec@48 { @@ -25,4 +30,5 @@ cs42888: codec@48 { VD-supply = <®_audio>; VLS-supply = <®_audio>; VLC-supply = <®_audio>; + reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>; };
[You should always submit dt-bindings patches to Rob and to the devicetree list as indicated by checkpatch]
On Thu, May 16, 2019 at 8:42 AM S.j. Wang shengjiu.wang@nxp.com wrote:
Add reset-gpios property, which is optional.
Signed-off-by: Shengjiu Wang shengjiu.wang@nxp.com
+Optional properties:
- reset-gpios : a GPIO spec to define which pin is connected to the chip's
- !RESET pin
Example:
cs42888: codec@48 { @@ -25,4 +30,5 @@ cs42888: codec@48 { VD-supply = <®_audio>; VLS-supply = <®_audio>; VLC-supply = <®_audio>;
reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>;
Reviewed-by: Fabio Estevam festevam@gmail.com
The patch
ASoC: cs42xx8: add reset-gpios in binding document
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3
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 90fdbe8ab27047f7b9da57d1975c14a8d8f39370 Mon Sep 17 00:00:00 2001
From: "S.j. Wang" shengjiu.wang@nxp.com Date: Thu, 16 May 2019 11:40:56 +0000 Subject: [PATCH] ASoC: cs42xx8: add reset-gpios in binding document
Add reset-gpios property, which is optional.
Signed-off-by: Shengjiu Wang shengjiu.wang@nxp.com Signed-off-by: Mark Brown broonie@kernel.org --- Documentation/devicetree/bindings/sound/cs42xx8.txt | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/cs42xx8.txt b/Documentation/devicetree/bindings/sound/cs42xx8.txt index 8619a156d038..bbfe39347c20 100644 --- a/Documentation/devicetree/bindings/sound/cs42xx8.txt +++ b/Documentation/devicetree/bindings/sound/cs42xx8.txt @@ -14,6 +14,11 @@ Required properties: - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device, as covered in Documentation/devicetree/bindings/regulator/regulator.txt
+Optional properties: + + - reset-gpios : a GPIO spec to define which pin is connected to the chip's + !RESET pin + Example:
cs42888: codec@48 { @@ -25,4 +30,5 @@ cs42888: codec@48 { VD-supply = <®_audio>; VLS-supply = <®_audio>; VLC-supply = <®_audio>; + reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>; };
participants (3)
-
Fabio Estevam
-
Mark Brown
-
S.j. Wang