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

From: Ming-jen Chen <mjchen0829@gmail.com>

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

v5:
  - Update nuvoton,ma35d1-keypad.yaml
    - Reorders the items in the properties and required blocks to ensure 
      their order and items are consistent.
v4:
  - Update nuvoton,ma35d1-keypad.yaml
    - Kept the same order of properties as in the required block.
    - Changed register addresses to lowercase.
v3:
  - Update nuvoton,ma35d1-keypad.yaml
    - Removed vendor-specific properties and replaced them with common properties
  - Update ma35d1_keypad.c
    - Modified the driver to reflect changes in the YAML properties
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

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

 .../bindings/input/nuvoton,ma35d1-keypad.yaml |  82 ++++
 drivers/input/keyboard/Kconfig                |  10 +
 drivers/input/keyboard/Makefile               |   1 +
 drivers/input/keyboard/ma35d1_keypad.c        | 387 ++++++++++++++++++
 4 files changed, 480 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] 6+ messages in thread

end of thread, other threads:[~2025-01-08  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08  1:18 [PATCH v5 0/2] Add support for nuvoton ma35d1 keypad controller Ming-Jen
2025-01-08  1:18 ` [PATCH v5 1/2] dt-bindings: input: Add Nuvoton MA35D1 keypad Ming-Jen
2025-01-08  8:13   ` Krzysztof Kozlowski
2025-01-08  8:42     ` Ming-Jen Chen
2025-01-08  8:55       ` Krzysztof Kozlowski
2025-01-08  1:18 ` [PATCH v5 2/2] input: keypad: add new keypad driver for MA35D1 Ming-Jen

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).