Skip to content

Commit ce2930a

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert microchip,pic32mzda-clk to DT schema
Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 1a25e13 commit ce2930a

File tree

2 files changed

+45
-39
lines changed

2 files changed

+45
-39
lines changed

Documentation/devicetree/bindings/clock/microchip,pic32.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/microchip,pic32mzda-clk.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Microchip PIC32MZDA Clock Controller
8+
9+
maintainers:
10+
- Purna Chandra Mandal <[email protected]>
11+
12+
description:
13+
Microchip clock controller consists of a few oscillators, PLL, multiplexer
14+
and divider modules.
15+
16+
properties:
17+
compatible:
18+
const: microchip,pic32mzda-clk
19+
20+
reg:
21+
maxItems: 1
22+
23+
'#clock-cells':
24+
const: 1
25+
26+
microchip,pic32mzda-sosc:
27+
description: Presence of secondary oscillator.
28+
type: boolean
29+
30+
required:
31+
- compatible
32+
- reg
33+
- "#clock-cells"
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
clock-controller@1f801200 {
40+
compatible = "microchip,pic32mzda-clk";
41+
reg = <0x1f801200 0x200>;
42+
#clock-cells = <1>;
43+
/* optional */
44+
microchip,pic32mzda-sosc;
45+
};

0 commit comments

Comments
 (0)