Re: [PATCH 0/7] Implement generic regulator constraints parsing for ACPI and OF

From: Dmitry Torokhov
Date: Wed Jan 25 2017 - 18:28:04 EST

On Wed, Jan 25, 2017 at 02:44:10PM -0700, Al Stone wrote:
> But, to the point of some of the other discussion on the thread, this ACPI sort
> of power management is a very, very different model than DT so that intertwining
> the two models is highly unlikely to work, IMHO.

And yet this is something that is sorely needed. If you look, for
example, at drivers in drivers/input/*, then all non-SOC-specific
devices can easily find their way onto both ACPI-based and DT-based
systems (not mentioning legacy-style boards). Having two distinct power
schemes implemented in drivers will lead to many problems.

Having unified way of describing hardware is how _DSD came about, right?
Nobody wanted to write and maintain and test two separate ways of
describing properties when one was already implemented and working.