/openbmc/linux/drivers/input/misc/ |
H A D | pm8941-pwrkey.c | 178 input_report_key(pwrkey->input, pwrkey->code, 1); in pm8941_pwrkey_irq() 183 input_report_key(pwrkey->input, pwrkey->code, sts); in pm8941_pwrkey_irq() 194 if (pwrkey->data->has_pon_pbs && !pwrkey->pon_pbs_baseaddr) { in pm8941_pwrkey_sw_debounce_init() 265 pwrkey = devm_kzalloc(&pdev->dev, sizeof(*pwrkey), GFP_KERNEL); in pm8941_pwrkey_probe() 266 if (!pwrkey) in pm8941_pwrkey_probe() 307 error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_REV2, in pm8941_pwrkey_probe() 314 error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_SUBTYPE, in pm8941_pwrkey_probe() 335 input_set_capability(pwrkey->input, EV_KEY, pwrkey->code); in pm8941_pwrkey_probe() 337 pwrkey->input->name = pwrkey->data->name; in pm8941_pwrkey_probe() 338 pwrkey->input->phys = pwrkey->data->phys; in pm8941_pwrkey_probe() [all …]
|
H A D | pmic8xxx-pwrkey.c | 107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend() 117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume() 132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown() 133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown() 282 struct regmap *regmap = pwrkey->regmap; in pm8058_pwrkey_shutdown() 340 struct pmic8xxx_pwrkey *pwrkey; in pmic8xxx_pwrkey_probe() local 361 pwrkey = devm_kzalloc(&pdev->dev, sizeof(*pwrkey), GFP_KERNEL); in pmic8xxx_pwrkey_probe() 362 if (!pwrkey) in pmic8xxx_pwrkey_probe() 366 pwrkey->regmap = regmap; in pmic8xxx_pwrkey_probe() 367 pwrkey->key_press_irq = key_press_irq; in pmic8xxx_pwrkey_probe() [all …]
|
H A 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
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A 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";
|
H A D | qcom,pm8941-pwrkey.yaml | 4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml# 19 - qcom,pm8941-pwrkey 21 - qcom,pmk8350-pwrkey
|
H A D | mediatek,pmic-keys.yaml | 17 PMICs: pwrkey and homekey. 39 1 - pwrkey 40 2 - pwrkey+homekey
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A 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";
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | nxp,bbnsm.yaml | 54 pwrkey: 61 - nxp,imx93-bbnsm-pwrkey 78 - pwrkey 96 bbnsm_pwrkey: pwrkey { 97 compatible = "nxp,imx93-bbnsm-pwrkey";
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A 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";
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | pm8916_gpio.txt | 32 - compatible: "qcom,pm8916-pwrkey" 44 compatible = "qcom,pm8916-pwrkey";
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | pm2250.dtsi | 22 pm2250_pwrkey: pwrkey { 23 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm6350.dtsi | 53 pm6350_pwrkey: pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
H A D | pmk8550.dtsi | 33 pon_pwrkey: pwrkey { 34 compatible = "qcom,pmk8350-pwrkey";
|
H A D | pm6150.dtsi | 49 pm6150_pwrkey: pwrkey { 50 compatible = "qcom,pm8941-pwrkey";
|
H A D | pmk8350.dtsi | 38 pon_pwrkey: pwrkey { 39 compatible = "qcom,pmk8350-pwrkey";
|
H A D | pmm8155au_1.dtsi | 52 pwrkey { 53 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8953.dtsi | 53 pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8998.dtsi | 48 pm8998_pwrkey: pwrkey { 49 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8150.dtsi | 56 pon_pwrkey: pwrkey { 57 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8994.dtsi | 52 pwrkey { 53 compatible = "qcom,pm8941-pwrkey";
|
H A D | pms405.dtsi | 58 pwrkey { 59 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm6125.dtsi | 53 pon_pwrkey: pwrkey { 54 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8950.dtsi | 27 pwrkey { 28 compatible = "qcom,pm8941-pwrkey";
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | pma8084.dtsi | 22 pwrkey@800 { 23 compatible = "qcom,pm8941-pwrkey";
|
H A D | pm8226.dtsi | 48 pwrkey { 49 compatible = "qcom,pm8941-pwrkey";
|