Messages in this thread | | | Date | Tue, 14 Jan 2020 15:16:43 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v3 4/7] drm/panfrost: Add support for multiple regulators |
| |
On Tue, Jan 14, 2020 at 03:15:59PM +0800, Nicolas Boichat wrote:
> - I couldn't find a way to detect the number of regulators in the > device tree, if we wanted to refuse to probe the device if there > are too many regulators, which might be required for safety, see > the thread on v2 [1].
You'd need to enumerate all the properties of the device and look for things matching *-supply.
Reviewed-by: Mark Brown <broonie@kernel.org> [unhandled content-type:application/pgp-signature] | |