Home
last modified time | relevance | path

Searched full:sdam (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/nvmem/
Dqcom-spmi-sdam.c34 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()
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()
76 rc = regmap_bulk_read(sdam->regmap, sdam->base + offset, val, bytes); in sdam_read()
78 dev_err(dev, "Failed to read SDAM offset %#x len=%zd, rc=%d\n", in sdam_read()
87 struct sdam_chip *sdam = priv; in sdam_write() local
88 struct device *dev = sdam->sdam_config.dev; in sdam_write()
[all …]
DMakefile65 obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o
66 nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o
DKconfig303 tristate "SPMI SDAM Support"
308 an interface to read/write to the SDAM module's shared memory.
/linux-6.12.1/Documentation/devicetree/bindings/nvmem/
Dqcom,spmi-sdam.yaml4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
7 title: Qualcomm Technologies, Inc. SPMI SDAM
13 The SDAM provides scratch register space for the PMIC clients. This
24 - qcom,spmi-sdam
45 compatible = "qcom,spmi-sdam";
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-qcom-lpg.yaml74 PMIC stores LPG per-channel data and pattern LUT in SDAM modules instead
76 and pattern LUT is separated into 2 SDAM modules. In that case, phandles
77 to both SDAM modules need to be specified.
92 single SDAM PPG.
/linux-6.12.1/drivers/leds/rgb/
Dleds-qcom-lpg.c96 * @lpg_chan_sdam: LPG SDAM peripheral device
97 * @lut_sdam: LUT SDAM peripheral device
141 * @sdam_offset: channel offset in LPG SDAM
220 * @sdam_offset: Channel offset in LPG SDAM
1038 * SDAM-based devices do not support "ping pong", and only supports in lpg_pattern_set()
1039 * "low pause" and "high pause" with a dedicated SDAM LUT. in lpg_pattern_set()
1084 * SDAM-based devices without dedicated LUT SDAM require equal in lpg_pattern_set()
1556 /* Get the 1st SDAM device for LPG/LUT config */ in lpg_init_sdam()
1560 "Failed to get LPG chan SDAM device\n"); in lpg_init_sdam()
1563 /* Get PBS device node if single SDAM device */ in lpg_init_sdam()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpmk8550.dtsi55 compatible = "qcom,spmi-sdam";
Dsa8540p-pmics.dtsi43 compatible = "qcom,spmi-sdam";
Dpmk8350.dtsi80 compatible = "qcom,spmi-sdam";
Dpmi632.dtsi165 compatible = "qcom,spmi-sdam";
Dsa8775p-pmics.dtsi146 compatible = "qcom,spmi-sdam";
Dsc8280xp-pmics.dtsi143 compatible = "qcom,spmi-sdam";
Dx1e80100-pmics.dtsi231 compatible = "qcom,spmi-sdam";
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml163 $ref: /schemas/nvmem/qcom,spmi-sdam.yaml#