Re: [PATCH] soc/tegra: pmc: Restrict power-off handler to Nexus 7

From: Thierry Reding

Date: Thu May 28 2026 - 17:11:55 EST


From: Thierry Reding <treding@xxxxxxxxxx>


On Thu, 21 May 2026 15:48:48 +0200, Diogo Ivo wrote:
> The Tegra PMC power-off handler exists solely to reboot the Nexus 7 into
> a special bootloader mode when a USB cable is connected, so that the
> bootloader can display battery status instead of powering off. There is
> no reason to register it on any other Tegra board.
>
> Guard the registration behind of_machine_is_compatible("asus,grouper")
> and rename the handler to tegra_pmc_grouper_power_off_handler to make
> its scope explicit. The of_machine_is_compatible() check inside the
> handler itself is now redundant and is removed.
>
> [...]

Applied, thanks!

[1/1] soc/tegra: pmc: Restrict power-off handler to Nexus 7
commit: 47f0beb3b19f5f46ac7d329bf0b7c173263f675e

Best regards,
--
Thierry Reding <treding@xxxxxxxxxx>