ASoC: codec: wolfson: Make the node name generic
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 20 May 2018 12:53:41 +0000 (09:53 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 22 May 2018 10:57:39 +0000 (11:57 +0100)
According to Devicetree Specification v0.2 document:

"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>
16 files changed:
Documentation/devicetree/bindings/sound/wm8510.txt
Documentation/devicetree/bindings/sound/wm8523.txt
Documentation/devicetree/bindings/sound/wm8524.txt
Documentation/devicetree/bindings/sound/wm8580.txt
Documentation/devicetree/bindings/sound/wm8711.txt
Documentation/devicetree/bindings/sound/wm8728.txt
Documentation/devicetree/bindings/sound/wm8731.txt
Documentation/devicetree/bindings/sound/wm8737.txt
Documentation/devicetree/bindings/sound/wm8741.txt
Documentation/devicetree/bindings/sound/wm8750.txt
Documentation/devicetree/bindings/sound/wm8753.txt
Documentation/devicetree/bindings/sound/wm8770.txt
Documentation/devicetree/bindings/sound/wm8776.txt
Documentation/devicetree/bindings/sound/wm8804.txt
Documentation/devicetree/bindings/sound/wm8903.txt
Documentation/devicetree/bindings/sound/wm8994.txt

index fa1a32b85577db40322c4ee9655a9da77d983261..e6b6cc041f895b21d22cfc8a7e73277d2716fff1 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8510@1a {
+wm8510: codec@1a {
        compatible = "wlf,wm8510";
        reg = <0x1a>;
 };
index 04746186b2831558c7e9f3b27589cbf4d13475da..f3a6485f4b8abf1b149c944d1f3486936f6529e0 100644 (file)
@@ -10,7 +10,7 @@ Required properties:
 
 Example:
 
-codec: wm8523@1a {
+wm8523: codec@1a {
        compatible = "wlf,wm8523";
        reg = <0x1a>;
 };
index 0f0553563fc1c265ea759d1c7348ad1c71f97c57..f6c0c263b135add1539054bb3beee8414da11c63 100644 (file)
@@ -10,7 +10,7 @@ Required properties:
 
 Example:
 
-codec: wm8524 {
+wm8524: codec {
        compatible = "wlf,wm8524";
        wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
 };
index 78fce9b14954ef76f9726b98486674d35b4ae934..ff3f9f5f2111f7afc832fcf6b280468dad843eb1 100644 (file)
@@ -10,7 +10,7 @@ Required properties:
 
 Example:
 
-codec: wm8580@1a {
+wm8580: codec@1a {
        compatible = "wlf,wm8580";
        reg = <0x1a>;
 };
index 8ed9998cd23c0ad1f0357152f09b4360d52ec74a..c30a1387c4bff4f08a081d1a711b43d6f8e2a53e 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8711@1a {
+wm8711: codec@1a {
        compatible = "wlf,wm8711";
        reg = <0x1a>;
 };
index a8b5c3668e602537faf0bf1189fcd006286af3a4..a3608b4c78b95ce2a3998de2df43e6a3d8fbc4d5 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8728@1a {
+wm8728: codec@1a {
        compatible = "wlf,wm8728";
        reg = <0x1a>;
 };
index 236690e99b87fbc81c0cb5b1823981cf1e87ff4d..f660d9bb0e698eb0a9d141541709071ff745b418 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8731@1a {
+wm8731: codec@1a {
        compatible = "wlf,wm8731";
        reg = <0x1a>;
 };
index 4bc2cea3b14085cf4b95c62065db7bcdce4e771c..eda1ec6a7563a04a4b83bc3fafea57d91b4ec9a4 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8737@1a {
+wm8737: codec@1a {
        compatible = "wlf,wm8737";
        reg = <0x1a>;
 };
index a133154087194cb90a2056ba6f927d67b6e49ba4..b69e196c741c4f8d13b051e16b06c904e64c25f1 100644 (file)
@@ -21,7 +21,7 @@ Optional properties:
 
 Example:
 
-codec: wm8741@1a {
+wm8741: codec@1a {
        compatible = "wlf,wm8741";
        reg = <0x1a>;
 
index 8db239fd5ecde354e559e56ef8f32194336a1586..682f221f6f38e3615d043070a26585916e096dc7 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8750@1a {
+wm8750: codec@1a {
        compatible = "wlf,wm8750";
        reg = <0x1a>;
 };
index 8eee6128210552e0d8decfedeffbc0b216a9ec21..eca9e5a825a96e5ff17f682a83ffeef7f33a896b 100644 (file)
@@ -34,7 +34,7 @@ Pins on the device (for linking into audio routes):
 
 Example:
 
-codec: wm8753@1a {
+wm8753: codec@1a {
        compatible = "wlf,wm8753";
        reg = <0x1a>;
 };
index 866e00ca150b4b04e573e204a3ad39a0c057a58a..cac762a1105ded99ebe0966d2c4f0c67bbba7dc6 100644 (file)
@@ -10,7 +10,7 @@ Required properties:
 
 Example:
 
-codec: wm8770@1 {
+wm8770: codec@1 {
        compatible = "wlf,wm8770";
        reg = <1>;
 };
index 3b9ca49abc2b146a8bacafb0e182b8773b6cb4c3..01173369c3ed300a89dd86c288757ddfae0e37b7 100644 (file)
@@ -12,7 +12,7 @@ Required properties:
 
 Example:
 
-codec: wm8776@1a {
+wm8776: codec@1a {
        compatible = "wlf,wm8776";
        reg = <0x1a>;
 };
index 6fd124b1649652dfaac67bf0efbf35f0bade58e4..2c1641c17a91efc97c0a6194724da559849721cb 100644 (file)
@@ -19,7 +19,7 @@ Optional properties:
 
 Example:
 
-codec: wm8804@1a {
+wm8804: codec@1a {
        compatible = "wlf,wm8804";
        reg = <0x1a>;
 };
index afc51caf113705e4da112635385c205f290442ac..6371c2434afe75f0dbfd7228f1b905879fc0288d 100644 (file)
@@ -57,7 +57,7 @@ Pins on the device (for linking into audio routes):
 
 Example:
 
-codec: wm8903@1a {
+wm8903: codec@1a {
        compatible = "wlf,wm8903";
        reg = <0x1a>;
        interrupts = < 347 >;
index 68c4e8d96bed68c4c3d0ea09b10cbe8cb8170515..4a9dead1b7d32e67b6dd51c081574c4f59b3bb86 100644 (file)
@@ -59,7 +59,7 @@ Optional properties:
 
 Example:
 
-codec: wm8994@1a {
+wm8994: codec@1a {
        compatible = "wlf,wm8994";
        reg = <0x1a>;