mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
@ 2024-06-07  5:57 Animesh Agarwal
  2024-06-07  6:19 ` Kuninori Morimoto
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Animesh Agarwal @ 2024-06-07  5:57 UTC (permalink / raw)
  Cc: animeshagarwal28, Daniel Baluta, Liam Girdwood, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Kuninori Morimoto, linux-sound, devicetree, linux-kernel

Convert the AK4554 sound codec bindings to DT schema.

Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Cc: Daniel Baluta <daniel.baluta@nxp.com>
---
 .../devicetree/bindings/sound/ak4554.txt      | 11 --------
 .../bindings/sound/asahi-kasei,ak4554.yaml    | 27 +++++++++++++++++++
 2 files changed, 27 insertions(+), 11 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/sound/ak4554.txt
 create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml

diff --git a/Documentation/devicetree/bindings/sound/ak4554.txt b/Documentation/devicetree/bindings/sound/ak4554.txt
deleted file mode 100644
index 934fa02754b3..000000000000
--- a/Documentation/devicetree/bindings/sound/ak4554.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-AK4554 ADC/DAC
-
-Required properties:
-
-  - compatible : "asahi-kasei,ak4554"
-
-Example:
-
-ak4554-adc-dac {
-	compatible = "asahi-kasei,ak4554";
-};
diff --git a/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml
new file mode 100644
index 000000000000..c77d85df239e
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4554.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AK4554 sound codec
+
+maintainers:
+  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
+  - Liam Girdwood <lgirdwood@gmail.com>
+  - Mark Brown <broonie@kernel.org>
+
+properties:
+  compatible:
+    const: asahi-kasei,ak4554
+
+required:
+  - compatible
+
+additionalProperties: false
+
+examples:
+  - |
+    codec {
+        compatible = "asahi-kasei,ak4554";
+    };
-- 
2.45.1


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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  5:57 [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema Animesh Agarwal
@ 2024-06-07  6:19 ` Kuninori Morimoto
  2024-06-07  8:42   ` Daniel Baluta
  2024-06-10 22:15 ` Rob Herring (Arm)
  2024-06-11 16:12 ` Mark Brown
  2 siblings, 1 reply; 7+ messages in thread
From: Kuninori Morimoto @ 2024-06-07  6:19 UTC (permalink / raw)
  To: Animesh Agarwal
  Cc: Daniel Baluta, Liam Girdwood, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-sound, devicetree,
	linux-kernel


Hi Animesh

> Convert the AK4554 sound codec bindings to DT schema.
> 
> Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
> Cc: Daniel Baluta <daniel.baluta@nxp.com>
> ---

Thank you for the patch.
But no one is using AK4554, we can remove it instead ?


Thank you for your help !!
Best regards
---
Kuninori Morimoto

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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  6:19 ` Kuninori Morimoto
@ 2024-06-07  8:42   ` Daniel Baluta
  2024-06-07  9:27     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Baluta @ 2024-06-07  8:42 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Animesh Agarwal, Daniel Baluta, Liam Girdwood, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-sound,
	devicetree, linux-kernel

On Fri, Jun 7, 2024 at 9:19 AM Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>
>
> Hi Animesh
>
> > Convert the AK4554 sound codec bindings to DT schema.
> >
> > Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
> > Cc: Daniel Baluta <daniel.baluta@nxp.com>
> > ---
>
> Thank you for the patch.
> But no one is using AK4554, we can remove it instead ?


So we just remove the device tree binding file, right? And later if
there is anyone who will use the
codec he can later add the yaml file.

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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  8:42   ` Daniel Baluta
@ 2024-06-07  9:27     ` Krzysztof Kozlowski
  2024-06-07 13:24       ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-07  9:27 UTC (permalink / raw)
  To: Daniel Baluta, Kuninori Morimoto
  Cc: Animesh Agarwal, Daniel Baluta, Liam Girdwood, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-sound,
	devicetree, linux-kernel

On 07/06/2024 10:42, Daniel Baluta wrote:
> On Fri, Jun 7, 2024 at 9:19 AM Kuninori Morimoto
> <kuninori.morimoto.gx@renesas.com> wrote:
>>
>>
>> Hi Animesh
>>
>>> Convert the AK4554 sound codec bindings to DT schema.
>>>
>>> Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
>>> Cc: Daniel Baluta <daniel.baluta@nxp.com>
>>> ---
>>
>> Thank you for the patch.
>> But no one is using AK4554, we can remove it instead ?
> 
> 
> So we just remove the device tree binding file, right? And later if
> there is anyone who will use the
> codec he can later add the yaml file.

Remove the binding and the driver.

Best regards,
Krzysztof


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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  9:27     ` Krzysztof Kozlowski
@ 2024-06-07 13:24       ` Mark Brown
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2024-06-07 13:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Daniel Baluta, Kuninori Morimoto, Animesh Agarwal, Daniel Baluta,
	Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-sound, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

On Fri, Jun 07, 2024 at 11:27:25AM +0200, Krzysztof Kozlowski wrote:
> On 07/06/2024 10:42, Daniel Baluta wrote:

> > So we just remove the device tree binding file, right? And later if
> > there is anyone who will use the
> > codec he can later add the yaml file.

> Remove the binding and the driver.

I tend to prefer to keep drivers unless they're actively getting in the
way, there's no requirement for people to upstream their board DTs
(we're trying to have boards shipping DTs in firmware...).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  5:57 [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema Animesh Agarwal
  2024-06-07  6:19 ` Kuninori Morimoto
