Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: soc: mediatek: dvfsrc: Document clock

The DVFSRC hardware has a clock on all platforms.

Instead or proliferating the culture of omitting clock descriptions in
the clock controller drivers or marking them critical instead of
declaring these types of relationships, add this one to the binding.

Any device that wishes to use this binding should figure out their
incomplete or incorrect clock situation first before piling more
features on top.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

authored by

Nicolas Frattaroli and committed by
AngeloGioacchino Del Regno
831ee170 db6dcaee

+6
+6
Documentation/devicetree/bindings/soc/mediatek/mediatek,mt8183-dvfsrc.yaml
··· 34 34 maxItems: 1 35 35 description: DVFSRC common register address and length. 36 36 37 + clocks: 38 + items: 39 + - description: Clock that drives the DVFSRC MCU 40 + 37 41 regulators: 38 42 type: object 39 43 $ref: /schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml# ··· 54 50 55 51 examples: 56 52 - | 53 + #include <dt-bindings/clock/mt8195-clk.h> 57 54 soc { 58 55 #address-cells = <2>; 59 56 #size-cells = <2>; ··· 62 57 system-controller@10012000 { 63 58 compatible = "mediatek,mt8195-dvfsrc"; 64 59 reg = <0 0x10012000 0 0x1000>; 60 + clocks = <&topckgen CLK_TOP_DVFSRC>; 65 61 66 62 regulators { 67 63 compatible = "mediatek,mt8195-dvfsrc-regulator";