Re: [PATCH 10/24] macio: Bury unwanted "macio-gpio" devices

2020-05-19 Thread Markus Armbruster
Mark Cave-Ayland writes: > On 18/05/2020 06:03, Markus Armbruster wrote: > >> These devices go with the "via-pmu" device, which is controlled by >> property "has-pmu". macio_newworld_init() creates it unconditionally, >> because the property has not been set then. macio_newworld_realize() >>

Re: [PATCH 10/24] macio: Bury unwanted "macio-gpio" devices

2020-05-18 Thread Mark Cave-Ayland
On 18/05/2020 06:03, Markus Armbruster wrote: > These devices go with the "via-pmu" device, which is controlled by > property "has-pmu". macio_newworld_init() creates it unconditionally, > because the property has not been set then. macio_newworld_realize() > realizes it only when the property

[PATCH 10/24] macio: Bury unwanted "macio-gpio" devices

2020-05-17 Thread Markus Armbruster
These devices go with the "via-pmu" device, which is controlled by property "has-pmu". macio_newworld_init() creates it unconditionally, because the property has not been set then. macio_newworld_realize() realizes it only when the property is true. Works, although it can leave an unrealized