Thread (8 messages) 8 messages, 3 authors, 2016-09-26

Re: [PATCH 1/2] PM / OPP: compatible is an optional property

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2016-09-23 05:16:22
Also in: linux-pm, lkml

On 22-09-16, 12:24, Stephen Boyd wrote:
On 09/21/2016 02:32 AM, Viresh Kumar wrote:
quoted
It was never compulsory to have a compatible string in the OPP table.
Fix the documentation to mark it optional.

Also update its description a bit.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
Why? I'd prefer the compatible string to be required so we know what
sort of node it is.
Okay, the code doesn't have any checks for it then and that needs to be fixed.

Just for my clarity, for platforms with special OPP bindings and so a different
compatible string like: "operating-points-v2-XYZ", should the compatible string
contain both "operating-points-v2" and the above one? It would be easier to
check for "operating-points-v2" in that case from core code.

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help