瀏覽代碼

ASoC: ak5558: Add bindings for AK5558 ADC

Document the bindings for AK5558 ADC.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Daniel Baluta 7 年之前
父節點
當前提交
af0424e44c
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      Documentation/devicetree/bindings/sound/ak5558.txt

+ 22 - 0
Documentation/devicetree/bindings/sound/ak5558.txt

@@ -0,0 +1,22 @@
+AK5558 8 channel differential 32-bit delta-sigma ADC
+
+This device supports I2C mode only.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak5558"
+- reg : The I2C address of the device.
+
+Optional properties:
+
+- reset-gpios: A GPIO specifier for the power down & reset pin.
+
+Example:
+
+&i2c {
+	ak5558: adc@10 {
+		compatible = "asahi-kasei,ak5558";
+		reg = <0x10>;
+		reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+	};
+};