zephyr/dts/bindings/clock/fixed-clock.yaml
Ulf Magnusson 0ec0c84808 dts: bindings: Remove unused 'version' field
No binding has anything but 'version: 0.1', and the code in scripts/dts/
never does anything with it except print a warning if it isn't there.
It's undocumented what it means.

I suspect it's overkill if it's meant to be the binding format version.
If we'd need to tell different versions from each other, we could change
some other minor thing in the format, and it probably won't be needed.

Remove the 'version' fields from the bindings and the warning from the
scripts/dts/ scripts.

The new device tree script will give an error when unknown fields appear
in bindings.

The deletion was done with

    git ls-files 'dts/bindings/*.yaml' | xargs sed -i '/^\s*version: /d'

Some blank lines at the beginning of bindings were removed as well.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-07-22 09:28:07 -04:00

38 lines
819 B
YAML

#
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
#
# SPDX-License-Identifier: Apache-2.0
#
title: Generic fixed rate clock provider
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: optional
description: Human readable string describing the device (used by Zephyr for API name)
clock-frequency:
type: int
description: output clock frequency (Hz)
category: required
clocks:
type: array
category: optional
description: input clock source
"#clock-cells":
type: int
category: required
description: should be 0.