mt6397.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. MediaTek MT6397 Multifunction Device Driver
  2. MT6397 is a multifunction device with the following sub modules:
  3. - Regulator
  4. - RTC
  5. - Audio codec
  6. - GPIO
  7. - Clock
  8. It is interfaced to host controller using SPI interface by a proprietary hardware
  9. called PMIC wrapper or pwrap. MT6397 MFD is a child device of pwrap.
  10. See the following for pwarp node definitions:
  11. Documentation/devicetree/bindings/soc/pwrap.txt
  12. This document describes the binding for MFD device and its sub module.
  13. Required properties:
  14. compatible: "mediatek,mt6397"
  15. Optional subnodes:
  16. - rtc
  17. Required properties:
  18. - compatible: "mediatek,mt6397-rtc"
  19. - regulators
  20. Required properties:
  21. - compatible: "mediatek,mt6397-regulator"
  22. see Documentation/devicetree/bindings/regulator/mt6397-regulator.txt
  23. - codec
  24. Required properties:
  25. - compatible: "mediatek,mt6397-codec"
  26. - clk
  27. Required properties:
  28. - compatible: "mediatek,mt6397-clk"
  29. Example:
  30. pwrap: pwrap@1000f000 {
  31. compatible = "mediatek,mt8135-pwrap";
  32. ...
  33. pmic {
  34. compatible = "mediatek,mt6397";
  35. codec: mt6397codec {
  36. compatible = "mediatek,mt6397-codec";
  37. };
  38. regulators {
  39. compatible = "mediatek,mt6397-regulator";
  40. mt6397_vpca15_reg: buck_vpca15 {
  41. regulator-compatible = "buck_vpca15";
  42. regulator-name = "vpca15";
  43. regulator-min-microvolt = <850000>;
  44. regulator-max-microvolt = <1400000>;
  45. regulator-ramp-delay = <12500>;
  46. regulator-always-on;
  47. };
  48. mt6397_vgp4_reg: ldo_vgp4 {
  49. regulator-compatible = "ldo_vgp4";
  50. regulator-name = "vgp4";
  51. regulator-min-microvolt = <1200000>;
  52. regulator-max-microvolt = <3300000>;
  53. regulator-enable-ramp-delay = <218>;
  54. };
  55. };
  56. };
  57. };