/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: 36 ti,wire-config: 38 wires on touchscreen. We need to provide an 8-bit number where the [all …]
|
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/arch/arm/mach-pxa/ |
H A D | sharpsl_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-C7xx and SL-Cxx00 6 * Copyright (c) 2004-2005 Richard Purdie 17 #include <linux/apm-emulation.h> 19 #include <linux/delay.h> 25 #include <asm/mach-types.h> 27 #include "pxa2xx-regs.h" 28 #include "regs-rtc.h" 173 /* max1111 accepts channels from 0-3, however, in sharpsl_pm_pxa_read_max1111() 174 * it is encoded from 0-7 here in the code. in sharpsl_pm_pxa_read_max1111() [all …]
|
H A D | spitz_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery and Power Management code for the Sharp SL-Cxx00 12 #include <linux/delay.h> 14 #include <linux/gpio-pxa.h> 17 #include <linux/apm-emulation.h> 21 #include <asm/mach-types.h> 78 /* HACK - For unknown reasons, accurate voltage readings are only made with a load 89 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend() 132 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup() 136 /* charge on */ in spitz_should_wakeup() [all …]
|
/openbmc/linux/include/linux/iio/frequency/ |
H A D | ad9523.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * struct ad9523_channel_spec - Output channel configuration 42 * @sync_ignore_en: Ignore chip-level SYNC signal. 49 * @channel_divider: 10-bit channel divider. 106 * struct ad9523_platform_data - platform specific information 109 * @refa_diff_rcv_en: REFA differential/single-ended input selection. 110 * @refb_diff_rcv_en: REFB differential/single-ended input selection. 111 * @zd_in_diff_en: Zero Delay differential/single-ended input selection. 112 * @osc_in_diff_en: OSC differential/ single-ended input selection. 113 * @refa_cmos_neg_inp_en: REFA single-ended neg./pos. input enable. [all …]
|
/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/linux/include/linux/mfd/ |
H A D | ti_am335x_tscadc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 77 /* Delay register */ 85 /* Charge Config */ 94 /* Charge delay */ 134 * max num cycles = open delay + (sample delay + conv time) * averaging 180 struct ti_tscadc_dev **tscadc_dev = p->dev.platform_data; in ti_tscadc_dev_get() 187 return of_device_is_compatible(tscadc->dev->of_node, in ti_adc_with_touchscreen() 188 "ti,am3359-tscadc"); in ti_adc_with_touchscreen()
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 24 and charge pump through the LDO1_IN pin. 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin [all …]
|
H A D | wlf,wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 30 - patches@opensource.cirrus.com 39 gpio-controller: true 40 '#gpio-cells': 46 micdet-cfg: 51 micdet-delay: 54 description: The debounce delay for microphone detection in mS. 56 gpio-cfg: [all …]
|
H A D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Derek Fang <derek.fang@realtek.com> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used 34 - 1 # using GPIO2 pin as dmic1 data pin 35 - 2 # using GPIO5 pin as dmic1 data pin [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | mock_request.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 31 mock_request(struct intel_context *ce, unsigned long delay) in mock_request() argument 35 /* NB the i915->requests slab cache is enlarged to fit mock_request */ in mock_request() 40 request->mock.delay = delay; in mock_request() 47 container_of(request->engine, typeof(*engine), base); in mock_cancel_request() 50 spin_lock_irq(&engine->hw_lock); in mock_cancel_request() 51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request() 52 list_del_init(&request->mock.link); in mock_cancel_request() 53 spin_unlock_irq(&engine->hw_lock); in mock_cancel_request()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | imx6ul_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/delay.h> 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() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/sprd/ |
H A D | sc2731.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 spi-max-frequency = <26000000>; 15 interrupt-controller; 16 #interrupt-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 21 compatible = "sprd,sc2731-charger"; 23 monitored-battery = <&bat>; 26 led-controller@200 { 27 compatible = "sprd,sc2731-bltc"; [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | clock.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 29 * register. As such, the U-Boot clock driver is currently a bit lazy, and 39 #include <asm/arch/clock-tables.h> 40 /* PLL stabilization delay in usec */ 56 * @param cpcon charge pump setup control 71 * @return 0 if ok, -1 on error (invalid clock id or no suitable divider) 77 * Read low-level parameters of a PLL. 83 * @param cpcon returns charge pump setup control 86 * @returns 0 if ok, -1 on error (invalid clock id) 114 * Reset a peripheral. This puts it in reset, waits for a delay, then takes [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-tx6-mb7.dtsi | 2 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * 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 45 turn-on-delay-ms = <35>; 46 power-supply = <®_lcd1_pwr>; 51 turn-on-delay-ms = <35>; 52 power-supply = <®_lcd1_pwr>; 55 lcd-panel { 57 pixelclk-active = <0>; 60 lvds0-panel { [all …]
|
H A D | imx53-usbarmory.dts | 8 * This file is dual-licensed: you can use it either under the terms 25 * b) Permission is hereby granted, free of charge, to any person 47 /dts-v1/; 52 compatible = "inversepath,imx53-usbarmory", "fsl,imx53"; 57 stdout-path = &uart1; 66 compatible = "gpio-leds"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&pinctrl_led>; 70 led-user { 73 linux,default-trigger = "heartbeat"; [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dcb.c | 9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 34 * granted, free of charge, to any person obtaining a copy of this software 59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 94 * granted, free of charge, to any person obtaining a copy of this software 121 #include "xgbe-common.h" 129 ets->ets_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getets() 131 if (pdata->ets) { in xgbe_dcb_ieee_getets() 132 ets->cbs = pdata->ets->cbs; in xgbe_dcb_ieee_getets() 133 memcpy(ets->tc_tx_bw, pdata->ets->tc_tx_bw, in xgbe_dcb_ieee_getets() 134 sizeof(ets->tc_tx_bw)); in xgbe_dcb_ieee_getets() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | ltc2941-battery-gauge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/devm-helpers.h> 19 #include <linux/delay.h> 26 #define LTC294X_WORK_DELAY 10 /* Update delay in seconds */ 77 int charge; /* Last charge register content */ member 85 return ((Q * (info->Qlsb / 10))) / 100; in convert_bin_to_uAh() 93 Q = (uAh * 100) / (info->Qlsb/10); in convert_uAh_to_bin() 104 msgs[0].addr = client->addr; in ltc294x_read_regs() 108 msgs[1].addr = client->addr; in ltc294x_read_regs() 113 ret = i2c_transfer(client->adapter, &msgs[0], 2); in ltc294x_read_regs() [all …]
|
H A D | cpcap-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2009-2010 Motorola, Inc. 31 #include <linux/mfd/motorola-cpcap.h> 38 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1 45 #define CPCAP_REG_CRM_ICHRG_TR1 BIT(11) /* Trickle charge current */ 49 #define CPCAP_REG_CRM_VCHRG3 BIT(7) /* Charge voltage bits */ 53 #define CPCAP_REG_CRM_ICHRG3 BIT(3) /* Charge current bits */ 58 /* CPCAP_REG_CRM trickle charge voltages */ 66 * CPCAP_REG_CRM charge voltages based on the ADC channel 1 values. 89 * CPCAP_REG_CRM charge currents. These seem to match MC13783UG.pdf [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | ix2505v.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Driver for Sharp IX2505V (marked B0017) DVB-S silicon tuner 15 * struct ix2505v_config - ix2505 attachment configuration 18 * @tuner_gain: Baseband AMP gain control 0/1=0dB(default) 2=-2bB 3=-4dB 19 * @tuner_chargepump: Charge pump output +/- 0=120 1=260 2=555 3=1200(default) 20 * @min_delay_ms: delay after tune 34 * ix2505v_attach - Attach a ix2505v tuner to the supplied frontend structure.
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 23 * b) Permission is hereby granted, free of charge, to any person 47 #include <dt-bindings/thermal/thermal.h> 50 thermal-zones { 51 cpu-thermal { 53 polling-delay-passive = <250>; 54 polling-delay = <1000>; 55 thermal-sensors = <&rtp>; 57 cooling-maps { [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 23 * b) Permission is hereby granted, free of charge, to any person 49 #include <dt-bindings/thermal/thermal.h> 52 interrupt-parent = <&intc>; 54 thermal-zones { 57 polling-delay-passive = <250>; 58 polling-delay = <1000>; 59 thermal-sensors = <&rtp>; 61 cooling-maps { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | mvebu-devbus.txt | 9 - compatible: Armada 370/XP SoC are supported using the 10 "marvell,mvebu-devbus" compatible string. 13 "marvell,orion-devbus" compatible string. 15 - reg: A resource specifier for the register space. 20 - #address-cells: Must be set to 1 21 - #size-cells: Must be set to 1 22 - ranges: Must be set up to reflect the memory layout with four 23 integer values for each chip-select line in use: 28 - devbus,keep-config This property can optionally be used to keep 37 - devbus,turn-off-ps: Defines the time during which the controller does not [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ak4375.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/delay.h> 22 #define PMCP1 BIT(0) /* Charge Pump 1: LDO1 and DAC */ 23 #define PMCP2 BIT(1) /* Charge Pump 2: Class-G HP Amp */ 118 * from -12.5 to 3 dB in 0.5 dB steps (mute instead of -12.5 dB) 120 static DECLARE_TLV_DB_SCALE(dac_tlv, -1250, 50, 0); 123 * HP-Amp Analog volume control: 124 * from -4.2 to 6 dB in 2 dB steps (mute instead of -4.2 dB) 126 static DECLARE_TLV_DB_SCALE(hpg_tlv, -4200, 20, 0); 132 "+-VDD Operation", [all …]
|