Home
last modified time | relevance | path

Searched full:pwrkey (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v6.6/drivers/input/misc/
Dpm8941-pwrkey.c89 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()
138 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
139 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
[all …]
Dpmic8xxx-pwrkey.c71 * struct pmic8xxx_pwrkey - pmic8xxx pwrkey information
104 struct pmic8xxx_pwrkey *pwrkey = dev_get_drvdata(dev); in pmic8xxx_pwrkey_suspend() local
107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend()
114 struct pmic8xxx_pwrkey *pwrkey = dev_get_drvdata(dev); in pmic8xxx_pwrkey_resume() local
117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume()
127 struct pmic8xxx_pwrkey *pwrkey = platform_get_drvdata(pdev); in pmic8xxx_pwrkey_shutdown() local
132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown()
133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
149 regmap_update_bits(pwrkey->regmap, PON_CNTL_1, mask, val); in pmic8xxx_pwrkey_shutdown()
279 static int pm8058_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8058_pwrkey_shutdown() argument
[all …]
Drt5120-pwrkey.c58 press_irq = platform_get_irq_byname(pdev, "pwrkey-press"); in rt5120_pwrkey_probe()
62 release_irq = platform_get_irq_byname(pdev, "pwrkey-release"); in rt5120_pwrkey_probe()
84 0, "pwrkey-press", priv); in rt5120_pwrkey_probe()
87 "Failed to register pwrkey press irq: %d\n", error); in rt5120_pwrkey_probe()
93 0, "pwrkey-release", priv); in rt5120_pwrkey_probe()
96 "Failed to register pwrkey release irq: %d\n", error); in rt5120_pwrkey_probe()
104 { .compatible = "richtek,rt5120-pwrkey" },
111 .name = "rt5120-pwrkey",
DMakefile24 obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o
63 obj-$(CONFIG_INPUT_PM8941_PWRKEY) += pm8941-pwrkey.o
65 obj-$(CONFIG_INPUT_PMIC8XXX_PWRKEY) += pmic8xxx-pwrkey.o
73 obj-$(CONFIG_INPUT_RT5120_PWRKEY) += rt5120-pwrkey.o
76 obj-$(CONFIG_INPUT_RK805_PWRKEY) += rk805-pwrkey.o
Drk805-pwrkey.c50 pwr->name = "rk805 pwrkey"; in rk805_pwrkey_probe()
96 .name = "rk805-pwrkey",
101 MODULE_ALIAS("platform:rk805-pwrkey");
/Linux-v6.6/Documentation/devicetree/bindings/input/
Dqcom,pm8921-pwrkey.yaml4 $id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml#
19 - qcom,pm8921-pwrkey
20 - qcom,pm8058-pwrkey
23 - qcom,pm8018-pwrkey
24 - const: qcom,pm8921-pwrkey
65 pwrkey@1c {
66 compatible = "qcom,pm8921-pwrkey";
Dqcom,pm8941-pwrkey.yaml4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml#
19 - qcom,pm8941-pwrkey
21 - qcom,pmk8350-pwrkey
Dmediatek,pmic-keys.yaml17 PMICs: pwrkey and homekey.
39 1 - pwrkey
40 2 - pwrkey+homekey
/Linux-v6.6/Documentation/devicetree/bindings/power/reset/
Dqcom,pon.yaml13 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
16 This DT node has pwrkey and resin as sub nodes.
41 pwrkey:
43 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
47 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
126 pwrkey {
127 compatible = "qcom,pm8941-pwrkey";
/Linux-v6.6/Documentation/devicetree/bindings/mfd/
Dnxp,bbnsm.yaml54 pwrkey:
61 - nxp,imx93-bbnsm-pwrkey
78 - pwrkey
96 bbnsm_pwrkey: pwrkey {
97 compatible = "nxp,imx93-bbnsm-pwrkey";
Drichtek,rt5120.yaml98 - richtek,rt5120-pwrkey
175 compatible = "richtek,rt5120-pwrkey";
/Linux-v6.6/Documentation/devicetree/bindings/crypto/
Dfsl,sec-v4.0-mon.yaml82 The snvs-pwrkey is designed to enable POWER key function which controlled
88 const: fsl,sec-v4.0-pwrkey
94 const: snvs-pwrkey
154 compatible = "fsl,sec-v4.0-pwrkey";
157 clock-names = "snvs-pwrkey";
/Linux-v6.6/drivers/mfd/
Drt5120.c75 DEFINE_RES_IRQ_NAMED(RT5120_INT_PWRKEY_PRESS, "pwrkey-press"),
76 DEFINE_RES_IRQ_NAMED(RT5120_INT_PWRKEY_REL, "pwrkey-release"),
81 MFD_CELL_OF("rt5120-pwrkey", rt5120_pwrkey_resources, NULL, 0, 0, "richtek,rt5120-pwrkey"),
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dpm2250.dtsi22 pm2250_pwrkey: pwrkey {
23 compatible = "qcom,pm8941-pwrkey";
Dpmk8550.dtsi33 pon_pwrkey: pwrkey {
34 compatible = "qcom,pmk8350-pwrkey";
Dpm6350.dtsi53 pm6350_pwrkey: pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
Dpmk8350.dtsi38 pon_pwrkey: pwrkey {
39 compatible = "qcom,pmk8350-pwrkey";
Dpm6150.dtsi49 pm6150_pwrkey: pwrkey {
50 compatible = "qcom,pm8941-pwrkey";
Dpm8998.dtsi48 pm8998_pwrkey: pwrkey {
49 compatible = "qcom,pm8941-pwrkey";
Dpm8953.dtsi53 pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
Dpmm8155au_1.dtsi52 pwrkey {
53 compatible = "qcom,pm8941-pwrkey";
Dpm8150.dtsi56 pon_pwrkey: pwrkey {
57 compatible = "qcom,pm8941-pwrkey";
Dpms405.dtsi58 pwrkey {
59 compatible = "qcom,pm8941-pwrkey";
Dpm6125.dtsi53 pon_pwrkey: pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
/Linux-v6.6/arch/arm/boot/dts/qcom/
Dqcom-pma8084.dtsi22 pwrkey@800 {
23 compatible = "qcom,pm8941-pwrkey";

123