* [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema
@ 2024-06-20 9:39 Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 1/2] ASoC: dt-bindings: convert " Neil Armstrong
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Neil Armstrong @ 2024-06-20 9:39 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-sound, devicetree, linux-kernel, Neil Armstrong,
Krzysztof Kozlowski
Convert the text bindings of the Everest ES7241/ES7134/7144/7154 2 channels
I2S analog to digital converter to dt-schema.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Fixed examples
- Collected review tags
- Link to v1: https://lore.kernel.org/r/20240611-topic-amlogic-upstream-bindings-convert-everest-v1-0-a7f9b4c9005c@linaro.org
---
Neil Armstrong (2):
ASoC: dt-bindings: convert everest,es7241.txt to dt-schema
ASoC: dt-bindings: convert everest,es7134.txt to dt-schema
.../devicetree/bindings/sound/everest,es7134.txt | 15 -----
.../devicetree/bindings/sound/everest,es71x4.yaml | 62 ++++++++++++++++++++
.../devicetree/bindings/sound/everest,es7241.txt | 28 ---------
.../devicetree/bindings/sound/everest,es7241.yaml | 67 ++++++++++++++++++++++
4 files changed, 129 insertions(+), 43 deletions(-)
---
base-commit: c3f38fa61af77b49866b006939479069cd451173
change-id: 20240611-topic-amlogic-upstream-bindings-convert-everest-4d5a601e4ef5
Best regards,
--
Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] ASoC: dt-bindings: convert everest,es7241.txt to dt-schema
2024-06-20 9:39 [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema Neil Armstrong
@ 2024-06-20 9:39 ` Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 2/2] ASoC: dt-bindings: convert everest,es7134.txt " Neil Armstrong
2024-06-23 17:21 ` [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2024-06-20 9:39 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-sound, devicetree, linux-kernel, Neil Armstrong,
Krzysztof Kozlowski
Convert the text biddings for the Everest ES7241 2 channels I2S analog
to digital converter to dt-schema.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
.../devicetree/bindings/sound/everest,es7241.txt | 28 ---------
.../devicetree/bindings/sound/everest,es7241.yaml | 67 ++++++++++++++++++++++
2 files changed, 67 insertions(+), 28 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/everest,es7241.txt b/Documentation/devicetree/bindings/sound/everest,es7241.txt
deleted file mode 100644
index 28f82cf4959f..000000000000
--- a/Documentation/devicetree/bindings/sound/everest,es7241.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-ES7241 i2s AD converter
-
-Required properties:
-- compatible : "everest,es7241"
-- VDDP-supply: regulator phandle for the VDDA supply
-- VDDA-supply: regulator phandle for the VDDP supply
-- VDDD-supply: regulator phandle for the VDDD supply
-
-Optional properties:
-- reset-gpios: gpio connected to the reset pin
-- m0-gpios : gpio connected to the m0 pin
-- m1-gpios : gpio connected to the m1 pin
-- everest,sdout-pull-down:
- Format used by the serial interface is controlled by pulling
- the sdout. If the sdout is pulled down, leftj format is used.
- If this property is not provided, sdout is assumed to pulled
- up and i2s format is used
-
-Example:
-
-linein: audio-codec@2 {
- #sound-dai-cells = <0>;
- compatible = "everest,es7241";
- VDDA-supply = <&vcc_3v3>;
- VDDP-supply = <&vcc_3v3>;
- VDDD-supply = <&vcc_3v3>;
- reset-gpios = <&gpio GPIOH_42>;
-};
diff --git a/Documentation/devicetree/bindings/sound/everest,es7241.yaml b/Documentation/devicetree/bindings/sound/everest,es7241.yaml
new file mode 100644
index 000000000000..f179af758730
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/everest,es7241.yaml
@@ -0,0 +1,67 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/everest,es7241.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Everest ES7241 2 channels I2S analog to digital converter
+
+maintainers:
+ - Neil Armstrong <neil.armstrong@linaro.org>
+
+properties:
+ compatible:
+ enum:
+ - everest,es7241
+
+ reset-gpios:
+ maxItems: 1
+ description: GPIO connected to the reset pin
+
+ m0-gpios:
+ maxItems: 1
+ description: GPIO connected to the m0 pin
+
+ m1-gpios:
+ maxItems: 1
+ description: GPIO connected to the m0 pin
+
+ everest,sdout-pull-down:
+ type: boolean
+ description:
+ Format used by the serial interface is controlled by pulling
+ the sdout. If the sdout is pulled down, leftj format is used.
+ If this property is not provided, sdout is assumed to pulled
+ up and i2s format is used
+
+ VDDP-supply: true
+ VDDA-supply: true
+ VDDD-supply: true
+
+ '#sound-dai-cells':
+ const: 0
+
+required:
+ - compatible
+ - VDDP-supply
+ - VDDA-supply
+ - VDDD-supply
+
+allOf:
+ - $ref: dai-common.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ codec {
+ compatible = "everest,es7241";
+ #sound-dai-cells = <0>;
+ reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
+ VDDP-supply = <&vddp_supply>;
+ VDDA-supply = <&vdda_supply>;
+ VDDD-supply = <&vddd_supply>;
+ };
+
+...
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ASoC: dt-bindings: convert everest,es7134.txt to dt-schema
2024-06-20 9:39 [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 1/2] ASoC: dt-bindings: convert " Neil Armstrong
@ 2024-06-20 9:39 ` Neil Armstrong
2024-06-23 17:21 ` [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2024-06-20 9:39 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-sound, devicetree, linux-kernel, Neil Armstrong,
Krzysztof Kozlowski
Convert the text bindings of the Everest ES7134/7144/7154 2 channels
I2S analog to digital converter to dt-schema.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
.../devicetree/bindings/sound/everest,es7134.txt | 15 ------
.../devicetree/bindings/sound/everest,es71x4.yaml | 62 ++++++++++++++++++++++
2 files changed, 62 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/everest,es7134.txt b/Documentation/devicetree/bindings/sound/everest,es7134.txt
deleted file mode 100644
index 091666069bde..000000000000
--- a/Documentation/devicetree/bindings/sound/everest,es7134.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-ES7134 i2s DA converter
-
-Required properties:
-- compatible : "everest,es7134" or
- "everest,es7144" or
- "everest,es7154"
-- VDD-supply : regulator phandle for the VDD supply
-- PVDD-supply: regulator phandle for the PVDD supply for the es7154
-
-Example:
-
-i2s_codec: external-codec {
- compatible = "everest,es7134";
- VDD-supply = <&vcc_5v>;
-};
diff --git a/Documentation/devicetree/bindings/sound/everest,es71x4.yaml b/Documentation/devicetree/bindings/sound/everest,es71x4.yaml
new file mode 100644
index 000000000000..fd1b32812228
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/everest,es71x4.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/everest,es71x4.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Everest ES7134/7144/7154 2 channels I2S analog to digital converter
+
+maintainers:
+ - Neil Armstrong <neil.armstrong@linaro.org>
+
+properties:
+ compatible:
+ enum:
+ - everest,es7134
+ - everest,es7144
+ - everest,es7154
+
+ VDD-supply: true
+ PVDD-supply: true
+
+ '#sound-dai-cells':
+ const: 0
+
+required:
+ - compatible
+ - VDD-supply
+
+allOf:
+ - $ref: dai-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - everest,es7134
+ - everest,es7144
+ then:
+ properties:
+ PVDD-supply: false
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - everest,es7154
+ then:
+ required:
+ - PVDD-supply
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ codec {
+ compatible = "everest,es7134";
+ #sound-dai-cells = <0>;
+ VDD-supply = <&vdd_supply>;
+ };
+
+...
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema
2024-06-20 9:39 [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 1/2] ASoC: dt-bindings: convert " Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 2/2] ASoC: dt-bindings: convert everest,es7134.txt " Neil Armstrong
@ 2024-06-23 17:21 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2024-06-23 17:21 UTC (permalink / raw)
To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Neil Armstrong
Cc: linux-sound, devicetree, linux-kernel, Krzysztof Kozlowski
On Thu, 20 Jun 2024 11:39:56 +0200, Neil Armstrong wrote:
> Convert the text bindings of the Everest ES7241/ES7134/7144/7154 2 channels
> I2S analog to digital converter to dt-schema.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: dt-bindings: convert everest,es7241.txt to dt-schema
commit: 78df231dae2e1a9bf22f76b5cf03c0bf98738fd7
[2/2] ASoC: dt-bindings: convert everest,es7134.txt to dt-schema
commit: 534a0e5e737f8117344372d8658a4702ae816281
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-23 17:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 9:39 [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt to dt-schema Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 1/2] ASoC: dt-bindings: convert " Neil Armstrong
2024-06-20 9:39 ` [PATCH v2 2/2] ASoC: dt-bindings: convert everest,es7134.txt " Neil Armstrong
2024-06-23 17:21 ` [PATCH v2 0/2] ASoC: dt-bindings: convert everest,es7134.txt & everest,es7241.txt " 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).