da9062-onkey.txt 822 B

1234567891011121314151617181920212223242526272829303132
  1. * Dialog DA9062/63 OnKey Module
  2. This module is part of the DA9062/DA9063. For more details about entire
  3. chips see Documentation/devicetree/bindings/mfd/da9062.txt and
  4. Documentation/devicetree/bindings/mfd/da9063.txt
  5. This module provides KEY_POWER, KEY_SLEEP and events.
  6. Required properties:
  7. - compatible: should be one of:
  8. dlg,da9062-onkey
  9. dlg,da9063-onkey
  10. Optional properties:
  11. - dlg,disable-key-power : Disable power-down using a long key-press. If this
  12. entry exists the OnKey driver will remove support for the KEY_POWER key
  13. press. If this entry does not exist then by default the key-press
  14. triggered power down is enabled and the OnKey will support both KEY_POWER
  15. and KEY_SLEEP.
  16. Example:
  17. pmic0: da9062@58 {
  18. onkey {
  19. compatible = "dlg,da9063-onkey";
  20. dlg,disable-key-power;
  21. };
  22. };