Home
last modified time | relevance | path

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

/Linux-v5.15/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.
19 - $ref: reboot-mode.yaml#
24 - qcom,pm8916-pon
25 - qcom,pms405-pon
[all …]
/Linux-v5.15/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.
68 struct pm8941_pwrkey *pwrkey = container_of(nb, struct pm8941_pwrkey, in pm8941_reboot_notify() local
75 if (pwrkey->revision == 0) in pm8941_reboot_notify()
80 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
81 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
85 dev_err(pwrkey->dev, in pm8941_reboot_notify()
106 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
107 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
111 dev_err(pwrkey->dev, "unable to set ps hold reset type: %d\n", in pm8941_reboot_notify()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
8 obj-$(CONFIG_INPUT_88PM860X_ONKEY) += 88pm860x_onkey.o
9 obj-$(CONFIG_INPUT_88PM80X_ONKEY) += 88pm80x_onkey.o
10 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
11 obj-$(CONFIG_INPUT_AD714X) += ad714x.o
12 obj-$(CONFIG_INPUT_AD714X_I2C) += ad714x-i2c.o
13 obj-$(CONFIG_INPUT_AD714X_SPI) += ad714x-spi.o
14 obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o
15 obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o
16 obj-$(CONFIG_INPUT_ADXL34X_SPI) += adxl34x-spi.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
64 module will be called ad714x-i2c.
74 module will be called ad714x-spi.
85 will be called ariel-pwrbutton.
95 module will be called arizona-haptics.
106 module will be called atc260x-onkey.
155 tristate "Qualcomm PM8941 power key support"
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/arch/arm64/boot/dts/qcom/
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 …]
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 …]
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 …]
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 …]
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 …]
Dpms405.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/spmi/spmi.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/thermal/thermal.h>
10 thermal-zones {
11 pms405-thermal {
12 polling-delay-passive = <250>;
13 polling-delay = <1000>;
15 thermal-sensors = <&pms405_temp>;
[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 {
15 polling-delay-passive = <250>;
16 polling-delay = <1000>;
18 thermal-sensors = <&pm660_temp>;
[all …]
Dpm6150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
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 pm6150_thermal: pm6150-thermal {
13 polling-delay-passive = <100>;
14 polling-delay = <0>;
[all …]
Dmsm8994-msft-lumia-octagon.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &audio_mem;
22 /delete-node/ &cont_splash_mem;
23 /delete-node/ &mba_mem;
24 /delete-node/ &mpss_mem;
25 /delete-node/ &peripheral_region;
[all …]
Dsm8150-microsoft-surface-duo.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
17 compatible = "microsoft,surface-duo", "qcom,sm8150";
24 stdout-path = "serial0:115200n8";
27 vph_pwr: vph-pwr-regulator {
28 compatible = "regulator-fixed";
29 regulator-name = "vph_pwr";
30 regulator-min-microvolt = <3700000>;
[all …]