| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | ti,tps65132.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 21 - ti,tps65132 26 vin-supply: true 37 enable-gpios: 40 GPIO specifier to enable the GPIO control (on/off) for regulator. 42 active-discharge-gpios: 45 GPIO specifier to actively discharge the delay mechanism. [all …]
|
| H A D | maxim,max8973.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 30 maxim,dvs-gpio: 35 maxim,dvs-default-state: [all …]
|
| /linux/drivers/regulator/ |
| H A D | tps65132-regulator.c | 65 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable() 68 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable() 69 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable() 70 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable() 73 /* Hardware automatically enable discharge bit in enable */ in tps65132_regulator_enable() 74 if (rdev->constraints->active_discharge == in tps65132_regulator_enable() 78 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable() 91 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_disable() 93 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable() 94 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable() [all …]
|
| H A D | aw37503-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 50 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_enable() 53 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_enable() 54 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in aw37503_regulator_enable() 55 rpdata->ena_gpio_state = 1; in aw37503_regulator_enable() 58 /* Hardware automatically enable discharge bit in enable */ in aw37503_regulator_enable() 59 if (rdev->constraints->active_discharge == in aw37503_regulator_enable() 63 dev_err(chip->dev, "Failed to disable active discharge: %d\n", in aw37503_regulator_enable() 76 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_disable() 78 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_disable() [all …]
|
| H A D | max8973-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max8973-regulator.c -- Maxim max8973A 5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator. 21 #include <linux/regulator/max8973-regulator.h> 121 * - If it is already there then it will make that register as most 125 * - If requested voltage is not found then it will use the least 135 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 136 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 139 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 140 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | msm8226-motorola-falcon.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include "qcom-msm8226.dtsi" 8 /delete-node/ &smem_region; 13 chassis-type = "handset"; 20 #address-cells = <1>; 21 #size-cells = <1>; 25 compatible = "simple-framebuffer"; 31 vsp-supply = <®_lcd_pos>; 32 vsn-supply = <®_lcd_neg>; [all …]
|
| H A D | qcom-msm8926-motorola-peregrine.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 8 /delete-node/ &smem_region; 13 chassis-type = "handset"; 21 #address-cells = <1>; 22 #size-cells = <1>; 26 compatible = "simple-framebuffer"; 32 vsp-supply = <®_lcd_pos>; 33 vsn-supply = <®_lcd_neg>; 34 vdd-supply = <&pm8226_l28>; [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp15xx-dhcor-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 8 #include "stm32mp15-pinctrl.dtsi" 9 #include "stm32mp15xxac-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/mfd/st,stpmic1.h> 23 reserved-memory { 24 #address-cells = <1>; 25 #size-cells = <1>; 29 compatible = "shared-dma-pool"; [all …]
|
| H A D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-huawei-g7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/sound/apq8016-lpass.h> 16 * Note: The original firmware from Huawei can only boot 32-bit kernels. 17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP [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 …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-asus-nexus7-grouper-ti-pmic.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/arm-gic.h> 4 #include <dt-bindings/gpio/gpio.h> 13 #interrupt-cells = <2>; 14 interrupt-controller; 15 wakeup-source; 17 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 18 ti,system-power-controller; 19 ti,sleep-keep-ck32k; 20 ti,sleep-enable; [all …]
|
| H A D | tegra30-asus-transformer-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 8 #include "tegra30-cpu-opp.dtsi" 9 #include "tegra30-cpu-opp-microvolt.dtsi" 12 chassis-type = "convertible"; 31 * pre-existing /chosen node to be available to insert the 37 trusted-foundations { 38 compatible = "tlm,trusted-foundations"; [all …]
|
| H A D | tegra30-asus-p1801-t.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 13 model = "Asus Portable AiO P1801-T"; 14 compatible = "asus,p1801-t", "nvidia,tegra30"; 15 chassis-type = "convertible"; [all …]
|
| H A D | tegra30-asus-tf600t.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 34 * pre-existing /chosen node to be available to insert the [all …]
|
| H A D | tegra30-pegatron-chagall.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
| H A D | tegra30-ouya.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 26 stdout-path = "serial0:115200n8"; 30 trusted-foundations { 31 compatible = "tlm,trusted-foundations"; [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | imx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0 32 #define KBD_STAT_KDIE (0x1 << 8) /* Key Depress Interrupt Enable Status bit */ 33 #define KBD_STAT_KRIE (0x1 << 9) /* Key Release Interrupt Enable */ 34 #define KBD_STAT_KPPEN (0x1 << 10) /* Keypad Clock Enable */ 71 * -stable: achieved after a complete debounce process. 72 * -unstable: used in the debouncing process. 86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix() 89 * Discharge keypad capacitance: in imx_keypad_scan_matrix() 91 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix() 92 * 4. configure columns as open-drain. in imx_keypad_scan_matrix() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-pinephone-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf 12 /dts-v1/; 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/input/linux-event-codes.h> 15 #include <dt-bindings/leds/common.h> 16 #include "rk3399-s.dtsi" 20 compatible = "pine64,pinephone-pro", "rockchip,rk3399"; 21 chassis-type = "handset"; 30 stdout-path = "serial2:115200n8"; [all …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 hvddio-pex-supply = <&vdd_1v8>; 34 dvddio-pex-supply = <&vdd_pex_1v05>; 35 vddio-pex-ctl-supply = <&vdd_1v8>; [all …]
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2015-2017 Google, Inc 213 VDM_STATE_ERR_BUSY = -3, 214 VDM_STATE_ERR_SEND = -2, 215 VDM_STATE_ERR_TMOUT = -1, 217 /* Anything >0 represents an active state */ 244 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0, 293 * @active: PPS mode is active 305 bool active; member 531 /* Auto vbus discharge status */ [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | lpc32xx_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 #include <linux/dma-mapping.h> 44 int vbus_drv_pol; /* 0=active low drive for VBUS via ISP1301 */ 47 usc_chg_event rmwk_chgb; /* Enable/disable remote wakeup */ 78 #define DATA_IN 1 /* Expect dev->host transfer */ 79 #define DATA_OUT 2 /* Expect host->dev transfer */ 161 /* USB device peripheral - various */ 188 dev_dbg(epp->udc->dev, "%s: " fmt, __func__, ## arg) 190 dev_err(epp->udc->dev, "%s: " fmt, __func__, ## arg) 192 dev_info(epp->udc->dev, "%s: " fmt, __func__, ## arg) [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | da7218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7218.c - DA7218 ALSA SoC Codec Driver 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); 50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0); [all …]
|
| /linux/scripts/ |
| H A D | spelling.txt | 54 acitve||active 63 actvie||active 578 disharge||discharge 603 eanable||enable 604 eanble||enable 619 enbale||enable 620 enble||enable 1096 none existent||non-existent 1771 vicefersa||vice-versa
|