1e0a99c55SCharles Keepax# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2e0a99c55SCharles Keepax%YAML 1.2 3e0a99c55SCharles Keepax--- 4e0a99c55SCharles Keepax$id: http://devicetree.org/schemas/clock/cirrus,lochnagar.yaml# 5e0a99c55SCharles Keepax$schema: http://devicetree.org/meta-schemas/core.yaml# 6e0a99c55SCharles Keepax 7e0a99c55SCharles Keepaxtitle: Cirrus Logic Lochnagar Audio Development Board 8e0a99c55SCharles Keepax 9e0a99c55SCharles Keepaxmaintainers: 10e0a99c55SCharles Keepax - patches@opensource.cirrus.com 11e0a99c55SCharles Keepax 12e0a99c55SCharles Keepaxdescription: | 13e0a99c55SCharles Keepax Lochnagar is an evaluation and development board for Cirrus Logic 14e0a99c55SCharles Keepax Smart CODEC and Amp devices. It allows the connection of most Cirrus 15e0a99c55SCharles Keepax Logic devices on mini-cards, as well as allowing connection of various 16e0a99c55SCharles Keepax application processor systems to provide a full evaluation platform. 17e0a99c55SCharles Keepax Audio system topology, clocking and power can all be controlled through 18e0a99c55SCharles Keepax the Lochnagar, allowing the device under test to be used in a variety of 19e0a99c55SCharles Keepax possible use cases. 20e0a99c55SCharles Keepax 21e0a99c55SCharles Keepax This binding document describes the binding for the clock portion of the 22e0a99c55SCharles Keepax driver. 23e0a99c55SCharles Keepax 24e0a99c55SCharles Keepax Also see these documents for generic binding information: 25e0a99c55SCharles Keepax [1] Clock : ../clock/clock-bindings.txt 26e0a99c55SCharles Keepax 27e0a99c55SCharles Keepax And these for relevant defines: 28e0a99c55SCharles Keepax [2] include/dt-bindings/clock/lochnagar.h 29e0a99c55SCharles Keepax 30e0a99c55SCharles Keepax This binding must be part of the Lochnagar MFD binding: 31e0a99c55SCharles Keepax [3] ../mfd/cirrus,lochnagar.yaml 32e0a99c55SCharles Keepax 33e0a99c55SCharles Keepaxproperties: 34e0a99c55SCharles Keepax compatible: 35e0a99c55SCharles Keepax enum: 36e0a99c55SCharles Keepax - cirrus,lochnagar1-clk 37e0a99c55SCharles Keepax - cirrus,lochnagar2-clk 38e0a99c55SCharles Keepax 39e0a99c55SCharles Keepax '#clock-cells': 40e0a99c55SCharles Keepax description: 41e0a99c55SCharles Keepax The first cell indicates the clock number, see [2] for available 42e0a99c55SCharles Keepax clocks and [1]. 43e0a99c55SCharles Keepax const: 1 44e0a99c55SCharles Keepax 45e0a99c55SCharles Keepax clock-names: 46e0a99c55SCharles Keepax items: 47e0a99c55SCharles Keepax enum: 48e0a99c55SCharles Keepax - ln-cdc-clkout # Output clock from CODEC card. 49e0a99c55SCharles Keepax - ln-dsp-clkout # Output clock from DSP card. 50e0a99c55SCharles Keepax - ln-gf-mclk1 # Optional input clock from host system. 51e0a99c55SCharles Keepax - ln-gf-mclk2 # Optional input clock from host system. 52e0a99c55SCharles Keepax - ln-gf-mclk3 # Optional input clock from host system. 53e0a99c55SCharles Keepax - ln-gf-mclk4 # Optional input clock from host system. 54e0a99c55SCharles Keepax - ln-psia1-mclk # Optional input clock from external connector. 55e0a99c55SCharles Keepax - ln-psia2-mclk # Optional input clock from external connector. 56e0a99c55SCharles Keepax - ln-spdif-mclk # Optional input clock from SPDIF. 57e0a99c55SCharles Keepax - ln-spdif-clkout # Optional input clock from SPDIF. 58e0a99c55SCharles Keepax - ln-adat-mclk # Optional input clock from ADAT. 59e0a99c55SCharles Keepax - ln-pmic-32k # On board fixed clock. 60e0a99c55SCharles Keepax - ln-clk-12m # On board fixed clock. 61e0a99c55SCharles Keepax - ln-clk-11m # On board fixed clock. 62e0a99c55SCharles Keepax - ln-clk-24m # On board fixed clock. 63e0a99c55SCharles Keepax - ln-clk-22m # On board fixed clock. 64e0a99c55SCharles Keepax - ln-clk-8m # On board fixed clock. 65e0a99c55SCharles Keepax - ln-usb-clk-24m # On board fixed clock. 66e0a99c55SCharles Keepax - ln-usb-clk-12m # On board fixed clock. 67e0a99c55SCharles Keepax minItems: 1 68e0a99c55SCharles Keepax maxItems: 19 69e0a99c55SCharles Keepax 70e0a99c55SCharles Keepax clocks: true 71e0a99c55SCharles Keepax assigned-clocks: true 72e0a99c55SCharles Keepax assigned-clock-parents: true 73e0a99c55SCharles Keepax 74e0a99c55SCharles KeepaxadditionalProperties: false 75e0a99c55SCharles Keepax 76e0a99c55SCharles Keepaxrequired: 77e0a99c55SCharles Keepax - compatible 78e0a99c55SCharles Keepax - '#clock-cells' 79