| /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/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/drivers/mtd/devices/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Self-contained MTD device drivers" 12 These devices come in memory configurations from 32M - 1G. If you 41 tristate "DEC MS02-NV NVRAM module support" 44 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery 45 backed-up NVRAM module. The module was originally meant as an NFS 52 The module will be called ms02-nv. 59 Sometimes DataFlash chips are packaged inside MMC-format 77 one-time-programmable (OTP) data. The first half may be written 79 other key product data. The second half is programmed with a [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/drivers/nvmem/ |
| 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/arch/arm64/boot/dts/freescale/ |
| 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 | 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 | 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/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/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. 47 #define ATH10K_DEFAULT_NOISE_FLOOR -95 68 /* SMBIOS type structure length (excluding strings-set) */ 145 return (struct ath10k_skb_cb *)&IEEE80211_SKB_CB(skb)->driver_data; in ATH10K_SKB_CB() 150 BUILD_BUG_ON(sizeof(struct ath10k_skb_rxcb) > sizeof(skb->cb)); in ATH10K_SKB_RXCB() 151 return (struct ath10k_skb_rxcb *)skb->cb; in ATH10K_SKB_RXCB() 283 u32 cycle_count; /* Total on-channel time */ [all …]
|
| /linux/drivers/power/supply/ |
| H A D | qcom_smbx.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 smb_chip - smb chip structure 419 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb_get_prop_usb_online() 421 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb_get_prop_usb_online() 446 rc = regmap_read(chip->regmap, chip->base + APSD_STATUS, &apsd_stat); in smb_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/sfc/siena/ |
| H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
| /linux/drivers/net/ethernet/neterion/ |
| H A D | s2io.c | 2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC 3 * Copyright(c) 2002-2010 Exar Corp. 47 * Default is '2' - which means disable in promisc mode 48 * and enable in non-promiscuous mode. 60 #include <linux/dma-mapping.h> 78 #include <linux/io-64-nonatomic-lo-hi.h> 89 #include "s2io-regs.h" 104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT() 105 (GET_RXD_MARKER(rxdp->Control_2) != THE_RXD_MARK)); in RXD_IS_UP2DT() 125 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up() [all …]
|