Home
last modified time | relevance | path

Searched +full:meson6 +full:- +full:efuse (Results 1 – 5 of 5) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/nvmem/
Damlogic,meson6-efuse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/amlogic,meson6-efuse.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Meson6 eFuse
10 - Neil Armstrong <[email protected]>
11 - Martin Blumenstingl <[email protected]>
14 - $ref: nvmem.yaml#
15 - $ref: nvmem-deprecated-cells.yaml#
20 - amlogic,meson6-efuse
[all …]
/linux-6.14.4/drivers/nvmem/
Dmeson-mx-efuse.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Amlogic Meson6, Meson8 and Meson8b eFuse Driver
15 #include <linux/nvmem-provider.h>
49 static void meson_mx_efuse_mask_bits(struct meson_mx_efuse *efuse, u32 reg, in meson_mx_efuse_mask_bits() argument
54 data = readl(efuse->base + reg); in meson_mx_efuse_mask_bits()
58 writel(data, efuse->base + reg); in meson_mx_efuse_mask_bits()
61 static int meson_mx_efuse_hw_enable(struct meson_mx_efuse *efuse) in meson_mx_efuse_hw_enable() argument
65 err = clk_prepare_enable(efuse->core_clk); in meson_mx_efuse_hw_enable()
69 /* power up the efuse */ in meson_mx_efuse_hw_enable()
70 meson_mx_efuse_mask_bits(efuse, MESON_MX_EFUSE_CNTL1, in meson_mx_efuse_hw_enable()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
32 tristate "Apple eFuse support"
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/amlogic/
Dmeson.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/sound/meson-aiu.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 interrupt-parent = <&gic>;
15 iio-hwmon {
16 compatible = "iio-hwmon";
17 io-channels = <&saradc 8>;
[all …]
/linux-6.14.4/drivers/iio/adc/
Dmeson_saradc.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/clk-provider.h>
16 #include <linux/nvmem-consumer.h>
96 (8 + (((_chan) - 2) * 3))
153 * and u-boot source served as reference). These only seem to be relevant on
172 /* temperature sensor calibration information in eFuse */
378 for (i = 0; i < indio_dev->num_channels; i++) in find_channel_by_num()
379 if (indio_dev->channels[i].channel == num) in find_channel_by_num()
380 return &indio_dev->channels[i]; in find_channel_by_num()
389 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_sar_adc_get_fifo_count()
[all …]