~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/input/touchscreen/zinitix,bt400.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Zinitix BT4xx and BT5xx series touchscreen controller
  8 
  9 description: The Zinitix BT4xx and BT5xx series of touchscreen controllers
 10   are Korea-produced touchscreens with embedded microcontrollers. The
 11   BT4xx series was produced 2010-2013 and the BT5xx series 2013-2014.
 12 
 13 maintainers:
 14   - Michael Srba <Michael.Srba@seznam.cz>
 15   - Linus Walleij <linus.walleij@linaro.org>
 16 
 17 allOf:
 18   - $ref: touchscreen.yaml#
 19   - $ref: ../input.yaml#
 20 
 21 properties:
 22   $nodename:
 23     pattern: "^touchscreen(@.*)?$"
 24 
 25   compatible:
 26     enum:
 27       - zinitix,bt402
 28       - zinitix,bt403
 29       - zinitix,bt404
 30       - zinitix,bt412
 31       - zinitix,bt413
 32       - zinitix,bt431
 33       - zinitix,bt432
 34       - zinitix,bt531
 35       - zinitix,bt532
 36       - zinitix,bt538
 37       - zinitix,bt541
 38       - zinitix,bt548
 39       - zinitix,bt554
 40       - zinitix,at100
 41 
 42   reg:
 43     description: I2C address on the I2C bus
 44 
 45   clock-frequency:
 46     description: I2C client clock frequency, defined for host when using
 47       the device on the I2C bus
 48     minimum: 0
 49     maximum: 400000
 50 
 51   interrupts:
 52     description: Interrupt to host
 53     maxItems: 1
 54 
 55   vcca-supply:
 56     description: Analog power supply regulator on the VCCA pin
 57 
 58   vdd-supply:
 59     description: Digital power supply regulator on the VDD pin.
 60       In older device trees this can be the accidental name for the analog
 61       supply on the VCCA pin, and in that case the deprecated vddo-supply is
 62       used for the digital power supply.
 63 
 64   vddo-supply:
 65     description: Deprecated name for the digital power supply, use vdd-supply
 66       as this reflects the real name of the pin. If this supply is present,
 67       the vdd-supply represents VCCA instead of VDD. Implementers should first
 68       check for this property, and if it is present assume that the vdd-supply
 69       represents the analog supply.
 70     deprecated: true
 71 
 72   reset-gpios:
 73     description: Reset line for the touchscreen, should be tagged
 74       as GPIO_ACTIVE_LOW
 75 
 76   zinitix,mode:
 77     description: Mode of reporting touch points. Some modes may not work
 78       with a particular ts firmware for unknown reasons. Available modes are
 79       1 and 2. Mode 2 is the default and preferred.
 80     $ref: /schemas/types.yaml#/definitions/uint32
 81     enum: [1, 2]
 82 
 83   linux,keycodes:
 84     description:
 85       This property specifies an array of keycodes assigned to the
 86       touch-keys that can be present in some touchscreen configurations.
 87       If the touch-keys are enabled, controller firmware will assign some
 88       touch sense lines to those keys.
 89     minItems: 1
 90     maxItems: 8
 91 
 92   touchscreen-size-x: true
 93   touchscreen-size-y: true
 94   touchscreen-fuzz-x: true
 95   touchscreen-fuzz-y: true
 96 
 97 additionalProperties: false
 98 
 99 required:
100   - compatible
101   - reg
102   - interrupts
103   - touchscreen-size-x
104   - touchscreen-size-y
105 
106 examples:
107   - |
108     #include <dt-bindings/interrupt-controller/irq.h>
109     #include <dt-bindings/gpio/gpio.h>
110     i2c {
111       #address-cells = <1>;
112       #size-cells = <0>;
113 
114       touchscreen@20 {
115         compatible = "zinitix,bt541";
116         reg = <0x20>;
117         interrupt-parent = <&gpio>;
118         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
119         vcca-supply = <&reg_vcca_tsp>;
120         vdd-supply = <&reg_vdd_tsp>;
121         touchscreen-size-x = <540>;
122         touchscreen-size-y = <960>;
123         zinitix,mode = <2>;
124       };
125     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php