Skip to contentSkip to conversation

dt-bindings: clock: Convert microchip,pic32mzda-clk to DT schema

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Jun 30, 2025 – Jul 24, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: clock: Convert microchip,pic32mzda-clk to DT schema

---
 .../bindings/clock/microchip,pic32.txt        | 39 ----------------
 .../clock/microchip,pic32mzda-clk.yaml        | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 39 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/clock/microchip,pic32.txt
 create mode 100644 Documentation/devicetree/bindings/clock/microchip,pic32mzda-clk.yaml
Documentation/devicetree/bindings/clock/microchip,pic32.txt deleted +0 -39
deleted file mode 100644
index c93d88fdd858..000000000000
@@ -1,39 +0,0 @@
-Microchip PIC32 Clock Controller Binding
-----------------------------------------
-Microchip clock controller is consists of few oscillators, PLL, multiplexer
-and few divider modules.
-
-This binding uses common clock bindings.
-[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
-
-Required properties:
-- compatible: shall be "microchip,pic32mzda-clk".
-- reg: shall contain base address and length of clock registers.
-- #clock-cells: shall be 1.
-
-Optional properties:
-- microchip,pic32mzda-sosc: shall be added only if platform has
-  secondary oscillator connected.
-
-Example:
-	rootclk: clock-controller@1f801200 {
-		compatible = "microchip,pic32mzda-clk";
-		reg = <0x1f801200 0x200>;
-		#clock-cells = <1>;
-		/* optional */
-		microchip,pic32mzda-sosc;
-	};
-
-
-The clock consumer shall specify the desired clock-output of the clock
-controller (as defined in [2]) by specifying output-id in its "clock"
-phandle cell.
-[2] include/dt-bindings/clock/microchip,pic32-clock.h
-
-For example for UART2:
-uart2: serial@2 {
-	compatible = "microchip,pic32mzda-uart";
-	reg = <>;
-	interrupts = <>;
-	clocks = <&rootclk PB2CLK>;
-};
Documentation/devicetree/bindings/clock/microchip,pic32mzda-clk.yaml new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.47.2