OSDN Git Service

dt-bindings: phy-qcom-qmp: Move #clock-cells to child
authorEvan Green <evgreen@chromium.org>
Mon, 10 Dec 2018 19:32:04 +0000 (11:32 -0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:32:12 +0000 (10:02 +0530)
commitd21aafe9a4a55ae5efcd640c0f3dc64ac047d38e
tree3a14498106c1e9b9f948e06b83d11a84da12eeb6
parent5e17b95d9893dbbe3366c4d66b0f1677cce99997
dt-bindings: phy-qcom-qmp: Move #clock-cells to child

The phy-qcom-qmp bindings specified #clock-cells as 1. This was never used
because of_clk_add_provider() was never called, so there was no way anybody
could reference these clocks from DT. Furthermore, even if they could be
accessed, the bindings never specified what should go in that additional
cell.

Fix these incomplete and broken bindings. Move the #clock-cells into the
child node, since that is the actual clock provider, and not all
instances of qcom-qmp-phy are clock providers. Also set #clock-cells to
zero, since there's nothing to pass to it.

Signed-off-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt