From patchwork Wed Mar 27 02:33:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 10872425 Return-Path: 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 84B8715AC for ; Wed, 27 Mar 2019 02:34:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6800528C9E for ; Wed, 27 Mar 2019 02:34:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C23928D48; Wed, 27 Mar 2019 02:34:54 +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=-3.4 required=2.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EBF9928C9E for ; Wed, 27 Mar 2019 02:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mVF51hIEiFUCVPgISVUqqHR0n0fNT4HjNUxy6thE1UQ=; b=JjB+FiB1HlWaGG YBbcScigL5Wh+G+AGAEoCxaB9QC1c/H252906aWp51J0iXm5n8w9TNHsV4AQmz5D2G6ic9Y9dKCBJ /5hrjOFdqakfbV89wfICVDttQLmpI+EHvOWqg7UuOzMEEzIGGY6xZrFRe+BH6JGgUln27kbHdkYSs r2g8fs1Cy3e6kN3CxAUDO9Mq1Sz+Pchq//vORQcMRJczne20EsUWq0ML0D0zoI6f/6uTvoNMeRNHr 7mvbC0YhRYpop/HUhBVIxOxMTWx3b1iZaijmxjwlRg7QqhxGVosAL47bhaSnSI8ZQVLXGZh2bJYSR bGJToWZV9VVceT6QJBlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8yOw-0001wv-1v; Wed, 27 Mar 2019 02:34:50 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8yNz-0000rd-Tg for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 02:34:00 +0000 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 , mark.rutland@arm.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_193352_280913_8D362465 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, hdegoede@redhat.com, Ziping Chen , linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman (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(-)