Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/input/misc/
H A Dpm8941-pwrkey.c178 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 Dpmic8xxx-pwrkey.c107 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 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
/openbmc/linux/Documentation/devicetree/bindings/input/
H A 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";
H A Dqcom,pm8941-pwrkey.yaml4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml#
19 - qcom,pm8941-pwrkey
21 - qcom,pmk8350-pwrkey
H A Dmediatek,pmic-keys.yaml17 PMICs: pwrkey and homekey.
39 1 - pwrkey
40 2 - pwrkey+homekey
/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A 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";
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dnxp,bbnsm.yaml54 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 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";
/openbmc/u-boot/doc/device-tree-bindings/gpio/
H A Dpm8916_gpio.txt32 - compatible: "qcom,pm8916-pwrkey"
44 compatible = "qcom,pm8916-pwrkey";
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dpm2250.dtsi22 pm2250_pwrkey: pwrkey {
23 compatible = "qcom,pm8941-pwrkey";
H A Dpm6350.dtsi53 pm6350_pwrkey: pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
H A Dpmk8550.dtsi33 pon_pwrkey: pwrkey {
34 compatible = "qcom,pmk8350-pwrkey";
H A Dpm6150.dtsi49 pm6150_pwrkey: pwrkey {
50 compatible = "qcom,pm8941-pwrkey";
H A Dpmk8350.dtsi38 pon_pwrkey: pwrkey {
39 compatible = "qcom,pmk8350-pwrkey";
H A Dpmm8155au_1.dtsi52 pwrkey {
53 compatible = "qcom,pm8941-pwrkey";
H A Dpm8953.dtsi53 pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
H A Dpm8998.dtsi48 pm8998_pwrkey: pwrkey {
49 compatible = "qcom,pm8941-pwrkey";
H A Dpm8150.dtsi56 pon_pwrkey: pwrkey {
57 compatible = "qcom,pm8941-pwrkey";
H A Dpm8994.dtsi52 pwrkey {
53 compatible = "qcom,pm8941-pwrkey";
H A Dpms405.dtsi58 pwrkey {
59 compatible = "qcom,pm8941-pwrkey";
H A Dpm6125.dtsi53 pon_pwrkey: pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
H A Dpm8950.dtsi27 pwrkey {
28 compatible = "qcom,pm8941-pwrkey";
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dpma8084.dtsi22 pwrkey@800 {
23 compatible = "qcom,pm8941-pwrkey";
H A Dpm8226.dtsi48 pwrkey {
49 compatible = "qcom,pm8941-pwrkey";

123