/linux/drivers/input/misc/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A 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 …]
|
H A D | richtek,rt5120.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5120 provides four high-efficiency buck converters and one LDO voltage 22 - richtek,rt5120 30 interrupt-controller: true 32 "#interrupt-cells": 35 wakeup-source: true 37 richtek,enable-undervolt-hiccup: [all …]
|
/linux/Documentation/devicetree/bindings/crypto/ |
H A 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 …]
|
/linux/drivers/mfd/ |
H A 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 …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | pm8018.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 12 #interrupt-cells = <2>; 13 interrupt-controller; 14 #address-cells = <1>; 15 #size-cells = <0>; 17 pwrkey@1c { 18 compatible = "qcom,pm8018-pwrkey", 19 "qcom,pm8921-pwrkey"; 20 reg = <0x1c>; 21 interrupts-extended = <&pm8018 50 IRQ_TYPE_EDGE_RISING>, [all …]
|
H A D | pma8084.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 9 pma8084_0: pma8084@0 { 10 compatible = "qcom,pma8084", "qcom,spmi-pmic"; 11 reg = <0x0 SPMI_USID>; 12 #address-cells = <1>; 13 #size-cells = <0>; [all …]
|
H A D | pm8921.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 pwrkey@1c { 12 compatible = "qcom,pm8921-pwrkey"; 13 reg = <0x1c>; 14 interrupts-extended = <&pm8921 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; [all …]
|
H A D | pm8058.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 pwrkey@1c { 12 compatible = "qcom,pm8058-pwrkey"; 13 reg = <0x1c>; 14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; [all …]
|
H A D | pm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8226-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8226_temp>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A 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 …]
|
H A 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>; 14 thermal-sensors = <&pm6350_temp>; 19 hysteresis = <0>; 25 hysteresis = <0>; 31 hysteresis = <0>; [all …]
|
H A D | pm4125.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 …]
|
H A D | pm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm8953-thermal { 12 thermal-sensors = <&pm8953_temp>; 17 hysteresis = <0>; 23 hysteresis = <0>; [all …]
|
H A D | pm8998.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 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 thermal-zones { 12 pm8998-thermal { 13 polling-delay-passive = <250>; 15 thermal-sensors = <&pm8998_temp>; [all …]
|
H A D | pmm8155au_1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 9 #include <dt-bindings/iio/qcom,spmi-vadc.h> 12 thermal-zones { 13 pmm8155au-1-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pmm8155au_1_temp>; 21 hysteresis = <0>; [all …]
|
H A D | pm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8994-thermal { 10 polling-delay-passive = <250>; 12 thermal-sensors = <&pm8994_temp>; 15 pm8994_alert0: pm8994-alert0 { [all …]
|
H A D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/spmi/spmi.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/thermal/thermal.h> 12 thermal-zones { 13 pms405-thermal { 14 polling-delay-passive = <250>; 16 thermal-sensors = <&pms405_temp>; 19 pms405_alert0: pms405-alert0 { [all …]
|
H A D | pm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 #include <dt-bindings/iio/qcom,spmi-vadc.h> 4 #include <dt-bindings/input/input.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> 10 thermal-zones { 11 pm6125-thermal { 12 polling-delay-passive = <100>; 14 thermal-sensors = <&pm6125_temp>; [all …]
|
H A D | pm6150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.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> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm6150_thermal: pm6150-thermal { 15 polling-delay-passive = <100>; 17 thermal-sensors = <&pm6150_temp>; [all …]
|