@ 2024-06-10 22:15 ` Rob Herring (Arm)
  2024-06-11 16:12 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2024-06-10 22:15 UTC (permalink / raw)
  To: Animesh Agarwal
  Cc: Mark Brown, Kuninori Morimoto, linux-kernel, Daniel Baluta,
	Liam Girdwood, Krzysztof Kozlowski, Conor Dooley, linux-sound,
	devicetree


On Fri, 07 Jun 2024 11:27:20 +0530, Animesh Agarwal wrote:
> Convert the AK4554 sound codec bindings to DT schema.
> 
> Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
> Cc: Daniel Baluta <daniel.baluta@nxp.com>
> ---
>  .../devicetree/bindings/sound/ak4554.txt      | 11 --------
>  .../bindings/sound/asahi-kasei,ak4554.yaml    | 27 +++++++++++++++++++
>  2 files changed, 27 insertions(+), 11 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/sound/ak4554.txt
>  create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema
  2024-06-07  5:57 [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema Animesh Agarwal
  2024-06-07  6:19 ` Kuninori Morimoto
  2024-06-10 22:15 ` Rob Herring (Arm)
@ 2024-06-11 16:12 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2024-06-11 16:12 UTC (permalink / raw)
  To: Animesh Agarwal
  Cc: Daniel Baluta, Liam Girdwood, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Kuninori Morimoto, linux-sound, devicetree,
	linux-kernel

On Fri, 07 Jun 2024 11:27:20 +0530, Animesh Agarwal wrote:
> Convert the AK4554 sound codec bindings to DT schema.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: dt-bindings: ak4554: Convert to dtschema
      commit: 0ac3f1a4c2a345c48d22e8eb5b5aeb9304cb11db

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] 7+ messages in thread

end of thread, other threads:[~2024-06-11 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-07  5:57 [PATCH] ASoC: dt-bindings: ak4554: Convert to dtschema Animesh Agarwal
2024-06-07  6:19 ` Kuninori Morimoto
2024-06-07  8:42   ` Daniel Baluta
2024-06-07  9:27     ` Krzysztof Kozlowski
2024-06-07 13:24       ` Mark Brown
2024-06-10 22:15 ` Rob Herring (Arm)
2024-06-11 16:12 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®