forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mfd-next-5.20' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/lee/mfd Pull MFD updates from Lee Jones: "Core Framework: - Change maintainer email address - Use acpi_dev_for_each_child() helper to walk the ACPI list New Device Support: - BCM2711 RPiVid ASB in Broadcom BCM2835 - MT8195 dual-core RISC-V MCU in Chrome OS Embedded Controller - Regulator, RTC and Keys in MediaTek MT6357 PMIC - GPIO in X-Powers AXP20x PMIC - MT6331 and MT6332 in MediaTek MT6357 PMIC - Intel Meteor Lake-P PCI in Intel LPSS PCI New Functionality: - Add support for non-ACPI platforms; lpc_ich Fix-ups: - Use platform data instead of hard-coded values; bcm2835-pm - Make use of BIT/GENMASK macros; intel_soc_pmic_bxtwc - Use dev_err_probe() helper; intel_soc_pmic_chtwc, intel_soc_pmic_bxtwc - Use provided generic APIs / helpers; lpc_ich - Clean-up .remove() return values; asic3, t7l66xb, tc6387xb, tc6393xb - Use correct formatting specifiers; syscon - Replace sprintf() with sysfs_emit(); intel_soc_pmic_bxtwc - Automatically detect and fill USB endpoint pointers; dln2 - Use more appropriate dev/platform/spi resources APIs; intel_soc_pmic_bxtwc - Make use of pm_sleep_ptr(); intel_soc_pmic_chtwc, intel_soc_pmic_bxtwc - Improve error handling; intel_soc_pmic_bxtwc - Use core driver API to create groups; intel_soc_pmic_bxtwc - Kconfig fix-ups; MFD_SUN6I_PRCM - Admin: whitespace/email addresses/etc; max77714, db8500-prcmu, ipaq-micro, intel_soc_pmic_bxtwc - Remove duplicate/unused code/functionality; lpc_ich, twl-core, qcom-pm8008, intel_soc_pmic_bxtwc - DT fix-ups / conversions; da9063, ti,j721e-system-controller, st,stm32-timers, mt6397, qcom,tcsr, mps,mp2629, qcom-pm8xxx, fsl,imx8qxp-csr Bug Fixes: - Fix of_node reference leak; max77620" * tag 'mfd-next-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (49 commits) dt-bindings: mfd: stm32-timers: Move fixed string node names under 'properties' dt-bindings: mfd: st,stm32-timers: Correct 'resets' property name dt-bindings: mfd: syscon: Update Lee Jones' email address MAINTAINERS: Use Lee Jones' kernel.org address for Syscon submissions MAINTAINERS: Use Lee Jones' kernel.org address for MFD submissions mfd: sun6i-prcm: Update Kconfig description mfd: intel_soc_pmic_bxtwc: Fix spelling in the comment mfd: intel_soc_pmic_bxtwc: Drop unneeded casting mfd: intel_soc_pmic_bxtwc: Use sysfs_emit() instead of sprintf() mfd: intel_soc_pmic_bxtwc: Use bits.h macros for all masks mfd: intel_soc_pmic_bxtwc: Drop redundant ACPI_PTR() mfd: intel_soc_pmic_bxtwc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc mfd: intel_soc_pmic_bxtwc: Extend use of temporary variable for struct device mfd: intel_soc_pmic_bxtwc: Use dev_err_probe() mfd: intel_soc_pmic_bxtwc: Convert to use platform_get/set_drvdata() mfd: intel_soc_pmic_bxtwc: Create sysfs attributes using core driver's facility mfd: intel_soc_pmic_bxtwc: Don't shadow error codes in show()/store() mfd: intel-lpss: Add Intel Meteor Lake-P PCI IDs mfd: mt6397: Add basic support for MT6331+MT6332 PMIC mfd: axp20x: Add AXP221/AXP223/AXP809 GPIO cells ...
- Loading branch information
Showing
49 changed files
with
3,565 additions
and
762 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC) | ||
|
||
maintainers: | ||
- Steve Twiss <stwiss.opensource@diasemi.com> | ||
|
||
description: | | ||
For device-tree bindings of other sub-modules refer to the binding documents | ||
under the respective sub-system directories. | ||
properties: | ||
compatible: | ||
enum: | ||
- dlg,da9063 | ||
- dlg,da9063l | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
interrupt-controller: true | ||
|
||
"#interrupt-cells": | ||
const: 2 | ||
|
||
dlg,use-sw-pm: | ||
type: boolean | ||
description: | ||
Disable the watchdog during suspend. | ||
Only use this option if you can't use the watchdog automatic suspend | ||
function during a suspend (see register CONTROL_B). | ||
|
||
watchdog: | ||
type: object | ||
$ref: /schemas/watchdog/watchdog.yaml# | ||
unevaluatedProperties: false | ||
properties: | ||
compatible: | ||
const: dlg,da9063-watchdog | ||
|
||
rtc: | ||
type: object | ||
$ref: /schemas/rtc/rtc.yaml# | ||
unevaluatedProperties: false | ||
properties: | ||
compatible: | ||
const: dlg,da9063-rtc | ||
|
||
onkey: | ||
type: object | ||
$ref: /schemas/input/input.yaml# | ||
unevaluatedProperties: false | ||
properties: | ||
compatible: | ||
const: dlg,da9063-onkey | ||
|
||
dlg,disable-key-power: | ||
type: boolean | ||
description: | | ||
Disable power-down using a long key-press. | ||
If this entry does not exist then by default the key-press triggered | ||
power down is enabled and the OnKey will support both KEY_POWER and | ||
KEY_SLEEP. | ||
regulators: | ||
type: object | ||
patternProperties: | ||
"^(ldo[1-11]|bcore[1-2]|bpro|bmem|bio|bperi)$": | ||
$ref: /schemas/regulator/regulator.yaml | ||
unevaluatedProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-controller | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
pmic@58 { | ||
compatible = "dlg,da9063"; | ||
reg = <0x58>; | ||
#interrupt-cells = <2>; | ||
interrupt-parent = <&gpio6>; | ||
interrupts = <11 IRQ_TYPE_LEVEL_LOW>; | ||
interrupt-controller; | ||
rtc { | ||
compatible = "dlg,da9063-rtc"; | ||
}; | ||
watchdog { | ||
compatible = "dlg,da9063-watchdog"; | ||
}; | ||
onkey { | ||
compatible = "dlg,da9063-onkey"; | ||
dlg,disable-key-power; | ||
}; | ||
regulators { | ||
regulator-bcore1 { | ||
regulator-name = "BCORE1"; | ||
regulator-min-microvolt = <300000>; | ||
regulator-max-microvolt = <1570000>; | ||
regulator-min-microamp = <500000>; | ||
regulator-max-microamp = <2000000>; | ||
regulator-boot-on; | ||
}; | ||
regulator-ldo11 { | ||
regulator-name = "LDO_11"; | ||
regulator-min-microvolt = <900000>; | ||
regulator-max-microvolt = <3600000>; | ||
regulator-boot-on; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Top Control and Status Register | ||
|
||
maintainers: | ||
- Bjorn Andersson <bjorn.andersson@linaro.org> | ||
|
||
description: | ||
Qualcomm devices have a set of registers that provide various control and | ||
status functions for their peripherals. | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- qcom,tcsr-apq8064 | ||
- qcom,tcsr-apq8084 | ||
- qcom,tcsr-ipq8064 | ||
- qcom,tcsr-mdm9615 | ||
- qcom,tcsr-msm8660 | ||
- qcom,tcsr-msm8916 | ||
- qcom,tcsr-msm8953 | ||
- qcom,tcsr-msm8960 | ||
- qcom,tcsr-msm8974 | ||
- const: syscon | ||
- items: | ||
- const: qcom,tcsr-ipq6018 | ||
- const: syscon | ||
- const: simple-mfd | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
syscon@1a400000 { | ||
compatible = "qcom,tcsr-msm8960", "syscon"; | ||
reg = <0x1a400000 0x100>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.