Message ID | 1487427991-18174-2-git-send-email-simon.ho@conexant.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, Feb 18, 2017 at 10:26:30PM +0800, simon.ho.cnxt@gmail.com wrote: > + - reset-gpio: A GPIO spec to define which pin is connected to the chip's > + !RESET pin. If specified, the driver will assert a hardware > + reset at probe time. The DT people say all GPIO specifier names have to be pluralised so this needs to be -gpios even if there's only one GPIO.
On Sun, Feb 19, 2017 at 04:20:49PM +0000, Mark Brown wrote: > On Sat, Feb 18, 2017 at 10:26:30PM +0800, simon.ho.cnxt@gmail.com wrote: > > > + - reset-gpio: A GPIO spec to define which pin is connected to the chip's > > + !RESET pin. If specified, the driver will assert a hardware > > + reset at probe time. > > The DT people say all GPIO specifier names have to be pluralised so this > needs to be -gpios even if there's only one GPIO. Thanks for input, I chnaged the name to -gpios. -Simon
diff --git a/Documentation/devicetree/bindings/sound/cx2092x.txt b/Documentation/devicetree/bindings/sound/cx2092x.txt new file mode 100644 index 0000000..cb61cfc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cx2092x.txt @@ -0,0 +1,30 @@ +Conexant CX20921/CX209724 Voice Processor SoC + +The devices supports both the I2C and SPI bus. + +Required properties: + + - compatible : One of "cnxt,cx20921", "cnxt,cx20924". + - reg : the I2C address of the device for I2C, it should be <0x41> + +Optional properties: + + - reset-gpio: A GPIO spec to define which pin is connected to the chip's + !RESET pin. If specified, the driver will assert a hardware + reset at probe time. + +CODEC input pins: + "MIC" - Microphone input + + +Example: + +codec_i2c: cx20921@41 { + compatible = "cnxt,cx20921"; + reg = <0x41>; + reset-gpio = <&gpio 23 0>; +}; + +codec_spi: cx20924@0 { + compatible = "cnxt,cx20924"; +};