18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/clock/cirrus,lochnagar.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Cirrus Logic Lochnagar Audio Development Board 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - patches@opensource.cirrus.com 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cidescription: | 138c2ecf20Sopenharmony_ci Lochnagar is an evaluation and development board for Cirrus Logic 148c2ecf20Sopenharmony_ci Smart CODEC and Amp devices. It allows the connection of most Cirrus 158c2ecf20Sopenharmony_ci Logic devices on mini-cards, as well as allowing connection of various 168c2ecf20Sopenharmony_ci application processor systems to provide a full evaluation platform. 178c2ecf20Sopenharmony_ci Audio system topology, clocking and power can all be controlled through 188c2ecf20Sopenharmony_ci the Lochnagar, allowing the device under test to be used in a variety of 198c2ecf20Sopenharmony_ci possible use cases. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci This binding document describes the binding for the clock portion of the 228c2ecf20Sopenharmony_ci driver. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci Also see these documents for generic binding information: 258c2ecf20Sopenharmony_ci [1] Clock : ../clock/clock-bindings.txt 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci And these for relevant defines: 288c2ecf20Sopenharmony_ci [2] include/dt-bindings/clock/lochnagar.h 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci This binding must be part of the Lochnagar MFD binding: 318c2ecf20Sopenharmony_ci [3] ../mfd/cirrus,lochnagar.yaml 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciproperties: 348c2ecf20Sopenharmony_ci compatible: 358c2ecf20Sopenharmony_ci enum: 368c2ecf20Sopenharmony_ci - cirrus,lochnagar1-clk 378c2ecf20Sopenharmony_ci - cirrus,lochnagar2-clk 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci '#clock-cells': 408c2ecf20Sopenharmony_ci description: 418c2ecf20Sopenharmony_ci The first cell indicates the clock number, see [2] for available 428c2ecf20Sopenharmony_ci clocks and [1]. 438c2ecf20Sopenharmony_ci const: 1 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci clock-names: 468c2ecf20Sopenharmony_ci items: 478c2ecf20Sopenharmony_ci enum: 488c2ecf20Sopenharmony_ci - ln-cdc-clkout # Output clock from CODEC card. 498c2ecf20Sopenharmony_ci - ln-dsp-clkout # Output clock from DSP card. 508c2ecf20Sopenharmony_ci - ln-gf-mclk1 # Optional input clock from host system. 518c2ecf20Sopenharmony_ci - ln-gf-mclk2 # Optional input clock from host system. 528c2ecf20Sopenharmony_ci - ln-gf-mclk3 # Optional input clock from host system. 538c2ecf20Sopenharmony_ci - ln-gf-mclk4 # Optional input clock from host system. 548c2ecf20Sopenharmony_ci - ln-psia1-mclk # Optional input clock from external connector. 558c2ecf20Sopenharmony_ci - ln-psia2-mclk # Optional input clock from external connector. 568c2ecf20Sopenharmony_ci - ln-spdif-mclk # Optional input clock from SPDIF. 578c2ecf20Sopenharmony_ci - ln-spdif-clkout # Optional input clock from SPDIF. 588c2ecf20Sopenharmony_ci - ln-adat-mclk # Optional input clock from ADAT. 598c2ecf20Sopenharmony_ci - ln-pmic-32k # On board fixed clock. 608c2ecf20Sopenharmony_ci - ln-clk-12m # On board fixed clock. 618c2ecf20Sopenharmony_ci - ln-clk-11m # On board fixed clock. 628c2ecf20Sopenharmony_ci - ln-clk-24m # On board fixed clock. 638c2ecf20Sopenharmony_ci - ln-clk-22m # On board fixed clock. 648c2ecf20Sopenharmony_ci - ln-clk-8m # On board fixed clock. 658c2ecf20Sopenharmony_ci - ln-usb-clk-24m # On board fixed clock. 668c2ecf20Sopenharmony_ci - ln-usb-clk-12m # On board fixed clock. 678c2ecf20Sopenharmony_ci minItems: 1 688c2ecf20Sopenharmony_ci maxItems: 19 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci clocks: true 718c2ecf20Sopenharmony_ci assigned-clocks: true 728c2ecf20Sopenharmony_ci assigned-clock-parents: true 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ciadditionalProperties: false 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_cirequired: 778c2ecf20Sopenharmony_ci - compatible 788c2ecf20Sopenharmony_ci - '#clock-cells' 79