From patchwork Tue Jan 3 07:57:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaechul Lee X-Patchwork-Id: 9494571 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 220DE606B4 for ; Tue, 3 Jan 2017 07:58:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 121E620246 for ; Tue, 3 Jan 2017 07:58:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04A3726C9B; Tue, 3 Jan 2017 07:58:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09CEF2015F for ; Tue, 3 Jan 2017 07:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757505AbdACH5p (ORCPT ); Tue, 3 Jan 2017 02:57:45 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:38904 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751959AbdACH5g (ORCPT ); Tue, 3 Jan 2017 02:57:36 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJ702ZP923Y1W30@mailout3.samsung.com>; Tue, 03 Jan 2017 16:57:34 +0900 (KST) Received: from epsmges5p3.samsung.com (unknown [182.195.40.64]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170103075734epcas1p3305ba3302dab499526b5b320dfe5f2cf~WM-Tf-htL2150321503epcas1p3j; Tue, 3 Jan 2017 07:57:34 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id E1.2B.27486.D695B685; Tue, 3 Jan 2017 16:57:34 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170103075733epcas5p4a065198d4abf35081024af95055c67d2~WM-TN7vrf3041030410epcas5p4Z; Tue, 3 Jan 2017 07:57:33 +0000 (GMT) X-AuditID: b6c32a2e-f79b36d000006b5e-6b-586b596d0897 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 11.96.28332.D695B685; Tue, 3 Jan 2017 16:57:33 +0900 (KST) Received: from localhost.localdomain ([10.113.76.93]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJ700K0423HBR30@mmp2.samsung.com>; Tue, 03 Jan 2017 16:57:33 +0900 (KST) From: Jaechul Lee To: Dmitry Torokhov , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas Cc: Jaechul Lee , Andi Shyti , Chanwoo Choi , beomho.seo@samsung.com, galaxyra@gmail.com, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/4] input: tm2-touchkey: Add touchkey driver support for TM2 Date: Tue, 03 Jan 2017 16:57:15 +0900 Message-id: <1483430237-26823-3-git-send-email-jcsing.lee@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483430237-26823-1-git-send-email-jcsing.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAA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d2 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7J207J6s7LKgG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?SmFlQ2h1bCBMZWUbVGl6ZW4gUGxhdGZvcm0gTGFiLhtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170103075733epcas5p4a065198d4abf35081024af95055c67d2 X-RootMTR: 20170103075733epcas5p4a065198d4abf35081024af95055c67d2 References: <1483430237-26823-1-git-send-email-jcsing.lee@samsung.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support for the TM2 touch key and led functionlity. The driver interfaces with userspace through an input device and reports KEY_PHONE and KEY_BACK event types. LED brightness can be controlled by "/sys/class/leds/tm2-touchkey/brightness". Signed-off-by: Jaechul Lee Signed-off-by: Beomho Seo Reviewed-by: Javier Martinez Canillas --- drivers/input/keyboard/Kconfig | 11 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/tm2-touchkey.c | 326 ++++++++++++++++++++++++++++++++++ 3 files changed, 338 insertions(+) create mode 100644 drivers/input/keyboard/tm2-touchkey.c diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index cbd75cf..72c0ba1 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -666,6 +666,17 @@ config KEYBOARD_TC3589X To compile this driver as a module, choose M here: the module will be called tc3589x-keypad. +config KEYBOARD_TM2_TOUCHKEY + tristate "tm2-touchkey support" + depends on I2C + help + Say Y here to enable the tm2-touchkey. + touchkey driver for tm2. This driver can enable + the interrupt and make input events and control led brightness. + + To compile this driver as a module, choose M here. + module will be called tm2-touchkey + config KEYBOARD_TWL4030 tristate "TI TWL4030/TWL5030/TPS659x0 keypad support" depends on TWL4030_CORE diff --git a/drivers/input/keyboard/Makefile b/drivers/input/keyboard/Makefile index d9f4cfc..7d9acff 100644 --- a/drivers/input/keyboard/Makefile +++ b/drivers/input/keyboard/Makefile @@ -61,6 +61,7 @@ obj-$(CONFIG_KEYBOARD_SUN4I_LRADC) += sun4i-lradc-keys.o obj-$(CONFIG_KEYBOARD_SUNKBD) += sunkbd.o obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o obj-$(CONFIG_KEYBOARD_TEGRA) += tegra-kbc.o +obj-$(CONFIG_KEYBOARD_TM2_TOUCHKEY) += tm2-touchkey.o obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o obj-$(CONFIG_KEYBOARD_XTKBD) += xtkbd.o obj-$(CONFIG_KEYBOARD_W90P910) += w90p910_keypad.o diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c new file mode 100644 index 0000000..d9575d8 --- /dev/null +++ b/drivers/input/keyboard/tm2-touchkey.c @@ -0,0 +1,326 @@ +/* + * Driver for keys on GPIO lines capable of generating interrupts. + * + * Copyright 2005 Phil Blundell + * Copyright 2016 Samsung Electronics Co., Ltd. + * + * Author: Beomho Seo + * Author: Jaechul Lee + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define TM2_TOUCHKEY_DEV_NAME "tm2-touchkey" +#define TM2_TOUCHKEY_KEYCODE_REG 0x03 +#define TM2_TOUCHKEY_BASE_REG 0x00 +#define TM2_TOUCHKEY_CMD_LED_ON 0x10 +#define TM2_TOUCHKEY_CMD_LED_OFF 0x20 +#define TM2_TOUCHKEY_BIT_PRESS_EV BIT(3) +#define TM2_TOUCHKEY_BIT_KEYCODE GENMASK(2, 0) +#define TM2_TOUCHKEY_LED_VOLTAGE_MIN 2500000 +#define TM2_TOUCHKEY_LED_VOLTAGE_MAX 3300000 + +enum { + TM2_TOUCHKEY_KEY_MENU = 0x1, + TM2_TOUCHKEY_KEY_BACK, +}; + +#define tm2_touchkey_power_enable(x) __tm2_touchkey_power_onoff(x, 1) +#define tm2_touchkey_power_disable(x) __tm2_touchkey_power_onoff(x, 0) + +struct tm2_touchkey_data { + struct i2c_client *client; + struct input_dev *input_dev; + struct led_classdev led_dev; + + u8 keycode_type; + u8 pressed; + struct work_struct irq_work; + + bool power_onoff; + struct regulator *regulator_vcc; /* 1.8V */ + struct regulator *regulator_vdd; /* 3.3V */ +}; + +static void tm2_touchkey_led_brightness_set(struct led_classdev *led_dev, + enum led_brightness brightness) +{ + struct tm2_touchkey_data *samsung_touchkey = + container_of(led_dev, struct tm2_touchkey_data, led_dev); + u32 volt; + u8 data; + + if (brightness == LED_OFF) { + volt = TM2_TOUCHKEY_LED_VOLTAGE_MIN; + data = TM2_TOUCHKEY_CMD_LED_OFF; + } else { + volt = TM2_TOUCHKEY_LED_VOLTAGE_MAX; + data = TM2_TOUCHKEY_CMD_LED_ON; + } + + regulator_set_voltage(samsung_touchkey->regulator_vdd, volt, volt); + i2c_smbus_write_byte_data(samsung_touchkey->client, + TM2_TOUCHKEY_BASE_REG, data); +} + +static int __tm2_touchkey_power_onoff(struct tm2_touchkey_data + *samsung_touchkey, bool onoff) +{ + int ret = 0; + + if (samsung_touchkey->power_onoff == onoff) + return ret; + + if (onoff) { + ret = regulator_enable(samsung_touchkey->regulator_vcc); + if (ret) + return ret; + + ret = regulator_enable(samsung_touchkey->regulator_vdd); + if (ret) { + regulator_disable(samsung_touchkey->regulator_vcc); + return ret; + } + msleep(150); + } else { + int err; + + err = regulator_disable(samsung_touchkey->regulator_vcc); + if (err) + ret = err; + + err = regulator_disable(samsung_touchkey->regulator_vdd); + if (err && !ret) + ret = err; + } + samsung_touchkey->power_onoff = onoff; + + return ret; +} + +static void tm2_touchkey_irq_work(struct work_struct *irq_work) +{ + struct tm2_touchkey_data *samsung_touchkey = + container_of(irq_work, struct tm2_touchkey_data, irq_work); + + if (!samsung_touchkey->pressed) { + input_report_key(samsung_touchkey->input_dev, KEY_PHONE, 0); + input_report_key(samsung_touchkey->input_dev, KEY_BACK, 0); + } else { + if (samsung_touchkey->keycode_type == TM2_TOUCHKEY_KEY_MENU) + input_report_key(samsung_touchkey->input_dev, + KEY_PHONE, 1); + else + input_report_key(samsung_touchkey->input_dev, + KEY_BACK, 1); + } + input_sync(samsung_touchkey->input_dev); +} + +static irqreturn_t tm2_touchkey_irq_handler(int irq, void *devid) +{ + struct tm2_touchkey_data *samsung_touchkey = devid; + u32 data; + + data = i2c_smbus_read_byte_data(samsung_touchkey->client, + TM2_TOUCHKEY_KEYCODE_REG); + + if (data < 0) { + dev_err(&samsung_touchkey->client->dev, "Failed to read i2c data\n"); + return IRQ_HANDLED; + } + + samsung_touchkey->keycode_type = data & TM2_TOUCHKEY_BIT_KEYCODE; + samsung_touchkey->pressed = !(data & TM2_TOUCHKEY_BIT_PRESS_EV); + + if (samsung_touchkey->keycode_type != TM2_TOUCHKEY_KEY_MENU && + samsung_touchkey->keycode_type != TM2_TOUCHKEY_KEY_BACK) + return IRQ_HANDLED; + + schedule_work(&samsung_touchkey->irq_work); + + return IRQ_HANDLED; +} + +static int tm2_touchkey_probe(struct i2c_client *client, + const struct i2c_device_id *id) +{ + struct tm2_touchkey_data *samsung_touchkey; + int ret; + + ret = i2c_check_functionality(client->adapter, + I2C_FUNC_SMBUS_BYTE | + I2C_FUNC_SMBUS_BYTE_DATA); + if (!ret) { + dev_err(&client->dev, "No I2C functionality found\n"); + return -ENODEV; + } + + samsung_touchkey = devm_kzalloc(&client->dev, + sizeof(struct tm2_touchkey_data), GFP_KERNEL); + + if (!samsung_touchkey) { + dev_err(&client->dev, "Failed to allocate memory.\n"); + return -ENOMEM; + } + + samsung_touchkey->client = client; + i2c_set_clientdata(client, samsung_touchkey); + INIT_WORK(&samsung_touchkey->irq_work, tm2_touchkey_irq_work); + + /* regulator */ + samsung_touchkey->regulator_vcc = + devm_regulator_get(&client->dev, "vcc"); + if (IS_ERR(samsung_touchkey->regulator_vcc)) { + dev_err(&client->dev, "Failed to get vcc regulator\n"); + return PTR_ERR(samsung_touchkey->regulator_vcc); + } + + samsung_touchkey->regulator_vdd = + devm_regulator_get(&client->dev, "vdd"); + if (IS_ERR(samsung_touchkey->regulator_vdd)) { + dev_err(&client->dev, "Failed to get vdd regulator\n"); + return PTR_ERR(samsung_touchkey->regulator_vcc); + } + + /* power */ + ret = tm2_touchkey_power_enable(samsung_touchkey); + if (ret) { + dev_err(&client->dev, "Failed to enable power\n"); + return ret; + } + + /* irq */ + ret = devm_request_threaded_irq(&client->dev, + client->irq, NULL, + tm2_touchkey_irq_handler, + IRQF_TRIGGER_FALLING | IRQF_ONESHOT, + TM2_TOUCHKEY_DEV_NAME, + samsung_touchkey); + if (ret) { + dev_err(&client->dev, "Failed to request threaded irq\n"); + return ret; + } + + /* input device */ + samsung_touchkey->input_dev = devm_input_allocate_device(&client->dev); + if (!samsung_touchkey->input_dev) { + dev_err(&client->dev, "Failed to alloc input device.\n"); + return -ENOMEM; + } + samsung_touchkey->input_dev->name = TM2_TOUCHKEY_DEV_NAME; + samsung_touchkey->input_dev->id.bustype = BUS_I2C; + samsung_touchkey->input_dev->dev.parent = &client->dev; + + set_bit(EV_KEY, samsung_touchkey->input_dev->evbit); + set_bit(KEY_PHONE, samsung_touchkey->input_dev->keybit); + set_bit(KEY_BACK, samsung_touchkey->input_dev->keybit); + input_set_drvdata(samsung_touchkey->input_dev, samsung_touchkey); + + ret = input_register_device(samsung_touchkey->input_dev); + if (ret) { + dev_err(&client->dev, "Failed to register input device.\n"); + return ret; + } + + /* led device */ + samsung_touchkey->led_dev.name = TM2_TOUCHKEY_DEV_NAME; + samsung_touchkey->led_dev.brightness = LED_FULL; + samsung_touchkey->led_dev.max_brightness = LED_FULL; + samsung_touchkey->led_dev.brightness_set = + tm2_touchkey_led_brightness_set; + + ret = devm_led_classdev_register(&client->dev, + &samsung_touchkey->led_dev); + if (ret < 0) { + dev_err(&client->dev, "Failed to register touchkey led\n"); + return ret; + } + + return 0; +} + +static void tm2_touchkey_shutdown(struct i2c_client *client) +{ + struct tm2_touchkey_data *samsung_touchkey = + i2c_get_clientdata(client); + int ret; + + disable_irq(client->irq); + ret = tm2_touchkey_power_disable(samsung_touchkey); + if (ret) + dev_err(&client->dev, "Failed to disable power\n"); +} + +static int tm2_touchkey_suspend(struct device *dev) +{ + struct tm2_touchkey_data *samsung_touchkey = dev_get_drvdata(dev); + int ret; + + disable_irq(samsung_touchkey->client->irq); + ret = tm2_touchkey_power_disable(samsung_touchkey); + if (ret) + dev_err(dev, "Failed to disable power\n"); + + return ret; +} + +static int tm2_touchkey_resume(struct device *dev) +{ + struct tm2_touchkey_data *samsung_touchkey = dev_get_drvdata(dev); + int ret; + + enable_irq(samsung_touchkey->client->irq); + ret = tm2_touchkey_power_enable(samsung_touchkey); + if (ret) + dev_err(dev, "Failed to enable power\n"); + + return ret; +} + +static SIMPLE_DEV_PM_OPS(tm2_touchkey_pm_ops, tm2_touchkey_suspend, + tm2_touchkey_resume); + +static const struct i2c_device_id tm2_touchkey_id_table[] = { + {TM2_TOUCHKEY_DEV_NAME, 0}, + {}, +}; + +static const struct of_device_id tm2_touchkey_of_match[] = { + {.compatible = "samsung,tm2-touchkey",}, + {}, +}; + +static struct i2c_driver tm2_touchkey_driver = { + .driver = { + .name = TM2_TOUCHKEY_DEV_NAME, + .pm = &tm2_touchkey_pm_ops, + .of_match_table = of_match_ptr(tm2_touchkey_of_match), + }, + .probe = tm2_touchkey_probe, + .shutdown = tm2_touchkey_shutdown, + .id_table = tm2_touchkey_id_table, +}; + +module_i2c_driver(tm2_touchkey_driver); + +MODULE_AUTHOR("Beomho Seo "); +MODULE_AUTHOR("Jaechul Lee "); +MODULE_DESCRIPTION("Samsung touchkey driver"); +MODULE_LICENSE("GPL v2");