/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | st,stm32-romem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 Factory-programmed data 10 This represents STM32 Factory-programmed read only non-volatile area: locked 11 flash, OTP, read-only HW regs... This contains various information such as: 16 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 19 - $ref: nvmem.yaml# 20 - $ref: nvmem-deprecated-cells.yaml# [all …]
|
H A D | apple,efuses.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SoC eFuse-based NVMEM 10 Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store 11 calibration data for the PCIe and the Type-C PHY or unique chip identifiers 15 - Sven Peter <sven@svenpeter.dev> 18 - $ref: nvmem.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# 24 - enum: [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | mtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Richard Weinberger <richard@nod.at> 21 User-defined MTD device name. Can be used to assign user friendly 26 '#address-cells': 29 '#size-cells': 36 - compatible 39 "@[0-9a-f]+$": [all …]
|
/linux/Documentation/misc-devices/ |
H A D | ad525x_dpot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 settings. Access to the factory programmed tolerance is also provided, but 23 The tolerance files are the read-only factory programmed tolerance settings 24 and may vary greatly on a part-by-part basis. For exact interpretation of 35 0-0022 0-0027 0-002f 40 # ls /sys/bus/i2c/devices/0-002f/ 45 # cd /sys/bus/i2c/devices/0-002f/
|
/linux/drivers/nvmem/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 such as the M1. These are e.g. used to store factory programmed 38 calibration data required for the PCIe or the USB-C PHY. 41 be called nvmem-apple-efuses. 50 and RTC-related settings on a SPMI-attached PMIC present on Apple 54 will be called apple-nvmem-spmi. 57 tristate "Broadcom On-Chip OTP Controller support" 66 will be called nvmem-bcm-ocotp. 86 will be called nvmem-imx-iim. 89 tristate "i.MX 6/7/8 On-Chip OTP Controller support" [all …]
|
H A D | stm32-romem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * STM32 Factory-programmed memory read access driver 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 9 #include <linux/arm-smccc.h> 12 #include <linux/nvmem-provider.h> 18 #include "stm32-bsec-optee-ta.h" 20 /* BSEC secure service access from non-secure */ 51 *buf8++ = readb_relaxed(priv->base + i); in stm32_romem_read() 63 return -EIO; in stm32_bsec_smc() 70 return -ENXIO; in stm32_bsec_smc() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-tegra-fuse | 1 What: /sys/devices/*/<our-device>/fuse 4 Description: read-only access to the efuses on Tegra20, Tegra30, Tegra114 6 data programmed at the factory. The data is laid out in 32bit
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | ti,tps380x-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marco Felsch <kernel@pengutronix.de> 16 reset input (MR). The RESET output remains asserted for the factory 17 programmed delay after the voltage return above its threshold or after the 25 - ti,tps3801 27 reset-gpios: 31 "#reset-cells": [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | toradex,smarc-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/toradex,smarc-ec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Emanuele Ghidoli <emanuele.ghidoli@toradex.com> 11 - Francesco Dolcini <francesco.dolcini@toradex.com> 18 - Reads the SMARC POWER_BTN# and RESET_IN# signals and controls the PMIC accordingly. 19 - Controls the SoC boot mode signals based on the SMARC BOOT_SEL# and FORCE_RECOV# inputs. 20 - Manages the CARRIER_STDBY# signal in response to relevant SoC signals. 22 …The EC runs a small firmware, factory programmed into its internal flash, and communicates over I2… [all …]
|
/linux/drivers/mtd/chips/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 support any device that is CFI-compliant, you need to enable this 18 tristate "Detect non-CFI AMD/JEDEC-compatible flash chips" 22 This option enables JEDEC-style probing of flash chips which are not 24 CFI-targeted flash drivers for any chips which are identified which 26 covers most AMD/Fujitsu-compatible chips and also non-CFI 53 are expected to be wired to the CPU in 'host-endian' form. 85 bool "Support 8-bit buswidth" if MTD_CFI_GEOMETRY 92 bool "Support 16-bit buswidth" if MTD_CFI_GEOMETRY 99 bool "Support 32-bit buswidth" if MTD_CFI_GEOMETRY [all …]
|
/linux/drivers/hwmon/ |
H A D | nsa320-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/hwmon/nsa320-hwmon.c 8 * Copyright (C) 2016 Adam Baker <linux@baker-net.org.uk> 18 #include <linux/hwmon-sysfs.h> 29 * The Zyxel hwmon MCU is a Holtek HT46R065 that is factory programmed 72 mutex_lock(&hwmon->update_lock); in nsa320_hwmon_update() 74 mcu_data = hwmon->mcu_data; in nsa320_hwmon_update() 76 if (time_after(jiffies, hwmon->last_updated + HZ) || mcu_data == 0) { in nsa320_hwmon_update() 77 gpiod_set_value(hwmon->act, 1); in nsa320_hwmon_update() 82 gpiod_set_value(hwmon->clk, 0); in nsa320_hwmon_update() [all …]
|
/linux/Documentation/networking/device_drivers/can/ |
H A D | can327.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 -------- 14 ----------- 26 ------------- 33 order to fake full-duplex operation. 36 enough to implement simple request-response protocols (such as OBD II), 50 ----------- 59 ---------------------------------- 61 Every ELM327 chip is factory programmed to operate at a serial setting 68 --debug \ [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | beacon-renesom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/clock/versaclock.h> 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 clock-frequency = <32768>; 20 clock-output-names = "osc_32k"; 23 reg_1p8v: regulator-1p8v { 24 compatible = "regulator-fixed"; 25 regulator-name = "fixed-1.8V"; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6-logicpd-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 10 stdout-path = &uart1; 18 reg_wl18xx_vmmc: regulator-wl18xx { 19 compatible = "regulator-fixed"; 20 regulator-name = "vwl1837"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 24 startup-delay-us = <70000>; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 18 reg_wl_bt: regulator-wifi-bt { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_reg_wl_bt>; 22 regulator-name = "wl-bt-pow-dwn"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; 26 startup-delay-us = <70000>; 27 regulator-always-on; [all …]
|
H A D | imx8mn-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "imx8mn-overdrive.dtsi" 16 compatible = "mmc-pwrseq-simple"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 19 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 21 clock-names = "ext_clock"; 22 post-power-on-delay-ms = <80>; 32 cpu-supply = <&buck2_reg>; 36 cpu-supply = <&buck2_reg>; [all …]
|
H A D | imx8mm-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "imx8mm-overdrive.dtsi" 15 compatible = "mmc-pwrseq-simple"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 18 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 20 clock-names = "ext_clock"; 21 post-power-on-delay-ms = <80>; 31 cpu-supply = <&buck2_reg>; 35 cpu-supply = <&buck2_reg>; [all …]
|
/linux/drivers/mtd/maps/ |
H A D | ichxrom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 67 pci_dev_put(window->pdev); in ichxrom_cleanup() 70 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup() 71 if (map->rsrc.parent) in ichxrom_cleanup() 72 release_resource(&map->rsrc); in ichxrom_cleanup() 73 mtd_device_unregister(map->mtd); in ichxrom_cleanup() 74 map_destroy(map->mtd); in ichxrom_cleanup() 75 list_del(&map->list); in ichxrom_cleanup() [all …]
|
H A D | esb2rom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 /* This became a 16-bit register, and EN2 has disappeared */ 56 /* these are 32-bit values */ 124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 125 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 129 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 130 if (map->rsrc.parent) in esb2rom_cleanup() 131 release_resource(&map->rsrc); in esb2rom_cleanup() 132 mtd_device_unregister(map->mtd); in esb2rom_cleanup() 133 map_destroy(map->mtd); in esb2rom_cleanup() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 46 #define ATH10K_DEFAULT_NOISE_FLOOR -95 67 /* SMBIOS type structure length (excluding strings-set) */ 142 return (struct ath10k_skb_cb *)&IEEE80211_SKB_CB(skb)->driver_data; in ATH10K_SKB_CB() 147 BUILD_BUG_ON(sizeof(struct ath10k_skb_rxcb) > sizeof(skb->cb)); in ATH10K_SKB_RXCB() 148 return (struct ath10k_skb_rxcb *)skb->cb; in ATH10K_SKB_RXCB() 280 u32 cycle_count; /* Total on-channel time */ [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | vlv_dsi.c | 89 struct intel_display *display = to_intel_display(&intel_dsi->base); in vlv_dsi_wait_for_fifo_empty() 97 drm_err(display->drm, "DPI FIFOs are not empty\n"); in vlv_dsi_wait_for_fifo_empty() 109 for (j = 0; j < min_t(u32, len - i, 4); j++) in write_data() 125 for (j = 0; j < min_t(u32, len - i, 4); j++) in read_data() 134 struct intel_dsi *intel_dsi = intel_dsi_host->intel_dsi; in intel_dsi_host_transfer() 135 struct intel_display *display = to_intel_display(&intel_dsi->base); in intel_dsi_host_transfer() 136 enum port port = intel_dsi_host->port; in intel_dsi_host_transfer() 149 if (msg->flags & MIPI_DSI_MSG_USE_LPM) { in intel_dsi_host_transfer() 165 drm_err(display->drm, in intel_dsi_host_transfer() 172 if (msg->rx_len) { in intel_dsi_host_transfer() [all …]
|
/linux/drivers/power/supply/ |
H A D | qcom_pmi8998_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. 7 * This driver is for the switch-mode battery charger and boost 12 #include <linux/devm-helpers.h> 26 /* clang-format off */ 352 /* clang-format on */ 372 * struct smb2_chip - smb2 chip structure 419 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb2_get_prop_usb_online() 421 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb2_get_prop_usb_online() 446 rc = regmap_read(chip->regmap, chip->base + APSD_STATUS, &apsd_stat); in smb2_apsd_get_charger_type() [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-ds1307.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. 23 #include <linux/hwmon-sysfs.h> 24 #include <linux/clk-provider.h> 29 * We can't determine type by probing, but if we expect pre-Linux code 31 * setting the date and time), Linux can ignore the non-clock features. 32 * That's a natural job for a factory or repair bench. 56 #define DS1307_REG_SECS 0x00 /* 00-59 */ 60 #define DS1307_REG_MIN 0x01 /* 00-59 */ 62 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 73 return -EOPNOTSUPP; in mlx5_eswitch_check() 76 return -EOPNOTSUPP; in mlx5_eswitch_check() 92 return dev->priv.eswitch; in __mlx5_devlink_eswitch_get() 112 return ERR_PTR(-EPERM); in mlx5_eswitch_get_vport() 114 vport = xa_load(&esw->vports, vport_num); in mlx5_eswitch_get_vport() 116 esw_debug(esw->dev, "vport out of range: num(0x%x)\n", vport_num); in mlx5_eswitch_get_vport() 117 return ERR_PTR(-EINVAL); in mlx5_eswitch_get_vport() 152 /* E-Switch vport context HW commands */ [all …]
|