Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / gpio / fcs,fxl6408.yaml
blobb74fa81e7d05bbb0001c3bfc7e201b13445ae7f8
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fairchild FXL6408 I2C GPIO Expander
9 maintainers:
10   - Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
12 properties:
13   compatible:
14     enum:
15       - fcs,fxl6408
17   reg:
18     maxItems: 1
20   "#gpio-cells":
21     const: 2
23   gpio-controller: true
25   gpio-line-names:
26     minItems: 1
27     maxItems: 8
29 patternProperties:
30   "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
31     type: object
32     required:
33       - gpio-hog
35 required:
36   - compatible
37   - reg
38   - gpio-controller
39   - "#gpio-cells"
41 additionalProperties: false
43 examples:
44   - |
45     i2c {
46         #address-cells = <1>;
47         #size-cells = <0>;
49         gpio_expander_43: gpio-expander@43 {
50             compatible = "fcs,fxl6408";
51             reg = <0x43>;
52             gpio-controller;
53             #gpio-cells = <2>;
54             gpio-line-names = "Wi-Fi_W_DISABLE", "Wi-Fi_WKUP_WLAN",
55                               "PWR_EN_+V3.3_WiFi_N", "PCIe_REF_CLK_EN",
56                               "USB_RESET_N", "USB_BYPASS_N", "Wi-Fi_PDn",
57                               "Wi-Fi_WKUP_BT";
58         };
59     };