/openbmc/u-boot/board/ccv/xpress/ |
H A D | imximage.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de> 5 * Refer doc/README.imximage for more details about how-to configure 22 * Device Configuration Data (DCD) 25 * Addr-type Address Value 28 * Addr-type register length (1,2 or 4 bytes) 37 DATA 4 0x020c4068 0xffffffff 38 DATA 4 0x020c406c 0xffffffff 39 DATA 4 0x020c4070 0xffffffff 40 DATA 4 0x020c4074 0xffffffff [all …]
|
/openbmc/linux/Documentation/iio/ |
H A D | bno055.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 2. Calibration 28 the IMU has successfully autocalibrated) and to the calibration data blob. 32 with this calibration data. This saves the user from performing the 33 calibration procedure every time (which consist of moving the IMU in 36 The driver looks for calibration data file using two different names: first 39 IMU instance. If this file is not found, then a "generic" calibration file 43 Valid calibration file names would be e.g. 44 bno055-caldata-0e7c26a33541515120204a35342b04ff.dat 45 bno055-caldata.dat [all …]
|
/openbmc/u-boot/board/aristainetos/ |
H A D | mt41j128M.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 /* ZQ Calibration */ 6 DATA 4, MX6_MMDC_P0_MPZQHWCTRL, 0xa1390003 7 DATA 4, MX6_MMDC_P1_MPZQHWCTRL, 0xa1390003 8 DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x001F001F 9 DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x001F001F 10 DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x001F001F 11 DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x001F001F 13 * DQS gating, read delay, write delay calibration values 14 * based on calibration compare of 0x00ffff00 [all …]
|
H A D | nt5cc256m16cp.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 /* ZQ Calibration */ 6 DATA 4, MX6_MMDC_P0_MPZQHWCTRL, 0xa1390003 7 DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x001F001F 8 DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x001F001F 9 DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x001F001F 10 DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x001F001F 12 * DQS gating, read delay, write delay calibration values 14 DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x42190217 15 DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x017B017B [all …]
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gw_ventana_spl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <asm/arch/mx6-ddr.h> 11 #include <asm/arch/mx6-pins.h> 13 #include <asm/mach-imx/boot_mode.h> 14 #include <asm/mach-imx/iomux-v3.h> 15 #include <asm/mach-imx/mxc_i2c.h> 35 /* SDCKE[0:1]: 100k pull-up */ 38 /* SDBA2: pull-up disabled */ 40 /* SDODT[0:1]: 100k pull-up, 40 ohm */ 75 /* DATA[00:63]: Differential input, 40 ohm */ [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | amlogic_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * U = ---------, Uptat = --------- 13 * Temperature = A * ( Uptat + u_efuse / 2^16 )- B 15 * A B m n : calibration parameters 16 * u_efuse : fused calibration value, it's a signed 16 bits value 68 * @A: calibration parameters 69 * @B: calibration parameters 70 * @m: calibration parameters 71 * @n: calibration parameters 84 * @u_efuse_off: register offset to read fused calibration value [all …]
|
H A D | qoriq_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 69 * Thermal zone data 85 return container_of(s, struct qoriq_tmu_data, sensor[s->id]); in qoriq_sensor_to_data() 113 regmap_read(qdata->regmap, REGS_TMR, &val); in tmu_get_temp() 115 return -EAGAIN; in tmu_get_temp() 117 if (regmap_read_poll_timeout(qdata->regmap, in tmu_get_temp() 118 REGS_TRITSR(qsensor->id), in tmu_get_temp() 123 return -ENODATA; in tmu_get_temp() 125 if (qdata->ver == TMU_VER1) { in tmu_get_temp() 149 struct qoriq_sensor *sensor = &qdata->sensor[id]; in qoriq_tmu_register_tmu_zone() [all …]
|
H A D | sun8i_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/nvmem-consumer.h> 95 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp() 102 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp() 104 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp() 106 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp() 112 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp() 115 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp() 116 0x4 * s->id, &val); in sun8i_ths_get_temp() 118 /* ths have no data yet */ in sun8i_ths_get_temp() [all …]
|
/openbmc/u-boot/board/freescale/mx6qarm2/ |
H A D | imximage_mx6dl.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Refer doc/README.imximage for more details about how-to configure 22 * Device Configuration Data (DCD) 25 * Addr-type Address Value 28 * Addr-type register length (1,2 or 4 bytes) 39 DATA 4 0x020E04bc 0x00003028 41 DATA 4 0x020E04c0 0x00003028 43 DATA 4 0x020E04c4 0x00003028 45 DATA 4 0x020E04c8 0x00003028 47 DATA 4 0x020E04cc 0x00003028 [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-hid-wiimote | 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 56 balance board. It provides a single line with 3 calibration 63 Calibration data is already applied by the kernel to all input 64 values but may be used by user-space to perform other 72 pro-controller. It provides a single line with 4 calibration 73 values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data 74 is prefixed with a +/-. Each value is a signed 16bit number. [all …]
|
H A D | sysfs-bus-iio-bno055 | 3 Contact: linux-iio@vger.kernel.org 12 Contact: linux-iio@vger.kernel.org 21 Contact: linux-iio@vger.kernel.org 27 Contact: linux-iio@vger.kernel.org 33 Contact: linux-iio@vger.kernel.org 36 Calibration" HW function. 40 Contact: linux-iio@vger.kernel.org 47 Contact: linux-iio@vger.kernel.org 49 Reports the binary calibration data blob for the IMU sensors. 53 Contact: linux-iio@vger.kernel.org [all …]
|
/openbmc/linux/drivers/iio/chemical/ |
H A D | atlas-sensor.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * atlas-sensor.c - Support for Atlas Scientific OEM SM sensors 5 * Copyright (C) 2015-2019 Konsulko Group 94 /* 96-bit data + 32-bit pad + 64-bit timestamp */ 108 for (; spec->type != IIO_TIMESTAMP; spec++) in atlas_buffer_num_channels() 135 .scan_index = -1 179 .scan_index = -1 221 .scan_index = -1 241 static int atlas_check_ph_calibration(struct atlas_data *data) in atlas_check_ph_calibration() argument 243 struct device *dev = &data->client->dev; in atlas_check_ph_calibration() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A D | mtk-svs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Roger Lu <roger.lu@mediatek.com> 11 - Matthias Brugger <matthias.bgg@gmail.com> 12 - Kevin Hilman <khilman@kernel.org> 24 - mediatek,mt8183-svs 25 - mediatek,mt8192-svs 38 clock-names: [all …]
|
/openbmc/linux/drivers/iio/magnetometer/ |
H A D | yamaha-yas530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance) 8 * YAS532 MS-3R (2011 Samsung Galaxy S4) 9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L) 11 * YAS535 MS-6C 12 * YAS536 MS-3W 13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7) 14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN) 57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */ 58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */ [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ab8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 69 /* Request a data read */ in ab8500_rtc_read_time() 135 /* Request a data write */ in ab8500_rtc_set_time() 154 alarm->enabled = 1; in ab8500_rtc_read_alarm() 156 alarm->enabled = 0; in ab8500_rtc_read_alarm() 158 alarm->pending = 0; in ab8500_rtc_read_alarm() 171 rtc_time64_to_tm(secs, &alarm->time); in ab8500_rtc_read_alarm() 189 mins = (unsigned long)rtc_tm_to_time64(&alarm->time) / 60; in ab8500_rtc_set_alarm() 203 return ab8500_rtc_irq_enable(dev, alarm->enabled); in ab8500_rtc_set_alarm() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include <asm/intel-family.h> 59 struct cyc2ns_data data[2]; /* 0 + 2*16 = 32 */ member 72 __always_inline void __cyc2ns_read(struct cyc2ns_data *data) in __cyc2ns_read() argument 80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in __cyc2ns_read() 81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read() 82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in __cyc2ns_read() 87 __always_inline void cyc2ns_read_begin(struct cyc2ns_data *data) in cyc2ns_read_begin() argument 90 __cyc2ns_read(data); in cyc2ns_read_begin() 113 * cyc2ns_scale needs to be a 32-bit value so that 32-bit multiplication [all …]
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | mlx90632.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mlx90632.c - Melexis MLX90632 contactless IR temperature sensor 7 * Driver for the Melexis MLX90632 I2C 16-bit IR thermopile sensor 33 /* EEPROM addresses - used at startup */ 37 #define MLX90632_EE_P_R 0x240c /* P_R calibration register 32bit */ 38 #define MLX90632_EE_P_G 0x240e /* P_G calibration register 32bit */ 39 #define MLX90632_EE_P_T 0x2410 /* P_T calibration register 32bit */ 40 #define MLX90632_EE_P_O 0x2412 /* P_O calibration register 32bit */ 41 #define MLX90632_EE_Aa 0x2414 /* Aa calibration register 32bit */ 42 #define MLX90632_EE_Ab 0x2416 /* Ab calibration register 32bit */ [all …]
|
/openbmc/u-boot/board/freescale/mx6memcal/ |
H A D | spl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <asm/arch/mx6-ddr.h> 13 #include <asm/arch/mx6-pins.h> 64 /* SDCKE[0:1]: 100k pull-up */ 67 /* SDBA2: pull-up disabled */ 69 /* SDODT[0:1]: 100k pull-up, 40 ohm */ 104 /* DATA[00:63]: Differential input, 40 ohm */ 123 /* SDCKE[0:1]: 100k pull-up */ 126 /* SDBA2: pull-up disabled */ 128 /* SDODT[0:1]: 100k pull-up, 40 ohm */ [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <asm/arch/mx6-ddr.h> 21 /* Reset data FIFOs twice. */ in reset_read_data_fifos() 22 setbits_le32(&mmdc0->mpdgctrl0, 1 << 31); in reset_read_data_fifos() 23 wait_for_bit_le32(&mmdc0->mpdgctrl0, 1 << 31, 0, 100, 0); in reset_read_data_fifos() 25 setbits_le32(&mmdc0->mpdgctrl0, 1 << 31); in reset_read_data_fifos() 26 wait_for_bit_le32(&mmdc0->mpdgctrl0, 1 << 31, 0, 100, 0); in reset_read_data_fifos() 34 * Issue the Precharge-All command to the DDR device for both in precharge_all() 40 writel(0x04008050, &mmdc0->mdscr); in precharge_all() 41 wait_for_bit_le32(&mmdc0->mdscr, 1 << 14, 1, 100, 0); in precharge_all() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ina209.rst | 6 * Burr-Brown / Texas Instruments INA209 10 Addresses scanned: - 16 - Paul Hays <Paul.Hays@cattail.ca> 17 - Ira W. Snyder <iws@ovro.caltech.edu> 18 - Guenter Roeck <linux@roeck-us.net> 22 ----------- 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 27 calibration multiplier to scale the displayed current and power values. 31 ------------- 76 update_interval data conversion time; affects number of samples used [all …]
|
/openbmc/u-boot/board/ge/bx50v3/ |
H A D | bx50v3.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Refer doc/README.imximage for more details about how-to configure 18 #include "asm/arch/mx6-ddr.h" 23 DATA 4, MX6_IOM_GRP_DDR_TYPE, 0x000c0000 24 DATA 4, MX6_IOM_GRP_DDRPKE, 0x00000000 25 DATA 4, MX6_IOM_DRAM_SDCLK_0, 0x00000030 26 DATA 4, MX6_IOM_DRAM_SDCLK_1, 0x00000030 27 DATA 4, MX6_IOM_DRAM_CAS, 0x00000030 28 DATA 4, MX6_IOM_DRAM_RAS, 0x00000030 29 DATA 4, MX6_IOM_GRP_ADDDS, 0x00000030 [all …]
|
/openbmc/u-boot/board/seco/mx6quq7/ |
H A D | mx6quq7-2g.cfg | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Refer doc/README.imximage for more details about how-to configure 22 #include "asm/arch/mx6-ddr.h" 27 DATA 4, MX6_IOM_GRP_DDRPKE, 0x00000000 28 DATA 4, MX6_IOM_GRP_DDR_TYPE, 0x000C0000 30 /* DATA STROBE */ 31 DATA 4, MX6_IOM_DDRMODE_CTL, 0x00020000 32 DATA 4, MX6_IOM_DRAM_SDQS0, 0x00000028 33 DATA 4, MX6_IOM_DRAM_SDQS1, 0x00000028 34 DATA 4, MX6_IOM_DRAM_SDQS2, 0x00000028 [all …]
|
/openbmc/u-boot/board/tbs/tbs2910/ |
H A D | tbs2910.cfg | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 #include "asm/arch/mx6-ddr.h" 16 DATA 4, CCM_CCGR0, 0x00C03F3F 17 DATA 4, CCM_CCGR1, 0x0030FC03 18 DATA 4, CCM_CCGR2, 0x0FFFC000 19 DATA 4, CCM_CCGR3, 0x3FF00000 20 DATA 4, CCM_CCGR4, 0x00FFF300 21 DATA 4, CCM_CCGR5, 0x0F0000C3 22 DATA 4, CCM_CCGR6, 0x000003FF 24 DATA 4, CCM_CCOSR, 0x000000fb [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 * The raw data is stored in a format which facilitates rapid 30 * format for a single channel of data. Each channel takes four, 31 * two-byte words. 38 * Raw_data is the raw data received directly from the sensor. The 39 * sensor data stream is capable of representing 16 different 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 55 * filtered force data. 139 * was detected in the on-board RAM during the power-up [all …]
|
/openbmc/u-boot/drivers/power/ |
H A D | exynos-tmu.c | 6 * EXYNOS - Thermal Management Unit 17 * MA 02111-1307 USA 64 /* Pre-defined values and thresholds for calibration of current temperature */ 66 /* pre-defined temperature thresholds */ 68 /* pre-defined efuse range minimum value */ 70 /* pre-defined efuse value for temperature calibration */ 72 /* pre-defined efuse range maximum value */ 84 /* pre-defined values for calibration and thresholds */ 85 struct tmu_data data; member 86 /* value required for triminfo_25 calibration */ [all …]
|