linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for nuvoton ma35d1 keypad controller
@ 2024-11-12  5:30 mjchen
  2024-11-12  5:30 ` [PATCH v2 1/2] dt-bindings: input: Add Nuvoton MA35D1 keypad mjchen
  2024-11-12  5:30 ` [PATCH v2 2/2] input: keypad: add new keypad driver for MA35D1 mjchen
  0 siblings, 2 replies; 9+ messages in thread
From: mjchen @ 2024-11-12  5:30 UTC (permalink / raw)
  To: dmitry.torokhov, robh, krzk+dt, conor+dt, sudeep.holla, peng.fan,
	arnd, mjchen0829, linux-arm-kernel, linux-input, devicetree,
	linux-kernel, mjchen

This patch series adds keypad driver for the nuvoton ma35 ARMv8 SoC.
It includes DT binding documentation and the ma35d1 keypad driver.

v2:
  - Update nuvoton,ma35d1-keypad.yaml
    - Fixed warnings and errors generated by running checkpatch.pl
    - Removed the previous version's properties and rewrote the
      properties in the Device Tree schema.
    - Renamed the Device Tree binding file to nuvoton,ma35d1-keypad.yaml
  - Update Kconfig
    - Added COMPILE_TEST to the depends on line in the Kconfig
  - Update ma35d1_keypad.c
    - Refactored error handling within the probe function.
    - Fixed the mixed use of devm and non-devm resource management.
    - Corrected alignment issues in the code.
    - Updated suspend and resume handling methods.
    - Fixed variable naming to remove camel casing.
    - Used for_each_set_bit() to check key states.
    - Modified the code to align with updates in the device tree binding

mjchen (2):
  dt-bindings: input: Add Nuvoton MA35D1 keypad
  input: keypad: add new keypad driver for MA35D1

 .../bindings/input/nuvoton,ma35d1-keypad.yaml |  89 +++++
 drivers/input/keyboard/Kconfig                |  10 +
 drivers/input/keyboard/Makefile               |   1 +
 drivers/input/keyboard/ma35d1_keypad.c        | 308 ++++++++++++++++++
 4 files changed, 408 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/nuvoton,ma35d1-keypad.yaml
 create mode 100644 drivers/input/keyboard/ma35d1_keypad.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-13 23:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12  5:30 [PATCH v2 0/2] Add support for nuvoton ma35d1 keypad controller mjchen
2024-11-12  5:30 ` [PATCH v2 1/2] dt-bindings: input: Add Nuvoton MA35D1 keypad mjchen
2024-11-12 17:59   ` Conor Dooley
2024-11-12 18:25   ` Rob Herring
2024-11-13 23:58     ` Ming-Jen Chen
2024-11-12  5:30 ` [PATCH v2 2/2] input: keypad: add new keypad driver for MA35D1 mjchen
2024-11-12  9:57   ` kernel test robot
2024-11-12 11:32   ` kernel test robot
2024-11-12 15:22   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).