Searched +full:spmi +full:- +full:sdam (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/nvmem/ |
D | qcom-spmi-sdam.c | 1 // 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 …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_NVMEM) += nvmem_core.o 7 nvmem_core-y := core.o 8 obj-$(CONFIG_NVMEM_LAYOUTS) += nvmem_layouts.o 9 nvmem_layouts-y := layouts.o 10 obj-y += layouts/ 13 obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o 14 nvmem-apple-efuses-y := apple-efuses.o 15 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o 16 nvmem-bcm-ocotp-y := bcm-ocotp.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 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 85 will be called nvmem-imx-ocotp. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/nvmem/ |
D | qcom,spmi-sdam.yaml | 1 # 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 - David Collins <quic_collinsd@quicinc.com> 13 The SDAM provides scratch register space for the PMIC clients. This 18 - $ref: nvmem.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# 24 - qcom,spmi-sdam [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sa8540p-pmics.dtsi | 1 // 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 …]
|
D | pmk8550.dtsi | 1 // 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 …]
|
D | pmk8350.dtsi | 1 // 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 …]
|
D | pmi632.dtsi | 1 // 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>; 15 thermal-sensors = <&pmi632_temp>; 42 compatible = "qcom,pmi632", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
D | sa8775p-pmics.dtsi | 1 // 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>; 14 thermal-sensors = <&pmm8654au_0_temp_alarm>; 31 pmm8654au_1_thermal: pm8775-1-thermal { 32 polling-delay-passive = <100>; 34 thermal-sensors = <&pmm8654au_1_temp_alarm>; [all …]
|
D | sc8280xp-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 7 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/spmi/spmi.h> 14 thermal-zones { 15 pm8280_1_thermal: pm8280-1-thermal { 16 polling-delay-passive = <100>; [all …]
|
D | x1e80100-pmics.dtsi | 1 // 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 thermal-zones { 13 pm8550-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pm8550_temp_alarm>; 33 pm8550ve-2-thermal { [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | qcom,spmi-pmic.yaml | 1 # 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 …]
|
/linux-6.12.1/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 1 // 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. 5 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. 9 #include <linux/led-class-multicolor.h> 11 #include <linux/nvmem-consumer.h> 17 #include <linux/soc/qcom/qcom-pbs.h> 42 #define PWM_DTEST_REG(x) (0xe2 + (x) - 1) 86 * struct lpg - LPG device context 90 * @pwm: PWM-chip object, if operating in PWM mode [all …]
|