]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "dt-bindings: usb: mtk-xhci: Make all clocks required"
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 8 Jul 2022 19:26:05 +0000 (15:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jul 2022 14:07:14 +0000 (16:07 +0200)
commit5072b029b7e92ee017c5ae7c5ff970ac1f6c9e69
tree37bea4e94fe07ba764ac62f24c57b855719ffb5c
parent9874ca5e6881fe920511221f5e7aa79bee4108cc
Revert "dt-bindings: usb: mtk-xhci: Make all clocks required"

This reverts commit c87890d300822c8e880a3be308525a6a14b0ec46. That
commit was supposed to make the binding better reflect the MediaTek XHCI
hardware block by requiring all clocks to be present. But doing that
also causes too much noise in the devicetrees, since it requires
updating old MediaTek DTs to add clock handles for the fixed clocks, and
going forward every new clock added to the binding would require even
more updates.

The commit also didn't update the example to match the changes, causing
additional warnings.

Instead let's keep the clocks optional so that old devicetrees can keep
omitting the fixed clocks, and we'll just add the clocks as required on
new DTs.

Fixes: c87890d30082 ("dt-bindings: usb: mtk-xhci: Make all clocks required")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220708192605.43351-1-nfraprado@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml