Searched refs:seesaw (Results 1 – 4 of 4) sorted by relevance
225 struct seesaw_gamepad *seesaw; in seesaw_probe() local236 seesaw = devm_kzalloc(&client->dev, sizeof(*seesaw), GFP_KERNEL); in seesaw_probe()237 if (!seesaw) in seesaw_probe()262 seesaw->i2c_client = client; in seesaw_probe()263 seesaw->input_dev = devm_input_allocate_device(&client->dev); in seesaw_probe()264 if (!seesaw->input_dev) in seesaw_probe()267 seesaw->input_dev->id.bustype = BUS_I2C; in seesaw_probe()268 seesaw->input_dev->name = "Adafruit Seesaw Gamepad"; in seesaw_probe()269 seesaw->input_dev->phys = "i2c/" SEESAW_DEVICE_NAME; in seesaw_probe()270 seesaw->input_dev->open = seesaw_open; in seesaw_probe()[all …]
31 obj-$(CONFIG_JOYSTICK_SEESAW) += adafruit-seesaw.o
423 called adafruit-seesaw.
477 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml478 F: drivers/input/joystick/adafruit-seesaw.c