/linux/Documentation/devicetree/bindings/opp/ |
H A D | opp-v1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 19 This binding only supports voltage-frequency pairs. 24 clock-latency: 30 voltage-tolerance: 34 The voltage tolerance in percent. Use OPP tables for new designs instead. [all …]
|
/linux/Documentation/hwmon/ |
H A D | w83792d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 19 ----------------- 35 ----------- 42 parameter; this will put it into a more well-behaved state first. 45 sensors, nine voltage sensors, and two automatic fan regulation 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 53 Automatic fan control mode is possible only for fan1-fan3. 68 Voltage sensors (also known as IN sensors) report their values in millivolts. 69 An alarm is triggered if the voltage has crossed a programmable minimum 116 ---------------- [all …]
|
H A D | nct6775.rst | 19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I 83 * Nuvoton NCT6796D-S/NCT6799D-R 93 Guenter Roeck <linux@roeck-us.net> 96 ----------- 106 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors, 129 Voltage sensors (also known as IN sensors) report their values in millivolts. 130 An alarm is triggered if the voltage has crossed a programmable minimum 138 The mode works for fan1-fan5. 141 ---------------- 143 pwm[1-7] [all …]
|
H A D | w83793.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 15 - Yuan Mu (Winbond Electronics) 16 - Rudolf Marek <r.marek@assembler.cz> 20 ----------------- 36 ----------- 41 This driver exports 10 voltage sensors, up to 12 fan tachometer inputs, 44 sets of 6-pin CPU VID input. 48 voltage0-2 is 2mV, resolution of voltage3/4/5 is 16mV, 8mV for voltage6, 49 24mV for voltage7/8. Temp1-4 have a 0.25 degree Celsius resolution, 50 temp5-6 have a 1 degree Celsiis resolution. [all …]
|
H A D | w83l786ng.rst | 10 Addresses scanned: I2C 0x2e - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L786NRNG09.pdf 18 ----------------- 28 ----------- 33 sensors, and three voltage sensors. 42 Voltage sensors (also known as IN sensors) report their values in millivolts. 43 An alarm is triggered if the voltage has crossed a programmable minimum 47 ---------- 49 pwm[1-2] 50 - this file stores PWM duty cycle or DC value (fan speed) in range: [all …]
|
H A D | w83791d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf 22 - Frodo Looijaard <frodol@dds.nl>, 23 - Philip Edelbrock <phil@netroedge.com>, 24 - Mark Studebaker <mdsxyz123@yahoo.com> 28 - Shane Huang (Winbond), 29 - Rudolf Marek <r.marek@assembler.cz> 33 - Sven Anders <anders@anduras.de> 34 - Marc Hulsman <m.hulsman@tudelft.nl> 37 ----------------- [all …]
|
H A D | w83627ehf.rst | 22 * Winbond W83627DHG-P 46 * Winbond W83667HG-B 54 * Nuvoton NCT6775F/W83667HG-I 73 - Jean Delvare <jdelvare@suse.de> 74 - Yuan Mu (Winbond) 75 - Rudolf Marek <r.marek@assembler.cz> 76 - David Hubbard <david.c.hubbard@gmail.com> 77 - Gong Jun <JGong@nuvoton.com> 80 ----------- 83 W83627DHG, W83627DHG-P, W83627UHG, W83667HG, W83667HG-B, W83667HG-I [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-nano.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Newflow Ltd - https://www.newflow.co.uk/ 5 /dts-v1/; 15 cpu0-supply = <&dcdc2_reg>; 25 compatible = "gpio-leds"; 30 default-state = "off"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&misc_pins>; 39 misc_pins: misc-pins { 40 pinctrl-single,pins = < [all …]
|
H A D | am335x-moxa-uc-8100-me-t.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017 MOXA Inc. - https://www.moxa.com/ 7 /dts-v1/; 9 #include "am335x-moxa-uc-8100-common.dtsi" 12 model = "Moxa UC-8100-ME-T"; 13 compatible = "moxa,uc-8100-me-t", "ti,am33xx"; 21 compatible = "gpio-leds"; 25 default-state = "off"; 31 default-state = "off"; 37 default-state = "off"; [all …]
|
H A D | am335x-osd335x-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 11 cpu0-supply = <&dcdc2_reg>; 31 opp-1000000000 { 33 opp-supported-hw = <0x06 0x0100>; 38 i2c0_pins: pinmux-i2c0-pins { 39 pinctrl-single,pins = < 47 pinctrl-names = "default"; 48 pinctrl-0 = <&i2c0_pins>; 51 clock-frequency = <400000>; [all …]
|
H A D | am335x-chilisom.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/ 7 #include <dt-bindings/interrupt-controller/irq.h> 11 compatible = "grinn,am335x-chilisom", "ti,am33xx"; 15 cpu0-supply = <&dcdc2_reg>; 26 pinctrl-names = "default"; 28 i2c0_pins: i2c0-pins { 29 pinctrl-single,pins = < 35 nandflash_pins: nandflash-pins { 36 pinctrl-single,pins = < [all …]
|
H A D | am335x-igep0033.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x 5 * Copyright (C) 2013 ISEE 2007 SL - https://www.isee.biz 8 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 16 cpu0-supply = <&vdd1_reg>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&leds_pins>; 29 compatible = "gpio-leds"; 34 default-state = "on"; [all …]
|
H A D | am335x-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "phytec,am335x-phycore-som", "ti,am33xx"; 22 cpu0-supply = <&vdd1_reg>; 32 compatible = "regulator-fixed"; 33 regulator-name = "vcc5v"; 34 regulator-min-microvolt = <5000000>; 35 regulator-max-microvolt = <5000000>; 36 regulator-boot-on; 37 regulator-always-on; [all …]
|
H A D | am335x-bone-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 9 cpu0-supply = <&dcdc2_reg>; 19 stdout-path = &uart0; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&user_leds_s0>; 26 compatible = "gpio-leds"; 31 linux,default-trigger = "heartbeat"; 32 default-state = "off"; 38 linux,default-trigger = "mmc0"; [all …]
|
H A D | am335x-pepper.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014 Gumstix, Inc. - https://www.gumstix.com/ 5 /dts-v1/; 7 #include <dt-bindings/input/input.h> 12 compatible = "gumstix,am335x-pepper", "ti,am33xx"; 16 cpu0-supply = <&dcdc3_reg>; 26 compatible = "gpio-keys"; 29 leds: user-leds-pins { 30 compatible = "gpio-leds"; 38 compatible = "ti,da830-evm-audio"; [all …]
|
H A D | am335x-evmsk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 11 /dts-v1/; 14 #include <dt-bindings/pwm/pwm.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 18 model = "TI AM335x EVM-SK"; 19 compatible = "ti,am335x-evmsk", "ti,am33xx"; 23 cpu0-supply = <&vdd1_reg>; 33 stdout-path = &uart0; 37 compatible = "regulator-fixed"; [all …]
|
/linux/drivers/hwmon/ |
H A D | w83l786ng.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w83l786ng.c - Linux kernel driver for hardware monitoring 19 #include <linux/hwmon-sysfs.h> 79 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : \ 87 (val) - 0x100 : (val)) * 1000) 90 * The analog voltage inputs have 8mV LSB. Since the sysfs output is 129 u8 pwm_mode[2]; /* 0->DC variable voltage 130 * 1->PWM variable duty cycle */ 132 u8 pwm_enable[2]; /* 1->manual 133 * 2->thermal cruise (also called SmartFan I) */ [all …]
|
H A D | w83792d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83792d.c - Part of lm_sensors, Linux kernel modules for hardware 13 * calculation method to in6-in7(measured value, limits) is a little 30 #include <linux/hwmon-sysfs.h> 153 0x87, /* (bit3-0)SmartFan Fan1 tolerance */ 154 0x87, /* (bit7-4)SmartFan Fan2 tolerance */ 155 0x97 /* (bit3-0)SmartFan Fan3 tolerance */ 174 { 0x88, /* (bit3-0) SmartFanII: Fan1 Non-Stop */ 175 0x88, /* (bit7-4) SmartFanII: Fan1 Level 1 */ 176 0xE0, /* (bit7-4) SmartFanII: Fan1 Level 2 */ [all …]
|
H A D | w83793.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w83793.c - Linux kernel driver for hardware monitoring 7 * Copyright (C) 2009-2010 Sven Anders <anders@anduras.de>, ANDURAS AG. 10 * Copyright 2007-2008 by Hans de Goede) 25 #include <linux/hwmon-vid.h> 26 #include <linux/hwmon-sysfs.h> 102 * only crit and crit_hyst affect real-time alarm status 201 return clamp_val((val + (val < 0 ? -500 : 500)) / 1000, min, max); in TEMP_TO_REG() 219 u16 has_fan; /* Only fan1- fan5 has own pins */ 224 u8 temp_low_bits; /* Additional resolution TD1-TD4 */ [all …]
|
H A D | w83791d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83791d.c - Part of lm_sensors, Linux kernel modules for hardware 6 * Copyright (C) 2006-2007 Charles Spirakis <bezaur@gmail.com> 19 * The w83791g chip is the same as the w83791d but lead-free. 27 #include <linux/hwmon-vid.h> 28 #include <linux/hwmon-sysfs.h> 64 0x25, /* -12VIN in DataSheet */ 65 0x26, /* -5VIN in DataSheet */ 77 0x35, /* -12VIN High Limit in DataSheet */ 78 0x37, /* -5VIN High Limit in DataSheet */ [all …]
|
H A D | nct6775.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 82 const u16 *REG_WEIGHT_TEMP[3]; /* 0=base, 1=tolerance, 2=step */ 125 u8 pwm_mode[NUM_FAN]; /* 0->DC variable voltage, 126 * 1->PWM variable duty cycle 129 /* 0->off 130 * 1->manual 131 * 2->thermal cruise mode (also called SmartFan I) 132 * 3->fan speed cruise mode 133 * 4->SmartFan III 134 * 5->enhanced variable thermal cruise (SmartFan IV) [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 #define E1000_ICH_FWSM_PCIM2PCI 0x01000000 /* ME PCIm-to-PCI active */ 93 /* bit24: RXDCTL thresholds granularity: 0 - cache lines, 1 - descriptors */ 106 #define E1000_PCH2_RAR_ENTRIES 5 /* RAR[0], SHRA[0-3] */ 107 #define E1000_PCH_LPT_RAR_ENTRIES 12 /* RAR[0], SHRA[0-10] */ 113 #define IGP3_VR_CTRL PHY_REG(776, 18) /* Voltage Regulator Control */ 144 /* Half-duplex collision counts */ 192 /* Strapping Option Register - RO */ 203 #define HV_OEM_BITS_RESTART_AN 0x0400 /* Restart Auto-negotiation */ [all …]
|
/linux/include/media/ |
H A D | dvb_frontend.h | 4 * The Digital TV Frontend kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 28 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 61 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning 78 * struct dvb_tuner_info - Frontend name and min/max ranges/bandwidths 101 * struct analog_parameters - Parameters to tune into an analog/radio channel 122 * enum dvbfe_algo - defines the algorithm used to tune into a channel 124 * @DVBFE_ALGO_HW: Hardware Algorithm - 130 * @DVBFE_ALGO_SW: Software Algorithm - 133 * @DVBFE_ALGO_CUSTOM: Customizable Agorithm - [all …]
|
/linux/drivers/regulator/ |
H A D | max5970-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 55 struct regmap *regmap = ddata->regmap; in max5970_read() 67 * ddata->irng holds the voltage corresponding to the maximum value the in max5970_read() 68 * 10-bit ADC can measure. in max5970_read() 70 * millivolts) and then divide it by the maximum value of the 10-bit ADC. in max5970_read() 72 *val = (*val * ddata->irng) >> 10; in max5970_read() 73 /* Convert the voltage measurement across shunt resistor to current */ in max5970_read() 74 *val = (*val * 1000) / ddata->shunt_micro_ohms; in max5970_read() 77 return -EOPNOTSUPP; in max5970_read() 87 * Calculate voltage from ADC value and MON range. in max5970_read() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx1-pinfunc.h" 7 #include <dt-bindings/clock/imx1-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 34 aitc: aitc-interrupt-controller@223000 { 35 compatible = "fsl,imx1-aitc", "fsl,avic"; [all …]
|