Skip to content

Commit

Permalink
dt-bindings: clock: Add binding documentation for TI Audio REFCLK
Browse files Browse the repository at this point in the history
Add DT bindings for TI's audio reference clocks (REFCLK) present on AM62
SoC.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Link: https://lore.kernel.org/r/20230515-refclk-v3-1-37c0b550f406@ti.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Jai Luthra authored and Stephen Boyd committed Jun 16, 2023
1 parent 06b84c5 commit daecb57
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI Audio Reference Clock

maintainers:
- Jai Luthra <j-luthra@ti.com>

properties:
compatible:
items:
- const: ti,am62-audio-refclk

reg:
maxItems: 1

"#clock-cells":
const: 0

clocks:
maxItems: 1

required:
- compatible
- reg
- "#clock-cells"
- clocks

additionalProperties: false

examples:
- |
audio_refclk0: clock@82e0 {
compatible = "ti,am62-audio-refclk";
reg = <0x82e0 0x4>;
clocks = <&k3_clks 157 0>;
assigned-clocks = <&k3_clks 157 0>;
assigned-clock-parents = <&k3_clks 157 8>;
#clock-cells = <0>;
};

0 comments on commit daecb57

Please sign in to comment.