dm: core: Add a way to read platdata for all child devices