Re: [PATCH v2 1/2] of: Create platform devices for OF framebuffers

2022-04-19 Thread Thomas Zimmermann
Hi Am 19.04.22 um 15:30 schrieb Rob Herring: ... -#ifndef CONFIG_PPC static const struct of_device_id reserved_mem_matches[] = { { .compatible = "qcom,rmtfs-mem" }, { .compatible = "qcom,cmd-db" }, @@ -520,33 +519,81 @@ static const struct of_device_id reserved_mem_matches[] =

Re: [PATCH v2 1/2] of: Create platform devices for OF framebuffers

2022-04-19 Thread Rob Herring
On Tue, Apr 19, 2022 at 12:04:04PM +0200, Thomas Zimmermann wrote: > Create a platform device for each OF-declared framebuffer and have > offb bind to these devices. Allows for real hot-unplugging and other > drivers besides offb. > > Originally, offb created framebuffer devices while initializing

[PATCH v2 1/2] of: Create platform devices for OF framebuffers

2022-04-19 Thread Thomas Zimmermann
Create a platform device for each OF-declared framebuffer and have offb bind to these devices. Allows for real hot-unplugging and other drivers besides offb. Originally, offb created framebuffer devices while initializing its module by parsing the OF device tree. No actual Linux device was set up.