diff options
| author | Loic Poulain <loic.poulain@oss.qualcomm.com> | 2026-09-04 17:42:19 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-21 11:28:11 +0200 |
| commit | 48925a1d5e569735031bcc2f2c19e6ce7a38e424 (patch) | |
| tree | 8817b0d7ec2b19caa5e2d2989893d435044677ea /include/linux/debugobjects.h | |
| parent | bf544a7a60e9eb45f3e22bd1a5184ccc16d75cc8 (diff) | |
| download | linux-next-48925a1d5e569735031bcc2f2c19e6ce7a38e424.tar.gz linux-next-48925a1d5e569735031bcc2f2c19e6ce7a38e424.zip | |
power: sequencing: pcie-m2: Report power controllability
The M.2 Key E connector gates/resets its functions through the
W_DISABLE1# (PCIe/WiFi) and W_DISABLE2# (Bluetooth) signals.
When a signal is not routed to a host GPIO, the corresponding
enable/disable callbacks are no-ops, so the consumer cannot gate
or reset that function on its own.
Implement the .is_controllable() callback on the "uart" and "pcie"
targets so that consumers can query this per instance (based on the
runtime presence of the W_DISABLE2#/W_DISABLE1# GPIOs) via
pwrseq_is_controllable().
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20260904-monza-wireless-v6-4-d8c5042b3efd@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
