da9062-onkey.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. * Dialog DA9061/62/63 OnKey Module
  2. This module is part of the DA9061/DA9062/DA9063. For more details about entire
  3. DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
  4. For DA9063 see Documentation/devicetree/bindings/mfd/da9063.txt
  5. This module provides the KEY_POWER event.
  6. Required properties:
  7. - compatible: should be one of the following valid compatible string lines:
  8. "dlg,da9061-onkey", "dlg,da9062-onkey"
  9. "dlg,da9062-onkey"
  10. "dlg,da9063-onkey"
  11. Optional properties:
  12. - dlg,disable-key-power : Disable power-down using a long key-press. If this
  13. entry exists the OnKey driver will remove support for the KEY_POWER key
  14. press when triggered using a long press of the OnKey.
  15. Example: DA9063
  16. pmic0: da9063@58 {
  17. onkey {
  18. compatible = "dlg,da9063-onkey";
  19. dlg,disable-key-power;
  20. };
  21. };
  22. Example: DA9062
  23. pmic0: da9062@58 {
  24. onkey {
  25. compatible = "dlg,da9062-onkey";
  26. dlg,disable-key-power;
  27. };
  28. };
  29. Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
  30. pmic0: da9061@58 {
  31. onkey {
  32. compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
  33. dlg,disable-key-power;
  34. };
  35. };