| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/ |
| D | qcom,pm8916-wdt.txt | 1 QCOM PM8916 watchdog timer controller 3 This pm8916 watchdog timer controller must be under pm8916-pon node. 6 - compatible: should be "qcom,pm8916-wdt" 9 - interrupts : Watchdog pre-timeout (bark) interrupt. 10 - timeout-sec : Watchdog timeout value in seconds. 14 pm8916_0: pm8916@0 { 15 compatible = "qcom,pm8916", "qcom,spmi-pmic"; 18 pon@800 { 19 compatible = "qcom,pm8916-pon"; 23 compatible = "qcom,pm8916-wdt"; [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | pm8916_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 43 return regmap_update_bits(wdt->regmap, in pm8916_wdt_start() 44 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_start() 52 return regmap_update_bits(wdt->regmap, in pm8916_wdt_stop() 53 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_stop() 61 return regmap_update_bits(wdt->regmap, in pm8916_wdt_ping() 62 wdt->baseaddr + PON_PMIC_WD_RESET_PET, in pm8916_wdt_ping() 71 err = regmap_write(wdt->regmap, in pm8916_wdt_configure_timers() 72 wdt->baseaddr + PON_PMIC_WD_RESET_S1_TIMER, in pm8916_wdt_configure_timers() 73 wdev->timeout - wdev->pretimeout); in pm8916_wdt_configure_timers() [all …]
|
| /kernel/linux/linux-6.6/drivers/power/reset/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/power/reset/ |
| D | qcom-pon.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-18 Linaro Limited 12 #include <linux/reboot-mode.h> 31 struct pm8916_pon *pon = container_of in pm8916_reboot_mode_write() local 35 ret = regmap_update_bits(pon->regmap, in pm8916_reboot_mode_write() 36 pon->baseaddr + PON_SOFT_RB_SPARE, in pm8916_reboot_mode_write() 37 GENMASK(7, pon->reason_shift), in pm8916_reboot_mode_write() 38 magic << pon->reason_shift); in pm8916_reboot_mode_write() 40 dev_err(pon->dev, "update reboot mode bits failed\n"); in pm8916_reboot_mode_write() 47 struct pm8916_pon *pon; in pm8916_pon_probe() local [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/ |
| D | qcom,pon.txt | 1 Qualcomm PON Device 4 and resin along with the Android reboot-mode. 9 -compatible: Must be one of: 10 "qcom,pm8916-pon" 11 "qcom,pms405-pon" 12 "qcom,pm8998-pon" 14 -reg: Specifies the physical address of the pon register 17 -pwrkey: Specifies the subnode pwrkey and should follow the 18 qcom,pm8941-pwrkey.txt description. 19 -resin: Specifies the subnode resin and should follow the [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| 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>; 15 pon@800 { 16 compatible = "qcom,pm8916-pon"; [all …]
|
| 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 …]
|
| 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 …]
|
| D | pm2250.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 …]
|
| 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>; 15 polling-delay = <0>; 17 thermal-sensors = <&pmm8155au_1_temp>; [all …]
|
| 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>; 14 polling-delay = <0>; 16 thermal-sensors = <&pmm8155au_2_temp>; 43 compatible = "qcom,pmm8155au", "qcom,spmi-pmic"; [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 { 13 pm8150b-thermal { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150b_temp>; [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 { 13 pm8150l-thermal { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150l_temp>; [all …]
|
| 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 polling-delay-passive = <0>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm8953_temp>; [all …]
|
| 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>; 11 polling-delay = <1000>; 13 thermal-sensors = <&pm8994_temp>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| 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>; 15 pon@800 { 16 compatible = "qcom,pm8916-pon"; [all …]
|
| D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 13 compatible = "qcom,pm660", "qcom,spmi-pmic"; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "qcom,pm8941-rtc"; 21 reg-names = "rtc", "alarm"; 25 pon: pon@800 { label [all …]
|
| 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"; 24 gpio-controller; [all …]
|
| D | pm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 4 #include <dt-bindings/input/linux-event-codes.h> 9 compatible = "qcom,pm8994", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 17 reg-names = "rtc", "alarm"; 21 pon@800 { [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|