/Linux-v5.15/Documentation/devicetree/bindings/iio/afe/ |
D | voltage-divider.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/voltage-divider.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the midpoint of a voltage divider, the 14 interesting voltage is often the voltage over the full resistance 18 Vin ----. 20 .-----. 22 '-----' [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/leds/ |
D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 22 - enable-gpios : gpio pin to enable (active high)/disable the device. 23 - ramp-up-us - The Run time ramp rates/step are from one current [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/power/supply/ |
D | sc27xx-fg.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - sprd,sc2720-fgu 19 - sprd,sc2721-fgu 20 - sprd,sc2723-fgu 21 - sprd,sc2730-fgu [all …]
|
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 …]
|
/Linux-v5.15/drivers/iio/afe/ |
D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 47 if (rescale->chan_processed) in rescale_read_raw() 53 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw() 55 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 58 if (rescale->chan_processed) { in rescale_read_raw() 60 * Processed channels are scaled 1-to-1 in rescale_read_raw() 66 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 70 *val *= rescale->numerator; in rescale_read_raw() 71 *val2 *= rescale->denominator; in rescale_read_raw() 74 *val *= rescale->numerator; in rescale_read_raw() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | imx6q-b650v3.dts | 5 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "imx6q-bx50v3.dtsi" 49 compatible = "ge,imx6q-b650v3", "advantech,imx6q-ba16", "fsl,imx6q"; 52 stdout-path = &uart3; 55 panel-lvds0 { 56 compatible = "innolux,g121x1-l03"; 58 power-supply = <®_lvds>; 62 remote-endpoint = <&lvds0_out>; 71 lvds0: lvds-channel@0 { [all …]
|
D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
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 …]
|
D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
D | imx28-tx28.dts | 3 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 5 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 model = "Ka-Ro electronics TX28 module"; 70 reg = <0x40000000 0>; /* will be filled in by U-Boot */ 74 compatible = "w1-gpio"; 79 reg_usb0_vbus: regulator-usb0-vbus { 80 compatible = "regulator-fixed"; [all …]
|
D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
D | ste-ux500-samsung-codina.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina. 11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China). 12 * The GT-I8160 plain is knonw as the "europe" variant. 13 * The GT-I8160P appears to not use the ST Microelectronics accelerometer. 14 * The GT-I8160chn appears to be the same as the europe variant. 17 /dts-v1/; 18 #include "ste-db8500.dtsi" 19 #include "ste-ab8500.dtsi" 20 #include "ste-dbx5x0-pinctrl.dtsi" [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/sprd/ |
D | sp9860g-1h10.dts | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 17 compatible = "sprd,sp9860g-1h10", "sprd,sc9860"; 34 stdout-path = "serial1:115200n8"; 37 reserved-memory { 38 #address-cells = <2>; 39 #size-cells = <2>; 44 compatible = "simple-battery"; 45 charge-full-design-microamp-hours = <1900000>; 46 charge-term-current-microamp = <120000>; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | imx8mm-venice-gw7901.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 16 compatible = "gw,imx8mm-gw7901", "fsl,imx8mm"; 29 stdout-path = &uart2; 37 gpio-keys { 38 compatible = "gpio-keys"; 40 user-pb { [all …]
|
/Linux-v5.15/include/linux/power/ |
D | max17042_battery.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 /* Consider RepCap which is less then 10 units below FullCAP full */ 191 /* External current sense resistor value in milli-ohms */ 255 * R_sns in micro-ohms.
|
/Linux-v5.15/drivers/power/supply/ |
D | ltc4162-l-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Analog Devices (Linear Technology) LTC4162-L charger IC. 58 c_over_x_term = 8, /* battery is full */ 93 if (info->cell_count) in ltc4162l_get_cell_count() 94 return info->cell_count; in ltc4162l_get_cell_count() 96 ret = regmap_read(info->regmap, LTC4162L_CHEM_CELLS_REG, &val); in ltc4162l_get_cell_count() 106 info->cell_count = val; in ltc4162l_get_cell_count() 134 ret = regmap_read(info->regmap, LTC4162L_CHARGER_STATE, ®val); in ltc4162l_get_status() 136 dev_err(&info->client->dev, "Failed to read CHARGER_STATE\n"); in ltc4162l_get_status() 140 val->intval = ltc4162l_state_decode(regval); in ltc4162l_get_status() [all …]
|
D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 46 if (supply->supplied_from) { in __power_supply_is_supplied_by() 47 if (!supplier->desc->name) in __power_supply_is_supplied_by() 49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 53 if (!supply->desc->name) in __power_supply_is_supplied_by() 55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by() 69 if (pst->desc->external_power_changed) in __power_supply_changed_work() [all …]
|
D | ab8500_fg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson AB 2012 5 * Main and Back-up battery management driver. 7 * Note: Backup battery management is required in case of Li-Ion battery and not 37 #include <linux/fixp-arith.h> 39 #include "ab8500-bm.h" 61 * struct ab8500_fg_interrupts - ab8500 fg interrupts 156 * struct ab8500_fg - ab8500 FG device information 243 * ab8500_fg_get() - returns a reference to the primary AB8500 fuel gauge 347 return (u8) i - 1; in ab8500_volt_to_regval() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/renesas/ |
D | salvator-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for common parts of Salvator-X board variants 5 * Copyright (C) 2015-2016 Renesas Electronics Corp. 9 * SSI-AK4613 31 #include <dt-bindings/gpio/gpio.h> 32 #include <dt-bindings/input/input.h> 46 stdout-path = "serial0:115200n8"; 49 audio_clkout: audio-clkout { 52 * but needed to avoid cs2000/rcar_sound probe dead-lock 54 compatible = "fixed-clock"; [all …]
|
/Linux-v5.15/drivers/usb/phy/ |
D | phy-mxs-usb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2012-2014 Freescale Semiconductor, Inc. 188 { .compatible = "fsl,imx6sx-usbphy", .data = &imx6sx_phy_data, }, 189 { .compatible = "fsl,imx6sl-usbphy", .data = &imx6sl_phy_data, }, 190 { .compatible = "fsl,imx6q-usbphy", .data = &imx6q_phy_data, }, 191 { .compatible = "fsl,imx23-usbphy", .data = &imx23_phy_data, }, 192 { .compatible = "fsl,vf610-usbphy", .data = &vf610_phy_data, }, 193 { .compatible = "fsl,imx6ul-usbphy", .data = &imx6ul_phy_data, }, 194 { .compatible = "fsl,imx7ulp-usbphy", .data = &imx7ulp_phy_data, }, 211 return mxs_phy->data == &imx6q_phy_data; in is_imx6q_phy() [all …]
|
/Linux-v5.15/drivers/media/pci/tw5864/ |
D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 147 /* DDR-DPR Burst Read Enable */ 157 * 0 Single R/W Access (Host <-> DDR) 158 * 1 Burst R/W Access (Host <-> DPR) [all …]
|
/Linux-v5.15/drivers/iio/temperature/ |
D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 274 * instance a resolution of 2^-10 means we have 10 fractional bits. 288 s64 __res = -(s32)val; in __convert_to_raw_sign() 292 return (u32)-__res; in __convert_to_raw_sign() 299 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler() 303 return -EIO; in __ltc2983_fault_handler() 316 u32 reg = LTC2983_CHAN_START_ADDR(sensor->chan); in __ltc2983_chan_assign_common() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | vlv_dsi.c | 81 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty() 82 struct drm_device *dev = encoder->dev; in vlv_dsi_wait_for_fifo_empty() 91 drm_err(&dev_priv->drm, "DPI FIFOs are not empty\n"); in vlv_dsi_wait_for_fifo_empty() 103 for (j = 0; j < min_t(u32, len - i, 4); j++) in write_data() 119 for (j = 0; j < min_t(u32, len - i, 4); j++) in read_data() 128 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer() 130 enum port port = intel_dsi_host->port; in intel_dsi_host_transfer() 144 if (msg->flags & MIPI_DSI_MSG_USE_LPM) { in intel_dsi_host_transfer() 160 drm_err(&dev_priv->drm, in intel_dsi_host_transfer() 161 "Timeout waiting for HS/LP DATA FIFO !full\n"); in intel_dsi_host_transfer() [all …]
|
/Linux-v5.15/sound/pci/ |
D | azt3328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168). 3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de> 7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case). 13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download 17 * despite the high level of Internet ignorance - as usual :-P - 18 * about very good support for this card - on Linux!) 25 * in the first place >:-P}), 34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec, 36 * Fincitec-related company ARSmikro) has the following features: [all …]
|