/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 1 // SPDX-License-Identifier: ISC 7 #include <linux/mtd/mtd.h> 8 #include <linux/mtd/partitions.h> 9 #include <linux/nvmem-consumer.h> 15 struct device_node *np = dev->dev->of_node; in mt76_get_of_eeprom_data() 19 data = of_get_property(np, "mediatek,eeprom-data", &size); in mt76_get_of_eeprom_data() 21 return -ENOENT; in mt76_get_of_eeprom_data() 24 return -EINVAL; in mt76_get_of_eeprom_data() 34 struct device_node *np = dev->dev->of_node; in mt76_get_of_data_from_mtd() 35 struct mtd_info *mtd; in mt76_get_of_data_from_mtd() local [all …]
|
D | testmode.h | 1 /* SPDX-License-Identifier: ISC */ 13 * enum mt76_testmode_attr - testmode attributes inside NL80211_ATTR_TESTDATA 20 * @MT76_TM_ATTR_MTD_PART: mtd partition used for eeprom data (string) 21 * @MT76_TM_ATTR_MTD_OFFSET: offset of eeprom data within the partition (u32) 37 * @MT76_TM_ATTR_TX_POWER: per-antenna tx power array (nested, u8 attrs) 46 * @MT76_TM_ATTR_TX_IPG: tx inter-packet gap, in unit of us (u32) 92 MT76_TM_ATTR_MAX = NUM_MT76_TM_ATTRS - 1, 96 * enum mt76_testmode_state - statistics attributes 121 MT76_TM_STATS_ATTR_MAX = NUM_MT76_TM_STATS_ATTRS - 1, 126 * enum mt76_testmode_rx_attr - packet rx information [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <[email protected]> 12 - Lorenzo Bianconi <[email protected]> 13 - Ryder Lee <[email protected]> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/linux-6.14.4/drivers/mtd/maps/ |
D | pismo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PISMO memory driver - http://www.pismoworld.org/ 14 #include <linux/mtd/physmap.h> 15 #include <linux/mtd/plat-ram.h> 16 #include <linux/mtd/pismo.h> 52 struct i2c_client *client = to_i2c_client(pdev->dev.parent); in pismo_set_vpp() 55 pismo->vpp(pismo->vpp_data, on); in pismo_set_vpp() 72 .addr = client->addr, in pismo_eeprom_read() 76 .addr = client->addr, in pismo_eeprom_read() 83 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in pismo_eeprom_read() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 depends on MTD!=n 7 bool "Support non-linear mappings of flash chips" 21 with config options or at run-time. 79 bool "Baikal-T1 Boot ROMs OF-based physical memory map handling" 86 This provides some extra DT physmap parsing for the Baikal-T1 87 platforms, some detection and setting up ROMs-specific accessors. 90 bool "ARM Versatile OF-based physical memory map handling" 100 bool "Cortina Gemini OF-based physical memory map handling" 111 bool "Intel IXP4xx OF-based physical memory map handling" [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt7601u/ |
D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/mtd/mtd.h> 9 #include <linux/mtd/partitions.h> 13 #include "eeprom.h" 47 return -ETIMEDOUT; in mt7601u_efuse_read() 51 /* Parts of eeprom not in the usage map (0x80-0xc0,0xf0) in mt7601u_efuse_read() 87 cnt_free = end - start + 1; in mt7601u_efuse_physical_size_check() 89 if (MT_EFUSE_USAGE_MAP_SIZE - cnt_free < 5) { in mt7601u_efuse_physical_size_check() 90 …dev_err(dev->dev, "Error: your device needs default EEPROM file and this driver doesn't support it… in mt7601u_efuse_physical_size_check() 91 return -EINVAL; in mt7601u_efuse_physical_size_check() [all …]
|
/linux-6.14.4/drivers/net/ethernet/sfc/falcon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 This driver supports 10-gigabit Ethernet cards based on 14 will be called sfc-falcon. 16 bool "Solarflare SFC4000 MTD support" 17 depends on SFC_FALCON && MTD && !(SFC_FALCON=y && MTD=m) 20 This exposes the on-board flash and/or EEPROM as MTD devices
|
D | falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2006-2013 Solarflare Communications Inc. 134 (*(u32 *)((efx)->stats_buffer.addr + XgDmaDone_offset)) 139 /* 48-bit stats are zero-padded to 64 on DMA */ \ 199 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL, 216 #define SPI_STATUS_WPEN 0x80 /* Write-protect pin enabled */ 225 * Non-volatile memory layout 231 * 0-0x400 chip and board config (see struct falcon_nvconfig) 232 * 0x400-0x8000 unused (or may contain VPD if EEPROM not present) [all …]
|
/linux-6.14.4/drivers/net/ethernet/sfc/siena/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 This driver supports 10-gigabit Ethernet cards based on 13 will be called sfc-siena. 15 bool "Solarflare SFC9000-family MTD support" 16 depends on SFC_SIENA && MTD && !(SFC_SIENA=y && MTD=m) 19 This exposes the on-board flash and/or EEPROM as MTD devices 23 bool "Solarflare SFC9000-family hwmon support" 27 This exposes the on-board firmware-managed sensors as a 30 bool "Solarflare SFC9000-family SR-IOV support" 38 bool "Solarflare SFC9000-family MCDI logging support" [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/mtd/mtd.h> 11 #include <linux/mtd/partitions.h> 15 #include "eeprom.h" 37 cnt_free = end - start + 1; in mt76x0_efuse_physical_size_check() 39 if (MT_EFUSE_USAGE_MAP_SIZE - cnt_free < 5) { in mt76x0_efuse_physical_size_check() 40 dev_err(dev->mt76.dev, in mt76x0_efuse_physical_size_check() 41 "driver does not support default EEPROM\n"); in mt76x0_efuse_physical_size_check() 42 return -EINVAL; in mt76x0_efuse_physical_size_check() 54 dev_dbg(dev->mt76.dev, "2GHz %d 5GHz %d\n", in mt76x0_set_chip_cap() [all …]
|
/linux-6.14.4/drivers/net/ethernet/sfc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "Solarflare SFC9100/EF100-family support" 27 This driver supports 10/40-gigabit Ethernet cards based on 28 the Solarflare SFC9100-family controllers. 30 It also supports 10/25/40/100-gigabit Ethernet cards based 36 bool "Solarflare SFC9100-family MTD support" 37 depends on SFC && MTD && !(SFC=y && MTD=m) 40 This exposes the on-board flash and/or EEPROM as MTD devices 44 bool "Solarflare SFC9100-family hwmon support" 48 This exposes the on-board firmware-managed sensors as a [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mtd/partitions/ |
D | linux,ubi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 physical flash device and spreads the I/O load (i.e wear-leveling) 16 - Daniel Golle <[email protected]> 19 - $ref: partition.yaml# 30 "^ubi-volume-.*$": 31 $ref: /schemas/mtd/partitions/ubi-volume.yaml# 36 - compatible [all …]
|
/linux-6.14.4/arch/arm/boot/dts/broadcom/ |
D | bcm53016-meraki-mr32.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (C) 2018-2020 Christian Lamparter <[email protected]> 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 33 compatible = "gpio-leds"; 39 panic-indicator; 49 compatible = "gpio-keys"; 51 button-restart { 58 pwm-leds { [all …]
|
/linux-6.14.4/drivers/mtd/devices/ |
D | pmc551.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * implements this PCI Ram device as an MTD (Memory Technology 49 * Most of the MTD code for this driver was originally written 50 * for the slram.o module in the MTD drivers package which 51 * allows the mapping of system memory into an MTD device. 93 #include <linux/mtd/mtd.h> 132 static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len, 135 static int pmc551_erase(struct mtd_info *mtd, struct erase_info *instr) in pmc551_erase() argument 137 struct mypriv *priv = mtd->priv; in pmc551_erase() 145 printk(KERN_DEBUG "pmc551_erase(pos:%ld, len:%ld)\n", (long)instr->addr, in pmc551_erase() [all …]
|
/linux-6.14.4/drivers/nvmem/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... 38 calibration data required for the PCIe or the USB-C PHY. 41 be called nvmem-apple-efuses. 44 tristate "Broadcom On-Chip OTP Controller support" 53 will be called nvmem-bcm-ocotp. 73 will be called nvmem-imx-iim. 76 tristate "i.MX 6/7/8 On-Chip OTP Controller support" 80 This is a driver for the On-Chip OTP Controller (OCOTP) available on 81 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable [all …]
|
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/ |
D | imx27-phytec-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 11 compatible = "phytec,imx27-pcm038", "fsl,imx27"; 18 reg_3v3: regulator-0 { 19 compatible = "regulator-fixed"; 20 regulator-name = "3V3"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 25 reg_5v0: regulator-1 { 26 compatible = "regulator-fixed"; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/marvell/ |
D | orion5x-lacie-ethernet-disk-mini-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 * TODO: add power-off support. 8 * TODO: add I2C EEPROM support. 11 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include "orion5x-mv88f5182.dtsi" 20 compatible = "lacie,ethernet-disk-mini-v2", "marvell,orion5x-88f5182", "marvell,orion5x"; [all …]
|
D | orion5x-lacie-d2-network.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include "orion5x-mv88f5182.dtsi" 16 compatible = "lacie,d2-network", "marvell,orion5x-88f5182", "marvell,orion5x"; 25 stdout-path = &uart0; 34 gpio-keys { [all …]
|
/linux-6.14.4/arch/powerpc/boot/dts/ |
D | pdm360ng.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009 - 2010 DENX Software Engineering. 17 #address-cells = <1>; 18 #size-cells = <1>; 19 interrupt-parent = <&ipic>; 27 bank-width = <0x1>; 41 compatible = "amd,s29gl01gp", "cfi-flash"; 44 #address-cells = <1>; 45 #size-cells = <1>; 46 bank-width = <4>; [all …]
|
D | pcm032.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * phyCORE-MPC5200B-IO (pcm032) board Device Tree Source 5 * Copyright (C) 2006-2009 Pengutronix 11 &gpt0 { fsl,has-wdt; }; 12 &gpt2 { gpio-controller; }; 13 &gpt3 { gpio-controller; }; 14 &gpt4 { gpio-controller; }; 15 &gpt5 { gpio-controller; }; 16 &gpt6 { gpio-controller; }; 17 &gpt7 { gpio-controller; }; [all …]
|
/linux-6.14.4/arch/powerpc/boot/dts/fsl/ |
D | mvme2500.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A. 11 /include/ "p2020si-pre.dtsi" 43 eeprom@54 { 48 eeprom@52 { 53 eeprom@53 { 58 eeprom@50 { 66 fsl,espi-num-chipselects = <2>; 69 compatible = "atmel,at25df641", "jedec,spi-nor"; 71 spi-max-frequency = <10000000>; [all …]
|
/linux-6.14.4/arch/mips/boot/dts/ralink/ |
D | gardena_smart_gateway_mt7688.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 14 compatible = "gardena,smart-gateway-mt7688", "ralink,mt7688a-soc", 15 "ralink,mt7628a-soc"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinmux_gpio_gpio>; /* GPIO11 */ [all …]
|
/linux-6.14.4/arch/arm/boot/dts/ti/omap/ |
D | am335x-moxa-uc-2100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/ 13 vbat: vbat-regulator { 14 compatible = "regulator-fixed"; 18 vmmcsd_fixed: vmmcsd-regulator { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmmcsd_fixed"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 23 regulator-boot-on; [all …]
|
D | am335x-moxa-uc-8100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020 MOXA Inc. - https://www.moxa.com/ 14 cpu0-supply = <&vdd1_reg>; 18 vbat: vbat-regulator { 19 compatible = "regulator-fixed"; 23 vmmcsd_fixed: vmmcsd-regulator { 24 compatible = "regulator-fixed"; 25 regulator-name = "vmmcsd_fixed"; 26 regulator-min-microvolt = <3300000>; 27 regulator-max-microvolt = <3300000>; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/renesas/ |
D | r7s72100-rskrza1.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 24 stdout-path = "serial0:115200n8"; 33 compatible = "mtd-rom"; 36 power-domains = <&cpg_clocks>; 37 bank-width = <4>; 38 device-width = <1>; [all …]
|