Mainline:Broadcom Kona/BCM590xx/PONKEY: Difference between revisions

Created page with "The BCM590XX PMU can handle a power-on key (the responsible section is nicknamed PONKEY). == Key press detection == When a key is pressed, the internal IRQ for a key press is raised; when it is released, the internal IRQ for a key release is raised. A driver can interpret these IRQs to toggle a key on/off (in downstream, it's wired up to <code>KEY_POWER</code> by default. === Debounce interval === A debounce interval can be configured independently for button press a..."
 
 
Line 3: Line 3:
== Key press detection ==
== Key press detection ==


When a key is pressed, the internal IRQ for a key press is raised; when it is released, the internal IRQ for a key release is raised. A driver can interpret these IRQs to toggle a key on/off (in downstream, it's wired up to <code>KEY_POWER</code> by default.
When a key is pressed, the internal IRQ for a key press (BCM59054_IRQ_POK_PRESSED/BCM59056_IRQ_PONKEYB_F) is raised; when it is released, the internal IRQ for a key release (BCM59054_IRQ_POK_RELEASED/BCM59056_IRQ_PONKEYB_R) is raised. A driver can interpret these IRQs to toggle a key on/off (in downstream, it's wired up to <code>KEY_POWER</code> by default.


=== Debounce interval ===
=== Debounce interval ===