^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/sound/zl38060.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: ZL38060 Connected Home Audio Processor from Microsemi.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) The ZL38060 is a "Connected Home Audio Processor" from Microsemi,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) which consists of a Digital Signal Processor (DSP), several Digital
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - Jaroslav Kysela <perex@perex.cz>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - Takashi Iwai <tiwai@suse.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) const: mscc,zl38060
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) SPI device address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) spi-max-frequency:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) maximum: 24000000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reset-gpios:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) A GPIO line handling reset of the chip. As the line is active low,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) '#gpio-cells':
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) const: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) gpio-controller: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) '#sound-dai-cells':
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) - '#gpio-cells'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - gpio-controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) - '#sound-dai-cells'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) #include <dt-bindings/gpio/gpio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) spi0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) codec: zl38060@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) #sound-dai-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) compatible = "mscc,zl38060";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) spi-max-frequency = <12000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) };