-
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.
Merge tag 'clk-at91-5.17' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/at91/linux into clk-at91 Pull AT91 clk driver updates from Nicolas Ferre: - Lan966x Generic Clock Controller driver and associated DT bindings - Lan966x clock driver extended to support clock gating * tag 'clk-at91-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: clk: lan966x: Extend lan966x clock driver for clock gating support dt-bindings: clock: lan966x: Extend includes with clock gates dt-bindings: clock: lan966x: Extend for clock gate support clk: gate: Add devm_clk_hw_register_gate() clk: lan966x: Add lan966x SoC clock driver dt-bindings: clock: lan966x: Add LAN966X Clock Controller dt-bindings: clock: lan966x: Add binding includes for lan966x SoC clock IDs
- Loading branch information
Showing
7 changed files
with
453 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
Documentation/devicetree/bindings/clock/microchip,lan966x-gck.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,60 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Microchip LAN966X Generic Clock Controller | ||
|
||
maintainers: | ||
- Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com> | ||
|
||
description: | | ||
The LAN966X Generic clock controller contains 3 PLLs - cpu_clk, | ||
ddr_clk and sys_clk. This clock controller generates and supplies | ||
clock to various peripherals within the SoC. | ||
properties: | ||
compatible: | ||
const: microchip,lan966x-gck | ||
|
||
reg: | ||
minItems: 1 | ||
items: | ||
- description: Generic clock registers | ||
- description: Optional gate clock registers | ||
|
||
clocks: | ||
items: | ||
- description: CPU clock source | ||
- description: DDR clock source | ||
- description: System clock source | ||
|
||
clock-names: | ||
items: | ||
- const: cpu | ||
- const: ddr | ||
- const: sys | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
clks: clock-controller@e00c00a8 { | ||
compatible = "microchip,lan966x-gck"; | ||
#clock-cells = <1>; | ||
clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>; | ||
clock-names = "cpu", "ddr", "sys"; | ||
reg = <0xe00c00a8 0x38>; | ||
}; | ||
... |
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
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
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
Oops, something went wrong.