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/mfd/mt6397.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 MediaTek MT6397/MT6323 Multifunction Device Driver
    2 
    3 MT6397/MT6323 is a multifunction device with the following sub modules:
    4 - Regulator
    5 - RTC
    6 - Audio codec
    7 - GPIO
    8 - Clock
    9 - LED
   10 - Keys
   11 - Power controller
   12 
   13 It is interfaced to host controller using SPI interface by a proprietary hardware
   14 called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap.
   15 See the following for pwarp node definitions:
   16 ../soc/mediatek/pwrap.txt
   17 
   18 This document describes the binding for MFD device and its sub module.
   19 
   20 Required properties:
   21 compatible:
   22         "mediatek,mt6323" for PMIC MT6323
   23         "mediatek,mt6331" for PMIC MT6331 and MT6332
   24         "mediatek,mt6358" for PMIC MT6358 and MT6366
   25         "mediatek,mt6359" for PMIC MT6359
   26         "mediatek,mt6397" for PMIC MT6397
   27 
   28 Optional subnodes:
   29 
   30 - rtc
   31         Required properties: Should be one of follows
   32                 - compatible: "mediatek,mt6323-rtc"
   33                 - compatible: "mediatek,mt6331-rtc"
   34                 - compatible: "mediatek,mt6358-rtc"
   35                 - compatible: "mediatek,mt6397-rtc"
   36         For details, see ../rtc/rtc-mt6397.txt
   37 - regulators
   38         Required properties:
   39                 - compatible: "mediatek,mt6323-regulator"
   40         see ../regulator/mt6323-regulator.txt
   41                 - compatible: "mediatek,mt6358-regulator"
   42         see ../regulator/mt6358-regulator.txt
   43                 - compatible: "mediatek,mt6397-regulator"
   44         see ../regulator/mt6397-regulator.txt
   45 - codec
   46         Required properties:
   47                 - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound"
   48 - clk
   49         Required properties:
   50                 - compatible: "mediatek,mt6397-clk"
   51 - led
   52         Required properties:
   53                 - compatible: "mediatek,mt6323-led"
   54         see ../leds/leds-mt6323.txt
   55 
   56 - keys
   57         Required properties: Should be one of the following
   58                 - compatible: "mediatek,mt6323-keys"
   59                 - compatible: "mediatek,mt6331-keys"
   60                 - compatible: "mediatek,mt6397-keys"
   61         see ../input/mtk-pmic-keys.txt
   62 
   63 - power-controller
   64         Required properties:
   65                 - compatible: "mediatek,mt6323-pwrc"
   66         For details, see ../power/reset/mt6323-poweroff.txt
   67 
   68 - pin-controller
   69         Required properties:
   70                 - compatible: "mediatek,mt6397-pinctrl"
   71         For details, see ../pinctrl/pinctrl-mt65xx.txt
   72 
   73 Example:
   74         pwrap: pwrap@1000f000 {
   75                 compatible = "mediatek,mt8135-pwrap";
   76 
   77                 ...
   78 
   79                 pmic {
   80                         compatible = "mediatek,mt6397";
   81 
   82                         codec: mt6397codec {
   83                                 compatible = "mediatek,mt6397-codec";
   84                         };
   85 
   86                         regulators {
   87                                 compatible = "mediatek,mt6397-regulator";
   88 
   89                                 mt6397_vpca15_reg: buck_vpca15 {
   90                                         regulator-compatible = "buck_vpca15";
   91                                         regulator-name = "vpca15";
   92                                         regulator-min-microvolt = <850000>;
   93                                         regulator-max-microvolt = <1400000>;
   94                                         regulator-ramp-delay = <12500>;
   95                                         regulator-always-on;
   96                                 };
   97 
   98                                 mt6397_vgp4_reg: ldo_vgp4 {
   99                                         regulator-compatible = "ldo_vgp4";
  100                                         regulator-name = "vgp4";
  101                                         regulator-min-microvolt = <1200000>;
  102                                         regulator-max-microvolt = <3300000>;
  103                                         regulator-enable-ramp-delay = <218>;
  104                                 };
  105                         };
  106                 };
  107         };

Cache object: da7863a55bcb688c42d5541be4dca742


[ 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.