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

dt-bindings: phy-mtk-tphy: add the properties about address mapping

Add three required properties about the address mapping, including
'#address-cells', '#size-cells' and 'ranges'

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Chunfeng Yun and committed by
Kishon Vijay Abraham I
7dffdebb c857481b

+10
+10
Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
··· 14 14 make use of "mediatek,generic-tphy-v1" on mt2701 instead and 15 15 "mediatek,generic-tphy-v2" on mt2712 instead. 16 16 17 + - #address-cells: the number of cells used to represent physical 18 + base addresses. 19 + - #size-cells: the number of cells used to represent the size of an address. 20 + - ranges: the address mapping relationship to the parent, defined with 21 + - empty value: if optional 'reg' is used. 22 + - non-empty value: if optional 'reg' is not used. should set 23 + the child's base address to 0, the physical address 24 + within parent's address space, and the length of 25 + the address map. 26 + 17 27 Required nodes : a sub-node is required for each port the controller 18 28 provides. Address range information including the usual 19 29 'reg' property is used inside these nodes to describe