From patchwork Sun Sep 17 11:14:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 112833 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2564572qgf; Sun, 17 Sep 2017 04:15:00 -0700 (PDT) X-Received: by 10.101.88.131 with SMTP id d3mr16846435pgu.209.1505646900658; Sun, 17 Sep 2017 04:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505646900; cv=none; d=google.com; s=arc-20160816; b=jO6qAqVG7FwaJ9UkyKZU8T3xfwS9pg/tHnk4lz8oPItXWhkobqNjxsob9NvHV62Q26 K5DiJVbMl3M2K8GfjnHRhh+dMES5K18aWej4xWkMBo5t2A/ob0o5CB1kHgJTtxpf7f6o Yg2hEmNY8Q/dAulx4naDU7jxgmxkeh5PRNQ/+8Awwj7zAISelLuDV4MLrLxieqm6XWZO leWFp8KfhAc9276sbKsyeJdxrvAGFrnezdvWPPrlsEcJrph3uyUK8kQh/V58OUwWgy9U 98z97oEoBXlACgzq7LaiQknhijEY78LyE/iPHPMGhYNV96DF0g4h+sIGTA0KPhsw82A1 Cgsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=xq+kv5RuTNOYTC5idx61PPQxNGYu+km0fRKXHWA2a6U=; b=VI/IJPTE9ETV1/Ifmpb7sxN6r0Ezyhe3oNx/FYQ1qGiufif5Byxdj9dZdSX5c+WTwu RddEKWFmWM2wISg3VD1n9PyzT/XhEgyTh5hQhYwsLvdDxGc3A7G3rKPu9CNmBpYCAjSi pPM5gSh+i1+FeY0oGWZlICEhO0zQnlyHsLFS+O+S2Aogh7cgKPiElnndrwu00sTOij4p LGVSyowhziIKXHB8aquvk9EgH7byDkj5z5LY3BGFb+bnVQe2XWvEDphxDUXgrm/WXMzv lrJc6ZlD7frHygsJtEd6oCv/NGPjc1fBnY0guT86taeEAjDSEFMLNt2eWge5ImqtQwbN yvIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g9fv36rk; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si3231628pge.479.2017.09.17.04.15.00 for ; Sun, 17 Sep 2017 04:15:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g9fv36rk; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750802AbdIQLO6 (ORCPT ); Sun, 17 Sep 2017 07:14:58 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:52794 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbdIQLO6 (ORCPT ); Sun, 17 Sep 2017 07:14:58 -0400 Received: by mail-lf0-f47.google.com with SMTP id b127so5662805lfe.9 for ; Sun, 17 Sep 2017 04:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=f4Ra6+8uG7D3oPtVh/tVau+zMjV96rqJRxduJzWQb8Q=; b=g9fv36rkKnA+QZDprEU+kxcIkph5sLRi85SK9ijuLtItb+CJjQ4wSFj578l4NGquJ/ N1oFnNJdn2AJTVulzwBgwo04rA+AS4/NLo1J0UAJIlZDlWAmaBR1G7yKbIJ/nhcLAIma wIBH/XvIVollItVxw7gNTkpUj7c6mkQJhjZTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=f4Ra6+8uG7D3oPtVh/tVau+zMjV96rqJRxduJzWQb8Q=; b=hzNHPxiucYcNZ8Ft+35pDe9PnnmJBCbLN7Zb87Mes2L1NIhRSZeeJT2vj9rTdi6RHx 89TNVZfIgFibpiOOILjqLikqUONYgvy0TBNMhP2h72yyRB3nUkKfjoNVM0MDLXAgPY9L 4NRc/Av2uu8ycZIRChRqEU4SP0jwAL8Br/Y4MZls4mfYCoZvEHcPFpN9cYD5oY2pMRgd kq+k+AqFy3brRGCzKvU3JK4Ei+xeyHt0XciYF9eDGnIxm4wX0/bSUlOb+9yestgTHIIo Nm4sdMQHXEXQVwirqCAdGbmRYMGFQDSIetPKTNI6GJRy3OH7My+IieikQftnTB1uoWKD /ElA== X-Gm-Message-State: AHPjjUiiN4ZM/8Y5fYIrmDkvGwfZ/T+SuHCwwrwbtCvSx2WSho6dx6Fr 3W+kxk+pl1LyhzJF4brvCw== X-Google-Smtp-Source: AOwi7QCHshziT6sGrEkcx3fBvy1B0YpOHiJaf5ng6bJYkVRXz43+2E+x7vDH6JznoR4qvofOpzDIGQ== X-Received: by 10.25.153.210 with SMTP id b201mr2312325lfe.65.1505646896747; Sun, 17 Sep 2017 04:14:56 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-2209e055.014-348-6c756e10.cust.bredbandsbolaget.se. [85.224.9.34]) by smtp.gmail.com with ESMTPSA id h83sm1007069lfi.16.2017.09.17.04.14.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Sep 2017 04:14:55 -0700 (PDT) From: Linus Walleij To: Dmitry Torokhov , linux-input@vger.kernel.org, Hans-Christian Noren Egtvedt Cc: Linus Walleij Subject: [PATCH 0/5] Input: make the GPIO mouse useful Date: Sun, 17 Sep 2017 13:14:40 +0200 Message-Id: <20170917111445.30880-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The GPIO mouse device does not have any in-kernel users. This series converts it to use descriptors, adds device tree bindings and adds device tree probing so it can be used for embedded target etc without proper mouse ports. An alternative is to simply delete the driver. But I took pity in it and I am also worried that the number of out-of-tree users could be pretty large. Hans-Christian: can you express your idea for the future of this driver? Does this look all right to you? Do you want to add some users in some device trees maybe? Linus Walleij (5): input: mouse: Kill off platform data for GPIO mouse input: mouse: Rename GPIO mouse variables input: mouse: Add DT bindings for GPIO mice input: mouse: Convert GPIO mouse to use descriptors input: mouse: Add device tree probing to GPIO mouse .../devicetree/bindings/input/gpio-mouse.txt | 32 ++++ drivers/input/mouse/gpio_mouse.c | 195 +++++++++++---------- include/linux/gpio_mouse.h | 61 ------- 3 files changed, 130 insertions(+), 158 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/gpio-mouse.txt delete mode 100644 include/linux/gpio_mouse.h -- 2.13.5 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Hans-Christian Noren Egtvedt on these five