-
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 Exynos4 to dtschema
Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT schema. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210825134056.219884-6-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
e9385b9
commit 7ac6157
Showing
3 changed files
with
67 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
64 changes: 64 additions & 0 deletions
64
Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-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,64 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung Exynos4412 SoC ISP 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: | | ||
Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP) | ||
All available clocks are defined as preprocessor macros in | ||
dt-bindings/clock/ headers. | ||
properties: | ||
compatible: | ||
const: samsung,exynos4412-isp-clock | ||
|
||
clocks: | ||
items: | ||
- description: CLK_ACLK200 from the main clock controller | ||
- description: CLK_ACLK400_MCUISP from the main clock controller | ||
|
||
clock-names: | ||
items: | ||
- const: aclk200 | ||
- const: aclk400_mcuisp | ||
|
||
"#clock-cells": | ||
const: 1 | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- "#clock-cells" | ||
- clocks | ||
- clock-names | ||
- power-domains | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/exynos4412.h> | ||
clock-controller@10048000 { | ||
compatible = "samsung,exynos4412-isp-clock"; | ||
reg = <0x10048000 0x1000>; | ||
#clock-cells = <1>; | ||
power-domains = <&pd_isp>; | ||
clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>; | ||
clock-names = "aclk200", "aclk400_mcuisp"; | ||
}; | ||