mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema
@ 2026-07-13 12:47 Bhargav Joshi
  2026-07-20 21:07 ` Rob Herring (Arm)
  2026-07-21 17:51 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Bhargav Joshi @ 2026-07-13 12:47 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Peter Ujfalusi
  Cc: linux-sound, devicetree, linux-kernel, goledhruva, m-chawdhry,
	daniel.baluta, simona.toaca, j.bhargav.u

Convert the TI OMAP4+ dmic bindings from txt to DT schema.

Following changes are introduced during converson:
  - Drop ti,hwmods property as it is not needed since the sysc
    conversion no existing DTS uses it.
  - Add dma, dma-names, reg-names properties to match the DTS.
  - Update example node to match existing DTS.

Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
---
 .../devicetree/bindings/sound/omap-dmic.txt        | 20 --------
 .../devicetree/bindings/sound/ti,omap4-dmic.yaml   | 58 ++++++++++++++++++++++
 2 files changed, 58 insertions(+), 20 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/omap-dmic.txt b/Documentation/devicetree/bindings/sound/omap-dmic.txt
deleted file mode 100644
index 418e30e72e89..000000000000
--- a/Documentation/devicetree/bindings/sound/omap-dmic.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-* Texas Instruments OMAP4+ Digital Microphone Module
-
-Required properties:
-- compatible: "ti,omap4-dmic"
-- reg: Register location and size as an array:
-       <MPU access base address, size>,
-       <L3 interconnect address, size>;
-- interrupts: Interrupt number for DMIC
-- ti,hwmods: Name of the hwmod associated with OMAP dmic IP
-
-Example:
-
-dmic: dmic@4012e000 {
-	compatible = "ti,omap4-dmic";
-	reg = <0x4012e000 0x7f>, /* MPU private access */
-	      <0x4902e000 0x7f>; /* L3 Interconnect */
-	interrupts = <0 114 0x4>;
-	interrupt-parent = <&gic>;
-	ti,hwmods = "dmic";
-};
diff --git a/Documentation/devicetree/bindings/sound/ti,omap4-dmic.yaml b/Documentation/devicetree/bindings/sound/ti,omap4-dmic.yaml
new file mode 100644
index 000000000000..773b9bf2f1c2
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ti,omap4-dmic.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/ti,omap4-dmic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments OMAP4+ Digital Microphone Module
+
+maintainers:
+  - Peter Ujfalusi <peter.ujfalusi@ti.com>
+
+properties:
+  compatible:
+    const: ti,omap4-dmic
+
+  reg:
+    items:
+      - description: MPU access base address
+      - description: L3 interconnect address
+
+  reg-names:
+    items:
+      - const: mpu
+      - const: dma
+
+  interrupts:
+    maxItems: 1
+
+  dmas:
+    maxItems: 1
+
+  dma-names:
+    items:
+      - const: up_link
+
+required:
+  - compatible
+  - reg
+  - reg-names
+  - interrupts
+  - dmas
+  - dma-names
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    dmic@0 {
+      compatible = "ti,omap4-dmic";
+      reg = <0x0 0x7f>, /* MPU private access */
+            <0x4902e000 0x7f>; /* L3 Interconnect */
+      reg-names = "mpu", "dma";
+      interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
+      dmas = <&sdma 67>;
+      dma-names = "up_link";
+    };

---
base-commit: ef0c9f75a19532d7675384708fc8621e10850104
change-id: 20260622-ti-omap4-dmic-6648c86e8625

Best regards,
-- 
Bhargav


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

* Re: [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema
  2026-07-13 12:47 [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema Bhargav Joshi
@ 2026-07-20 21:07 ` Rob Herring (Arm)
  2026-07-21 17:51 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-07-20 21:07 UTC (permalink / raw)
  To: Bhargav Joshi
  Cc: Conor Dooley, m-chawdhry, Peter Ujfalusi, Liam Girdwood,
	linux-sound, goledhruva, daniel.baluta, simona.toaca, Mark Brown,
	linux-kernel, devicetree, Krzysztof Kozlowski


On Mon, 13 Jul 2026 18:17:11 +0530, Bhargav Joshi wrote:
> Convert the TI OMAP4+ dmic bindings from txt to DT schema.
> 
> Following changes are introduced during converson:
>   - Drop ti,hwmods property as it is not needed since the sysc
>     conversion no existing DTS uses it.
>   - Add dma, dma-names, reg-names properties to match the DTS.
>   - Update example node to match existing DTS.
> 
> Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
> ---
>  .../devicetree/bindings/sound/omap-dmic.txt        | 20 --------
>  .../devicetree/bindings/sound/ti,omap4-dmic.yaml   | 58 ++++++++++++++++++++++
>  2 files changed, 58 insertions(+), 20 deletions(-)
> 

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


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

* Re: [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema
  2026-07-13 12:47 [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema Bhargav Joshi
  2026-07-20 21:07 ` Rob Herring (Arm)
@ 2026-07-21 17:51 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-07-21 17:51 UTC (permalink / raw)
  To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Peter Ujfalusi, Bhargav Joshi
  Cc: linux-sound, devicetree, linux-kernel, goledhruva, m-chawdhry,
	daniel.baluta, simona.toaca

On Mon, 13 Jul 2026 18:17:11 +0530, Bhargav Joshi wrote:
> ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema

Applied to

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

Thanks!

[1/1] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema
      https://git.kernel.org/broonie/sound/c/0f23ed0e117c

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

end of thread, other threads:[~2026-07-22 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 12:47 [PATCH] ASoC: dt-bindings: ti,omap4-dmic: Convert to DT schema Bhargav Joshi
2026-07-20 21:07 ` Rob Herring (Arm)
2026-07-21 17:51 ` 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®