DNM: psci-mfd driver for review#389
Open
quicAspratap wants to merge 3 commits intoqualcomm-linux:mainfrom
Open
DNM: psci-mfd driver for review#389quicAspratap wants to merge 3 commits intoqualcomm-linux:mainfrom
quicAspratap wants to merge 3 commits intoqualcomm-linux:mainfrom
Conversation
added 3 commits
March 27, 2026 19:56
PSCI supports different types of resets like COLD reset, ARCH WARM reset, vendor-specific resets. Currently there is no common driver that handles all supported psci resets at one place. Additionally, there is no common mechanism to issue the supported psci resets from userspace. Add a PSCI reboot mode driver and define two types of PSCI resets in the driver as reboot-modes: predefined resets controlled by Linux reboot_mode and customizable resets defined by SoC vendors in their device tree under the psci:reboot-mode node. Register the driver with the reboot-mode framework to interface these resets to userspace. When userspace initiates a supported command, pass the reset arguments to the PSCI driver to enable command-based reset. This change allows userspace to issue supported PSCI reset commands using the standard reboot system calls while enabling SoC vendors to define their specific resets for PSCI. Signed-off-by: Shivendra Pratap <shivendra.pratap@oss.qualcomm.com>
Add a new PSCI MFD driver that binds to arm,psci-1.0 and registers cpuidle-psci-domain as a child cell. Since cpuidle-psci-domain now probes without its own of_node, use the parent PSCI of_node to traverse the power domain. Signed-off-by: Shivendra Pratap <shivendra.pratap@oss.qualcomm.com>
Add a psci-reboot-mode cell to the psci-mfd driver and bind the psci:reboot-mode node to it. Signed-off-by: Shivendra Pratap <shivendra.pratap@oss.qualcomm.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creating this pull request just for review of changes. This is DNM.