2014-03-20 17:18:37 +07:00
|
|
|
CS42448/CS42888 audio CODEC
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
|
|
- compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
|
|
|
|
|
|
|
|
- reg : the I2C address of the device for I2C
|
|
|
|
|
|
|
|
- clocks : a list of phandles + clock-specifiers, one for each entry in
|
|
|
|
clock-names
|
|
|
|
|
|
|
|
- clock-names : must contain "mclk"
|
|
|
|
|
|
|
|
- VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
|
|
|
|
as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
|
2019-05-16 18:40:56 +07:00
|
|
|
Optional properties:
|
|
|
|
|
|
|
|
- reset-gpios : a GPIO spec to define which pin is connected to the chip's
|
|
|
|
!RESET pin
|
|
|
|
|
2014-03-20 17:18:37 +07:00
|
|
|
Example:
|
|
|
|
|
2018-05-05 02:12:03 +07:00
|
|
|
cs42888: codec@48 {
|
2014-03-20 17:18:37 +07:00
|
|
|
compatible = "cirrus,cs42888";
|
|
|
|
reg = <0x48>;
|
|
|
|
clocks = <&codec_mclk 0>;
|
|
|
|
clock-names = "mclk";
|
|
|
|
VA-supply = <®_audio>;
|
|
|
|
VD-supply = <®_audio>;
|
|
|
|
VLS-supply = <®_audio>;
|
|
|
|
VLC-supply = <®_audio>;
|
2019-05-16 18:40:56 +07:00
|
|
|
reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>;
|
2014-03-20 17:18:37 +07:00
|
|
|
};
|