/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | samsung,usb3-drd-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/samsung,usb3-drd-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Marek Szyprowski <m.szyprowski@samsung.com> 12 - Sylwester Nawrocki <s.nawrocki@samsung.com> 15 For samsung,exynos5250-usbdrd-phy and samsung,exynos5420-usbdrd-phy 18 0 - UTMI+ type phy, 19 1 - PIPE3 type phy. [all …]
|
H A D | phy-stm32-usbphyc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 22 |_ PHY port#2 ----| |________________ 27 - Amelie Delaunay <amelie.delaunay@foss.st.com> 31 const: st,stm32mp1-usbphyc 42 "#address-cells": 45 "#size-cells": 48 vdda1v1-supply: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | mediatek,mt6370-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiaEn Wu <chiaen_wu@richtek.com> 14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection. 18 const: mediatek,mt6370-charger 34 - description: irq of "USB is plugged in" 35 - description: irq of "BC1.2 is done" 36 - description: irq of "Minimum Input Voltage Regulation loop is active" [all …]
|
H A D | mt6360_charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/mt6360_charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gene Chen <gene_chen@richtek.com> 14 Provides Battery Charger, Boost for OTG devices and BC1.2 detection. 18 const: mediatek,mt6360-chg 20 richtek,vinovp-microvolt: 25 usb-otg-vbus-regulator: 27 description: OTG boost regulator. [all …]
|
H A D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 5 $id: http://devicetree.org/schemas/power/supply/bq25890.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - enum: 20 - ti,bq25890 21 - items: [all …]
|
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
H A D | richtek,rt9471.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt9471.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alina Yu <alina_yu@richtek.com> 11 - ChiYuan Huang <cy_huang@richtek.com> 14 RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 16 voltage regulations in both charging and boost mode. 19 https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf 28 charge-enable-gpios: [all …]
|
H A D | richtek,rt9467.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt9467.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 11 - ChiaEn Wu <chiaen_wu@richtek.com> 14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 16 MOSFETs, input current sensing and regulation, high-accuracy voltage 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates 21 D+/D- pin for USB host/charging port detection. [all …]
|
/openbmc/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7-espresso.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/samsung,s2mps11.h> 13 #include <dt-bindings/gpio/gpio.h> 17 compatible = "samsung,exynos7-espresso", "samsung,exynos7"; 26 stdout-path = &serial_2; 34 usb30_vbus_reg: regulator-usb30 { 35 compatible = "regulator-fixed"; 36 regulator-name = "VBUS_5V"; [all …]
|
/openbmc/linux/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/soc/samsung/exynos-regs-pmu.h> 204 * struct exynos5_usbdrd_phy - driver data for USB 3.0 PHY 218 * @vbus: VBUS regulator for phy 219 * @vbus_boost: Boost regulator for VBUS present on few Exynos boards 238 struct regulator *vbus; member 246 phys[(inst)->index]); in to_usbdrd_phy() 283 return -EINVAL; in exynos5_rate_to_clk() 294 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol() 299 regmap_update_bits(inst->reg_pmu, inst->pmu_offset, in exynos5_usbdrd_phy_isol() [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-intel-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 10 #include <linux/extcon-provider.h> 24 #include "extcon-intel.h" 67 /* 0 - open drain, 1 - regular push-pull output */ 69 /* 0 - pin is controlled by SW, 1 - by HW */ 125 * According to the spec. we should read the USB-ID pin ADC value here in cht_wc_extcon_get_id() 126 * to determine the resistance of the used pull-down resister and then in cht_wc_extcon_get_id() 129 * a combination of a charging port with one or more USB-A ports, so in cht_wc_extcon_get_id() 131 * is hard to read / badly-worded so some of them actually indicate in cht_wc_extcon_get_id() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-quartz64-a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 11 model = "Pine64 RK3566 Quartz64-A Board"; 12 compatible = "pine64,quartz64-a", "rockchip,rk3566"; 21 stdout-path = "serial2:1500000n8"; 24 gmac1_clkin: external-gmac1-clock { 25 compatible = "fixed-clock"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcs404-evb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 vph_pwr: vph-pwr-regulator { 23 compatible = "regulator-fixed"; 24 regulator-name = "vph_pwr"; 25 regulator-always-on; 26 regulator-boot-on; [all …]
|
/openbmc/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | shared-psy-info.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 17 #include "shared-psy-info.h" 20 const char * const tusb1211_chg_det_psy[] = { "tusb1211-charger-detect" }; 21 const char * const bq24190_psy[] = { "bq24190-charger" }; 22 const char * const bq25890_psy[] = { "bq25890-charger-0" }; 25 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq24190_psy), 34 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_psy), 44 PROPERTY_ENTRY_STRING("compatible", "simple-battery"), 45 PROPERTY_ENTRY_STRING("device-chemistry", "lithium-ion"), [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler() 81 * handling the previous ones our irq will re-trigger when we're done. in cht_wc_i2c_adap_thread_handler() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-dms-ba16.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx6q-ba16.dtsi" 9 model = "Advantech DMS-BA16"; 10 compatible = "advantech,imx6q-dms-ba16", "advantech,imx6q-ba16", "fsl,imx6q"; 12 reg_usb_otg_vbus: regulator-usbotgvbus { 13 compatible = "regulator-fixed"; 14 regulator-name = "usb_otg_vbus"; 15 regulator-min-microvolt = <5000000>; [all …]
|
H A D | imx6q-tbs2910.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "tbs,imx6q-tbs2910", "fsl,imx6q"; 16 stdout-path = &uart1; 23 /delete-property/ mmc3; 32 compatible = "gpio-fan"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pinctrl_gpio_fan>; [all …]
|
H A D | imx6q-novena.dts | 2 * Copyright 2015 Sutajio Ko-Usagi PTE LTD 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 49 /dts-v1/; 51 #include <dt-bindings/gpio/gpio.h> 52 #include <dt-bindings/input/input.h> 56 compatible = "kosagi,imx6q-novena", "fsl,imx6q"; 65 stdout-path = &uart2; 69 compatible = "pwm-backlight"; 71 pinctrl-names = "default"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/st,stpmic1.h> 17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 24 stdout-path = "serial0:115200n8"; 32 reserved-memory { [all …]
|
H A D | stm32mp157a-stinger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 24 stdout-path = "serial1:115200n8"; 33 compatible = "gpio-leds"; 38 linux,default-trigger = "heartbeat"; 39 default-state = "off"; [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | axp288_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * axp288_charger.c - X-power AXP288 PMIC Charger driver 5 * Copyright (C) 2016-2017 Hans de Goede <hdegoede@redhat.com> 160 else if (cc > info->max_cc) in axp288_charger_set_cc() 161 cc = info->max_cc; in axp288_charger_set_cc() 163 reg_val = (cc - CHRG_CCCV_CC_OFFSET) / CHRG_CCCV_CC_LSB_RES; in axp288_charger_set_cc() 167 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cc() 171 info->cc = cc; in axp288_charger_set_cc() 197 ret = regmap_update_bits(info->regmap, in axp288_charger_set_cv() 202 info->cv = cv; in axp288_charger_set_cv() [all …]
|
H A D | bq25890_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 87 u8 boostv; /* boost regulation voltage */ 88 u8 boosti; /* boost current limit */ 89 u8 boostf; /* boost frequency */ 113 char name[28]; /* "bq25890-charger-%d" */ 272 * Most of the val -> idx conversions can be computed, given the minimum, 299 /* Boost mode current limit lookup table, in uA */ 322 0, -10, -20, -30, -40, -60, -70, -80, 323 -90, -10, -120, -140, -150, -170, -190, -210, 367 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
/openbmc/linux/drivers/phy/st/ |
H A D | phy-stm32-usbphyc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 139 struct regulator *vbus; member 173 ret = regulator_enable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 177 ret = regulator_enable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_enable() 184 regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 193 ret = regulator_disable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_disable() 197 ret = regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_disable() 217 * <=> PLLFRACIN = ((FVCO / (INFF*2)) - PLLNDIV) * 2^16 in stm32_usbphyc_get_pll_params() 223 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|