Back to home page

OSCL-LXR

 
 

    


0001 CS42448/CS42888 audio CODEC
0002 
0003 Required properties:
0004 
0005   - compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
0006 
0007   - reg : the I2C address of the device for I2C
0008 
0009   - clocks : a list of phandles + clock-specifiers, one for each entry in
0010     clock-names
0011 
0012   - clock-names : must contain "mclk"
0013 
0014   - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
0015     as covered in Documentation/devicetree/bindings/regulator/regulator.txt
0016 
0017 Optional properties:
0018 
0019   - reset-gpios : a GPIO spec to define which pin is connected to the chip's
0020     !RESET pin
0021 
0022 Example:
0023 
0024 cs42888: codec@48 {
0025         compatible = "cirrus,cs42888";
0026         reg = <0x48>;
0027         clocks = <&codec_mclk 0>;
0028         clock-names = "mclk";
0029         VA-supply = <&reg_audio>;
0030         VD-supply = <&reg_audio>;
0031         VLS-supply = <&reg_audio>;
0032         VLC-supply = <&reg_audio>;
0033         reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>;
0034 };