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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/mt6397.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/mfd/mt6397.txt (Architecture m68k) and /Documentation/devicetree/bindings/mfd/mt6397.txt (Architecture sparc)


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

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