The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/regulator/uniphier-regulator.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Socionext UniPhier Regulator Controller
    2 
    3 This describes the devicetree bindings for regulator controller implemented
    4 on Socionext UniPhier SoCs.
    5 
    6 USB3 Controller
    7 ---------------
    8 
    9 This regulator controls VBUS and belongs to USB3 glue layer. Before using
   10 the regulator, it is necessary to control the clocks and resets to enable
   11 this layer. These clocks and resets should be described in each property.
   12 
   13 Required properties:
   14 - compatible: Should be
   15     "socionext,uniphier-pro4-usb3-regulator" - for Pro4 SoC
   16     "socionext,uniphier-pro5-usb3-regulator" - for Pro5 SoC
   17     "socionext,uniphier-pxs2-usb3-regulator" - for PXs2 SoC
   18     "socionext,uniphier-ld20-usb3-regulator" - for LD20 SoC
   19     "socionext,uniphier-pxs3-usb3-regulator" - for PXs3 SoC
   20 - reg: Specifies offset and length of the register set for the device.
   21 - clocks: A list of phandles to the clock gate for USB3 glue layer.
   22         According to the clock-names, appropriate clocks are required.
   23 - clock-names: Should contain
   24     "gio", "link" - for Pro4 and Pro5 SoCs
   25     "link"        - for others
   26 - resets: A list of phandles to the reset control for USB3 glue layer.
   27         According to the reset-names, appropriate resets are required.
   28 - reset-names: Should contain
   29     "gio", "link" - for Pro4 and Pro5 SoCs
   30     "link"        - for others
   31 
   32 See Documentation/devicetree/bindings/regulator/regulator.txt
   33 for more details about the regulator properties.
   34 
   35 Example:
   36 
   37         usb-glue@65b00000 {
   38                 compatible = "socionext,uniphier-ld20-dwc3-glue",
   39                              "simple-mfd";
   40                 #address-cells = <1>;
   41                 #size-cells = <1>;
   42                 ranges = <0 0x65b00000 0x400>;
   43 
   44                 usb_vbus0: regulators@100 {
   45                         compatible = "socionext,uniphier-ld20-usb3-regulator";
   46                         reg = <0x100 0x10>;
   47                         clock-names = "link";
   48                         clocks = <&sys_clk 14>;
   49                         reset-names = "link";
   50                         resets = <&sys_rst 14>;
   51                 };
   52 
   53                 phy {
   54                         ...
   55                         phy-supply = <&usb_vbus0>;
   56                 };
   57                 ...
   58         };

Cache object: 4f9e5ed9e9a772780f428b68119931b5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.