ti-omap5-opp-supply.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Texas Instruments OMAP compatible OPP supply description
  2. OMAP5, DRA7, and AM57 family of SoCs have Class0 AVS eFuse registers which
  3. contain data that can be used to adjust voltages programmed for some of their
  4. supplies for more efficient operation. This binding provides the information
  5. needed to read these values and use them to program the main regulator during
  6. an OPP transitions.
  7. Also, some supplies may have an associated vbb-supply which is an Adaptive Body
  8. Bias regulator which much be transitioned in a specific sequence with regards
  9. to the vdd-supply and clk when making an OPP transition. By supplying two
  10. regulators to the device that will undergo OPP transitions we can make use
  11. of the multi regulator binding that is part of the OPP core described here [1]
  12. to describe both regulators needed by the platform.
  13. [1] Documentation/devicetree/bindings/opp/opp.txt
  14. Required Properties for Device Node:
  15. - vdd-supply: phandle to regulator controlling VDD supply
  16. - vbb-supply: phandle to regulator controlling Body Bias supply
  17. (Usually Adaptive Body Bias regulator)
  18. Required Properties for opp-supply node:
  19. - compatible: Should be one of:
  20. "ti,omap-opp-supply" - basic OPP supply controlling VDD and VBB
  21. "ti,omap5-opp-supply" - OMAP5+ optimized voltages in efuse(class0)VDD
  22. along with VBB
  23. "ti,omap5-core-opp-supply" - OMAP5+ optimized voltages in efuse(class0) VDD
  24. but no VBB.
  25. - reg: Address and length of the efuse register set for the device (mandatory
  26. only for "ti,omap5-opp-supply")
  27. - ti,efuse-settings: An array of u32 tuple items providing information about
  28. optimized efuse configuration. Each item consists of the following:
  29. volt: voltage in uV - reference voltage (OPP voltage)
  30. efuse_offseet: efuse offset from reg where the optimized voltage is stored.
  31. - ti,absolute-max-voltage-uv: absolute maximum voltage for the OPP supply.
  32. Example:
  33. /* Device Node (CPU) */
  34. cpus {
  35. cpu0: cpu@0 {
  36. device_type = "cpu";
  37. ...
  38. vdd-supply = <&vcc>;
  39. vbb-supply = <&abb_mpu>;
  40. };
  41. };
  42. /* OMAP OPP Supply with Class0 registers */
  43. opp_supply_mpu: opp_supply@4a003b20 {
  44. compatible = "ti,omap5-opp-supply";
  45. reg = <0x4a003b20 0x8>;
  46. ti,efuse-settings = <
  47. /* uV offset */
  48. 1060000 0x0
  49. 1160000 0x4
  50. 1210000 0x8
  51. >;
  52. ti,absolute-max-voltage-uv = <1500000>;
  53. };