Skip to content

Commit 619ddc6

Browse files
lategoodbyebebarino
authored andcommitted
dt-bindings: clock: convert bcm2835-aux-clock to yaml
Convert the DT binding document for BCM2835 auxiliary peripheral clock from .txt to YAML. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Link: https://lore.kernel.org/r/20250503080949.3945-1-wahrenst@gmx.net Acked-by: Conor Dooley <conor.dooley@microchip.com> [sboyd@kernel.org: Drop aux label] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 66bd980 commit 619ddc6

File tree

2 files changed

+47
-31
lines changed

2 files changed

+47
-31
lines changed

Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/brcm,bcm2835-aux-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom BCM2835 auxiliary peripheral clock
8+
9+
maintainers:
10+
- Stefan Wahren <wahrenst@gmx.net>
11+
- Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
12+
13+
description:
14+
The auxiliary peripherals (UART, SPI1, and SPI2) have a small register
15+
area controlling clock gating to the peripherals, and providing an IRQ
16+
status register.
17+
18+
properties:
19+
compatible:
20+
const: brcm,bcm2835-aux
21+
22+
reg:
23+
maxItems: 1
24+
25+
"#clock-cells":
26+
const: 1
27+
28+
clocks:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
- "#clock-cells"
35+
- clocks
36+
37+
additionalProperties: false
38+
39+
examples:
40+
- |
41+
#include <dt-bindings/clock/bcm2835.h>
42+
clock@7e215000 {
43+
compatible = "brcm,bcm2835-aux";
44+
reg = <0x7e215000 0x8>;
45+
#clock-cells = <1>;
46+
clocks = <&clocks BCM2835_CLOCK_VPU>;
47+
};

0 commit comments

Comments
 (0)