]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: Add linux,code for fwuen button
authorMichal Simek <michal.simek@amd.com>
Wed, 11 May 2022 09:52:53 +0000 (11:52 +0200)
committerMichal Simek <michal.simek@amd.com>
Wed, 18 May 2022 11:17:54 +0000 (13:17 +0200)
commit005fc359c13db132113a910742c5d64e3c10a370
treee7b74ecd5bf75ccad92d539b2b69ed10a60e97b7
parent18fc7b5c84c4b61e2b16fd444d5a19894fa33bb8
arm64: zynqmp: Add linux,code for fwuen button

BTN_MISC looks like the most reasonable option for this button.
Button is used by firmware to indicate (after reset, power up) that user
wants to do firmware upgrade via firmware update utility.
For bootloader or OS is this just user button which is worth to have it
mapped.
Also button can be used as a wakeup source and pressing it for more time
can generate more chars that's why also adding wakeup-source and autorepeat
properties.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/7f6d627473632c3c3036ec9f6aaa36e00f4615e2.1652262769.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sm-k26-revA.dts