/Linux-v6.6/drivers/input/misc/ |
D | pm8941-pwrkey.c | 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() 138 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify() 139 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify() [all …]
|
D | pmic8xxx-pwrkey.c | 71 * 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 …]
|
D | rt5120-pwrkey.c | 58 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",
|
D | Makefile | 24 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
|
D | rk805-pwrkey.c | 50 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/ |
D | qcom,pm8921-pwrkey.yaml | 4 $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";
|
D | qcom,pm8941-pwrkey.yaml | 4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml# 19 - qcom,pm8941-pwrkey 21 - qcom,pmk8350-pwrkey
|
D | mediatek,pmic-keys.yaml | 17 PMICs: pwrkey and homekey. 39 1 - pwrkey 40 2 - pwrkey+homekey
|
/Linux-v6.6/Documentation/devicetree/bindings/power/reset/ |
D | qcom,pon.yaml | 13 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/ |
D | nxp,bbnsm.yaml | 54 pwrkey: 61 - nxp,imx93-bbnsm-pwrkey 78 - pwrkey 96 bbnsm_pwrkey: pwrkey { 97 compatible = "nxp,imx93-bbnsm-pwrkey";
|
D | richtek,rt5120.yaml | 98 - richtek,rt5120-pwrkey 175 compatible = "richtek,rt5120-pwrkey";
|
/Linux-v6.6/Documentation/devicetree/bindings/crypto/ |
D | fsl,sec-v4.0-mon.yaml | 82 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/ |
D | rt5120.c | 75 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/ |
D | pm2250.dtsi | 22 pm2250_pwrkey: pwrkey { 23 compatible = "qcom,pm8941-pwrkey";
|
D | pmk8550.dtsi | 33 pon_pwrkey: pwrkey { 34 compatible = "qcom,pmk8350-pwrkey";
|
D | pm6350.dtsi | 53 pm6350_pwrkey: pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
D | pmk8350.dtsi | 38 pon_pwrkey: pwrkey { 39 compatible = "qcom,pmk8350-pwrkey";
|
D | pm6150.dtsi | 49 pm6150_pwrkey: pwrkey { 50 compatible = "qcom,pm8941-pwrkey";
|
D | pm8998.dtsi | 48 pm8998_pwrkey: pwrkey { 49 compatible = "qcom,pm8941-pwrkey";
|
D | pm8953.dtsi | 53 pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
D | pmm8155au_1.dtsi | 52 pwrkey { 53 compatible = "qcom,pm8941-pwrkey";
|
D | pm8150.dtsi | 56 pon_pwrkey: pwrkey { 57 compatible = "qcom,pm8941-pwrkey";
|
D | pms405.dtsi | 58 pwrkey { 59 compatible = "qcom,pm8941-pwrkey";
|
D | pm6125.dtsi | 53 pon_pwrkey: pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
/Linux-v6.6/arch/arm/boot/dts/qcom/ |
D | qcom-pma8084.dtsi | 22 pwrkey@800 { 23 compatible = "qcom,pm8941-pwrkey";
|