Home
last modified time | relevance | path

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

/linux-6.8/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.
20 /* PMIC Arbiter configuration registers */
33 /* PMIC Arbiter channel registers offsets */
50 #define SPMI_MAPPING_TABLE_TREE_DEPTH 16 /* Maximum of 16-bits */
89 * PMIC arbiter version 5 uses different register offsets for read/write vs
97 /* Maximum number of support PMIC peripherals */
129 * struct spmi_pmic_arb - SPMI PMIC Arbiter object
134 * @cnfg: address of the PMIC Arbiter configuration registers.
137 * @irq: PMIC ARB interrupt.
[all …]
/linux-6.8/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 …]
/linux-6.8/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.8/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 */
77 return readl(ssbi->base + reg); in ssbi_readl()
82 writel(val, ssbi->base + reg); in ssbi_writel()
88 * case, is when using the arbiter and both other CPUs have just
99 while (timeout--) { in ssbi_wait_mask()
106 return -ETIMEDOUT; in ssbi_wait_mask()
115 if (ssbi->controller_type == MSM_SBI_CTRL_SSBI2) { in ssbi_read_bytes()
[all …]
/linux-6.8/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.8/arch/arm/boot/dts/qcom/
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-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-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.8/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)
1395 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl()
1400 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel()
1408 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state()
1426 * failed because pmic wrap could not got the FSM_VLDCLR
1464 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16()
[all …]