^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/input/iqs269a.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Azoteq IQS269A Capacitive Touch Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Jeff LaBundy <jeff@labundy.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The Azoteq IQS269A is an 8-channel capacitive touch controller that features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) additional Hall-effect and inductive sensing capabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Link to datasheet: https://www.azoteq.com/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) const: azoteq,iqs269a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) "#address-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) const: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) "#size-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) azoteq,hall-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) assigned to channel 6 are ignored and keycodes assigned to channel 7 are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) interpreted as switch codes. Refer to the datasheet for requirements im-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) posed on channels 6 and 7 by Hall-effect sensing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) azoteq,suspend-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Specifies the power mode during suspend as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 0: Automatic (same as normal runtime, i.e. suspend/resume disabled)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 1: Low power (all sensing at a reduced reporting rate)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 2: Ultra-low power (channel 0 proximity sensing)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 3: Halt (no sensing)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) azoteq,clk-div:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) description: Divides the device's core clock by a factor of 4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) azoteq,ulp-update:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) default: 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) description: Specifies the ultra-low-power mode update rate.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) azoteq,reseed-offset:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Applies an 8-count offset to all long-term averages upon either ATI or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) reseed events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) azoteq,filt-str-lp-lta:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Specifies the long-term average filter strength during low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) azoteq,filt-str-lp-cnt:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Specifies the raw count filter strength during low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) azoteq,filt-str-np-lta:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) Specifies the long-term average filter strength during normal-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) azoteq,filt-str-np-cnt:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) Specifies the raw count filter strength during normal-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) azoteq,rate-np-ms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) default: 16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) description: Specifies the report rate (in ms) during normal-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) azoteq,rate-lp-ms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) default: 160
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) description: Specifies the report rate (in ms) during low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) azoteq,rate-ulp-ms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) multipleOf: 16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) maximum: 4080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) default: 160
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) description: Specifies the report rate (in ms) during ultra-low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) azoteq,timeout-pwr-ms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) multipleOf: 512
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) maximum: 130560
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) default: 2560
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Specifies the length of time (in ms) to wait for an event during normal-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) power mode before transitioning to low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) azoteq,timeout-lta-ms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) multipleOf: 512
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) maximum: 130560
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) default: 32768
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) Specifies the length of time (in ms) to wait before resetting the long-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) term average of all channels. Specify the maximum timeout to disable it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) altogether.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) azoteq,ati-band-disable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) description: Disables the ATI band check.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) azoteq,ati-lp-only:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) description: Limits automatic ATI to low-power mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) azoteq,ati-band-tighten:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) description: Tightens the ATI band from 1/8 to 1/16 of the desired target.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) azoteq,filt-disable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) description: Disables all raw count filtering.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) azoteq,gpio3-select:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) Selects the channel for which the GPIO3 pin represents touch state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) azoteq,dual-direction:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) Specifies that long-term averages are to freeze in the presence of either
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) increasing or decreasing counts, thereby permitting events to be reported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) in either direction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) azoteq,tx-freq:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) Specifies the inductive sensing excitation frequency as follows (paren-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) thesized numbers represent the frequency if 'azoteq,clk-div' is present):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 0: 16 MHz (4 MHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 1: 8 MHz (2 MHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 2: 4 MHz (1 MHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 3: 2 MHz (500 kHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) azoteq,global-cap-increase:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) description: Increases the global capacitance adder from 0.5 pF to 1.5 pF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) azoteq,reseed-select:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) Specifies the event(s) that prompt the device to reseed (i.e. reset the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) long-term average) of an associated channel as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 0: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 1: Proximity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 2: Proximity or touch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 3: Proximity, touch or deep touch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) azoteq,tracking-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) Enables all associated channels to track their respective reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) channels.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) azoteq,filt-str-slider:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) default: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) description: Specifies the slider coordinate filter strength.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) patternProperties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) "^channel@[0-7]$":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) type: object
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) Represents a single sensing channel. A channel is active if defined and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) inactive otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) description: Index of the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) azoteq,reseed-disable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) Prevents the channel from being reseeded if the long-term average
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) timeout (defined in 'azoteq,timeout-lta') expires.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) azoteq,blocking-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) description: Specifies that the channel is a blocking channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) azoteq,slider0-select:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) description: Specifies that the channel participates in slider 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) azoteq,slider1-select:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) description: Specifies that the channel participates in slider 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) azoteq,rx-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) $ref: /schemas/types.yaml#/definitions/uint32-array
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) maxItems: 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) Specifies the CRX pin(s) associated with the channel. By default, only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) the CRX pin corresponding to the channel's index is enabled (e.g. CRX0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) for channel 0).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) azoteq,tx-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) $ref: /schemas/types.yaml#/definitions/uint32-array
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) maxItems: 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) default: [0, 1, 2, 3, 4, 5, 6, 7]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) description: Specifies the TX pin(s) associated with the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) azoteq,meas-cap-decrease:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) Decreases the internal measurement capacitance from 60 pF to 15 pF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) azoteq,rx-float-inactive:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) description: Floats any inactive CRX pins instead of grounding them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) azoteq,local-cap-size:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) enum: [0, 1, 2]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) Specifies the capacitance to be added to the channel as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) 0: None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) 1: Global adder (based on 'azoteq,global-cap-increase')
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) 2: Global adder + 0.5 pF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) azoteq,invert-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) Inverts the polarity of the states reported for proximity, touch and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) deep-touch events relative to their respective thresholds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) azoteq,proj-bias:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) default: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) Specifies the bias current applied during projected-capacitance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) sensing as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 0: 2.5 uA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) 1: 5 uA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) 2: 10 uA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) 3: 20 uA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) azoteq,sense-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) enum: [0, 1, 9, 14, 15]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) Specifies the channel's sensing mode as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) 0: Self capacitance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) 1: Projected capacitance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) 9: Self or mutual inductance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) 14: Hall effect
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) 15: Temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) azoteq,sense-freq:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) default: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) Specifies the channel's sensing frequency as follows (parenthesized
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) numbers represent the frequency if 'azoteq,clk-div' is present):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) 0: 4 MHz (1 MHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) 1: 2 MHz (500 kHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) 2: 1 MHz (250 kHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) 3: 500 kHz (125 kHz)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) azoteq,static-enable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) type: boolean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) description: Enables the static front-end for the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) azoteq,ati-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) enum: [0, 1, 2, 3]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) default: 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) Specifies the channel's ATI mode as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) 0: Disabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) 1: Semi-partial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) 2: Partial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) 3: Full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) azoteq,ati-base:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) enum: [75, 100, 150, 200]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) default: 100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) description: Specifies the channel's ATI base.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) azoteq,ati-target:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) multipleOf: 32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) maximum: 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) default: 512
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) description: Specifies the channel's ATI target.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) azoteq,assoc-select:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) $ref: /schemas/types.yaml#/definitions/uint32-array
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) maxItems: 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) maximum: 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) Specifies the associated channels for which the channel serves as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) reference channel. By default, no channels are selected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) azoteq,assoc-weight:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) Specifies the channel's impact weight if it acts as an associated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) channel (0 = 0% impact, 255 = 200% impact).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) patternProperties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) "^event-prox(-alt)?$":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) type: object
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) Represents a proximity event reported by the channel in response to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) a decrease in counts. Node names suffixed with '-alt' instead corre-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) spond to an increase in counts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) By default, the long-term average tracks an increase in counts such
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) that only events corresponding to a decrease in counts are reported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) (refer to the datasheet for more information).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) Specify 'azoteq,dual-direction' to freeze the long-term average when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) the counts increase or decrease such that events of either direction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) can be reported. Alternatively, specify 'azoteq,invert-enable' to in-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) vert the polarity of the states reported by the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) Complementary events (e.g. event-touch and event-touch-alt) can both
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) be present and specify different key or switch codes, but not differ-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) ent thresholds or hysteresis (if applicable).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) azoteq,thresh:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) default: 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) description: Specifies the threshold for the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) linux,code:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) description: Numeric key or switch code associated with the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) "^event-touch(-alt)?$":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) type: object
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) description: Represents a touch event reported by the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) azoteq,thresh:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) default: 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) description: Specifies the threshold for the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) azoteq,hyst:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) maximum: 15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) default: 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) description: Specifies the hysteresis for the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424) linux,code:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) description: Numeric key or switch code associated with the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) "^event-deep(-alt)?$":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) type: object
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) description: Represents a deep-touch event reported by the channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) azoteq,thresh:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) default: 26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) description: Specifies the threshold for the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) azoteq,hyst:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) minimum: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) maximum: 15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) default: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) description: Specifies the hysteresis for the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) linux,code:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) description: Numeric key or switch code associated with the event.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) - "#address-cells"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) - "#size-cells"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) #include <dt-bindings/input/input.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) #include <dt-bindings/interrupt-controller/irq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) i2c {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478) iqs269a@44 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) compatible = "azoteq,iqs269a";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) reg = <0x44>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484) interrupt-parent = <&gpio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487) azoteq,hall-enable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488) azoteq,suspend-mode = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) channel@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) reg = <0x0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) event-prox {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494) linux,code = <KEY_POWER>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498) channel@1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499) reg = <0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) azoteq,slider0-select;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503) channel@2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504) reg = <0x2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) azoteq,slider0-select;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508) channel@3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509) reg = <0x3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 510) azoteq,slider0-select;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 511) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 512)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 513) channel@4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 514) reg = <0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 515) azoteq,slider0-select;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 516) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 517)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 518) channel@5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 519) reg = <0x5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 520) azoteq,slider0-select;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 521) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 522)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 523) channel@6 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 524) reg = <0x6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 525) azoteq,invert-enable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 526) azoteq,static-enable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 527) azoteq,reseed-disable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 528) azoteq,rx-enable = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 529) azoteq,sense-freq = <0x0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 530) azoteq,sense-mode = <0xE>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 531) azoteq,ati-mode = <0x0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 532) azoteq,ati-base = <200>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 533) azoteq,ati-target = <320>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 534) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 535)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 536) channel@7 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 537) reg = <0x7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 538) azoteq,invert-enable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 539) azoteq,static-enable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 540) azoteq,reseed-disable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 541) azoteq,rx-enable = <0>, <6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 542) azoteq,sense-freq = <0x0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 543) azoteq,sense-mode = <0xE>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 544) azoteq,ati-mode = <0x3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 545) azoteq,ati-base = <200>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 546) azoteq,ati-target = <320>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 547)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 548) event-touch {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 549) linux,code = <SW_LID>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 550) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 551) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 552) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 553) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 554)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 555) ...