[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f8e3a66f-20a3-4819-ab1b-d0f163a2e95f@lunn.ch>
Date: Wed, 21 Feb 2024 23:37:00 +0100
From: Andrew Lunn <andrew@...n.ch>
To: "A. Sverdlin" <alexander.sverdlin@...mens.com>
Cc: linux-pm@...r.kernel.org, Sebastian Reichel <sre@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC] power: reset: restart-poweroff: convert to module
On Wed, Feb 21, 2024 at 06:46:07PM +0100, A. Sverdlin wrote:
> From: Alexander Sverdlin <alexander.sverdlin@...mens.com>
>
> The necessity of having a fake platform device for a generic, platform
> independent functionality is not obvious.
> Some platforms requre device tree modification for this, some would require
> ACPI tables modification, while functionality may be useful even to
> end-users without required expertise. Convert the platform driver to
> a simple module.
>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...mens.com>
> ---
> This RFC is merely to understand if this approach would be accepted.
> Converting to "tristate" could follow or preceed this patch.
So that is you use case here? Why do you want to be able to just load
this driver, without using DT to indicate it is needed by the
hardware?
Andrew
Powered by blists - more mailing lists