Home
last modified time | relevance | path

Searched +full:spmi +full:- +full:sdam (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/
Dqcom,spmi-sdam.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. SPMI SDAM
10 - Shyam Kumar Thella <sthella@codeaurora.org>
13 The SDAM provides scratch register space for the PMIC clients. This
18 - $ref: nvmem.yaml#
23 - qcom,spmi-sdam
31 - compatible
[all …]
/kernel/linux/linux-6.6/drivers/nvmem/
Dqcom-spmi-sdam.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017, 2020-2021, The Linux Foundation. All rights reserved.
9 #include <linux/nvmem-provider.h>
34 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid() argument
37 unsigned int sdam_mem_end = SDAM_MEM_START + sdam->size - 1; in sdam_is_valid()
43 && (offset + len - 1) <= sdam_mem_end) in sdam_is_valid()
66 struct sdam_chip *sdam = priv; in sdam_read() local
67 struct device *dev = sdam->sdam_config.dev; in sdam_read()
70 if (!sdam_is_valid(sdam, offset, bytes)) { in sdam_read()
71 dev_err(dev, "Invalid SDAM offset %#x len=%zd\n", in sdam_read()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
8 obj-y += layouts/
11 obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o
12 nvmem-apple-efuses-y := apple-efuses.o
13 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
14 nvmem-bcm-ocotp-y := bcm-ocotp.o
15 obj-$(CONFIG_NVMEM_BRCM_NVRAM) += nvmem_brcm_nvram.o
16 nvmem_brcm_nvram-y := brcm_nvram.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
37 calibration data required for the PCIe or the USB-C PHY.
40 be called nvmem-apple-efuses.
43 tristate "Broadcom On-Chip OTP Controller support"
52 will be called nvmem-bcm-ocotp.
72 will be called nvmem-imx-iim.
75 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
79 This is a driver for the On-Chip OTP Controller (OCOTP) available on
80 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
84 will be called nvmem-imx-ocotp.
[all …]
/kernel/linux/linux-5.10/drivers/nvmem/
Dqcom-spmi-sdam.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017, 2020-2021, The Linux Foundation. All rights reserved.
10 #include <linux/nvmem-provider.h>
34 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid() argument
37 unsigned int sdam_mem_end = SDAM_MEM_START + sdam->size - 1; in sdam_is_valid()
43 && (offset + len - 1) <= sdam_mem_end) in sdam_is_valid()
66 struct sdam_chip *sdam = priv; in sdam_read() local
67 struct device *dev = sdam->sdam_config.dev; in sdam_read()
70 if (!sdam_is_valid(sdam, offset, bytes)) { in sdam_read()
71 dev_err(dev, "Invalid SDAM offset %#x len=%zd\n", in sdam_read()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
10 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
11 nvmem-bcm-ocotp-y := bcm-ocotp.o
12 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
13 nvmem-imx-iim-y := imx-iim.o
14 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
15 nvmem-imx-ocotp-y := imx-ocotp.o
16 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 will be called nvmem-imx-iim.
36 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
40 This is a driver for the On-Chip OTP Controller (OCOTP) available on
41 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
45 will be called nvmem-imx-ocotp.
48 tristate "i.MX8 SCU On-Chip OTP Controller support"
52 This is a driver for the SCU On-Chip OTP Controller (OCOTP)
88 tristate "Freescale MXS On-Chip OTP Memory Support"
97 will be called nvmem-mxs-ocotp.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/
Dqcom,spmi-sdam.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. SPMI SDAM DT bindings
10 - Shyam Kumar Thella <sthella@codeaurora.org>
13 The SDAM provides scratch register space for the PMIC clients. This
18 - $ref: "nvmem.yaml#"
23 - qcom,spmi-sdam
28 "#address-cells":
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsa8540p-pmics.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
12 compatible = "qcom,pm8150", "qcom,spmi-pmic";
14 #address-cells = <1>;
15 #size-cells = <0>;
18 compatible = "qcom,pm8941-rtc";
20 reg-names = "rtc", "alarm";
22 wakeup-source;
26 compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
[all …]
Dpmk8550.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 reboot-mode {
13 compatible = "nvmem-reboot-mode";
14 nvmem-cells = <&reboot_reason>;
15 nvmem-cell-names = "reboot-mode";
16 mode-recovery = <0x01>;
[all …]
Dpmk8350.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
17 reboot-mode {
18 compatible = "nvmem-reboot-mode";
19 nvmem-cells = <&reboot_reason>;
20 nvmem-cell-names = "reboot-mode";
21 mode-recovery = <0x01>;
[all …]
Dpmi632.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
11 thermal-zones {
12 pmi632-thermal {
13 polling-delay-passive = <100>;
14 polling-delay = <0>;
16 thermal-sensors = <&pmi632_temp>;
43 compatible = "qcom,pmi632", "qcom,spmi-pmic";
[all …]
Dsc8280xp-pmics.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
11 thermal-zones {
12 pm8280_1_thermal: pm8280-1-thermal {
13 polling-delay-passive = <100>;
14 polling-delay = <0>;
15 thermal-sensors = <&pm8280_1_temp_alarm>;
32 pm8280_2_thermal: pm8280-2-thermal {
[all …]
Dsa8775p-pmics.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/spmi/spmi.h>
10 thermal-zones {
11 pmm8654au_0_thermal: pm8775-0-thermal {
12 polling-delay-passive = <100>;
13 polling-delay = <0>;
14 thermal-sensors = <&pmm8654au_0_temp_alarm>;
31 pmm8654au_1_thermal: pm8775-1-thermal {
32 polling-delay-passive = <100>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI PMICs multi-function device
11 to the chip via the SPMI (System Power Management Interface) bus.
13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
16 The Qualcomm SPMI series includes the PM8941, PM8841, PMA8084, PM8998 and other
17 PMICs. These PMICs use a "QPNP" scheme through SPMI interface.
[all …]
/kernel/linux/linux-6.6/drivers/leds/rgb/
Dleds-qcom-lpg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2022 Linaro Ltd
4 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
9 #include <linux/led-class-multicolor.h>
40 #define PWM_DTEST_REG(x) (0xe2 + (x) - 1)
58 * struct lpg - LPG device context
62 * @pwm: PWM-chip object, if operating in PWM mode
68 * @triled_src: power-source for the TRILED
98 * struct lpg_channel - per channel data
162 * struct lpg_led - logical LED object
[all …]