ASoC: codec: realtek: Make the node name generic
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 20 May 2018 15:22:48 +0000 (12:22 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 22 May 2018 10:57:40 +0000 (11:57 +0100)
"The name of a node should be somewhat generic, reflecting the function
of the device and not its precise programming model."

Do as suggested in the bindings examples.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rt274.txt
Documentation/devicetree/bindings/sound/rt5514.txt
Documentation/devicetree/bindings/sound/rt5616.txt
Documentation/devicetree/bindings/sound/rt5645.txt
Documentation/devicetree/bindings/sound/rt5651.txt
Documentation/devicetree/bindings/sound/rt5663.txt

index e9a6178c78cfe09c56a303495ec4d207ed53b11b..791a1bd767b9166e9330bf9a0fc4f90dfcfc62b2 100644 (file)
@@ -26,7 +26,7 @@ Pins on the device (for linking into audio routes) for RT274:
 
 Example:
 
-codec: rt274@1c {
+rt274: codec@1c {
        compatible = "realtek,rt274";
        reg = <0x1c>;
        interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
index 4f33b0d96afeb106bb457ed071ab3f4779d80ec5..b25ed08c7a5a0113761c18a17d3ceef50d0d6d96 100644 (file)
@@ -32,7 +32,7 @@ Pins on the device (for linking into audio routes) for I2C:
 
 Example:
 
-codec: rt5514@57 {
+rt5514: codec@57 {
        compatible = "realtek,rt5514";
        reg = <0x57>;
 };
index e410858185596a0fb74ec5812cef3dd3e6282762..540a4bf252e48eb4dcce34061b0b9ee537ab0d23 100644 (file)
@@ -26,7 +26,7 @@ Pins on the device (for linking into audio routes) for RT5616:
 
 Example:
 
-codec: rt5616@1b {
+rt5616: codec@1b {
        compatible = "realtek,rt5616";
        reg = <0x1b>;
 };
index 7cee1f518f59fc7ec2fccc1882a939b2a2589a37..a03f9a872a71667ddc2ab9197ece633ee337af96 100644 (file)
@@ -69,4 +69,4 @@ codec: rt5650@1a {
        realtek,dmic-en = "true";
        realtek,en-jd-func = "true";
        realtek,jd-mode = <3>;
-};
\ No newline at end of file
+};
index b85221864cec8a607f62dc27c41f4f37e05b941e..a41199a5cd79b5225b2b732bacfef782d9286d54 100644 (file)
@@ -50,7 +50,7 @@ Pins on the device (for linking into audio routes) for RT5651:
 
 Example:
 
-codec: rt5651@1a {
+rt5651: codec@1a {
        compatible = "realtek,rt5651";
        reg = <0x1a>;
        realtek,dmic-en = "true";
index 497bcfc58b712173b05ce876600f1595a3d20125..23386446c63d6fde5b63c35b8badd989a8ada56b 100644 (file)
@@ -47,7 +47,7 @@ Pins on the device (for linking into audio routes) for RT5663:
 
 Example:
 
-codec: rt5663@12 {
+rt5663: codec@12 {
        compatible = "realtek,rt5663";
        reg = <0x12>;
        interrupts = <7 IRQ_TYPE_EDGE_FALLING>;