| /Linux-v5.4/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7780.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 13 The ad7780 is a sigma-delta analog to digital converter. This driver provides 20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf 22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf 24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf 26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf 31 - adi,ad7170 [all …]
|
| D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Beniamin Bia <beniamin.bia@analog.com> 11 - Stefan Popa <stefan.popa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf 22 - adi,ad7605-4 23 - adi,ad7606-8 [all …]
|
| D | adi,ad7192.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Michael Hennerich <michael.hennerich@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7192.pdf 21 - adi,ad7190 22 - adi,ad7192 23 - adi,ad7193 24 - adi,ad7195 29 spi-cpol: true [all …]
|
| D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stefan Popa <stefan.popa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 32 clock-names: 34 - const: mclk 40 '#address-cells': [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/sound/ |
| D | adi,adau1977.txt | 4 http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf 5 http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf 6 http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf 11 - compatible: Should contain one of the following: 16 - AVDD-supply: analog power supply for the device, please consult 20 - reset-gpios: the reset pin for the chip, for more details consult 23 - DVDD-supply: supply voltage for the digital core, please consult 26 - adi,micbias: configures the voltage setting for the MICBIAS pin. 33 Documentation/devicetree/bindings/spi/spi-bus.txt 37 - reg: The i2c address. Value depends on the state of ADDR0 [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/iio/impedance-analyzer/ |
| D | ad5933.txt | 3 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf 4 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5934.pdf 7 - compatible : should be one of 10 - reg : the I2C address. 11 - vdd-supply : The regulator supply for DVDD, AVDD1 and AVDD2 when they 15 - clocks : external clock reference. 16 - clock-names : must be "mclk" if clocks is set. 20 impedance-analyzer@0d { 23 vdd-supply = <&vdd_supply>; 25 clock-names = "mclk";
|
| /Linux-v5.4/Documentation/devicetree/bindings/iio/frequency/ |
| D | adf4371.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Popa Stefan <stefan.popa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf 15 https://www.analog.com/media/en/technical-documentation/data-sheets/adf4372.pdf 20 - adi,adf4371 21 - adi,adf4372 28 Definition of the external clock (see clock/clock-bindings.txt) 31 clock-names: [all …]
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | mc146818-time.h | 26 * MC146818A or Dallas DS12887 data sheet for details. 57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mc146818_set_rtc_mmss() 61 if (abs(real_minutes - cmos_minutes) < 30) { in mc146818_set_rtc_mmss() 72 retval = -1; in mc146818_set_rtc_mmss() 79 * the Dallas Semiconductor data sheets, but who believes data in mc146818_set_rtc_mmss() 80 * sheets anyway ... -- Markus Kuhn in mc146818_set_rtc_mmss()
|
| /Linux-v5.4/arch/mips/dec/ |
| D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * This file contains the time handling details for PC-style clocks as 15 #include <asm/cpu-features.h> 55 year += real_year - 72 + 2000; in read_persistent_clock64() 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64() 58 ts->tv_nsec = 0; in read_persistent_clock64() 66 * DS1287 data sheet for details. 96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in update_persistent_clock64() 100 if (abs(real_minutes - cmos_minutes) < 30) { in update_persistent_clock64() 111 retval = -1; in update_persistent_clock64() [all …]
|
| /Linux-v5.4/arch/powerpc/platforms/chrp/ |
| D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 51 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init() 86 * Set the hardware clock. -- Cort 122 * the Dallas Semiconductor data sheets, but who believes data in chrp_set_rtc_time() 123 * sheets anyway ... -- Markus Kuhn in chrp_set_rtc_time() 155 tm->tm_sec = sec; in chrp_get_rtc_time() 156 tm->tm_min = min; in chrp_get_rtc_time() 157 tm->tm_hour = hour; in chrp_get_rtc_time() 158 tm->tm_mday = day; in chrp_get_rtc_time() 159 tm->tm_mon = mon; in chrp_get_rtc_time() [all …]
|
| /Linux-v5.4/drivers/staging/comedi/drivers/ni_routing/tools/ |
| D | convert_csv_to_c.py | 2 # SPDX-License-Identifier: GPL-2.0+ 6 # the device-global NI signal/terminal constants defined in comedi.h 32 D0 = D # (src-> dest->reg_value) 76 # data is src -> dest-list 81 # data is dest -> src-list 89 # Sort by order of device-global names (numerically) 118 MKFILE_SEGMENTS = 'device-route.mk' 125 // SPDX-License-Identifier: GPL-2.0+ 131 * COMEDI - Linux Control and Measurement Device Interface 157 /* SPDX-License-Identifier: GPL-2.0+ */ [all …]
|
| /Linux-v5.4/arch/powerpc/platforms/maple/ |
| D | time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 55 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time() 56 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time() 57 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time() 58 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time() 59 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time() 60 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time() 61 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time() 65 tm->tm_sec = bcd2bin(tm->tm_sec); in maple_get_rtc_time() 66 tm->tm_min = bcd2bin(tm->tm_min); in maple_get_rtc_time() [all …]
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| D | sysfs-class-power-twl4030 | 7 "auto" - draw power as appropriate for detected 9 "off" - do not draw any power. 11 - activate mode described as "linear" in 12 TWL data sheets. This uses whatever 18 be taken that battery is not over-charged. 26 "auto" - draw power as appropriate for detected 28 "off" - do not draw any power.
|
| /Linux-v5.4/Documentation/w1/masters/ |
| D | mxc-w1.rst | 11 - http://www.freescale.com/files/32bit/doc/data_sheet/MCIMX31.pdf?fpsp=1 12 …- http://cache.freescale.com/files/dsp/doc/archive/MCIMX27.pdf?fsrch=1&WT_TYPE=Data%20Sheets&WT_VE…
|
| /Linux-v5.4/Documentation/devicetree/bindings/clock/ |
| D | silabs,si544.txt | 7 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 9 https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf 12 - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according 14 - reg: I2C device address. 15 - #clock-cells: From common clock bindings: Shall be 0. 18 - clock-output-names: From common clock bindings. Recommended to be "si544". 21 si544: clock-controller@55 { 23 #clock-cells = <0>;
|
| D | silabs,si570.txt | 6 found in the data sheets[2][3]. 8 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 9 [2] Si570/571 Data Sheet 11 [3] Si598/599 Data Sheet 12 http://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf 15 - compatible: Shall be one of "silabs,si570", "silabs,si571", 17 - reg: I2C device address. 18 - #clock-cells: From common clock bindings: Shall be 0. 19 - factory-fout: Factory set default frequency. This frequency is part specific. 22 details, please refer to the data sheet. [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/iio/imu/ |
| D | adi,adis16460.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dragos Bogdan <dragos.bogdan@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf 19 - adi,adis16460 24 spi-cpha: true 26 spi-cpol: true 32 - compatible 33 - reg [all …]
|
| /Linux-v5.4/drivers/gpu/drm/via/ |
| D | via_irq.c | 65 * Device-specific IRQs go here. This type might need to be extended with 81 static int via_irqmap_pro_group_a[] = {0, 1, -1, 2, -1, 3}; 90 static int via_irqmap_unichrome[] = {-1, -1, -1, 0, -1, 1}; 95 drm_via_private_t *dev_priv = dev->dev_private; in via_get_vblank_counter() 100 return atomic_read(&dev_priv->vbl_received); in via_get_vblank_counter() 106 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_handler() 110 drm_via_irq_t *cur_irq = dev_priv->via_irqs; in via_driver_irq_handler() 115 atomic_inc(&dev_priv->vbl_received); in via_driver_irq_handler() 116 if (!(atomic_read(&dev_priv->vbl_received) & 0x0F)) { in via_driver_irq_handler() 118 if (dev_priv->last_vblank_valid) { in via_driver_irq_handler() [all …]
|
| /Linux-v5.4/Documentation/hwmon/ |
| D | adm1275.rst | 10 Addresses scanned: - 12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf 18 Addresses scanned: - 20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf 26 Addresses scanned: - 28 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf 34 Addresses scanned: - 36 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf 42 Addresses scanned: - 44 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf [all …]
|
| /Linux-v5.4/drivers/iio/humidity/ |
| D | si7020.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * si7020.c - Silicon Labs Si7013/20/21 Relative Humidity and Temp Sensors 14 * Data Sheets: 46 chan->type == IIO_TEMP ? in si7020_read_raw() 53 * Humidity values can slightly exceed the 0-100%RH in si7020_read_raw() 56 if (chan->type == IIO_HUMIDITYRELATIVE) in si7020_read_raw() 60 if (chan->type == IIO_TEMP) in si7020_read_raw() 76 if (chan->type == IIO_TEMP) in si7020_read_raw() 77 *val = -4368; /* = -46.85 * (65536 >> 2) / 175.72 */ in si7020_read_raw() 79 *val = -786; /* = -6 * (65536 >> 2) / 125 */ in si7020_read_raw() [all …]
|
| /Linux-v5.4/Documentation/i2c/busses/ |
| D | i2c-ali15x3.rst | 2 Kernel driver i2c-ali15x3 12 - Frodo Looijaard <frodol@dds.nl>, 13 - Philip Edelbrock <phil@netroedge.com>, 14 - Mark D. Studebaker <mdsxyz123@yahoo.com> 17 ----------------- 24 ----- 33 modprobe i2c-ali15x3 force_addr=0xe800 40 ----------- 57 - Asus P5A 58 - Atrend ATC-5220 [all …]
|
| /Linux-v5.4/drivers/iio/potentiometer/ |
| D | ad5272.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5272_5274.pdf 62 static int ad5272_write(struct ad5272_data *data, int reg, int val) in ad5272_write() argument 66 data->buf[0] = (reg << 2) | ((val >> 8) & 0x3); in ad5272_write() 67 data->buf[1] = (u8)val; in ad5272_write() 69 mutex_lock(&data->lock); in ad5272_write() 70 ret = i2c_master_send(data->client, data->buf, sizeof(data->buf)); in ad5272_write() 71 mutex_unlock(&data->lock); in ad5272_write() 75 static int ad5272_read(struct ad5272_data *data, int reg, int *val) in ad5272_read() argument 79 data->buf[0] = reg << 2; in ad5272_read() [all …]
|
| /Linux-v5.4/drivers/media/rc/ |
| D | fintek-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Special thanks to Fintek for providing hardware and spec sheets. 16 #define FINTEK_DRIVER_NAME "fintek-cir" 64 /* Config register index/data port pair */ 122 * Data Port 170 #define CIR_CR_COMMAND_DATA 0x06 /* Host read or write command data */ 171 #define CIR_CR_CLASS 0x07 /* 0xff = rx-only, 0x66 = rx + 2 tx, 176 #define CIR_CR_IRQ_SEL 0x70 /* bits3-0 store CIR IRQ */ 211 * 7 - CIR_IRQ_EN (1 = enable CIR IRQ, 0 = disable) 212 * 3 - TX_FINISH (1 when TX finished, write 1 to clear) [all …]
|
| /Linux-v5.4/drivers/iio/accel/ |
| D | adxl345_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ADXL345 3-Axis Digital Accelerometer IIO core driver 7 * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf 39 #define ADXL345_DATA_FORMAT_FULL_RES BIT(3) /* Up to 13-bits resolution */ 48 * In full-resolution mode, scale factor is maintained at ~4 mg/LSB 51 * At +/- 16g with 13-bit resolution, scale is computed as: 52 * (16 + 16) * 9.81 / (2^13 - 1) = 0.0383 89 struct adxl345_data *data = iio_priv(indio_dev); in adxl345_read_raw() local 98 * Data is stored in adjacent registers: in adxl345_read_raw() 102 ret = regmap_bulk_read(data->regmap, in adxl345_read_raw() [all …]
|
| /Linux-v5.4/include/uapi/linux/ |
| D | fdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 34 #define STATUS_DMA 0x20 /* 0- DMA mode */ 35 #define STATUS_DIR 0x40 /* 0- cpu->fdc */ 36 #define STATUS_READY 0x80 /* Data reg ready */ 49 #define ST1_ND 0x04 /* No Data - unreadable */ 51 #define ST1_CRC 0x20 /* CRC error in data or addr */ 60 #define ST2_CRC 0x20 /* CRC error in data field */ 65 #define ST3_DS 0x08 /* drive is double-sided */ 92 * which use the FDRAWCMD interface. For doc, get the 82078 spec sheets at 98 * 2 Mbps data transfer rate for tape [all …]
|