Message ID | 20190327023339.25975-1-megous@megous.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-input-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9264F1390 for <patchwork-linux-input@patchwork.kernel.org>; Wed, 27 Mar 2019 02:42:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7560B28C2E for <patchwork-linux-input@patchwork.kernel.org>; Wed, 27 Mar 2019 02:42:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66E6628D99; Wed, 27 Mar 2019 02:42:36 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 0A7EE28D72 for <patchwork-linux-input@patchwork.kernel.org>; Wed, 27 Mar 2019 02:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732018AbfC0Cmf (ORCPT <rfc822;patchwork-linux-input@patchwork.kernel.org>); Tue, 26 Mar 2019 22:42:35 -0400 Received: from vps.xff.cz ([195.181.215.36]:55302 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731579AbfC0Cme (ORCPT <rfc822;linux-input@vger.kernel.org>); Tue, 26 Mar 2019 22:42:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553654027; bh=mcXDctExLUC9k+kDWH1pLaGbCHshnclxdA/sUDMkajY=; h=From:To:Cc:Subject:Date:From; b=gvYeeqJge1xXE/aK1yWtYwYCYZhnGsYkweVrVQbKHUux288rwCynUhRu47AbPWg7K v3OIKqPogIwdQex/e7PLG2mihx+g2JBmYpbW1kpPBd9Clw2ygIgsOgkyzaIKfhCU+t ubVCQHoLNVjD5qeCEOuYHYxTHbmBNnpcw1SI+e8U= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, mark.rutland@arm.com Cc: Ondrej Jirman <megous@megous.com>, Ziping Chen <techping.chan@gmail.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-input@vger.kernel.org, hdegoede@redhat.com Subject: [PATCH RESEND v4 0/4] Add support for lradc on A83T Date: Wed, 27 Mar 2019 03:33:35 +0100 Message-Id: <20190327023339.25975-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add support for lradc on A83T
|
expand
|
From: Ondrej Jirman <megous@megous.com> (This is a re-send, with input subsystem maintainer added. Sorry, for the extra noise, I did only send the v4 to the previous recipients of v3, and didn't notice input subsystem was missing back then too. Thank you wens for pointing it out.) This series implements r_lradc (low res ADC) support for A83T. This is a continuation of v3 patch series from 2017 by Ziping Chen. I've rebased it on top of linux-next and changed the compatibe string as requested back then.[1] There was some talk of iio based lradc driver back then[2], but noone stepped forward to make it. Let's finish this series, so that it's at least possible to add support for tablet keys on various A83T tablets as that's the main use of lradc module. [1] https://lkml.org/lkml/2017/6/26/558 [2] https://lkml.org/lkml/2017/6/27/877 Please take a look, and apply the patches if you have no objections. regards, Ondrej Jirman Changes for v4: - changed comaptible string to allwinner,sun8i-a83t-r-lradc (drop -keys suffix) - dropped 0 prefix in the r_lradc DT node - added sample A83T lradc user (TBS A711 tablet) Changes for v3: - Fix some issuses raised by Maxime. - Added Rob's ACK. Changes for v2: - Add an A83T specific compatible. Ondrej Jirman (1): ARM: dts: sun8i: tbs-a711: Add support for volume keys input Ziping Chen (3): input: sun4i-a10-lradc-keys: Add support for A83T dt-bindings: input: Add R_LRADC support for A83T ARM: dts: sunxi: Add R_LRADC support for A83T .../bindings/input/sun4i-lradc-keys.txt | 6 ++- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 20 ++++++++++ arch/arm/boot/dts/sun8i-a83t.dtsi | 7 ++++ drivers/input/keyboard/sun4i-lradc-keys.c | 38 +++++++++++++++++-- 4 files changed, 65 insertions(+), 6 deletions(-)