Home
last modified time | relevance | path

Searched +full:lis302dl +full:- +full:spi (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/iio/accel/
H A Dst_accel_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
13 #include <linux/spi/spi.h>
21 * For new single-chip sensors use <device_name> as compatible string.
22 * For old single-chip devices keep <device_name>-accel to maintain
28 .compatible = "st,lis302dl-spi",
32 .compatible = "st,lis3lv02dl-accel",
36 .compatible = "st,lis3dh-accel",
40 .compatible = "st,lsm330d-accel",
44 .compatible = "st,lsm330dl-accel",
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/
H A Dst,st-sensors.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 description: The STMicroelectronics sensor devices are pretty straight-forward
10 I2C or SPI devices, all sharing the same device tree descriptions no matter
16 - Denis Ciocca <denis.ciocca@st.com>
17 - Linus Walleij <linus.walleij@linaro.org>
22 - description: STMicroelectronics Accelerometers
24 - st,h3lis331dl-accel
[all …]
/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * lis3lv02d_spi - SPI glue layer for lis3lv02d
14 #include <linux/spi/spi.h>
27 struct spi_device *spi = lis3->bus_priv; in lis3_spi_read() local
28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
30 return -EINVAL; in lis3_spi_read()
39 struct spi_device *spi = lis3->bus_priv; in lis3_spi_write() local
40 return spi_write(spi, tmp, sizeof(tmp)); in lis3_spi_write()
49 ret = lis3->read(lis3, CTRL_REG1, &reg); in lis3_spi_init()
54 return lis3->write(lis3, CTRL_REG1, reg); in lis3_spi_init()
[all …]
H A Dlis3lv02d.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * lis3lv02d.h - ST LIS3LV02DL accelerometer driver
5 * Copyright (C) 2007-2008 Yan Burman
6 * Copyright (C) 2008-2009 Eric Piel
15 * STMicroelectronics such as LIS3LV02DL, LIS302DL, LIS3L02DQ, LIS331DL,
21 * a register. They can be connected either via I²C or SPI.
90 WAI_6B = 0x52, /* 6 bits: LIS331DLF - not supported */
288 union axis_conversion ac; /* hw -> logical axis */
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/
H A Dlis302.txt7 Required properties for the SPI bindings:
8 - compatible: should be set to "st,lis3lv02d-spi"
9 - reg: the chipselect index
10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless
12 - interrupts: the interrupt generated by the device
15 - compatible: should be set to "st,lis3lv02d"
16 - reg: i2c slave address
17 - Vdd-supply: The input supply for Vdd
18 - Vdd_IO-supply: The input supply for Vdd_IO
23 - st,click-single-{x,y,z}: if present, tells the device to issue an
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-controller.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "pxa300-raumfeld-common.dtsi"
9 compatible = "raumfeld,raumfeld-controller-pxa303", "marvell,pxa300";
11 reg_vbatt: regulator-vbatt {
12 compatible = "regulator-fixed";
13 regulator-name = "vbatt-fixed-supply";
14 regulator-min-microvolt = <3700000>;
15 regulator-max-microvolt = <3700000>;
16 regulator-always-on;
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/video-interfaces.h>
15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
[all …]