[PATCH v18] Add matrix keypad driver support for Mediatek SoCs

2020-09-08 Thread Fengping Yu
Change since v17: - modify how to get keycode in keypad interrupt handler - replace variable ret as error in probe function - update keypad, num-columns and keypad, num-rows descriptioin fengping.yu (3): dt-bindings: Add bindings for Mediatek matrix keypad drivers: input:keyboard: Add mtk key

[PATCH v16] Add matrix keypad driver support for Mediatek SoCs

2020-07-27 Thread Fengping Yu
Change since v15: - modify regmap_raw_read to regmap_bulk_read - modify regmap output specifier to %pe fengping.yu (3): dt-bindings: Add keypad devicetree documentation drivers: input: keyboard: Add mtk keypad driver configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m .../devicetree/binding

[PATCH v15] Add matrix keypad driver support Mediatek SoCs

2020-07-20 Thread Fengping yu
Change since v14: - add PTR_ERR to resolve compiler warning - add IRQF_ONESHOT flag to request_irq fengping.yu (3): dt-bindings: Add keypad devicetree documentation drivers: input:keyboard: Add mtk keypad driver configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m .../devicetree/bindings/i

[PATCH v14] Add matrix keypad driver support Mediatek SoCs

2020-07-14 Thread Fengping Yu
Change since v13: - remove defconfig and mtk-kpd.yaml files reviewed-by tag fengping.yu (3): dt-bindings: Add keypad devicetree documentation drivers: input: keyboard: Add mtk keypad driver configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=m .../devicetree/bindings/input/mtk-kpd.yaml|

[PATCH v8] Add matrix keypad driver support for Mediatek SoCs

2020-05-14 Thread Fengping Yu
Change since v7: - specify compatible property as const string - add maxItem in required property - squash keypad example nodes - sort header file with alphabetic order - align all define values and add MTK_ prefix to make more uniform - change debounce value to default 16ms if not specified in dt

[PATCH v7] Add matrix keypad driver support for Mediatek SoCs

2020-05-13 Thread Fengping Yu
Change since v6: - update keypad device tree document schema fengping.yu (3): dt-bindings: Add keypad devicetree documentation drivers: input: keyboard: Add mtk keypad driver configs: defconfig: Add CONFIG_KEYBOARD_MTK_KPD=y .../devicetree/bindings/input/mtk-kpd.yaml| 102 ar

[PATCH v6] Add mtk matrix keypad driver for keypad on MTK SoC

2020-05-08 Thread Fengping Yu
Change since v5: - remove unnecessary include files - remove redundant comments and newlines - use local irqnr variable instead of member variable of mtk_keypad struct - use regmap to read and write registers - drop kpd_get_dts_info directly into probe function - use devm_add_action_or_reset to avo