Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / pwm / intel,keembay-pwm.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020 Intel Corporation
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Intel Keem Bay PWM Device Tree Bindings
9
10 maintainers:
11   - Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
12
13 allOf:
14   - $ref: pwm.yaml#
15
16 properties:
17   compatible:
18     enum:
19       - intel,keembay-pwm
20
21   reg:
22     maxItems: 1
23
24   clocks:
25     maxItems: 1
26
27   "#pwm-cells":
28     const: 2
29
30 required:
31   - compatible
32   - reg
33   - clocks
34   - '#pwm-cells'
35
36 additionalProperties: false
37
38 examples:
39   - |
40     #define KEEM_BAY_A53_GPIO
41
42     pwm@203200a0 {
43         compatible = "intel,keembay-pwm";
44         reg = <0x203200a0 0xe8>;
45         clocks = <&scmi_clk KEEM_BAY_A53_GPIO>;
46         #pwm-cells = <2>;
47     };