/Linux-v6.1/Documentation/devicetree/bindings/iio/ |
D | st,st-sensors.yaml | 1 # 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 14 The STMicroelectronics sensor devices are pretty straight-forward I2C or 19 - Denis Ciocca <denis.ciocca@st.com> 20 - Linus Walleij <linus.walleij@linaro.org> 25 - description: STMicroelectronics Accelerometers 27 - st,h3lis331dl-accel [all …]
|
/Linux-v6.1/include/linux/iio/common/ |
D | st_sensors.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright 2012-2013 STMicroelectronics Inc. 65 .shift = sbits - rbits, \ 86 unsigned int hz; 109 unsigned int num; 111 unsigned int gain; 112 unsigned int gain2; 127 * struct st_sensor_bdu - ST sensor device block data update 137 * struct st_sensor_das - ST sensor device data alignment selection 147 * struct st_sensor_int_drdy - ST sensor device drdy line parameters [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | ste-href-tvk1281618-r2.dtsi | 1 // 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 …]
|
D | ste-snowball.dts | 1 // 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 …]
|
D | am335x-sancloud-bbe.dts | 1 // 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"; 21 pinctrl-single,pins = < [all …]
|
D | ste-href-tvk1281618-r3.dtsi | 1 // 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 …]
|
D | ste-href-stuib.dtsi | 1 // 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>; 37 interrupt-parent = <&gpio6>; [all …]
|
D | stm32f429-disco.dts | 2 * 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 …]
|
D | rk3288-popmetal.dts | 1 // 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 …]
|
D | imx6qdl-gw5912.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 22 stdout-path = &uart2; 25 gpio-keys { 26 compatible = "gpio-keys"; 28 user-pb { 34 user-pb1x { 37 interrupt-parent = <&gsc>; [all …]
|
D | imx6qdl-gw5910.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 19 stdout-path = &uart2; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 user-pb { 36 user-pb1x { 39 interrupt-parent = <&gsc>; [all …]
|
D | ste-ux500-samsung-codina.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina. 11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China). 12 * The GT-I8160 plain is known as the "europe" variant. 13 * The GT-I8160P is the CDMA version and it appears to not use the ST 15 * The GT-I8160chn appears to be the same as the europe variant. 17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device 21 /dts-v1/; 22 #include "ste-db8500.dtsi" 23 #include "ste-ab8500.dtsi" [all …]
|
D | imx6qdl-gw553x.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/linux-event-codes.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 63 stdout-path = &uart2; 66 gpio-keys { 67 compatible = "gpio-keys"; 69 user-pb { 75 user-pb1x { [all …]
|
/Linux-v6.1/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 1 // 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-v6.1/drivers/iio/pressure/ |
D | st_pressure.h | 1 /* 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-v6.1/drivers/iio/gyro/ |
D | st_gyro_core.c | 1 // 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-v6.1/Documentation/devicetree/bindings/iio/imu/ |
D | st,lsm6dsx.yaml | 1 # 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-v6.1/drivers/iio/magnetometer/ |
D | st_magn_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 63 return &mdata->mount_matrix; in st_magn_get_mount_matrix() 361 /* drdy line is routed drdy pin */ 502 /* Default magn DRDY is available on INT2 pin */ 507 static int st_magn_read_raw(struct iio_dev *indio_dev, in st_magn_read_raw() 508 struct iio_chan_spec const *ch, int *val, in st_magn_read_raw() 509 int *val2, long mask) in st_magn_read_raw() 511 int err; in st_magn_read_raw() 523 if ((ch->scan_index == ST_SENSORS_SCAN_Z) && in st_magn_read_raw() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-venice-gw71xx.dtsi | 1 // 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 …]
|
D | imx8mm-venice-gw72xx.dtsi | 1 // 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 …]
|
D | imx8mm-venice-gw73xx.dtsi | 1 // 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 …]
|
/Linux-v6.1/drivers/parport/ |
D | parport_mfc3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Low-level parallel port routines for the Multiface 3 card 14 * ------------------------- 16 * The two open-drain interrupt outputs /IRQA and /IRQB are routed to 19 * The CPU data bus of the PIA (D0-D7) is connected to D8-D15 on the Z2 22 * Centronics Pin Connections for the PIA 23 * -------------------------------------- 27 * very complete, Centronics type interface. The Pin column gives the pin 28 * numbers of the PIA. The Centronics pin numbers can be found in the section 32 * Pin | PIA | Dir | Centronics Names [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3566-pinenote.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 17 stdout-path = "serial2:1500000n8"; 20 adc-keys { 21 compatible = "adc-keys"; 22 io-channels = <&saradc 0>; [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 161 * struct at91_adc_trigger - description of triggers 165 * @is_external: Does the trigger rely on an external pin? 174 * struct at91_adc_reg_desc - Various informations relative to registers 176 * @drdy_mask: Mask of the DRDY field in the relevant registers 200 /* Pen Detection input pull-up resistor, can be 0~3 */ [all …]
|
/Linux-v6.1/drivers/iio/light/ |
D | rpr0521.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RPR-0521 ROHM Ambient Light and Proximity Sensor 7 * IIO driver for RPR-0521RS (7-bit I2C slave address 0x38). 31 #define RPR0521_REG_PXS_DATA 0x44 /* 16-bit, little endian */ 32 #define RPR0521_REG_ALS_DATA0 0x46 /* 16-bit, little endian */ 33 #define RPR0521_REG_ALS_DATA1 0x48 /* 16-bit, little endian */ 68 #define RPR0521_DEFAULT_MEAS_TIME 0x06 /* ALS - 100ms, PXS - 100ms */ 80 int scale; 81 int uscale; 128 int size; [all …]
|