brintos

brintos / linux-shallow public Read only

0
0
Text · 870 B · f88ecb2 Raw
46 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/clock/pwm-clock.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: An external clock signal driven by a PWM pin.8 9maintainers:10  - Philipp Zabel <p.zabel@pengutronix.de>11 12properties:13  compatible:14    const: pwm-clock15 16  '#clock-cells':17    const: 018 19  clock-frequency:20    description: Exact output frequency, in case the PWM period is not exact21      but was rounded to nanoseconds.22 23  clock-output-names:24    maxItems: 125 26  pwms:27    maxItems: 128 29required:30  - compatible31  - '#clock-cells'32  - pwms33 34additionalProperties: false35 36examples:37  - |38    clock {39        compatible = "pwm-clock";40        #clock-cells = <0>;41        clock-frequency = <25000000>;42        clock-output-names = "mipi_mclk";43        pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */44    };45...46