[PATCH 3/3] ASoC: dt-bindings: wlf,wm8782: Add max-rate property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The WM8782 can safely support rates higher than 48kHz by changing the
value of the FSAMPEN pin.

Allow specifying the maximum support rate the hardware configuration
supports in the device tree.

Signed-off-by: John Watts <contact@xxxxxxxxxx>
---
 Documentation/devicetree/bindings/sound/wm8782.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/wm8782.txt b/Documentation/devicetree/bindings/sound/wm8782.txt
index 256cdec6ec4d..a68061a3e671 100644
--- a/Documentation/devicetree/bindings/sound/wm8782.txt
+++ b/Documentation/devicetree/bindings/sound/wm8782.txt
@@ -7,6 +7,7 @@ Required properties:
  - compatible  : "wlf,wm8782"
  - Vdda-supply : phandle to a regulator for the analog power supply (2.7V - 5.5V)
  - Vdd-supply  : phandle to a regulator for the digital power supply (2.7V - 3.6V)
+ - max-rate    : max supported audio rate configured by FSAMPEN pin, defaults to 48000
 
 Example:
 
@@ -14,4 +15,5 @@ wm8782: stereo-adc {
 	compatible = "wlf,wm8782";
 	Vdda-supply = <&vdda_supply>;
 	Vdd-supply = <&vdd_supply>;
+	max-rate = <96000>; /* FSAMPEN is 1 */
 };
-- 
2.41.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux