From patchwork Tue Jun 4 14:42:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 10975373 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 DF35976 for ; Tue, 4 Jun 2019 14:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCA71287EA for ; Tue, 4 Jun 2019 14:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C06BB28823; Tue, 4 Jun 2019 14:44:47 +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=-5.2 required=2.0 tests=BAYES_00,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 3FE8D287EA for ; Tue, 4 Jun 2019 14:44:47 +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=EL1OkkVSFn7OViewdoKVW9gaiKj95JkhQUTHdJ5PD3g=; b=l+h0XWA/a4+jf6 tYFarDu0KTotEKWUxMHzHMn08b0xZ9yssuLe1MuZhmJF+wPFeU5yuGVzKh+sdm1TJ03EVasuvlyK8 iMY2tEq8H1Z4rHFqTCO/tsq4vxlm2nyjLtSt3H5ArbPowk1Tp4xXnetkyGVvlOd/7LO9IHjToDsFt f9fASrinrT0+mWRPiWAxDNsM8vsVbNBmJ+HyPmXHMBZZvLSsTwsZmONue81ZguciHwI0S3Xh/on/8 r3yxDmRTtwfyDcvvj3vBvO08u84WwJ0yJuHNEPZynQztWEmRhUFDhigNU6oVUggf9LyEycxzSCwjs ncTiSQbXcRQiQhs1rayg==; 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 1hYAg5-0004Pk-OZ; Tue, 04 Jun 2019 14:44:41 +0000 Received: from mail.z3ntu.xyz ([128.199.32.197]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYAg1-0004PF-Va for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2019 14:44:39 +0000 Received: from localhost.localdomain (80-110-121-20.cgn.dynamic.surfer.at [80.110.121.20]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 372D2C62C0; Tue, 4 Jun 2019 14:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1559659474; bh=f8oeSATHDBbxU/b+96ktGMMjGmkACkAmrJx1PQ0GIvY=; h=From:To:Cc:Subject:Date; b=OMw0svqmPt8cRVBV0t9Vg2B8scLiG7zlIevdrdAR8Q0aL0d7WiyPVszoaOUMhqjF1 pz6z7tJ45Gq2h9cGT2kw0NE6VRbrFieY/vJHYFe36KQsZ/O63AVDpkGb3tOMO5lQgr gI+Sy/JdoiR8w15j9Kf/UqFHRrtSFO4xT4jxhoRI= From: Luca Weiss To: Subject: [PATCH] arm64: dts: allwinner: a64: Add lradc node Date: Tue, 4 Jun 2019 16:42:53 +0200 Message-Id: <20190604144252.26965-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190604_074438_232739_CFA87947 X-CRM114-Status: GOOD ( 11.51 ) 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: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Maxime Ripard , Dmitry Torokhov , open list , Luca Weiss , Hans de Goede , Chen-Yu Tsai , Rob Herring , "open list:SUN4I LOW RES ADC ATTACHED TABLET KEYS DRIVER" , "moderated list:ARM/Allwinner sunXi SoC support" 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 Add a node describing the KEYADC on the A64. Signed-off-by: Luca Weiss --- .../devicetree/bindings/input/sun4i-lradc-keys.txt | 1 + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt index 496125c6bfb7..507b737612ea 100644 --- a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt +++ b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt @@ -5,6 +5,7 @@ Required properties: - compatible: should be one of the following string: "allwinner,sun4i-a10-lradc-keys" "allwinner,sun8i-a83t-r-lradc" + "allwinner,sun50i-a64-lradc", "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 diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 7734f70e1057..3a42352b5c9f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -704,6 +704,14 @@ status = "disabled"; }; + lradc: lradc@1c21800 { + compatible = "allwinner,sun50i-a64-lradc", + "allwinner,sun8i-a83t-r-lradc"; + reg = <0x01c21800 0x400>; + interrupts = ; + status = "disabled"; + }; + i2s0: i2s@1c22000 { #sound-dai-cells = <0>; compatible = "allwinner,sun50i-a64-i2s",