| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | pm8941-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011, 2020-2021, The Linux Foundation. All rights reserved. 21 #define PON_REV2 0x01 23 #define PON_SUBTYPE 0x05 25 #define PON_SUBTYPE_PRIMARY 0x01 26 #define PON_SUBTYPE_SECONDARY 0x02 27 #define PON_SUBTYPE_1REG 0x03 28 #define PON_SUBTYPE_GEN2_PRIMARY 0x04 29 #define PON_SUBTYPE_GEN2_SECONDARY 0x05 30 #define PON_SUBTYPE_GEN3_PBS 0x08 [all …]
|
| D | pmic8xxx-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 16 #define PON_CNTL_1 0x1C 18 #define PON_CNTL_TRIG_DELAY_MASK (0x7) 19 #define PON_CNTL_1_PULL_UP_EN 0xe0 20 #define PON_CNTL_1_USB_PWR_EN 0x10 21 #define PON_CNTL_1_WD_EN_RESET 0x08 23 #define PM8058_SLEEP_CTRL 0x02b 24 #define PM8921_SLEEP_CTRL 0x10a 26 #define SLEEP_CTRL_SMPL_EN_RESET 0x04 [all …]
|
| D | rt5120-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define RT5120_REG_INTSTAT 0x1E 30 error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat); in rt5120_pwrkey_handler() 34 input_report_key(priv->input, KEY_POWER, in rt5120_pwrkey_handler() 36 input_sync(priv->input); in rt5120_pwrkey_handler() 44 struct device *dev = &pdev->dev; in rt5120_pwrkey_probe() 50 return -ENOMEM; in rt5120_pwrkey_probe() 52 priv->regmap = dev_get_regmap(dev->parent, NULL); in rt5120_pwrkey_probe() 53 if (!priv->regmap) { in rt5120_pwrkey_probe() 55 return -ENODEV; in rt5120_pwrkey_probe() [all …]
|
| D | rk805-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Joseph Chen <chenjh@rock-chips.com> 32 input_report_key(pwr, KEY_POWER, 0); in pwrkey_rise_irq() 44 pwr = devm_input_allocate_device(&pdev->dev); in rk805_pwrkey_probe() 46 dev_err(&pdev->dev, "Can't allocate power button\n"); in rk805_pwrkey_probe() 47 return -ENOMEM; in rk805_pwrkey_probe() 50 pwr->name = "rk805 pwrkey"; in rk805_pwrkey_probe() 51 pwr->phys = "rk805_pwrkey/input0"; in rk805_pwrkey_probe() 52 pwr->id.bustype = BUS_HOST; in rk805_pwrkey_probe() 55 fall_irq = platform_get_irq(pdev, 0); in rk805_pwrkey_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | pm8941-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 20 #define PON_REV2 0x01 22 #define PON_RT_STS 0x10 23 #define PON_KPDPWR_N_SET BIT(0) 26 #define PON_PS_HOLD_RST_CTL 0x5a 27 #define PON_PS_HOLD_RST_CTL2 0x5b 29 #define PON_PS_HOLD_TYPE_MASK 0x0f 33 #define PON_PULL_CTL 0x70 35 #define PON_RESIN_PULL_UP BIT(0) [all …]
|
| D | pmic8xxx-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 17 #define PON_CNTL_1 0x1C 19 #define PON_CNTL_TRIG_DELAY_MASK (0x7) 20 #define PON_CNTL_1_PULL_UP_EN 0xe0 21 #define PON_CNTL_1_USB_PWR_EN 0x10 22 #define PON_CNTL_1_WD_EN_RESET 0x08 24 #define PM8058_SLEEP_CTRL 0x02b 25 #define PM8921_SLEEP_CTRL 0x10a 27 #define SLEEP_CTRL_SMPL_EN_RESET 0x04 [all …]
|
| D | rk805-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Joseph Chen <chenjh@rock-chips.com> 32 input_report_key(pwr, KEY_POWER, 0); in pwrkey_rise_irq() 44 pwr = devm_input_allocate_device(&pdev->dev); in rk805_pwrkey_probe() 46 dev_err(&pdev->dev, "Can't allocate power button\n"); in rk805_pwrkey_probe() 47 return -ENOMEM; in rk805_pwrkey_probe() 50 pwr->name = "rk805 pwrkey"; in rk805_pwrkey_probe() 51 pwr->phys = "rk805_pwrkey/input0"; in rk805_pwrkey_probe() 52 pwr->id.bustype = BUS_HOST; in rk805_pwrkey_probe() 55 fall_irq = platform_get_irq(pdev, 0); in rk805_pwrkey_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/ |
| D | qcom,pon.txt | 3 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey 4 and resin along with the Android reboot-mode. 6 This DT node has pwrkey and resin as sub nodes. 9 -compatible: Must be one of: 10 "qcom,pm8916-pon" 11 "qcom,pms405-pon" 12 "qcom,pm8998-pon" 14 -reg: Specifies the physical address of the pon register 17 -pwrkey: Specifies the subnode pwrkey and should follow the 18 qcom,pm8941-pwrkey.txt description. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | qcom,pm8921-pwrkey.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 13 - $ref: input.yaml# 18 - enum: 19 - qcom,pm8921-pwrkey 20 - qcom,pm8058-pwrkey 21 - items: [all …]
|
| D | mediatek,pmic-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen Zhong <chen.zhong@mediatek.com> 13 - $ref: input.yaml# 17 PMICs: pwrkey and homekey. 19 by the PMIC that is defined as a Multi-Function Device (MFD). 27 - mediatek,mt6323-keys 28 - mediatek,mt6331-keys [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| D | qcom,pon.yaml | 1 # 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. 21 - qcom,pm8916-pon 22 - qcom,pm8941-pon 23 - qcom,pms405-pon [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | nxp,bbnsm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Battery-Backed Non-Secure Module 10 - Jacky Bai <ping.bai@nxp.com> 13 NXP BBNSM serves as non-volatile logic and storage for the system. 17 significant 32 bits of the real-time counter match the value in the 26 - enum: 27 - nxp,imx93-bbnsm 28 - const: syscon [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | qcom,pm8xxx-pwrkey.txt | 5 - compatible: 9 "qcom,pm8058-pwrkey" 10 "qcom,pm8921-pwrkey" 12 - reg: 14 Value type: <prop-encoded-array> 17 - interrupts: 19 Value type: <prop-encoded-array> 25 - debounce: 31 - pull-up: 39 pwrkey@1c { [all …]
|
| D | qcom,pm8941-pwrkey.txt | 5 - compatible: 9 "qcom,pm8941-pwrkey" 10 "qcom,pm8941-resin" 12 - reg: 14 Value type: <prop-encoded-array> 17 - interrupts: 19 Value type: <prop-encoded-array> 24 - debounce: 30 - bias-pull-up: 36 - linux,code: [all …]
|
| D | mtk-pmic-keys.txt | 3 There are two key functions provided by MT6397/MT6323 PMIC, pwrkey 6 of Muti-Function Device (MFD) 12 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" 13 - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml 16 - wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt 17 - mediatek,long-press-mode: Long press key shutdown setting, 1 for 18 pwrkey only, 2 for pwrkey/homekey together, others for disabled. 19 - power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml 29 compatible = "mediatek,mt6397-keys"; 30 mediatek,long-press-mode = <1>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/ |
| D | fsl,sec-v4.0-mon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc. 4 --- 5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Freescale Secure Non-Volatile Storage (SNVS) 11 - '"Horia Geantă" <horia.geanta@nxp.com>' 12 - Pankaj Gupta <pankaj.gupta@nxp.com> 13 - Gaurav Jain <gaurav.jain@nxp.com> 23 - items: [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | rt5120.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #define RT5120_REG_INTENABLE 0x1D 15 #define RT5120_REG_INTSTAT 0x1E 16 #define RT5120_REG_FZCMODE 0x44 18 #define RT5120_INT_HOTDIE 0 23 regmap_reg_range(0x03, 0x13), 24 regmap_reg_range(0x1c, 0x20), 25 regmap_reg_range(0x44, 0x44), 29 regmap_reg_range(0x06, 0x13), 30 regmap_reg_range(0x1c, 0x20), [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 12 pmic@0 { 13 compatible = "qcom,pm660", "qcom,spmi-pmic"; 14 reg = <0x0 SPMI_USID>; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "qcom,pm8941-rtc"; [all …]
|
| D | pm6150.dtsi | 1 // 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 pm6150_lsid0: pmic@0 { 12 compatible = "qcom,pm6150", "qcom,spmi-pmic"; 13 reg = <0x0 SPMI_USID>; 14 #address-cells = <1>; [all …]
|
| D | pm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 4 #include <dt-bindings/input/linux-event-codes.h> 8 pmic@0 { 9 compatible = "qcom,pm8994", "qcom,spmi-pmic"; 10 reg = <0x0 SPMI_USID>; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | pm2250.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 pmic@0 { 13 compatible = "qcom,pm2250", "qcom,spmi-pmic"; 14 reg = <0x0 SPMI_USID>; 15 #address-cells = <1>; 16 #size-cells = <0>; [all …]
|
| D | pmk8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.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> 12 reboot-mode { 13 compatible = "nvmem-reboot-mode"; 14 nvmem-cells = <&reboot_reason>; 15 nvmem-cell-names = "reboot-mode"; 16 mode-recovery = <0x01>; [all …]
|
| D | pm6350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm6350-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm6350_temp>; 20 hysteresis = <0>; 26 hysteresis = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | pma8084.dtsi | 1 // 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 pma8084_0: pma8084@0 { 9 compatible = "qcom,pma8084", "qcom,spmi-pmic"; 10 reg = <0x0 SPMI_USID>; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-pma8084.dtsi | 1 // 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 pma8084_0: pma8084@0 { 9 compatible = "qcom,pma8084", "qcom,spmi-pmic"; 10 reg = <0x0 SPMI_USID>; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; [all …]
|