Home
last modified time | relevance | path

Searched +full:pmic +full:- +full:arbiter (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/spmi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 SPMI (System Power Management Interface) is a two-wire
10 and Power Management Integrated Circuits (PMIC).
20 built-in SPMI PMIC Arbiter interface on Hisilicon 3670
24 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
31 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
38 tristate "Mediatek SPMI Controller (PMIC Arbiter)"
42 built-in SPMI PMIC Arbiter interface on Mediatek family
Dspmi-pmic-arb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, 2017, 2021, The Linux Foundation. All rights reserved.
22 /* PMIC Arbiter configuration registers */
35 /* PMIC Arbiter channel registers offsets */
52 #define SPMI_MAPPING_TABLE_TREE_DEPTH 16 /* Maximum of 16-bits */
91 * PMIC arbiter version 5 uses different register offsets for read/write vs
101 /* Maximum number of support PMIC peripherals */
135 * struct spmi_pmic_arb_bus - SPMI PMIC Arbiter Bus object
137 * @pmic_arb: the SPMI PMIC Arbiter the bus belongs to.
138 * @domain: irq domain object for PMIC IRQ domain
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/spmi/
Dqcom,spmi-pmic-arb.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SPMI Controller (PMIC Arbiter)
10 - Stephen Boyd <sboyd@kernel.org>
13 The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI
14 controller with wrapping arbitration logic to allow for multiple on-chip
17 The PMIC Arbiter can also act as an interrupt controller, providing interrupts
21 - $ref: spmi.yaml
[all …]
Dqcom,x1e80100-spmi-pmic-arb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spmi/qcom,x1e80100-spmi-pmic-arb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm X1E80100 SPMI Controller (PMIC Arbiter v7)
10 - Stephen Boyd <sboyd@kernel.org>
13 The X1E80100 SPMI PMIC Arbiter implements HW version 7 and it's an SPMI
14 controller with wrapping arbitration logic to allow for multiple on-chip
17 The PMIC Arbiter can also act as an interrupt controller, providing interrupts
22 const: qcom,x1e80100-spmi-pmic-arb
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/bus/
Dqcom,ssbi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Single-wire Serial Bus Interface (SSBI)
10 Some Qualcomm MSM devices contain a point-to-point serial bus used to
15 - Andy Gross <agross@kernel.org>
16 - Bjorn Andersson <andersson@kernel.org>
25 qcom,controller-type:
31 - ssbi
32 - ssbi2
[all …]
/linux-6.12.1/drivers/mfd/
Dssbi.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2009-2013, The Linux Foundation. All rights reserved.
8 * - Largely rewritten from original to not be an i2c driver.
46 /* SSBI PMIC Arbiter command registers */
76 return readl(ssbi->base + reg); in ssbi_readl()
81 writel(val, ssbi->base + reg); in ssbi_writel()
87 * case, is when using the arbiter and both other CPUs have just
98 while (timeout--) { in ssbi_wait_mask()
105 return -ETIMEDOUT; in ssbi_wait_mask()
114 if (ssbi->controller_type == MSM_SBI_CTRL_SSBI2) { in ssbi_read_bytes()
[all …]
/linux-6.12.1/drivers/iio/adc/
Dqcom-pm8xxx-xoadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Qualcomm PM8xxx PMIC XOADC driver
7 * specific-purpose and general purpose ADC converters and channels.
13 #include <linux/iio/adc/qcom-vadc-common.h>
27 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC:
28 * drivers/misc/pmic8058-xoadc.c
29 * drivers/hwmon/pm8xxx-adc.c
155 * struct xoadc_channel - encodes channel properties and defaults
162 * @prescale: the channels have hard-coded prescale ratios defined
185 * struct xoadc_variant - encodes the XOADC variant characteristics
[all …]
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-mdm9615.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/clock/qcom,gcc-mdm9615.h>
13 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
14 #include <dt-bindings/reset/qcom,gcc-mdm9615.h>
15 #include <dt-bindings/mfd/qcom-rpm.h>
16 #include <dt-bindings/soc/qcom,gsbi.h>
19 #address-cells = <1>;
20 #size-cells = <1>;
[all …]
Dqcom-msm8960.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
8 #include <dt-bindings/mfd/qcom-rpm.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
[all …]
Dqcom-msm8660.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8660.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 interrupt-parent = <&intc>;
17 #address-cells = <1>;
[all …]
Dqcom-apq8064.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
5 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
[all …]
Dqcom-ipq8064.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/mfd/qcom-rpm.h>
6 #include <dt-bindings/clock/qcom,rpmcc.h>
7 #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
8 #include <dt-bindings/clock/qcom,lcc-ipq806x.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/reset/qcom,gcc-ipq806x.h>
11 #include <dt-bindings/soc/qcom,gsbi.h>
[all …]
/linux-6.12.1/drivers/soc/mediatek/
Dmtk-pmic-wrap.c1 // SPDX-License-Identifier: GPL-2.0-only
1337 * pwrap operations are highly associated with the PMIC types,
1346 * struct pwrap_slv_type - PMIC device wrapper definitions
1348 * @type: PMIC Type (model)
1350 * @comp_type: Companion PMIC Type (model)
1391 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl()
1396 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel()
1404 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state()
1422 * failed because pmic wrap could not got the FSM_VLDCLR
1460 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dx1e80100.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,rpmh.h>
7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h>
9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h>
10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h>
11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h>
12 #include <dt-bindings/dma/qcom-gpi.h>
13 #include <dt-bindings/interconnect/qcom,icc.h>
14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
[all …]