/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | kinetic,ktz8866.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jianhua Lu <lujianhua000@gmail.com> 13 The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks 15 https://www.kinet-ic.com/ktz8866/ 18 - $ref: common.yaml# 27 vddpos-supply: 30 vddneg-supply: 33 enable-gpios: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
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 …]
|
H A D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */ 19 qcom,board-id = <8 0>; 23 compatible = "gpio-gate-clock"; 24 pinctrl-0 = <&div_clk1>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [all …]
|
H A D | sm8250-xiaomi-pipa.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 6 /dts-v1/; 8 #include <dt-bindings/arm/qcom,ids.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /delete-node/ &adsp_mem; 22 /delete-node/ &cdsp_secure_heap; 23 /delete-node/ &slpi_mem; 24 /delete-node/ &spss_mem; 25 /delete-node/ &xbl_aop_mem; [all …]
|
H A D | sm8250-xiaomi-elish-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com> 6 #include <dt-bindings/arm/qcom,ids.h> 7 #include <dt-bindings/phy/phy.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/usb/pd.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &cdsp_secure_heap; 22 /delete-node/ &slpi_mem; 23 /delete-node/ &spss_mem; [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Voltage/Current Regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: [all …]
|
/linux/drivers/video/backlight/ |
H A D | ktz8866.c | 1 // SPDX-License-Identifier: GPL-2.0-only 62 return regmap_write(ktz->regmap, reg, val); in ktz8866_write() 68 return regmap_update_bits(ktz->regmap, reg, mask, val); in ktz8866_update_bits() 76 if (!ktz->led_on && brightness > 0) { in ktz8866_backlight_update_status() 78 ktz->led_on = true; in ktz8866_backlight_update_status() 81 ktz->led_on = false; in ktz8866_backlight_update_status() 100 if (!of_property_read_u32(ktz->client->dev.of_node, "current-num-sinks", &val)) in ktz8866_init() 101 ktz8866_write(ktz, BL_EN, BIT(val) - 1); in ktz8866_init() 103 /* Enable all 6 current sinks if the number of current sinks isn't specified. */ in ktz8866_init() 104 ktz8866_write(ktz, BL_EN, BIT(6) - 1); in ktz8866_init() [all …]
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7745-iwg22d-sodimm.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board 9 * SSI-SGTL5000 21 * You can use Volume Ramp 23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 25 * amixer set "DVC Out Ramp" on 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" 33 #include <dt-bindings/pwm/pwm.h> [all …]
|
/linux/sound/soc/codecs/ |
H A D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 75 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 80 regmap_write(max98388->regmap, in max98388_dac_event() 85 regmap_write(max98388->regmap, in max98388_dac_event() 88 max98388->tdm_mode = false; in max98388_dac_event() 119 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 123 SND_SOC_DAPM_ADC("ADC Current", NULL, 131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 132 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0); [all …]
|
H A D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 28 regmap_update_bits(max98373->regmap, in max98373_dac_event() 34 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 max98373->tdm_mode = false; in max98373_dac_event() 72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 85 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1); 101 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0), 102 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0), [all …]
|
H A D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/delay.h> 28 #include <linux/mfd/twl4030-audio.h> 38 unsigned int digimic_delay; /* in ms */ 67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 89 return -EIO; in twl4030_read() 98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() [all …]
|
H A D | wcd938x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 8 #include <linux/delay.h> 21 #include <sound/soc-dapm.h> 24 #include "wcd-clsh-v2.h" 25 #include "wcd-mbhc-v2.h" 193 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800); 194 static const DECLARE_TLV_DB_SCALE(line_gain, -3000, 150, 0); 350 struct regmap *rm = wcd938x->regmap; in wcd938x_io_init() 354 /* 1 msec delay as per HW requirement */ in wcd938x_io_init() [all …]
|
H A D | da7218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7218.c - DA7218 ALSA SoC Codec Driver 17 #include <linux/delay.h> 22 #include <sound/soc-dapm.h> 37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0); 38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0); 39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0); 40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0); [all …]
|
H A D | wcd939x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 12 #include <linux/delay.h> 26 #include <sound/soc-dapm.h> 31 #include "wcd-clsh-v2.h" 32 #include "wcd-mbhc-v2.h" 217 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800); 367 /* 10 msec delay as per HW requirement */ in wcd939x_io_init() 421 port_num = ch_info->port_num; in wcd939x_sdw_connect_port() [all …]
|
H A D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 21 #include <linux/delay.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -600, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7219_mixin_gain_tlv, -450, 150, 0); 43 static const DECLARE_TLV_DB_SCALE(da7219_adc_dig_gain_tlv, -8325, 75, 0); 44 static const DECLARE_TLV_DB_SCALE(da7219_alc_threshold_tlv, -9450, 150, 0); [all …]
|
/linux/include/uapi/linux/ |
H A D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 20 #include "input-event-codes.h" 56 * IOCTLs (0x00 - 0x7f) 67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls 103 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls 104 * @scancode: scancode represented in machine-endian form. 148 * EVIOCGMTSLOTS(len) - get MT slot values 169 * If the request code is not an ABS_MT value, -EINVAL is returned. 190 * EVIOCGMASK - Retrieve current event mask [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-gameforce-ace.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/thermal/thermal.h> 11 #include <dt-bindings/usb/pd.h> 16 chassis-type = "handset"; [all …]
|
H A D | rk3566-powkiddy-x55.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 chassis-type = "handset"; 25 stdout-path = "serial2:1500000n8"; 28 adc_joystick: adc-joystick { [all …]
|
H A D | rk3566-powkiddy-rk2023.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [all …]
|
H A D | rk3326-gameforce-chi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 16 chassis-type = "handset"; 24 stdout-path = "serial2:115200n8"; 27 adc_joystick: adc-joystick { 28 compatible = "adc-joystick"; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd96801-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD96801 is an automotive grade single-chip power management IC. 15 over-/under voltage and over current detection and a watchdog. 36 interrupt-names: 39 - enum: [intb, errb] 40 - const: errb [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 82 Another use case is to help with **overcoming the ramp up latency inherit in 86 performance point will suffer a delay of ~200ms (PELT HALFIFE = 32ms) for the 106 Note that by design RT tasks don't have per-task PELT signal and must always 109 Note that using schedutil always implies a single delay to modify the frequency 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 18 /delete-property/ mmc2; 19 /delete-property/ mmc3; 23 compatible = "pwm-backlight"; 24 brightness-levels = <0 45 63 88 119 158 203 255>; 25 default-brightness-level = <4>; 26 enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */ [all …]
|
H A D | imx6qdl-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 19 /delete-property/ mmc3; 29 compatible = "pwm-backlight"; 30 brightness-levels = <0 45 63 88 119 158 203 255>; 31 default-brightness-level = <4>; 32 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 33 pinctrl-names = "default"; [all …]
|