dt-bindings: firmware: scm: Refactor compatibles and clocks
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 29 Aug 2018 23:15:03 +0000 (16:15 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 14 Sep 2018 05:31:40 +0000 (00:31 -0500)
commit8a07855e66e6b8ddf452d81c6aac0b1ff3665e86
tree71561180dcc3c23c4b8ed2220ba0f7596db58851
parent13a920ae7898ffa075391ba36b63251f686d38a3
dt-bindings: firmware: scm: Refactor compatibles and clocks

When the binding was written all "future" platforms required three
clocks, so the default compatible (qcom,scm) was defined to require
this. But as history shows all "future" platforms actually lack required
clocks. Given how the binding is written these compatibles have to be
added as an exception to the default.

Refactor the description of compatible to define that a platform
compatible should be given, followed by the fallback of qcom,scm. Also
refactor the description of the clocks in a way that this does not need
to be updated as new platform specific compatibles are added.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/firmware/qcom,scm.txt