Skip to contentSkip to conversation

ASoC: dt-bindings: rt1015: Convert to dtschema

PATCH In review Javier García 3 participants 3 messages Mar 4, 2024 – Mar 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dt-bindings: rt1015: Convert to dtschema

Convert the RT1015 Mono Class D Audio Amplifier to DT schema.

---
 .../bindings/sound/realtek,rt1015.yaml        | 41 +++++++++++++++++++
 .../devicetree/bindings/sound/rt1015.txt      | 23 -----------
 2 files changed, 41 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt1015.yaml
 delete mode 100644 Documentation/devicetree/bindings/sound/rt1015.txt
Documentation/devicetree/bindings/sound/realtek,rt1015.yaml new file +41 -0
new file mode 100644
index 000000000000..880196081a60
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/realtek,rt1015.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RT1015 Mono Class D Audio Amplifier
+
+maintainers:
+  - Jack Yu <[email protected]>
+
+properties:
+  compatible:
+    enum:
+      - realtek,rt1015
+
+  reg:
+    maxItems: 1
+
+  realtek,power-up-delay-ms:
+    description: Set a delay time for flush work to be completed,
+      this vlaue is adjustable depending on platform.
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@28 {
+            compatible = "realtek,rt1015";
+            reg = <0x28>;
+            realtek,power-up-delay-ms = <50>;
+        };
+    };
Documentation/devicetree/bindings/sound/rt1015.txt deleted +0 -23
deleted file mode 100644
index e498966d436f..000000000000
@@ -1,23 +0,0 @@
-RT1015 Mono Class D Audio Amplifier
-
-This device supports I2C only.
-
-Required properties:
-
-- compatible : "realtek,rt1015".
-
-- reg : The I2C address of the device.
-
-Optional properties:
-
-- realtek,power-up-delay-ms
-  Set a delay time for flush work to be completed,
-  this value is adjustable depending on platform.
-
-Example:
-
-rt1015: codec@28 {
-	compatible = "realtek,rt1015";
-	reg = <0x28>;
-	realtek,power-up-delay-ms = <50>;
-};
Signature · 1 line
2.41.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Javier García

Convert the RT1015 Mono Class D Audio Amplifier to DT schema.

---
 .../bindings/sound/realtek,rt1015.yaml        | 41 +++++++++++++++++++
 .../devicetree/bindings/sound/rt1015.txt      | 23 -----------
 2 files changed, 41 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt1015.yaml
 delete mode 100644 Documentation/devicetree/bindings/sound/rt1015.txt
maintainer
#2 lore raw
In reply to Javier García
Quoted 3 lines · Javier García

Convert the RT1015 Mono Class D Audio Amplifier 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: rt1015: Convert to dtschema

      commit: 2ca703302a7f9dccdfb69f5a385f7828288b42e3

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