/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8952.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 19 max8952,default-mode: 25 max8952,dvs-mode-microvolt: 35 max8952,en-gpio: 40 max8952,ramp-speed: 45 Voltage ramp speed, values map to: [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm660-xiaomi-lavender.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 18 chassis-type = "handset"; 25 #address-cells = <2>; 26 #size-cells = <2>; 29 stdout-path = "serial0:115200n8"; 32 compatible = "simple-framebuffer"; 41 vph_pwr: vph-pwr-regulator { [all …]
|
H A D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/input/gpio-keys.h> 13 #include <dt-bindings/leds/common.h> 17 qcom,msm-id = <318 0>; 18 qcom,board-id = <8 1>; 19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 21 /* This part enables graphical output via bootloader-enabled display */ 25 #address-cells = <2>; [all …]
|
/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hi3660-hikey960.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 12 #include "hikey960-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/usb/pd.h> 20 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660"; 35 stdout-path = "serial6:115200n8"; 44 reserved-memory { [all …]
|
H A D | hi6220-hikey.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "hikey-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 26 stdout-path = "serial3:115200n8"; 32 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 33 * 0x05f0,1000 - 0x05f0,1fff: Reboot reason 34 * 0x06df,f000 - 0x06df,ffff: Mailbox message data 35 * 0x0740,f000 - 0x0740,ffff: MCU firmware section [all …]
|
/linux/Documentation/hwmon/ |
H A D | lm93.rst | 10 Addresses scanned: I2C 0x2c-0x2e 18 Addresses scanned: I2C 0x2c-0x2e 24 - Mark M. Hoffman <mhoffman@lightlink.com> 25 - Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com> 26 - Adapted to 2.6.20 by Carsten Emde <ce@osadl.org> 27 - Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de> 30 ----------------- 33 Set to non-zero to force some initializations (default is 0). 38 Configures in7 and in8 limit type, where 0 means absolute and non-zero 54 -------------------- [all …]
|
H A D | dme1737.rst | 18 Addresses scanned: none, address read from Super-I/O config space 34 Addresses scanned: none, address read from Super-I/O config space 43 ----------------- 52 Include non-standard LPC addresses 0x162e and 0x164e 55 - VIA EPIA SN18000 59 ----------- 63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors 64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and 65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement 66 up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and [all …]
|
/linux/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 4 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 41 #define PCR_SPEED_FULL 0x00000000U /* 1:1 speed value */ 42 #define PCR_SPEED_HALF 0x00020000U /* 1:2 speed value */ 43 #define PCR_SPEED_QUARTER 0x00040000U /* 1:4 speed value */ 44 #define PCR_SPEED_MASK 0x000e0000U /* speed mask */ 57 #define PSR_CUR_SPEED_MASK 0x0300000000000000U /* current speed */ 61 * The G5 only supports two frequencies (Quarter speed is not supported) 73 * the various frequencies, retrieved from the device-tree [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | vc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "prm-regbits-34xx.h" 20 #include "prm-regbits-44xx.h" 52 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield 101 * omap_vc_config_channel - configure VC channel to PMIC mappings 106 * - i2c slave address (SA) 107 * - voltage configuration address (RAV) 108 * - command configuration address (RAC) and enable bit (RACEN) 109 * - command values for ON, ONLP, RET and OFF (CMD) 112 * non-default channel. Starting with OMAP4, there are more than 2 [all …]
|
/linux/drivers/regulator/ |
H A D | anatop-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 42 /* check whether need to care about LDO ramp up speed */ in anatop_regmap_set_voltage_time_sel() 43 if (anatop_reg->delay_bit_width && new_sel > old_sel) { in anatop_regmap_set_voltage_time_sel() 45 * the delay for LDO ramp up time is in anatop_regmap_set_voltage_time_sel() 48 * ramp up, and how much delay needed. (us) in anatop_regmap_set_voltage_time_sel() 50 regmap_read(reg->regmap, anatop_reg->delay_reg, &val); in anatop_regmap_set_voltage_time_sel() 51 val = (val >> anatop_reg->delay_bit_shift) & in anatop_regmap_set_voltage_time_sel() 52 ((1 << anatop_reg->delay_bit_width) - 1); in anatop_regmap_set_voltage_time_sel() 53 ret = (new_sel - old_sel) * (LDO_RAMP_UP_UNIT_IN_CYCLES << in anatop_regmap_set_voltage_time_sel() 65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable() [all …]
|
H A D | max8952.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8952.c - Voltage and current regulation for the Maxim 8952 46 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg() 57 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg() 66 return -EINVAL; in max8952_list_voltage() 68 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage() 76 if (max8952->vid0) in max8952_get_voltage_sel() 78 if (max8952->vid1) in max8952_get_voltage_sel() 89 if (!max8952->vid0_gpiod || !max8952->vid1_gpiod) { in max8952_set_voltage_sel() 91 return -EPERM; in max8952_set_voltage_sel() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-innocomm-wb15.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 reg_modem: regulator-modem { 11 compatible = "regulator-fixed"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_modem_regulator>; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 regulator-name = "epdev_on"; 18 enable-active-high; [all …]
|
H A D | imx8mn-bsh-smm-s2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 10 #include "imx8mn-bsh-smm-s2-display.dtsi" 14 stdout-path = &uart4; 17 fec_supply: fec-supply-en { 18 compatible = "regulator-fixed"; 19 vin-supply = <&buck4_reg>; 20 regulator-name = "tja1101_en"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mn-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "imx8mn-overdrive.dtsi" 16 compatible = "mmc-pwrseq-simple"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 19 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 21 clock-names = "ext_clock"; 22 post-power-on-delay-ms = <80>; 32 cpu-supply = <&buck2_reg>; 36 cpu-supply = <&buck2_reg>; [all …]
|
H A D | imx8mm-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "imx8mm-overdrive.dtsi" 15 compatible = "mmc-pwrseq-simple"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 18 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 20 clock-names = "ext_clock"; 21 post-power-on-delay-ms = <80>; 31 cpu-supply = <&buck2_reg>; 35 cpu-supply = <&buck2_reg>; [all …]
|
H A D | imx8mp-skov-reva.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #include <dt-bindings/leds/common.h> 26 compatible = "pwm-backlight"; 27 pinctrl-0 = <&pinctrl_backlight>; 29 power-supply = <®_24v>; 30 enable-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 31 brightness-levels = <0 255>; 32 num-interpolated-steps = <17>; 33 default-brightness-level = <8>; 38 compatible = "gpio-leds"; [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | power_allocator.rst | 6 ----------- 20 -------------- 23 Proportional-Integral-Derivative controller (PID controller) with 29 - e = desired_temperature - current_temperature 30 - err_integral is the sum of previous errors 31 - diff_err = e - previous_error 39 | +----------+ +---+ 40 | +----->| diff_err |-->| X |------+ 41 | | +----------+ +---+ | 47 +---+ | +-------+ +---+ +---+ +---+ +----------+ [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-gw5904.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> 68 stdout-path = &uart2; 72 compatible = "pwm-backlight"; 74 brightness-levels = <0 4 8 16 32 64 128 255>; 75 default-brightness-level = <7>; 78 gpio-keys { [all …]
|
H A D | imx7d-zii-rmu2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * RMU - Remote Modem Unit 10 /dts-v1/; 11 #include <dt-bindings/thermal/thermal.h> 16 compatible = "zii,imx7d-rmu2", "fsl,imx7d"; 19 stdout-path = &uart2; 22 gpio-leds { 23 compatible = "gpio-leds"; 24 pinctrl-0 = <&pinctrl_leds_debug>; 25 pinctrl-names = "default"; [all …]
|
H A D | imx7d-zii-rpu2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * RPU - Remote Peripheral Unit 10 /dts-v1/; 11 #include <dt-bindings/thermal/thermal.h> 16 compatible = "zii,imx7d-rpu2", "fsl,imx7d"; 19 stdout-path = &uart2; 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <24576000>; 28 cs2000_in_dummy: dummy-oscillator { [all …]
|
H A D | imx6q-display5.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 38 /dts-v1/; 42 #include <dt-bindings/gpio/gpio.h> 43 #include <dt-bindings/pwm/pwm.h> 44 #include <dt-bindings/sound/fsl-imx-audmux.h> 56 compatible = "pwm-backlight"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_backlight>; 60 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 86 default-brightness-level = <250>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm8350.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8350.c -- WM8350 ALSA SoC audio driver 5 * Copyright (C) 2007-12 Wolfson Microelectronics PLC. 48 u16 ramp; member 73 * Ramp OUT1 PGA volume to minimise pops at stream startup and shutdown. 77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step() 78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step() 86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step() 87 /* ramp step up */ in wm8350_out1_ramp_step() 88 if (val < out1->left_vol) { in wm8350_out1_ramp_step() [all …]
|
H A D | cs4234.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // cs4234.c -- ALSA SoC CS4234 driver 44 /* -89.92dB to +6.02dB with step of 0.38dB */ 45 static const DECLARE_TLV_DB_SCALE(dac_tlv, -8992, 38, 0); 96 regmap_read(cs4234->regmap, CS4234_ADC_CTRL2, &val); in cs4234_dac14_grp_delay_put() 98 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 99 dev_err(component->dev, "Can't change group delay while ADC are ON\n"); in cs4234_dac14_grp_delay_put() 103 regmap_read(cs4234->regmap, CS4234_DAC_CTRL4, &val); in cs4234_dac14_grp_delay_put() 105 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 106 dev_err(component->dev, "Can't change group delay while DAC are ON\n"); in cs4234_dac14_grp_delay_put() [all …]
|
H A D | pcm512x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 96 /* Page 0, Register 1 - reset */ 100 /* Page 0, Register 2 - power */ 106 /* Page 0, Register 3 - mute */ 112 /* Page 0, Register 4 - PLL */ 118 /* Page 0, Register 7 - DSP */ 124 /* Page 0, Register 8 - GPIO output enable */ 132 /* Page 0, Register 9 - BCK, LRCLK configuration */ 140 /* Page 0, Register 12 - Master mode BCK, LRCLK reset */ 146 /* Page 0, Register 13 - PLL reference */ [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-sapphire.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "dt-bindings/pwm/pwm.h" 7 #include "dt-bindings/input/input.h" 11 compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; 27 #clock-cells = <0>; [all …]
|