summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2026-05-19 11:41:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-27 17:48:15 +0300
commit96da0d86614e2e8ab34afd5b8578e8ee43963df5 (patch)
tree1acd7394f8682a2af7db9aef4f82515e1beb68de /include/linux/platform_data
parentba1fcd1bac89d0403f910754e1d5ec22acb5bf28 (diff)
downloadlinux-96da0d86614e2e8ab34afd5b8578e8ee43963df5.tar.xz
drm/amd/pm/smu7: Notify SMU7 of DC->AC switch
When ATOM_PP_PLATFORM_CAP_HARDWAREDC is set, the SMU has a GPIO pin for detecting AC/DC switch and everything works automatically. Otherwise when there is no GPIO pin, the SMU can automatically detect switching to DC, but needs to be notified of switching to AC. Use PPSMC_MSG_RunningOnAC to notify the SMC when switching to AC. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions