Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-imx-lpi2c.yaml
blob29b9447f3b84afc92edf821718ea26a05be8f0e4
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Low Power Inter IC (LPI2C) for i.MX
9 maintainers:
10   - Anson Huang <Anson.Huang@nxp.com>
12 allOf:
13   - $ref: /schemas/i2c/i2c-controller.yaml#
15 properties:
16   compatible:
17     oneOf:
18       - enum:
19           - fsl,imx7ulp-lpi2c
20           - fsl,imx8qm-lpi2c
21       - items:
22           - const: fsl,imx8qxp-lpi2c
23           - const: fsl,imx7ulp-lpi2c
25   reg:
26     maxItems: 1
28   interrupts:
29     maxItems: 1
31   assigned-clock-parents: true
32   assigned-clock-rates: true
33   assigned-clocks: true
34   clock-frequency: true
36   clock-names:
37     maxItems: 1
39   clocks:
40     maxItems: 1
42   power-domains:
43     maxItems: 1
45 required:
46   - compatible
47   - reg
48   - interrupts
49   - clocks
51 unevaluatedProperties: false
53 examples:
54   - |
55     #include <dt-bindings/clock/imx7ulp-clock.h>
56     #include <dt-bindings/interrupt-controller/arm-gic.h>
58     i2c@40a50000 {
59         compatible = "fsl,imx7ulp-lpi2c";
60         reg = <0x40A50000 0x10000>;
61         interrupt-parent = <&intc>;
62         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
63         clocks = <&clks IMX7ULP_CLK_LPI2C7>;
64     };