Lines Matching +full:gpios +full:- +full:set +full:- +full:reg
3 # SPDX-License-Identifier: Apache-2.0
9 mean WB functionality and filters could be set. Reffering to:
10 filter-wbes = <CH0 CH1 CH2 ... CH7 > for wire break
11 To enable wire break set 1 else 0. Same principle is followed for:
12 filter-fbps and filter-delays.
16 pinctrl-names = "default";
18 compatible = "adi,max22190-gpio";
19 reg = <0>;
21 spi-max-frequency = <1000000>;
24 gpio-controller;
25 #gpio-cells = <2>;
29 max22190-mode = <1>; // modes range from 0-4
31 drdy-gpios = <&gpioj 12 GPIO_ACTIVE_LOW>; /* SDP-GPIO5 - PMOD-PIN8 */
32 fault-gpios = <&gpioc 11 GPIO_ACTIVE_LOW>; /* SDP-SERIAL_INT - PMOD-PIN7 */
33 latch-gpios = <&gpioj 13 GPIO_ACTIVE_LOW>; /* SDP-GPIO6 - PMOD-PIN9 */
35 filter-wbes = <1 0 0 0 0 0 0 0>; // wirebreak WBEx
36 filter-fbps = <0 0 0 0 0 0 0 0>; // programmable filter INx
37 filter-delays = <50 100 400 800 1600 3200 12800 20000>; // 1000 us == 1ms
41 compatible: "adi,max22190-gpio"
44 "#gpio-cells":
50 description: Number of gpios supported
51 drdy-gpios:
53 type: phandle-array
54 fault-gpios:
58 type: phandle-array
59 latch-gpios:
62 type: phandle-array
63 max22190-mode:
67 - 0
68 - 1
69 - 2
70 - 3
72 Default mode set to 1, because in MAX22190PMB devkit this is hardwired
73 mode set by manufacturer.
77 ----+---+---+--------+-----+------------
78 0 | 0 | 0 | 24-bit | yes | no
79 1 | 0 | 1 | 16-bit | no | no
80 2 | 1 | 0 | 24-bit | yes | yes
81 3 | 1 | 1 | 16-bit | no | yes
82 filter-wbes:
89 channel, so to enable WB functionality set 1.
92 - 1 wire break enable
93 - 0 wire break disable
95 filter-fbps:
102 - 1 mean bypass
103 - 0 mean filter is used
105 filter-delays:
110 Used to setup filter delay. Values are set in us. Default value is 50 = 50 us.
114 gpio-cells:
115 - pin
116 - flags
118 include: [gpio-controller.yaml, spi-device.yaml]