From patchwork Wed Mar 27 02:33:37 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: 10872417 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 4BC461390 for ; Wed, 27 Mar 2019 02:34:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3796128768 for ; Wed, 27 Mar 2019 02:34:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2979928C9E; Wed, 27 Mar 2019 02:34:06 +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 12B7128768 for ; Wed, 27 Mar 2019 02:34:04 +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:References:In-Reply-To: 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: List-Owner; bh=Z6t2GcQNtGVIAHNzOcCazAJi+Az0tXZQviQ5s7YR/9g=; b=bKg8L40Ut20VfN OdmzQCS3sYWMGdS3TcN4Ppo9Mywo5LHXnsCSZs78wiEUIFGw3zjQfMkGqarGuIcrpSlPB7injVGhh YXg/jl/JBFIuTHRiozNzITK1LQ5aqTQfeqiI1uoFtua0ZY/UTrQJGvuhmjTuHigS4u/6385QkAJjB /cfWLAc46R52E4kaFB+jSFCn/ph5hvsyHg1EzPtpXHn4yjNX9x7/Q9xwhy+tp6/CTYyt/TCNKt+1E 4f7D20/qtlgk3F+DUCFk4HACe4GVohaN4Q/IwCg/03cOo0Fr0+Obn0vrLmVN9FjX8JlZrsP294u5h cfsIUp3LbXrr6PhIopMA==; 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 1h8yO4-0000tj-Uv; Wed, 27 Mar 2019 02:33:56 +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-0000rf-Ti for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 02:33:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1553654028; bh=S1jLp574hnK0CY+FYoqQJqxFPycojWM2CD1ibwebjmA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dPeAcA1qatRKERktzEeiXuxUhqQGkumIC1xIbULGNwQbnDLqBiCyEAxhDpr0hEPG1 vR7iFC86CXNOrnolFSv2K0C28lYH/yZ96DpUnqY9QsoSw/jNYBlB7R95GuKJI/zpTp YkPwifAESPBmS5QNXqBfFXvjqWkn1fnLlA/KvFsw= 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 2/4] dt-bindings: input: Add R_LRADC support for A83T Date: Wed, 27 Mar 2019 03:33:37 +0100 Message-Id: <20190327023339.25975-3-megous@megous.com> In-Reply-To: <20190327023339.25975-1-megous@megous.com> References: <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_280787_3D144C13 X-CRM114-Status: UNSURE ( 9.16 ) 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: 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: Ziping Chen Allwinner A83T SoC has a low res ADC like the one in Allwinner A10 SoC. Add binding for it. Signed-off-by: Ziping Chen Acked-by: Rob Herring --- .../devicetree/bindings/input/sun4i-lradc-keys.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt index 1458c3179a63..496125c6bfb7 100644 --- a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt +++ b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt @@ -2,12 +2,14 @@ Allwinner sun4i low res adc attached tablet keys ------------------------------------------------ Required properties: - - compatible: "allwinner,sun4i-a10-lradc-keys" + - compatible: should be one of the following string: + "allwinner,sun4i-a10-lradc-keys" + "allwinner,sun8i-a83t-r-lradc" - reg: mmio address range of the chip - interrupts: interrupt to which the chip is connected - vref-supply: powersupply for the lradc reference voltage -Each key is represented as a sub-node of "allwinner,sun4i-a10-lradc-keys": +Each key is represented as a sub-node of the compatible mentioned above: Required subnode-properties: - label: Descriptive name of the key.