Skip to content

dm: input: driver for buttons with linux, code declaration

Dzmitry Sankouski u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 8 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gpio: qcom: add direction functions for pwrkeydrivers/gpio/qcom_pmic_gpio.c+16 -01 reply
2/5dts: add missing linux,code in gpio-keysarch/arm/dts/am3517-evm-ui.dtsi arch/arm/dts/imx6ul-phytec-segin-peb-eval-01.dtsi arch/arm/dts/rk3288-popmetal.dtsi +2 more+10 -21 reply
3/5test: create dedicated fdt node for ofnode_for_each_prop testarch/sandbox/dts/test.dts test/dm/ofnode.c+15 -12 replies
4/5dm: button: add support for linux_code in button-gpio.c driverarch/sandbox/dts/test.dts drivers/button/button-gpio.c drivers/button/button-uclass.c +2 more+57 -12 replies
5/5dm: input: add button_kbd driverdrivers/input/Kconfig drivers/input/Makefile drivers/input/button_kbd.c+136 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSumit GargSimon Glass
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] dm: input: driver for buttons with linux, code declaration

Bootmenu requires an input device with arrows and enter key. A common smartphone luckily has power, volume up/down buttons, which may be used for controlling bootmenu.

Button keyboard driver relies on button driver - iterates over all button with linux,code, checks state and sends events. Add support for linux,code in button driver.
Fix qcom pwr-key gpio driver to work with button driver.

Dzmitry Sankouski (5):
gpio: qcom: add direction functions for pwrkey
dts: add missing linux,code in gpio-keys
test: create dedicated fdt node for ofnode_for_each_prop test
dm: button: add support for linux_code in button-gpio.c driver
dm: input: add button_kbd driver

 arch/arm/dts/am3517-evm-ui.dtsi               |   2 +-
 .../dts/imx6ul-phytec-segin-peb-eval-01.dtsi  |   2 +-
 arch/arm/dts/rk3288-popmetal.dtsi             |   2 +
 arch/arm/dts/rk3288-tinker.dtsi               |   2 +
 arch/sandbox/dts/sandbox.dtsi                 |   4 +
 arch/sandbox/dts/test.dts                     |  16 +++
 drivers/button/button-gpio.c                  |  17 ++-
 drivers/button/button-uclass.c                |  10 ++
 drivers/gpio/qcom_pmic_gpio.c                 |  16 +++
 drivers/input/Kconfig                         |   9 ++
 drivers/input/Makefile                        |   1 +
 drivers/input/button_kbd.c                    | 126 ++++++++++++++++++
 include/button.h                              |  16 +++
 test/dm/button.c                              |  13 ++
 test/dm/ofnode.c                              |   2 +-
 15 files changed, 234 insertions(+), 4 deletions(-)
 create mode 100644 drivers/input/button_kbd.c
Signature · 1 line
2.30.2