Skip to content
Permalink
Browse files

dts: bindings: Add fixed-clock DTS binding

This commit adds binding for clock provider with fixed frequency.

Signed-off-by: Derek Hageman <hageman@inthat.cloud>
Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
  • Loading branch information...
pizi-nordic authored and galak committed May 28, 2019
1 parent ca8ca03 commit fb898e3532c44e1d6b3e6e637679774e7babce83
Showing with 41 additions and 0 deletions.
  1. +41 −0 dts/bindings/clock/fixed-clock.yaml
@@ -0,0 +1,41 @@
#
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
#
# SPDX-License-Identifier: Apache-2.0
#

title: Generic fixed rate clock provider
version: 0.1

description: >
This is a representation of a generic fixed rate clock provider.
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "fixed-clock"

label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define

clock-frequency:
type: int
description: output clock frequency (Hz)
generation: define
category: required

clocks:
type: array
category: optional
description: input clock source
generation: define

"#clock-cells":
type: int
category: required
description: should be 1.

0 comments on commit fb898e3

Please sign in to comment.
You can’t perform that action at this time.