~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/phy-miphy365x.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/phy/phy-miphy365x.txt (Architecture sparc64) and /Documentation/devicetree/bindings/phy/phy-miphy365x.txt (Architecture sparc)


  1 STMicroelectronics STi MIPHY365x PHY binding        1 STMicroelectronics STi MIPHY365x PHY binding
  2 ============================================        2 ============================================
  3                                                     3 
  4 This binding describes a miphy device that is       4 This binding describes a miphy device that is used to control PHY hardware
  5 for SATA and PCIe.                                  5 for SATA and PCIe.
  6                                                     6 
  7 Required properties (controller (parent) node)      7 Required properties (controller (parent) node):
  8 - compatible    : Should be "st,miphy365x-phy"      8 - compatible    : Should be "st,miphy365x-phy"
  9 - st,syscfg     : Phandle / integer array prop      9 - st,syscfg     : Phandle / integer array property. Phandle of sysconfig group
 10                   containing the miphy registe     10                   containing the miphy registers and integer array should contain
 11                   an entry for each port sub-n     11                   an entry for each port sub-node, specifying the control
 12                   register offset inside the s     12                   register offset inside the sysconfig group.
 13                                                    13 
 14 Required nodes  :  A sub-node is required for      14 Required nodes  :  A sub-node is required for each channel the controller
 15                    provides. Address range inf     15                    provides. Address range information including the usual
 16                    'reg' and 'reg-names' prope     16                    'reg' and 'reg-names' properties are used inside these
 17                    nodes to describe the contr     17                    nodes to describe the controller's topology. These nodes
 18                    are translated by the drive     18                    are translated by the driver's .xlate() function.
 19                                                    19 
 20 Required properties (port (child) node):           20 Required properties (port (child) node):
 21 - #phy-cells    : Should be 1 (See second exam     21 - #phy-cells    : Should be 1 (See second example)
 22                   Cell after port phandle is d     22                   Cell after port phandle is device type from:
 23                         - PHY_TYPE_SATA            23                         - PHY_TYPE_SATA
 24                         - PHY_TYPE_PCI             24                         - PHY_TYPE_PCI
 25 - reg           : Address and length of regist     25 - reg           : Address and length of register sets for each device in
 26                   "reg-names"                      26                   "reg-names"
 27 - reg-names     : The names of the register ad     27 - reg-names     : The names of the register addresses corresponding to the
 28                   registers filled in "reg":       28                   registers filled in "reg":
 29                         - sata:   For SATA dev     29                         - sata:   For SATA devices
 30                         - pcie:   For PCIe dev     30                         - pcie:   For PCIe devices
 31                                                    31 
 32 Optional properties (port (child) node):           32 Optional properties (port (child) node):
 33 - st,sata-gen        :  Generation of locally      33 - st,sata-gen        :  Generation of locally attached SATA IP. Expected values
 34                         are {1,2,3). If not su     34                         are {1,2,3). If not supplied generation 1 hardware will
 35                         be expected                35                         be expected
 36 - st,pcie-tx-pol-inv :  Bool property to inver     36 - st,pcie-tx-pol-inv :  Bool property to invert the polarity PCIe Tx (Txn/Txp)
 37 - st,sata-tx-pol-inv :  Bool property to inver     37 - st,sata-tx-pol-inv :  Bool property to invert the polarity SATA Tx (Txn/Txp)
 38                                                    38 
 39 Example:                                           39 Example:
 40                                                    40 
 41         miphy365x_phy: miphy365x@fe382000 {        41         miphy365x_phy: miphy365x@fe382000 {
 42                 compatible      = "st,miphy365     42                 compatible      = "st,miphy365x-phy";
 43                 st,syscfg       = <&syscfg_rea     43                 st,syscfg       = <&syscfg_rear 0x824 0x828>;
 44                 #address-cells  = <1>;             44                 #address-cells  = <1>;
 45                 #size-cells     = <1>;             45                 #size-cells     = <1>;
 46                 ranges;                            46                 ranges;
 47                                                    47 
 48                 phy_port0: port@fe382000 {         48                 phy_port0: port@fe382000 {
 49                         reg = <0xfe382000 0x10     49                         reg = <0xfe382000 0x100>, <0xfe394000 0x100>;
 50                         reg-names = "sata", "p     50                         reg-names = "sata", "pcie";
 51                         #phy-cells = <1>;          51                         #phy-cells = <1>;
 52                         st,sata-gen = <3>;         52                         st,sata-gen = <3>;
 53                 };                                 53                 };
 54                                                    54 
 55                 phy_port1: port@fe38a000 {         55                 phy_port1: port@fe38a000 {
 56                         reg = <0xfe38a000 0x10     56                         reg = <0xfe38a000 0x100>, <0xfe804000 0x100>;;
 57                         reg-names = "sata", "p     57                         reg-names = "sata", "pcie", "syscfg";
 58                         #phy-cells = <1>;          58                         #phy-cells = <1>;
 59                         st,pcie-tx-pol-inv;        59                         st,pcie-tx-pol-inv;
 60                 };                                 60                 };
 61         };                                         61         };
 62                                                    62 
 63 Specifying phy control of devices                  63 Specifying phy control of devices
 64 =================================                  64 =================================
 65                                                    65 
 66 Device nodes should specify the configuration      66 Device nodes should specify the configuration required in their "phys"
 67 property, containing a phandle to the phy port     67 property, containing a phandle to the phy port node and a device type.
 68                                                    68 
 69 Example:                                           69 Example:
 70                                                    70 
 71 #include <dt-bindings/phy/phy.h>                   71 #include <dt-bindings/phy/phy.h>
 72                                                    72 
 73         sata0: sata@fe380000 {                     73         sata0: sata@fe380000 {
 74                 ...                                74                 ...
 75                 phys      = <&phy_port0 PHY_TY     75                 phys      = <&phy_port0 PHY_TYPE_SATA>;
 76                 ...                                76                 ...
 77         };                                         77         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php