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