From patchwork Wed Mar 27 00:24:57 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: 10872341 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 B5F60922 for ; Wed, 27 Mar 2019 00:25:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 989B728D55 for ; Wed, 27 Mar 2019 00:25:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8885028D66; Wed, 27 Mar 2019 00:25:59 +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 EB79F28D55 for ; Wed, 27 Mar 2019 00:25:58 +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=mQQ+hcc8MJVpjfnCDaIOzHDUdfVoRGYqQjlgMjniPw8=; b=Pf19n0mx7BJ1wD oelJbViW2rE8m4eP12fa0Mf5dImaWzBzIN/Y2M9OToYS6G7clS3S6TGXFQ74jBVVxUssEP5I1k9mC vVT/z36rNztt8aHcjeQn7gUmH5v+X88hFd5vcMFMXlchZT1YdSibZ/bU/mTaKZlzwUHJpJEnZBbBk y0KlGH9ZkM6rUiJiQOAePvzOR/e7skq6xQm+e9X1abfw/R5QqTesvTwkyIyHDOzcYcLqNAgM9/bje BcFIcu7y0scqYpeo49tn57Tlzd3uVfb7MrYXbKeYcMUeOofgzZfRXg2hmL4JASIvjCUvSq9HtMz4X bYwMG92llvve/CUnPEeQ==; 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 1h8wO6-0000MH-Rv; Wed, 27 Mar 2019 00:25: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 1h8wNQ-00078Q-Ma for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 00:25:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553646306; bh=qrBVrBZSTbAxHugwsmkZkpr0fHcwzPCuYQWOlhlUYuk=; h=From:To:Cc:Subject:Date:From; b=BxEbisie28zT5UENm+LjlnINs4+xVvZLYzLzV5lwUFoMjur+6CwflcU3xd3kR3I7o glPRnSIaIejCdcZJNtxC+khbcksZyKI5u/wDuZ/ApNuw85d0rRa29eOoqG6fql1U0D B3pItlm10nPmg8jXMsebFUlqbZ47mJnDUrQ+BqqY= From: megous@megous.com To: maxime.ripard@free-electrons.com, wens@csie.org, robh@kernel.org, mark.rutland@arm.com Subject: [PATCH v4 0/4] Add support for lradc on A83T Date: Wed, 27 Mar 2019 01:24:57 +0100 Message-Id: <20190327002501.4630-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_172508_906949_9B562CC0 X-CRM114-Status: UNSURE ( 9.09 ) 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, Ziping Chen , 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 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(-)