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

Documentation: bindings: add the Berlin SATA PHY

The Berlin SATA PHY drives the PHY related to the SATA interface. Add
the corresponding documentation.

Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Antoine Ténart and committed by
Kishon Vijay Abraham I
6e58240f 942a31b5

+34
+34
Documentation/devicetree/bindings/phy/berlin-sata-phy.txt
··· 1 + Berlin SATA PHY 2 + --------------- 3 + 4 + Required properties: 5 + - compatible: should be "marvell,berlin2q-sata-phy" 6 + - address-cells: should be 1 7 + - size-cells: should be 0 8 + - phy-cells: from the generic PHY bindings, must be 1 9 + - reg: address and length of the register 10 + - clocks: reference to the clock entry 11 + 12 + Sub-nodes: 13 + Each PHY should be represented as a sub-node. 14 + 15 + Sub-nodes required properties: 16 + - reg: the PHY number 17 + 18 + Example: 19 + sata_phy: phy@f7e900a0 { 20 + compatible = "marvell,berlin2q-sata-phy"; 21 + reg = <0xf7e900a0 0x200>; 22 + clocks = <&chip CLKID_SATA>; 23 + #address-cells = <1>; 24 + #size-cells = <0>; 25 + #phy-cells = <1>; 26 + 27 + sata-phy@0 { 28 + reg = <0>; 29 + }; 30 + 31 + sata-phy@1 { 32 + reg = <1>; 33 + }; 34 + };