/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,pmic-mpp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-mpp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC Multi-Purpose Pin (MPP) block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 This binding describes the MPP block(s) found in the 8xxx series of 14 PMIC's from Qualcomm. 19 - items: 20 - enum: [all …]
|
H A D | marvell,dove-pinctrl.txt | 1 * Marvell Dove SoC pinctrl driver for mpp 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,dove-pinctrl" 8 - clocks: (optional) phandle of pdma clock 9 - reg: register specifiers of MPP, MPP4, and PMU MPP registers 11 Available mpp pins/groups and functions: 12 Note: brackets (x) are not part of the mpp name for marvell,function and given 23 uart1(cts), lcd-spi(cs1), pmu* 31 mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), 39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmi8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 7 pmic@2 { 8 compatible = "qcom,pmi8994", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 14 compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; 16 gpio-controller; 17 gpio-ranges = <&pmi8994_gpios 0 0 10>; [all …]
|
H A D | pm8950.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/spmi/spmi.h> 15 pmic@0 { 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
H A D | pmi8950.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/spmi/spmi.h> 9 pmic@2 { 10 compatible = "qcom,pmi8950", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,spmi-vadc"; 19 #address-cells = <1>; [all …]
|
H A D | pm8994.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> 8 thermal-zones { 9 pm8994-thermal { 10 polling-delay-passive = <250>; 12 thermal-sensors = <&pm8994_temp>; 15 pm8994_alert0: pm8994-alert0 { [all …]
|
H A 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> 8 thermal-zones { 9 pm8916-thermal { 10 polling-delay-passive = <100>; 12 thermal-sensors = <&pm8916_temp>; 38 pm8916_0: pmic@0 { [all …]
|
H A D | msm8996-sony-xperia-tone.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 18 /delete-node/ &adsp_mem; 19 /delete-node/ &slpi_mem; 20 /delete-node/ &venus_mem; 21 /delete-node/ &gpu_mem; [all …]
|
H A D | msm8939-wingtech-wt82918.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-modem-qdsp6.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 stdout-path = "serial0"; 21 compatible = "pwm-backlight"; 23 brightness-levels = <0 255>; 24 num-interpolated-steps = <255>; 25 default-brightness-level = <128>; [all …]
|
H A D | msm8916-wingtech-wt865x8.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 stdout-path = "serial0"; 20 headphones_switch: audio-switch { 21 compatible = "simple-audio-amplifier"; 23 pinctrl-0 = <&headphones_switch_default>; 24 pinctrl-names = "default"; [all …]
|
H A D | msm8939-longcheer-l9100.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 17 chassis-type = "handset"; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | pm8821.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /* This PMIC is used on a secondary SSBI bus */ 5 pm8821: pmic { 7 interrupt-controller; 8 #interrupt-cells = <2>; 9 #address-cells = <1>; 10 #size-cells = <0>; 13 compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; 15 gpio-controller; 16 #gpio-cells = <2>; [all …]
|
H A D | pm8841.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 7 thermal-zones { 8 pm8841-thermal { 9 polling-delay-passive = <100>; 10 polling-delay = <0>; 11 thermal-sensors = <&pm8841_temp>; 39 compatible = "qcom,pm8841", "qcom,spmi-pmic"; 41 #address-cells = <1>; [all …]
|
H A D | pma8084.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,pma8084", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,pm8941-rtc"; 19 reg-names = "rtc", "alarm"; [all …]
|
H A D | pm8018.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 pm8018: pmic { 12 #interrupt-cells = <2>; 13 interrupt-controller; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "qcom,pm8018-pwrkey", 19 "qcom,pm8921-pwrkey"; 21 interrupts-extended = <&pm8018 50 IRQ_TYPE_EDGE_RISING>, 24 pull-up; [all …]
|
H A D | pm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 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> 8 thermal-zones { 9 pm8226-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8226_temp>; [all …]
|
H A D | 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> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
H A D | pm8921.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 pm8921: pmic { 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8921-pwrkey"; 14 interrupts-extended = <&pm8921 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8921-mpp", [all …]
|
H A D | pm8058.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 pm8058: pmic { 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8058-pwrkey"; 14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8058-keypad-led"; [all …]
|
/linux/drivers/pinctrl/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "Qualcomm SPMI PMIC pin controller driver" 31 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 32 which are using SPMI for communication with SoC. Example PMIC's 36 tristate "Qualcomm SSBI PMIC pin controller driver" 46 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 47 which are using SSBI for communication with SoC. Example PMIC's
|
H A D | pinctrl-spmi-mpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 16 #include <linux/pinctrl/pinconf-generic.h> 20 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 23 #include "../pinctrl-utils.h" 28 * Pull Up Values - it indicates whether a pull-up should be 41 /* mpp peripheral type and subtype values */ 106 * struct pmic_mpp_pad - keep current MPP settings 108 * @is_enabled: Set to false when MPP should be put in high Z state. 110 * @output_enabled: Set to true if MPP output logic is enabled. [all …]
|
H A D | pinctrl-ssbi-mpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/pinctrl/pinconf-generic.h> 22 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 25 #include "../pinctrl-utils.h" 27 /* MPP registers */ 31 /* MPP Type: type */ 90 * struct pm8xxx_pin_data - dynamic configuration for a pin 96 * @paired: mpp operates in paired mode 97 * @output_value: logical output value of the mpp 135 {"qcom,amux-route", PM8XXX_CONFIG_AMUX, 0}, [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-dove.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "pinctrl-mvebu.h" 23 #define INT_REGS_MASK ~(SZ_1M - 1) 28 /* MPP Base registers */ 32 /* MPP Control 4 register */ 68 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_get() 86 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 90 writel(pmu & ~BIT(pid), data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 94 writel(pmu | BIT(pid), data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 126 return -EINVAL; in dove_mpp4_ctrl_get() [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | isil,isl12057.txt | 8 ("wakeup-source") to handle the specific use-case found 9 on at least three in-tree users of the chip (NETGEAR ReadyNAS 102, 104 10 and 2120 ARM-based NAS); On those devices, the IRQ#2 pin of the chip 12 to the SoC but to a PMIC. It allows the device to be powered up when 20 - "compatible": must be "isil,isl12057" 21 - "reg": I2C bus address of the device 25 - "wakeup-source": mark the chip as a wakeup source, independently of 38 that the pinctrl-related properties below are given for completeness and 40 SoC, and the main function of the MPP used as IRQ line, i.e. 41 "interrupt-parent" and "interrupts" are usually sufficient): [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A 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 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. 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|