/Linux-v5.10/drivers/staging/hikey9xx/ |
D | hisilicon,hisi-spmi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon SPMI controller 10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 13 The HiSilicon SPMI BUS controller is found on some Kirin-based designs. 14 It is a MIPI System Power Management (SPMI) controller. 17 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml. 21 pattern: "spmi@[0-9a-f]" [all …]
|
D | hisi-spmi-controller.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/spmi.h> 16 * SPMI register addr 37 * SPMI cmd register 62 * SPMI status register 79 u32 channel; member 90 offset += SPMI_CHANNEL_OFFSET * ctrl_dev->channel + SPMI_SLAVE_OFFSET * sid; in spmi_controller_wait_for_done() 99 return -EIO; in spmi_controller_wait_for_done() 105 } while (timeout--); in spmi_controller_wait_for_done() 108 return -ETIMEDOUT; in spmi_controller_wait_for_done() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC ADC 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read 15 voltage. The VADC is a 15-bit sigma-delta ADC. 16 SPMI PMIC5/PMIC7 voltage ADC (ADC) provides interface to clients to read [all …]
|
D | qcom,spmi-iadc.txt | 1 Qualcomm's SPMI PMIC current ADC 5 through an external resistor (channel 1) or internal (built-in) resistor 6 (channel 0). When using an external resistor it is to be described by 7 qcom,external-resistor-micro-ohms property. 11 - compatible: 14 Definition: Should contain "qcom,spmi-iadc". 16 - reg: 18 Value type: <prop-encoded-array> 19 Definition: IADC base address and length in the SPMI PMIC register map 21 - interrupts: [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/spmi/ |
D | qcom,spmi-pmic-arb.txt | 1 Qualcomm SPMI Controller (PMIC Arbiter) 3 The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI 4 controller with wrapping arbitration logic to allow for multiple on-chip 5 devices to control a single SPMI master. 10 See Documentation/devicetree/bindings/spmi/spmi.yaml for the generic SPMI 13 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 17 - compatible : should be "qcom,spmi-pmic-arb". 18 - reg-names : must contain: 19 "core" - core registers 20 "intr" - interrupt controller registers [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | qcom-pma8084.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 9 compatible = "qcom,pma8084", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
D | qcom-pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
D | qcom-apq8084.dtsi | 1 // 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-apq8084.h> 6 #include <dt-bindings/gpio/gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 13 interrupt-parent = <&intc>; 15 reserved-memory { 16 #address-cells = <1>; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/thermal/ |
D | qcom-spmi-temp-alarm.txt | 4 that utilize the Qualcomm SPMI implementation. These peripherals provide an 8 - compatible: Should contain "qcom,spmi-temp-alarm". 9 - reg: Specifies the SPMI address. 10 - interrupts: PMIC temperature alarm interrupt. 11 - #thermal-sensor-cells: Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.… 14 - io-channels: Should contain IIO channel specifier for the ADC channel, 16 - io-channel-names: Should contain "thermal". 20 pm8941_temp: thermal-alarm@2400 { 21 compatible = "qcom,spmi-temp-alarm"; 24 #thermal-sensor-cells = <0>; [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | pm6150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 8 #include <dt-bindings/thermal/thermal.h> 12 compatible = "qcom,pm6150", "qcom,spmi-pmic"; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "qcom,pm8998-pon"; [all …]
|
D | pm8150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150l_temp>; 44 compatible = "qcom,pm8150l", "qcom,spmi-pmic"; [all …]
|
D | pm8998.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 13 polling-delay-passive = <250>; 14 polling-delay = <1000>; 16 thermal-sensors = <&pm8998_temp>; [all …]
|
D | pm8150b.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150b_temp>; 44 compatible = "qcom,pm8150b", "qcom,spmi-pmic"; [all …]
|
D | pm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 15 polling-delay-passive = <100>; 16 polling-delay = <0>; 18 thermal-sensors = <&pm8150_temp>; [all …]
|
D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/spmi/spmi.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/thermal/thermal.h> 10 thermal-zones { 12 polling-delay-passive = <250>; 13 polling-delay = <1000>; 15 thermal-sensors = <&pms405_temp>; 18 pms405_alert0: pms405-alert0 { [all …]
|
D | pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 10 compatible = "qcom,pm8916", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,pm8916-pon"; 18 mode-bootloader = <0x2>; [all …]
|
D | sdm660.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 11 interrupt-parent = <&intc>; 13 #address-cells = <2>; 14 #size-cells = <2>; 20 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <19200000>; 23 clock-output-names = "xo_board"; [all …]
|
D | msm8992.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8994.h> 9 interrupt-parent = <&intc>; 11 #address-cells = <2>; 12 #size-cells = <2>; 17 #address-cells = <2>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a53"; [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | qcom-spmi-adc5.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 22 #include "qcom-vadc-common.h" 103 * struct adc5_channel_prop - ADC channel property. 104 * @channel: channel number, refer to the channel list. 107 * @decimation: sampling rate supported for the channel. 108 * @sid: slave id of PMIC owning the channel, for PMIC7. 109 * @prescale: channel scaling performed on the input signal. 115 * physical units desired by the client for the channel. 116 * @datasheet_name: Channel name used in device tree. [all …]
|
D | qcom-spmi-iadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 87 /* IADC channel list */ 95 * struct iadc_chip - IADC Current ADC device structure. 123 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() 133 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() 192 dev_err(iadc->dev, in iadc_status_show() 197 static int iadc_configure(struct iadc_chip *iadc, int channel) in iadc_configure() argument 208 /* Channel selection */ in iadc_configure() 209 ret = iadc_write(iadc, IADC_CH_SEL_CTL, channel); in iadc_configure() [all …]
|
D | qcom-spmi-vadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 23 #include "qcom-vadc-common.h" 76 * struct vadc_channel_prop - VADC channel property. 77 * @channel: channel number, refer to the channel list. 79 * @decimation: sampling rate supported for the channel. 80 * @prescale: channel scaling performed on the input signal. 86 * physical units desired by the client for the channel. 89 unsigned int channel; member [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 72 8 Channel ADC with temperature sensor. 82 8 Channel ADC with temperature sensor. 94 8 Channel ADC with temperature sensor. 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). [all …]
|
/Linux-v5.10/drivers/spmi/ |
D | spmi-pmic-arb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, 2017, The Linux Foundation. All rights reserved. 18 #include <linux/spmi.h> 27 /* PMIC Arbiter channel registers offsets */ 44 #define SPMI_MAPPING_TABLE_TREE_DEPTH 16 /* Maximum of 16-bits */ 54 /* Channel Status fields */ 123 * spmi_pmic_arb - SPMI PMIC Arbiter object 127 * @intr: address of the SPMI interrupt control registers. 130 * @channel: execution environment channel to use for accesses. 135 * @mapping_table: in-memory copy of PPID -> APID mapping table. [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
/Linux-v5.10/drivers/extcon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 33 tristate "X-Power AXP288 EXTCON support" 38 and USB MUX switching by X-Power AXP288 PMIC. 99 enable a system with an integrated USB OTG dual-role transceiver to 100 function as an USB OTG dual-role device. 143 detection by NXP PTN5150 CC (Configuration Channel) logic chip. 149 Say Y here to enable SPMI PMIC based USB cable detection 187 using Chrome OS EC based USB Type-C ports.
|