Home
last modified time | relevance | path

Searched +full:drdy +full:- +full:int +full:- +full:pin (Results 1 – 25 of 47) sorted by relevance

12

/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
16 - Denis Ciocca <denis.ciocca@st.com>
17 - Linus Walleij <linus.walleij@linaro.org>
22 - description: STMicroelectronics Accelerometers
24 - st,h3lis331dl-accel
25 - st,lis2de12
[all …]
/linux/include/linux/iio/common/
H A Dst_sensors.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2012-2013 STMicroelectronics Inc.
66 .shift = sbits - rbits, \
87 unsigned int hz;
110 unsigned int num;
112 unsigned int gain;
113 unsigned int gain2;
128 * struct st_sensor_bdu - ST sensor device block data update
138 * struct st_sensor_das - ST sensor device data alignment selection
148 * struct st_sensor_int_drdy - ST sensor device drdy line parameters
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-href-tvk1281618-r2.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/input/input.h>
11 compatible = "gpio-keys";
12 #address-cells = <1>;
13 #size-cells = <0>;
14 vdd-supply = <&ab8500_ldo_aux1_reg>;
15 pinctrl-names = "default";
16 pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>;
37 interrupt-parent = <&gpio6>;
[all …]
H A Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
25 thermal-zones {
[all …]
H A Dste-href-tvk1281618-r3.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/input/input.h>
12 compatible = "gpio-keys";
13 #address-cells = <1>;
14 #size-cells = <0>;
15 vdd-supply = <&ab8500_ldo_aux1_reg>;
16 pinctrl-names = "default";
17 pinctrl-0 = <&hall_tvk_mode>;
32 interrupt-parent = <&gpio2>;
[all …]
H A Dste-href-stuib.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "gpio-keys";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 vdd-supply = <&ab8500_ldo_aux1_reg>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
33 stmpe1601: port-expander@40 {
[all …]
H A Dstm32f429-disco.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 /dts-v1/;
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/gpio/gpio.h>
56 model = "STMicroelectronics STM32F429i-DISCO board";
57 compatible = "st,stm32f429i-disco", "st,stm32f429";
[all …]
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
24 int st_sensors_write_data_with_mask(struct iio_dev *indio_dev, in st_sensors_write_data_with_mask()
29 return regmap_update_bits(sdata->regmap, in st_sensors_write_data_with_mask()
33 int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev, in st_sensors_debugfs_reg_access()
38 int err; in st_sensors_debugfs_reg_access()
41 return regmap_write(sdata->regmap, reg, writeval); in st_sensors_debugfs_reg_access()
43 err = regmap_read(sdata->regmap, reg, readval); in st_sensors_debugfs_reg_access()
51 static int st_sensors_match_odr(struct st_sensor_settings *sensor_settings, in st_sensors_match_odr()
52 unsigned int odr, struct st_sensor_odr_avl *odr_out) in st_sensors_match_odr()
[all …]
/linux/drivers/iio/gyro/
H A Dst_gyro_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
41 return &gdata->mount_matrix; in st_gyro_get_mount_matrix()
130 * for the DRDY line on INT2.
208 * for the DRDY line on INT2.
282 * for the DRDY line on INT2.
356 * for the DRDY line on INT2.
372 /* DRDY on gyros is available only on INT2 pin */
377 static int st_gyro_read_raw(struct iio_dev *indio_dev, in st_gyro_read_raw()
378 struct iio_chan_spec const *ch, int *val, in st_gyro_read_raw()
[all …]
/linux/drivers/iio/pressure/
H A Dst_pressure.h1 /* SPDX-License-Identifier: GPL-2.0-only */
39 * struct st_sensors_platform_data - default press platform data
40 * @drdy_int_pin: default press DRDY is available on INT1 pin.
47 int st_press_allocate_ring(struct iio_dev *indio_dev);
48 int st_press_trig_set_state(struct iio_trigger *trig, bool state);
51 static inline int st_press_allocate_ring(struct iio_dev *indio_dev) in st_press_allocate_ring()
/linux/Documentation/devicetree/bindings/iio/imu/
H A Dst,lsm6dsx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STM 6-axis (acc + gyro) IMU Mems sensors
10 - Lorenzo Bianconi <lorenzo@kernel.org>
18 - enum:
19 - st,lsm6ds3
20 - st,lsm6ds3h
21 - st,lsm6dsl
22 - st,lsm6dsm
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-sancloud-bbe.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am335x-bone-common.dtsi"
9 #include "am335x-boneblack-common.dtsi"
10 #include "am335x-boneblack-hdmi.dtsi"
11 #include "am335x-sancloud-bbe-common.dtsi"
12 #include <dt-bindings/interrupt-controller/irq.h>
16 compatible = "sancloud,am335x-boneenhanced", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
20 mpu6050_pins: mpu6050-pins {
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-samsung-matisse-wifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226-samsung-matisse-common.dtsi"
12 compatible = "samsung,matisse-wifi", "qcom,apq8026";
13 chassis-type = "tablet";
15 reg_tsp_3p3v: regulator-tsp-3p3v {
16 compatible = "regulator-fixed";
17 regulator-name = "tsp_3p3v";
18 regulator-min-microvolt = <3300000>;
19 regulator-max-microvolt = <3300000>;
[all …]
H A Dqcom-msm8926-motorola-peregrine.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include "qcom-msm8226.dtsi"
8 /delete-node/ &smem_region;
13 chassis-type = "handset";
21 #address-cells = <1>;
22 #size-cells = <1>;
26 compatible = "simple-framebuffer";
32 vsp-supply = <&reg_lcd_pos>;
33 vsn-supply = <&reg_lcd_neg>;
[all …]
H A Dmsm8226-motorola-falcon.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include "qcom-msm8226.dtsi"
8 /delete-node/ &smem_region;
13 chassis-type = "handset";
20 #address-cells = <1>;
21 #size-cells = <1>;
25 compatible = "simple-framebuffer";
31 vsp-supply = <&reg_lcd_pos>;
32 vsn-supply = <&reg_lcd_neg>;
[all …]
/linux/drivers/iio/magnetometer/
H A Dst_magn_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
63 return &mdata->mount_matrix; in st_magn_get_mount_matrix()
362 /* drdy line is routed drdy pin */
504 /* Default magn DRDY is available on INT2 pin */
509 static int st_magn_read_raw(struct iio_dev *indio_dev, in st_magn_read_raw()
510 struct iio_chan_spec const *ch, int *val, in st_magn_read_raw()
511 int *val2, long mask) in st_magn_read_raw()
513 int err; in st_magn_read_raw()
525 if ((ch->scan_index == ST_SENSORS_SCAN_Z) && in st_magn_read_raw()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-e2015-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-samsung-a2015-common.dtsi"
7 compatible = "regulator-haptic";
8 haptic-supply = <&reg_motor_vdd>;
9 min-microvolt = <3300000>;
10 max-microvolt = <3300000>;
13 i2c-muic {
15 /delete-node/ extcon@25;
18 compatible = "siliconmitus,sm5504-muic";
21 interrupt-parent = <&tlmm>;
[all …]
H A Dmsm8916-samsung-j5-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
18 stdout-path = "serial0";
21 reserved-memory {
23 tz-apps@85500000 {
25 no-map;
[all …]
H A Dmsm8916-samsung-gt5-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
21 stdout-path = "serial0";
24 reserved-memory {
[all …]
H A Dmsm8916-samsung-fortuna-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
19 stdout-path = "serial0";
22 reserved-memory {
24 tz-apps@85a00000 {
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-venice-gw71xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
12 compatible = "gpio-usb-b-connector", "usb-b-connector";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_usbcon1>;
16 label = "Type-C";
17 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
21 remote-endpoint = <&usb3_dwc>;
[all …]
H A Dimx8mm-venice-gw71xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
16 led-controller {
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_leds>;
21 led-0 {
25 default-state = "on";
[all …]
H A Dimx8mm-venice-gw72xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
17 led-controller {
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_gpio_leds>;
22 led-0 {
26 default-state = "on";
[all …]
H A Dimx8mp-venice-gw72xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
16 compatible = "gpio-usb-b-connector", "usb-b-connector";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_usbcon1>;
21 vbus-supply = <&reg_usb1_vbus>;
22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
26 remote-endpoint = <&usb3_dwc>;
[all …]
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-popmetal.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2014, 2015 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "PopMetal-RK3288";
12 compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288";
19 ext_gmac: external-gmac-clock {
20 compatible = "fixed-clock";
21 clock-frequency = <125000000>;
22 clock-output-names = "ext_gmac";
[all …]

12