Maxim MAX9485 Programmable Audio Clock Generator

Schema identifier ($id): "http://devicetree.org/schemas/clock/maxim,max9485.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Mack <daniel@zonque.org>"

Maxim MAX9485 Programmable Audio Clock Generator exposes 4 clocks in total:

  - MAX9485_MCLKOUT:  A gated, buffered output of the input clock of 27 MHz
  - MAX9485_CLKOUT:   A PLL that can be configured to 16 different discrete
                      frequencies
  - MAX9485_CLKOUT[1,2]:  Two gated outputs for MAX9485_CLKOUT

MAX9485_CLKOUT[1,2] are children of MAX9485_CLKOUT which upchain all rate set requests.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max9485"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Input clock. Must provide 27 MHz

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xclk"

#clock-cells — required here #

Exact value (const): 1

reset-gpios — not listed as required here #

GPIO descriptor connected to the #RESET input pin

vdd-supply — not listed as required here #

A regulator node for Vdd

clock-output-names — not listed as required here #

Name of output clocks, as defined in common clock bindings

Array item rules (items) #

Item 1

Exact value (const): "mclkout"

Item 2

Exact value (const): "clkout"

Item 3

Exact value (const): "clkout1"

Item 4

Exact value (const): "clkout2"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-controller@63 {
        compatible = "maxim,max9485";
        reg = <0x63>;
        #clock-cells = <1>;
        clock-names = "xclk";
        clocks = <&xo_27mhz>;
        reset-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
        vdd-supply = <&reg_3v3>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page