^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) CS42448/CS42888 audio CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg : the I2C address of the device for I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - clocks : a list of phandles + clock-specifiers, one for each entry in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) clock-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - clock-names : must contain "mclk"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) as covered in Documentation/devicetree/bindings/regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - reset-gpios : a GPIO spec to define which pin is connected to the chip's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) !RESET pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) cs42888: codec@48 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) compatible = "cirrus,cs42888";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) reg = <0x48>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) clocks = <&codec_mclk 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) clock-names = "mclk";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) VA-supply = <®_audio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) VD-supply = <®_audio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) VLS-supply = <®_audio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) VLC-supply = <®_audio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) };