Home
last modified time | relevance | path

Searched refs:mpr121 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/input/keyboard/
Dmpr121_touchkey.c120 struct mpr121_touchkey *mpr121 = dev_id; in mpr_touchkey_interrupt() local
121 struct i2c_client *client = mpr121->client; in mpr_touchkey_interrupt()
122 struct input_dev *input = mpr121->input_dev; in mpr_touchkey_interrupt()
142 bit_changed = reg ^ mpr121->statusbits; in mpr_touchkey_interrupt()
143 mpr121->statusbits = reg; in mpr_touchkey_interrupt()
144 for_each_set_bit(key_num, &bit_changed, mpr121->keycount) { in mpr_touchkey_interrupt()
148 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_interrupt()
163 static int mpr121_phys_init(struct mpr121_touchkey *mpr121, in mpr121_phys_init() argument
209 eleconf = mpr121->keycount | ELECTRODE_CONF_QUICK_CHARGE; in mpr121_phys_init()
215 dev_dbg(&client->dev, "set up with %x keys.\n", mpr121->keycount); in mpr121_phys_init()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/input/
Dmpr121-touchkey.txt4 - compatible: Should be "fsl,mpr121-touchkey"
20 touchkey: mpr121@5a {
21 compatible = "fsl,mpr121-touchkey";
/Linux-v5.4/arch/arm/boot/dts/
Dimx53-smd.dts265 touchkey: mpr121@5a {
266 compatible = "fsl,mpr121";