/linux/drivers/power/reset/ |
H A D | qcom-pon.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-18 Linaro Limited 12 #include <linux/reboot-mode.h> 33 struct pm8916_pon *pon = container_of in pm8916_reboot_mode_write() local 37 ret = regmap_update_bits(pon->regmap, in pm8916_reboot_mode_write() 38 pon->baseaddr + PON_SOFT_RB_SPARE, in pm8916_reboot_mode_write() 39 GENMASK(7, pon->reason_shift), in pm8916_reboot_mode_write() 40 magic << pon->reason_shift); in pm8916_reboot_mode_write() 42 dev_err(pon->dev, "update reboot mode bits failed\n"); in pm8916_reboot_mode_write() 49 struct pm8916_pon *pon; in pm8916_pon_probe() local [all …]
|
/linux/drivers/watchdog/ |
H A D | pm8916_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 49 return regmap_update_bits(wdt->regmap, in pm8916_wdt_start() 50 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_start() 58 return regmap_update_bits(wdt->regmap, in pm8916_wdt_stop() 59 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_stop() 67 return regmap_write(wdt->regmap, wdt->baseaddr + PON_PMIC_WD_RESET_PET, in pm8916_wdt_ping() 76 err = regmap_write(wdt->regmap, in pm8916_wdt_configure_timers() 77 wdt->baseaddr + PON_PMIC_WD_RESET_S1_TIMER, in pm8916_wdt_configure_timers() 78 wdev->timeout - wdev->pretimeout); in pm8916_wdt_configure_timers() 82 return regmap_write(wdt->regmap, in pm8916_wdt_configure_timers() [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | qcom,pon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/qcom,pon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PON Device 10 - Vinod Koul <vkoul@kernel.org> 14 and resin along with the Android reboot-mode. 21 - qcom,pm8916-pon 22 - qcom,pm8941-pon 23 - qcom,pms405-pon [all …]
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | qcom,pm8916-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/qcom,pm8916-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8916 watchdog timer controller 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 - $ref: watchdog.yaml# 17 const: qcom,pm8916-wdt 23 - compatible 24 - interrupts [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
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>; 39 compatible = "qcom,pm8916", "qcom,spmi-pmic"; [all …]
|
H A D | pm8937.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm8937-thermal { 13 polling-delay-passive = <0>; 14 polling-delay = <0>; 15 thermal-sensors = <&pm8937_temp>; 42 compatible = "qcom,pm8937", "qcom,spmi-pmic"; [all …]
|
H A D | pm8009.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/spmi/spmi.h> 11 compatible = "qcom,pm8009", "qcom,spmi-pmic"; 13 #address-cells = <1>; 14 #size-cells = <0>; 16 pm8009_pon: pon@800 { 17 compatible = "qcom,pm8916-pon"; 22 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 24 gpio-controller; [all …]
|
H A D | sc8180x-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023, Linaro Limited 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 { 14 pmc8180-thermal { 15 polling-delay-passive = <100>; [all …]
|
H A D | pmm8155au_1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 9 #include <dt-bindings/iio/qcom,spmi-vadc.h> 12 thermal-zones { 13 pmm8155au-1-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pmm8155au_1_temp>; 43 compatible = "qcom,pmm8155au", "qcom,spmi-pmic"; [all …]
|
H A D | pmm8155au_2.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pmm8155au-2-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pmm8155au_2_temp>; 42 compatible = "qcom,pmm8155au", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
H A D | pm4125.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 13 compatible = "qcom,pm2250", "qcom,spmi-pmic"; 15 #address-cells = <1>; 16 #size-cells = <0>; 18 pon@800 { 19 compatible = "qcom,pm8916-pon"; [all …]
|
H A D | pm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm8953-thermal { 12 thermal-sensors = <&pm8953_temp>; 39 compatible = "qcom,pm8953", "qcom,spmi-pmic"; 41 #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 | 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 { 13 pm8150l-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pm8150l_temp>; 43 compatible = "qcom,pm8150l", "qcom,spmi-pmic"; [all …]
|
H A 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 { 13 pm8150b-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pm8150b_temp>; 43 compatible = "qcom,pm8150b", "qcom,spmi-pmic"; [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> 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 pm8950_pon: pon@800 { [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 …]
|
/linux/arch/arm/boot/dts/qcom/ |
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 | pmx55.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/spmi/spmi.h> 14 compatible = "qcom,pmx55", "qcom,spmi-pmic"; 16 #address-cells = <1>; 17 #size-cells = <0>; 19 pon@800 { 20 compatible = "qcom,pm8916-pon"; [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 …]
|