Loading Documentation/devicetree/bindings/input/touchscreen/msg21xx-ts.txt 0 → 100644 +60 −0 Original line number Diff line number Diff line Mstar touch controller The mstar controller is connected to host processor via i2c. The controller generates interrupts when the user touches the panel. The host controller is expected to read the touch coordinates over i2c and pass the coordinates to the rest of the system. Required properties: - compatible : should be "mstar,msg21xx". - reg : i2c slave address of the device. - interrupt-parent : parent of interrupt. - interrupts : touch sample interrupt to indicate presense or release of fingers on the panel. - vdd-supply : Power supply needed to power up the device. - vcc_i2c-supply : Power source required to power up i2c bus. - mstar,irq-gpio : irq gpio which is to provide interrupts to host, same as "interrupts" node. It will also contain active low or active high information. - mstar,reset-gpio : reset gpio to control the reset of chip. - mstar,display-coords : display coords in pixels. It is a four tuple consisting of min x, min y, max x and max y values. - pinctrl-names : This should be defined if a target uses pinctrl framework. See "pinctrl" in Documentation/devicetree/bindings/pinctrl/msm-pinctrl.txt. Specify the names of the configs that pinctrl can install in driver. Following are the pinctrl configs that can be installed: "pmx_ts_active" : Active configuration of pins, this should specify active config defined in pin groups of interrupt and reset gpio. "pmx_ts_suspend" : Disabled configuration of pins, this should specify sleep config defined in pin groups of interrupt and reset gpio. "pmx_ts_release" : Release configuration of pins, this should specify release config defined in pin groups of interrupt and reset gpio. Optional properties: - mstar,button-map : button map of key codes. It is a three tuple consisting of key codes. - mstar,panel-coords : panel coords for the chip in pixels. It is a four tuple consisting of min x, min y, max x and max y values. Example: i2c@78b9000 { /* BLSP1 QUP5 */ mstar@26 { compatible = "mstar,msg21xx"; reg = <0x26>; interrupt-parent = <&msm_gpio>; interrupts = <13 0x2008>; mstar,irq-gpio = <&msm_gpio 13 0x00000001>; mstar,reset-gpio = <&msm_gpio 12 0x0>; vdd-supply = <&pm8916_l17>; vcc_i2c-supply = <&pm8916_l6>; mstar,display-coords = <0 0 480 854>; pinctrl-names = "pmx_ts_active","pmx_ts_suspend"; pinctrl-0 = <&ts_int_active &ts_reset_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; mstar,button-map= <172 139 158>; }; }; Documentation/devicetree/bindings/vendor-prefixes.txt +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ mosaixtech Mosaix Technologies, Inc. moxa Moxa mpl MPL AG msi Micro-Star International Co. Ltd. mstar MStar Semiconductor, Inc. mti Imagination Technologies Ltd. (formerly MIPS Technologies Inc.) mundoreader Mundo Reader S.L. murata Murata Manufacturing Co., Ltd. Loading drivers/input/touchscreen/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -1110,6 +1110,17 @@ config TOUCHSCREEN_COLIBRI_VF50 To compile this driver as a module, choose M here: the module will be called colibri_vf50_ts. config TOUCHSCREEN_MSTAR21XX tristate "Mstar touchscreens" depends on I2C help Say Y here if you have a mstar touchscreen. If unsure, say N. To compile this driver as a module, choose M here: the module will be called msg21xx_ts. config TOUCHSCREEN_ROHM_BU21023 tristate "ROHM BU21023/24 Dual touch support resistive touchscreens" depends on I2C Loading drivers/input/touchscreen/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -97,3 +97,4 @@ obj-$(CONFIG_TOUCHSCREEN_TPS6507X) += tps6507x-ts.o obj-$(CONFIG_TOUCHSCREEN_ZFORCE) += zforce_ts.o obj-$(CONFIG_TOUCHSCREEN_COLIBRI_VF50) += colibri-vf50-ts.o obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o obj-$(CONFIG_TOUCHSCREEN_MSTAR21XX) += msg21xx_ts.o Loading
Documentation/devicetree/bindings/input/touchscreen/msg21xx-ts.txt 0 → 100644 +60 −0 Original line number Diff line number Diff line Mstar touch controller The mstar controller is connected to host processor via i2c. The controller generates interrupts when the user touches the panel. The host controller is expected to read the touch coordinates over i2c and pass the coordinates to the rest of the system. Required properties: - compatible : should be "mstar,msg21xx". - reg : i2c slave address of the device. - interrupt-parent : parent of interrupt. - interrupts : touch sample interrupt to indicate presense or release of fingers on the panel. - vdd-supply : Power supply needed to power up the device. - vcc_i2c-supply : Power source required to power up i2c bus. - mstar,irq-gpio : irq gpio which is to provide interrupts to host, same as "interrupts" node. It will also contain active low or active high information. - mstar,reset-gpio : reset gpio to control the reset of chip. - mstar,display-coords : display coords in pixels. It is a four tuple consisting of min x, min y, max x and max y values. - pinctrl-names : This should be defined if a target uses pinctrl framework. See "pinctrl" in Documentation/devicetree/bindings/pinctrl/msm-pinctrl.txt. Specify the names of the configs that pinctrl can install in driver. Following are the pinctrl configs that can be installed: "pmx_ts_active" : Active configuration of pins, this should specify active config defined in pin groups of interrupt and reset gpio. "pmx_ts_suspend" : Disabled configuration of pins, this should specify sleep config defined in pin groups of interrupt and reset gpio. "pmx_ts_release" : Release configuration of pins, this should specify release config defined in pin groups of interrupt and reset gpio. Optional properties: - mstar,button-map : button map of key codes. It is a three tuple consisting of key codes. - mstar,panel-coords : panel coords for the chip in pixels. It is a four tuple consisting of min x, min y, max x and max y values. Example: i2c@78b9000 { /* BLSP1 QUP5 */ mstar@26 { compatible = "mstar,msg21xx"; reg = <0x26>; interrupt-parent = <&msm_gpio>; interrupts = <13 0x2008>; mstar,irq-gpio = <&msm_gpio 13 0x00000001>; mstar,reset-gpio = <&msm_gpio 12 0x0>; vdd-supply = <&pm8916_l17>; vcc_i2c-supply = <&pm8916_l6>; mstar,display-coords = <0 0 480 854>; pinctrl-names = "pmx_ts_active","pmx_ts_suspend"; pinctrl-0 = <&ts_int_active &ts_reset_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; mstar,button-map= <172 139 158>; }; };
Documentation/devicetree/bindings/vendor-prefixes.txt +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ mosaixtech Mosaix Technologies, Inc. moxa Moxa mpl MPL AG msi Micro-Star International Co. Ltd. mstar MStar Semiconductor, Inc. mti Imagination Technologies Ltd. (formerly MIPS Technologies Inc.) mundoreader Mundo Reader S.L. murata Murata Manufacturing Co., Ltd. Loading
drivers/input/touchscreen/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -1110,6 +1110,17 @@ config TOUCHSCREEN_COLIBRI_VF50 To compile this driver as a module, choose M here: the module will be called colibri_vf50_ts. config TOUCHSCREEN_MSTAR21XX tristate "Mstar touchscreens" depends on I2C help Say Y here if you have a mstar touchscreen. If unsure, say N. To compile this driver as a module, choose M here: the module will be called msg21xx_ts. config TOUCHSCREEN_ROHM_BU21023 tristate "ROHM BU21023/24 Dual touch support resistive touchscreens" depends on I2C Loading
drivers/input/touchscreen/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -97,3 +97,4 @@ obj-$(CONFIG_TOUCHSCREEN_TPS6507X) += tps6507x-ts.o obj-$(CONFIG_TOUCHSCREEN_ZFORCE) += zforce_ts.o obj-$(CONFIG_TOUCHSCREEN_COLIBRI_VF50) += colibri-vf50-ts.o obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o obj-$(CONFIG_TOUCHSCREEN_MSTAR21XX) += msg21xx_ts.o