/openbmc/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 …]
|
/openbmc/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 …]
|
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | pm8916_gpio.txt | 1 Driver for part of pm8916 PMIC - gpio and power/reset keys 8 - compatible: "qcom,pm8916-gpio" 9 - reg: peripheral ID, size of register block 10 - gpio-controller 11 - gpio-count: number of GPIOs 12 - #gpio-cells: 2 15 - gpio-bank-name: name of bank (as default "pm8916" is used) 20 compatible = "qcom,pm8916-gpio"; 21 reg = <0xc000 0x400>; 22 gpio-controller; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A 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 …]
|
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>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm6350_temp>; 20 hysteresis = <0>; 26 hysteresis = <0>; [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 …]
|
H A D | pmk8350.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> 13 #define PMK8350_SID 0 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; 19 nvmem-cells = <&reboot_reason>; 20 nvmem-cell-names = "reboot-mode"; [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>; 14 polling-delay = <1000>; [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>; 15 polling-delay = <0>; 17 thermal-sensors = <&pmm8155au_1_temp>; [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 polling-delay-passive = <0>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm8953_temp>; [all …]
|
H A D | pm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pm8150-thermal { 15 polling-delay-passive = <100>; 16 polling-delay = <0>; [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>; 15 polling-delay = <1000>; 17 thermal-sensors = <&pms405_temp>; [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>; 13 polling-delay = <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>; 11 polling-delay = <1000>; 13 thermal-sensors = <&pm8994_temp>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
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/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 …]
|