Lines Matching +full:l3g4200d +full:- +full:gyro
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
22 .compatible = "st,l3g4200d-gyro",
26 .compatible = "st,lsm330d-gyro",
30 .compatible = "st,lsm330dl-gyro",
34 .compatible = "st,lsm330dlc-gyro",
38 .compatible = "st,l3gd20-gyro",
42 .compatible = "st,l3gd20h-gyro",
46 .compatible = "st,l3g4is-gyro",
50 .compatible = "st,lsm330-gyro",
54 .compatible = "st,lsm9ds0-gyro",
68 st_sensors_dev_name_probe(&client->dev, client->name, sizeof(client->name)); in st_gyro_i2c_probe()
70 settings = st_gyro_get_settings(client->name); in st_gyro_i2c_probe()
72 dev_err(&client->dev, "device name %s not recognized.\n", in st_gyro_i2c_probe()
73 client->name); in st_gyro_i2c_probe()
74 return -ENODEV; in st_gyro_i2c_probe()
77 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata)); in st_gyro_i2c_probe()
79 return -ENOMEM; in st_gyro_i2c_probe()
82 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_i2c_probe()
111 .name = "st-gyro-i2c",