Home
last modified time | relevance | path

Searched +full:pm8941 +full:- +full:pwrkey (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/
Dqcom,pon.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinod Koul <vkoul@kernel.org>
13 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
14 and resin along with the Android reboot-mode.
16 This DT node has pwrkey and resin as sub nodes.
21 - qcom,pm8916-pon
22 - qcom,pm8941-pon
23 - qcom,pms405-pon
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dqcom,pon.txt3 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
4 and resin along with the Android reboot-mode.
6 This DT node has pwrkey and resin as sub nodes.
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.
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dpm8941-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
62 struct pm8941_pwrkey *pwrkey = container_of(nb, struct pm8941_pwrkey, in pm8941_reboot_notify() local
69 if (pwrkey->revision == 0) in pm8941_reboot_notify()
74 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
75 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
79 dev_err(pwrkey->dev, in pm8941_reboot_notify()
100 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
101 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
105 dev_err(pwrkey->dev, "unable to set ps hold reset type: %d\n", in pm8941_reboot_notify()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dqcom,pm8941-pwrkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PM8941 PMIC Power Key
10 - Courtney Cavin <courtney.cavin@sonymobile.com>
11 - Vinod Koul <vkoul@kernel.org>
14 - $ref: input.yaml#
19 - qcom,pm8941-pwrkey
20 - qcom,pm8941-resin
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dqcom,pm8941-pwrkey.txt1 Qualcomm PM8941 PMIC Power Key
5 - compatible:
9 "qcom,pm8941-pwrkey"
10 "qcom,pm8941-resin"
12 - reg:
14 Value type: <prop-encoded-array>
17 - interrupts:
19 Value type: <prop-encoded-array>
24 - debounce:
30 - bias-pull-up:
[all …]
/kernel/linux/linux-6.6/drivers/input/misc/
Dpm8941-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2010-2011, 2020-2021, The Linux Foundation. All rights reserved.
89 struct pm8941_pwrkey *pwrkey = container_of(nb, struct pm8941_pwrkey, in pm8941_reboot_notify() local
96 if (pwrkey->revision == 0) in pm8941_reboot_notify()
101 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
102 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
106 dev_err(pwrkey->dev, in pm8941_reboot_notify()
130 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
131 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
135 dev_err(pwrkey->dev, "unable to set ps hold reset type: %d\n", in pm8941_reboot_notify()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dpm2250.dtsi1 // 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>;
19 compatible = "qcom,pm8916-pon";
22 pm2250_pwrkey: pwrkey {
[all …]
Dpm8998.dtsi1 // 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 {
12 pm8998-thermal {
13 polling-delay-passive = <250>;
14 polling-delay = <1000>;
[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>
10 thermal-zones {
11 pm8953-thermal {
12 polling-delay-passive = <0>;
13 polling-delay = <0>;
15 thermal-sensors = <&pm8953_temp>;
[all …]
Dpm6350.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/spmi/spmi.h>
10 thermal-zones {
11 pm6350-thermal {
12 polling-delay-passive = <100>;
13 polling-delay = <0>;
15 thermal-sensors = <&pm6350_temp>;
42 compatible = "qcom,pm6350", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
Dpm8150.dtsi1 // 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 {
14 pm8150-thermal {
15 polling-delay-passive = <100>;
16 polling-delay = <0>;
[all …]
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>;
16 compatible = "qcom,pm8916-pon";
18 mode-bootloader = <0x2>;
[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 …]
Dpm6125.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 #include <dt-bindings/iio/qcom,spmi-vadc.h>
4 #include <dt-bindings/input/input.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>
10 thermal-zones {
11 pm6125-thermal {
12 polling-delay-passive = <100>;
13 polling-delay = <0>;
[all …]
Dpm660.dtsi1 // 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/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/thermal/thermal.h>
13 thermal-zones {
14 pm660-thermal {
15 polling-delay-passive = <250>;
16 polling-delay = <1000>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dqcom-pm8941.dtsi1 // 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 pm8941_0: pm8941@0 {
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";
[all …]
Dqcom-pma8084.dtsi1 // 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";
22 pwrkey@800 {
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dpm8941.dtsi1 // 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>;
39 pm8941_0: pm8941@0 {
[all …]
Dpma8084.dtsi1 // 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";
22 pwrkey@800 {
[all …]
Dpm8226.dtsi1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dpm660.dtsi1 // 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";
26 compatible = "qcom,pm8916-pon";
[all …]
Dpm8998.dtsi1 // 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 …]
Dpm8994.dtsi1 // 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";
22 compatible = "qcom,pm8916-pon";
[all …]
Dpm8150.dtsi1 // 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 …]
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>;
16 compatible = "qcom,pm8916-pon";
18 mode-bootloader = <0x2>;
[all …]

12