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",
69 st_sensors_dev_name_probe(&client->dev, client->name, sizeof(client->name)); in st_gyro_i2c_probe()
71 settings = st_gyro_get_settings(client->name); in st_gyro_i2c_probe()
73 dev_err(&client->dev, "device name %s not recognized.\n", in st_gyro_i2c_probe()
74 client->name); in st_gyro_i2c_probe()
75 return -ENODEV; in st_gyro_i2c_probe()
78 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata)); in st_gyro_i2c_probe()
80 return -ENOMEM; in st_gyro_i2c_probe()
83 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_i2c_probe()
112 .name = "st-gyro-i2c",