/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
H A D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 - Markus Laine <markus.laine@fi.rohmeurope.com> 12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 21 $ref: power-supply.yaml# [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 | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . 36 * . o/- -: . 38 * . .--+ `/ . [all …]
|
H A D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 153 * pre-charge to fast charge mode 157 * @chip_temp_threshold: die temperature where device starts limiting charge 158 * current [%100 - %130] (in degree C) [all …]
|
H A D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mfd/rt5033-private.h> 33 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 64 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 86 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge() 124 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() 125 chg->const_uvolt > RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MAX) { in rt5033_init_const_charge() 126 dev_err(charger->dev, in rt5033_init_const_charge() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | imx6ul_tsc.txt | 4 - compatible: must be "fsl,imx6ul-tsc". 5 - reg: this touch controller address and the ADC2 address. 6 - interrupts: the interrupt of this touch controller and ADC2. 7 - clocks: the root clock of touch controller and ADC2. 8 - clock-names; must be "tsc" and "adc". 9 - xnur-gpio: the X- gpio this controller connect to. 10 This xnur-gpio returns to low once the finger leave the touch screen (The 14 - measure-delay-time: the value of measure delay time. 15 Before X-axis or Y-axis measurement, the screen need some time before 18 - pre-charge-time: the touch screen need some time to precharge. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. 28 Optional subnode-properties: [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 116 /* RT5033 charger property - model, manufacturer */ 121 * While RT5033 charger can limit the fast-charge current (as in CHGCTRL1 171 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */ 177 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 183 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 190 * RT5033 charger const-charge end of charger current ( 200 * RT5033 charger pre-charge threshold volt limits
|
/openbmc/linux/arch/sh/boards/mach-r2d/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2002 - 2006 Atom Create Engineering Co., Ltd. 6 * Copyright (C) 2004 - 2007 Paul Mundt 15 #include <linux/sm501-regs.h> 29 .end = PA_AREA5_IO + 0x1000 + 0x10 - 0x2, 37 #ifndef CONFIG_RTS7751R2D_1 /* For R2D-1 polling is preferred */ 51 .id = -1, 61 .modalias = "rtc-r9701", 69 BUG_ON(cs != 0); /* Single Epson RTC-9701JE attached on CS0 */ in r2d_chip_select() 88 .id = -1, [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91-sama5d27_som1_ek.dts | 2 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27 SOM1 EK board 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 45 /dts-v1/; 50 compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5"; 53 u-boot,dm-pre-reloc; 54 stdout-path = &uart1; 59 pinctrl-names = "default"; 60 pinctrl-0 = <&pinctrl_onewire_tm_default>; 71 num-ports = <3>; [all …]
|
H A D | at91-sama5d2_ptc_ek.dts | 2 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 45 /dts-v1/; 46 #include <dt-bindings/gpio/gpio.h> 48 #include "sama5d2-pinfunc.h" 52 compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5"; 55 u-boot,dm-pre-reloc; 56 stdout-path = &uart0; 61 pinctrl-names = "default"; [all …]
|
H A D | sama5d27_som1.dtsi | 2 * sama5d27_som1.dtsi - Device Tree file for SAMA5D27 SOM1 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 47 #include "sama5d2-pinfunc.h" 50 compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5"; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&pinctrl_qspi1_sck_cs_default &pinctrl_qspi1_dat_default>; 66 u-boot,dm-pre-reloc; 69 compatible = "spi-flash"; 71 spi-max-frequency = <50000000>; [all …]
|
H A D | at91-sama5d4_xplained.dts | 2 * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 45 /dts-v1/; 50 compatible = "atmel,sama5d4-xplained", "atmel,sama5d4", "atmel,sama5"; 57 u-boot,dm-pre-reloc; 58 stdout-path = &usart3; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&pinctrl_onewire_tm_default>; 79 clock-frequency = <32768>; [all …]
|
H A D | stm32f746.dtsi | 2 * Copyright 2016 - Michael Kurz <michi.kurz@gmail.com> 3 * Copyright 2016 - Vikas MANOCHA <vikas.manocha@st.com> 7 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 9 * This file is dual-licensed: you can use it either under the terms 26 * b) Permission is hereby granted, free of charge, to any person 48 #include "armv7-m.dtsi" 49 #include <dt-bindings/pinctrl/stm32f746-pinfunc.h> 50 #include <dt-bindings/clock/stm32fx-clock.h> 51 #include <dt-bindings/mfd/stm32f7-rcc.h> 55 clk_hse: clk-hse { [all …]
|
H A D | armada-385-amc.dts | 3 * (DB-88F6820-AMC) 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * This file is dual-licensed: you can use it either under the terms 20 * b) Permission is hereby granted, free of charge, to any person 42 /dts-v1/; 43 #include "armada-385.dtsi" 44 #include <dt-bindings/gpio/gpio.h> 48 compatible = "marvell,a385-amc", "marvell,armada385", "marvell,armada380"; 51 stdout-path = "serial0:115200n8"; 70 internal-regs { [all …]
|
H A D | rk3288-rock2-square.dts | 2 * This file is dual-licensed: you can use it either under the terms 19 * b) Permission is hereby granted, free of charge, to any person 41 /dts-v1/; 42 #include "rk3288-rock2-som.dtsi" 46 compatible = "radxa,rock2-square", "rockchip,rk3288"; 49 stdout-path = "serial2:115200n8"; 52 ir: ir-receiver { 53 compatible = "gpio-ir-receiver"; 55 pinctrl-names = "default"; 56 pinctrl-0 = <&ir_int>; [all …]
|
H A D | armada-xp-theadorable.dts | 4 * Copyright (C) 2013-2014 Marvell 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10 * This file is dual-licensed: you can use it either under the terms 27 * b) Permission is hereby granted, free of charge, to any person 51 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 58 /dts-v1/; 59 #include <dt-bindings/gpio/gpio.h> 60 #include "armada-xp-mv78260.dtsi" 64 compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; [all …]
|
H A D | at91-sama5d4ek.dts | 2 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit 7 * This file is dual-licensed: you can use it either under the terms 24 * b) Permission is hereby granted, free of charge, to any person 45 /dts-v1/; 49 model = "Atmel SAMA5D4-EK"; 57 u-boot,dm-pre-reloc; 58 stdout-path = &usart3; 68 clock-frequency = <32768>; 72 clock-frequency = <12000000>; 79 atmel,vl-bpix = <4>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,qusb2-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Wesley Cheng <quic_wcheng@quicinc.com> 19 - items: 20 - enum: 21 - qcom,ipq6018-qusb2-phy 22 - qcom,ipq8074-qusb2-phy 23 - qcom,ipq9574-qusb2-phy [all …]
|
/openbmc/u-boot/include/faraday/ |
H A D | ftsdmc021.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Po-Yu Chuang <ratbert@faraday-tech.com> 11 * FTSDMC021 - SDRAM Controller 18 unsigned int tp1; /* 0x00 - SDRAM Timing Parameter 1 */ 19 unsigned int tp2; /* 0x04 - SDRAM Timing Parameter 2 */ 20 unsigned int cr1; /* 0x08 - SDRAM Configuration Reg 1 */ 21 unsigned int cr2; /* 0x0c - SDRAM Configuration Reg 2 */ 22 unsigned int bank0_bsr; /* 0x10 - Ext. Bank Base/Size Reg 0 */ 23 unsigned int bank1_bsr; /* 0x14 - Ext. Bank Base/Size Reg 1 */ 24 unsigned int bank2_bsr; /* 0x18 - Ext. Bank Base/Size Reg 2 */ [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | imx6ul_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0 111 reinit_completion(&tsc->completion); in imx6ul_adc_init() 113 adc_cfg = readl(tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 118 if (tsc->average_enable) { in imx6ul_adc_init() 120 adc_cfg |= (tsc->average_select) << ADC_AVGS_SHIFT; in imx6ul_adc_init() 123 writel(adc_cfg, tsc->adc_regs + REG_ADC_CFG); in imx6ul_adc_init() 128 writel(adc_hc, tsc->adc_regs + REG_ADC_HC0); in imx6ul_adc_init() 131 adc_gc = readl(tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init() 133 if (tsc->average_enable) in imx6ul_adc_init() 135 writel(adc_gc, tsc->adc_regs + REG_ADC_GC); in imx6ul_adc_init() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power-wilco | 1 What: /sys/class/power_supply/wilco-charger/charge_type 23 Customized charge rate for last longer battery life. 24 On Wilco device this mode is pre-configured in the factory 28 What: /sys/class/power_supply/wilco-charger/charge_control_start_threshold 35 What: /sys/class/power_supply/wilco-charger/charge_control_end_threshold
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rk817_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * I don't have another implementation to compare from the Rockchip sources. Hard-coding for now. 46 if (rk817->mic_in_differential) { in rk817_init() 58 /* Set resistor value and charge pump current for PLL. */ in rk817_set_component_pll() 62 /* Set the PLL pre-divide value (values not documented). */ in rk817_set_component_pll() 74 * 0db~-95db, 0.375db/step, for example: 76 * 0xff: -95dB 79 static const DECLARE_TLV_DB_MINMAX(rk817_vol_tlv, -9500, 0); 83 * 27db~-18db, 3db/step, for example: 84 * 0x0: -18dB [all …]
|