-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: clock: samsung: convert Exynos5250 to dtschema
Convert Samsung Exynos5250 clock controller bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20210825134056.219884-2-krzysztof.kozlowski@canonical.com Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
- Loading branch information
Krzysztof Kozlowski
authored and
Stephen Boyd
committed
Aug 29, 2021
1 parent
6880d94
commit ae910bf
Showing
3 changed files
with
47 additions
and
41 deletions.
There are no files selected for viewing
41 changes: 0 additions & 41 deletions
41
Documentation/devicetree/bindings/clock/exynos5250-clock.txt
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung Exynos SoC clock controller | ||
|
||
maintainers: | ||
- Chanwoo Choi <cw00.choi@samsung.com> | ||
- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | ||
- Sylwester Nawrocki <s.nawrocki@samsung.com> | ||
- Tomasz Figa <tomasz.figa@gmail.com> | ||
|
||
description: | | ||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/ headers. | ||
properties: | ||
compatible: | ||
const: samsung,exynos5250-clock | ||
|
||
clocks: | ||
maxItems: 4 | ||
|
||
"#clock-cells": | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- "#clock-cells" | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/exynos5250.h> | ||
clock: clock-controller@10010000 { | ||
compatible = "samsung,exynos5250-clock"; | ||
reg = <0x10010000 0x30000>; | ||
#clock-cells = <1>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters