[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180806173806.GA26374@ban.mtv.corp.google.com>
Date: Mon, 6 Aug 2018 10:38:08 -0700
From: Brian Norris <briannorris@...omium.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Wei-Ning Huang <wnhuang@...omium.org>,
Julius Werner <jwerner@...omium.org>,
Samuel Holland <samuel@...lland.org>,
Thierry Escande <thierry.escande@...labora.com>
Subject: Re: [PATCH] firmware: coreboot: Let OF core populate platform device
On Mon, Aug 06, 2018 at 10:10:47AM -0700, Stephen Boyd wrote:
> Now that the /firmware/coreboot node in DT is populated by the core DT
> platform code with commit 3aa0582fdb82 ("of: platform: populate
> /firmware/ node from of_platform_default_populate_init()") we should and
Does this deserve a 'Fixes' tag?
Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from of_platform_default_populate_init()")
The coreboot-of driver was in 4.12, and it seems to have broken in 4.16,
along with the above patch.
> can remove the platform device creation here. Otherwise, the
> of_platform_device_create() call will fail, the coreboot of driver won't
> be registered, and this driver will never bind. At the same time, we can
> move this driver to use platform device APIs instead of DT specific ones
> and drop the of_node handling that was presumably placed there to hold a
> reference to the DT node created during module init.
>
> Cc: Wei-Ning Huang <wnhuang@...omium.org>
> Cc: Julius Werner <jwerner@...omium.org>
> Cc: Brian Norris <briannorris@...omium.org>
Reviewed-by: Brian Norris <briannorris@...omium.org>
> Cc: Samuel Holland <samuel@...lland.org>
> Cc: Thierry Escande <thierry.escande@...labora.com>
> Signed-off-by: Stephen Boyd <swboyd@...omium.org>
> ---
> drivers/firmware/google/coreboot_table-of.c | 39 +++++----------------
> 1 file changed, 9 insertions(+), 30 deletions(-)
Powered by blists - more mailing lists