Home
last modified time | relevance | path

Searched +full:pm8916 +full:- +full:pon (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/drivers/power/reset/
Dqcom-pon.c1 // 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 …]
/Linux-v6.1/drivers/watchdog/
Dpm8916_wdt.c1 // 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-v6.1/Documentation/devicetree/bindings/power/reset/
Dqcom,pon.yaml1 # 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,pms405-pon
23 - qcom,pm8998-pon
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/watchdog/
Dqcom,pm8916-wdt.yaml1 # 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-v6.1/arch/arm64/boot/dts/qcom/
Dpm8916.dtsi1 // 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 …]
Dpm8009.dtsi1 // 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 …]
Dpmm8155au_1.dtsi1 // 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 …]
Dpm8953.dtsi1 // 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>
11 compatible = "qcom,pm8953", "qcom,spmi-pmic";
13 #address-cells = <1>;
14 #size-cells = <0>;
16 pm8953_pon: pon@800 {
17 compatible = "qcom,pm8916-pon";
[all …]
Dpmm8155au_2.dtsi1 // 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 …]
Dpm8150l.dtsi1 // 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 …]
Dpm8150b.dtsi1 // 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 …]
Dpm8994.dtsi1 // 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 …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # 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-v6.1/arch/arm/boot/dts/
Dqcom-pmx55.dtsi1 // 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 …]