/linux-6.12.1/drivers/iio/gyro/ |
D | mpu3050-core.c | 3 * 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 …]
|
D | mpu3050-i2c.c | 10 #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 …]
|
D | Makefile | 24 obj-$(CONFIG_MPU3050) += mpu3050.o 25 mpu3050-objs := mpu3050-core.o mpu3050-i2c.o
|
D | Kconfig | 121 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.
|
D | mpu3050.h | 42 * struct mpu3050 - instance state container for the device 68 struct mpu3050 { struct
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/gyroscope/ |
D | invensense,mpu3050.yaml | 4 $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/ |
D | ste-ux500-samsung-gavini.dts | 513 compatible = "invensense,mpu3050"; 788 /* Interrupt line for Invensense MPU3050 gyroscope */ 789 mpu3050 { 790 mpu3050_default: mpu3050 {
|
D | ste-ux500-samsung-janice.dts | 622 compatible = "invensense,mpu3050"; 867 /* Interrupt line for Invensense MPU3050 gyroscope */ 868 mpu3050 {
|
/linux-6.12.1/Documentation/firmware-guide/acpi/ |
D | enumeration.rst | 309 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/ |
D | qcom-apq8060-dragonboard.dts | 240 mpu3050@68 { 241 compatible = "invensense,mpu3050"; 299 dragon_mpu3050_gpios: mpu3050-state {
|
/linux-6.12.1/Documentation/i2c/ |
D | i2c-topology.rst | 399 gyro/mpu3050 Mux-locked
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra20-seaboard.dts | 363 compatible = "invensense,mpu3050";
|
D | tegra20-asus-tf101.dts | 557 compatible = "invensense,mpu3050";
|
D | tegra20-acer-a500-picasso.dts | 484 compatible = "invensense,mpu3050";
|
D | tegra30-asus-transformer-common.dtsi | 1164 compatible = "invensense,mpu3050";
|
D | tegra30-pegatron-chagall.dts | 1227 compatible = "invensense,mpu3050";
|
/linux-6.12.1/drivers/iio/magnetometer/ |
D | yamaha-yas530.c | 16 * Code functions found in the MPU3050 YAS530 and YAS532 drivers
|
/linux-6.12.1/ |
D | MAINTAINERS | 11884 F: Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml 11885 F: drivers/iio/gyro/mpu3050*
|