Home
last modified time | relevance | path

Searched full:mpu3050 (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/iio/gyro/
Dmpu3050-core.c3 * MPU3050 gyroscope driver
33 #include "mpu3050.h"
180 static unsigned int mpu3050_get_freq(struct mpu3050 *mpu3050) in mpu3050_get_freq() argument
184 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq()
188 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq()
193 static int mpu3050_start_sampling(struct mpu3050 *mpu3050) in mpu3050_start_sampling() argument
200 ret = regmap_set_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
206 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
214 raw_val[i] = cpu_to_be16(mpu3050->calibration[i]); in mpu3050_start_sampling()
216 ret = regmap_bulk_write(mpu3050->map, MPU3050_X_OFFS_USR_H, raw_val, in mpu3050_start_sampling()
[all …]
Dmpu3050-i2c.c10 #include "mpu3050.h"
19 struct mpu3050 *mpu3050 = i2c_mux_priv(mux); in mpu3050_i2c_bypass_select() local
22 pm_runtime_get_sync(mpu3050->dev); in mpu3050_i2c_bypass_select()
28 struct mpu3050 *mpu3050 = i2c_mux_priv(mux); in mpu3050_i2c_bypass_deselect() local
30 pm_runtime_mark_last_busy(mpu3050->dev); in mpu3050_i2c_bypass_deselect()
31 pm_runtime_put_autosuspend(mpu3050->dev); in mpu3050_i2c_bypass_deselect()
40 struct mpu3050 *mpu3050; in mpu3050_i2c_probe() local
64 mpu3050 = iio_priv(dev_get_drvdata(&client->dev)); in mpu3050_i2c_probe()
65 mpu3050->i2cmux = i2c_mux_alloc(client->adapter, &client->dev, in mpu3050_i2c_probe()
70 if (!mpu3050->i2cmux) in mpu3050_i2c_probe()
[all …]
DMakefile24 obj-$(CONFIG_MPU3050) += mpu3050.o
25 mpu3050-objs := mpu3050-core.o mpu3050-i2c.o
DKconfig121 config MPU3050 config
128 tristate "Invensense MPU3050 devices on I2C"
130 select MPU3050
134 This driver supports the Invensense MPU3050 gyroscope over I2C.
136 inv-mpu3050-i2c.
Dmpu3050.h42 * struct mpu3050 - instance state container for the device
68 struct mpu3050 { struct
/linux-6.12.1/Documentation/devicetree/bindings/iio/gyroscope/
Dinvensense,mpu3050.yaml4 $id: http://devicetree.org/schemas/iio/gyroscope/invensense,mpu3050.yaml#
14 const: invensense,mpu3050
52 compatible = "invensense,mpu3050";
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-ux500-samsung-gavini.dts513 compatible = "invensense,mpu3050";
788 /* Interrupt line for Invensense MPU3050 gyroscope */
789 mpu3050 {
790 mpu3050_default: mpu3050 {
Dste-ux500-samsung-janice.dts622 compatible = "invensense,mpu3050";
867 /* Interrupt line for Invensense MPU3050 gyroscope */
868 mpu3050 {
/linux-6.12.1/Documentation/firmware-guide/acpi/
Denumeration.rst309 Below is an example of how to add ACPI support to the existing mpu3050
313 { "MPU3050", 0 },
320 .name = "mpu3050",
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-apq8060-dragonboard.dts240 mpu3050@68 {
241 compatible = "invensense,mpu3050";
299 dragon_mpu3050_gpios: mpu3050-state {
/linux-6.12.1/Documentation/i2c/
Di2c-topology.rst399 gyro/mpu3050 Mux-locked
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra20-seaboard.dts363 compatible = "invensense,mpu3050";
Dtegra20-asus-tf101.dts557 compatible = "invensense,mpu3050";
Dtegra20-acer-a500-picasso.dts484 compatible = "invensense,mpu3050";
Dtegra30-asus-transformer-common.dtsi1164 compatible = "invensense,mpu3050";
Dtegra30-pegatron-chagall.dts1227 compatible = "invensense,mpu3050";
/linux-6.12.1/drivers/iio/magnetometer/
Dyamaha-yas530.c16 * Code functions found in the MPU3050 YAS530 and YAS532 drivers
/linux-6.12.1/
DMAINTAINERS11884 F: Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml
11885 F: drivers/iio/gyro/mpu3050*