Lines Matching +full:1 +full:- +full:wire

3 # SPDX-License-Identifier: Apache-2.0
7 capabilities like Wire break and over/under volatage.
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";
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":
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
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:
87 Wire break is disabled in all channels.
88 WBE bit in all Filter registers stand for wire break enable on each
89 channel, so to enable WB functionality set 1.
91 wire is cut.
92 - 1 wire break enable
93 - 0 wire break disable
95 filter-fbps:
97 default: [1, 1, 1, 1, 1, 1, 1, 1]
102 - 1 mean bypass
103 - 0 mean filter is used
105 filter-delays:
114 gpio-cells:
115 - pin
116 - flags
118 include: [gpio-controller.yaml, spi-device.yaml]