Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5685068ybi; Tue, 4 Jun 2019 10:23:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/TOFua8LdUDN7FNkuFMkj+4fnflF4J3Ghm7TwTtwF5AM/b7tyc3GdNWqgf+BJ1vDXwY4G X-Received: by 2002:a17:902:306:: with SMTP id 6mr38588284pld.148.1559669019921; Tue, 04 Jun 2019 10:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559669019; cv=none; d=google.com; s=arc-20160816; b=hkwaiHNPf+KOFDFR3LsujyA7xSyRoIYgp/yQvL5KufuQQy+mMWl27HfqOPNDKjxmdZ bGef5XaKgYHJo+5CCNpr7wfD8UZz7Ckav5cOpzPxj70VaaEDNm9ITis7Cdo5wg8goNd2 z899ou3w25JAeTJ+rkrlKetqPcuO/1ujaa8GRveIFb3470nSkwmMHrWc9aNh0X0OKytO ZoBpetVy/TCyL1H2a6L9KXKkpN3RVqdalNYpH/UW0ylKUeDZB/6ErXF5gf214DVhvAxI 1o/CyoJEj5eqqSvKTD6U9MhEyGpfbcwxkXe465tpEDK2oQHRUeJEiLX8GVuGouTVc6Ys tzyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=eny3aCP+Feyi52GLIJ6jPHb13H5BooT/ztewQdalzMY=; b=mVQey+SndlnC2LhLGfFBa6jMbeYLM9iLp+mDmjUcqdy60VYnlxSwGwQz43GZsnUfap jOZVLLnYW6RebecWfQs8BO4iTcy1puZEAXK9Vy4DgwOWTxqSiq36bWjM/E/jNSI+BiLz nwtCMOF7cvSd/WKzpbUoUC7WKKdDMSNMauRq7fjYtVpKD4gKDNGuTJwteyTtSMWo0+4Y aJoYw7mgieeYH+RDoqFu9OQdUbtbz4BMsK8DInCkJJmEbJ0Km+RpTNOKBd8Kw/abcaqB mNeVRqYbza+sCD8KDhKPKNyVJWHNqr+TSvMXJ9LLheiLkwfn5QNS5cBNH9/v08LO6a++ m1MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b="gr/cp8Ek"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si22707768pls.286.2019.06.04.10.23.23; Tue, 04 Jun 2019 10:23:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b="gr/cp8Ek"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726583AbfFDRWN (ORCPT + 99 others); Tue, 4 Jun 2019 13:22:13 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:49678 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726324AbfFDRWM (ORCPT ); Tue, 4 Jun 2019 13:22:12 -0400 Received: from localhost.localdomain (80-110-121-20.cgn.dynamic.surfer.at [80.110.121.20]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 1AB48C637C; Tue, 4 Jun 2019 17:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1559668930; bh=BiJVO+igEvB/BvDV1guw1BMUA9XYdzPpn3R1VKC8Wmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gr/cp8Ekax3nNSNz0bYu9BJ8eO9tpM8CvlbQwKB5VZRzVNIpTf7cplSa6bXNIlcEG pgYfG0wmJ6UWmXgkjMEM/t4z79l/gyzQvwseGu815a2FD7la7THMd3kMg9wGRWQE/z WOqPbWGEd/i3o5v7M6C6qxKuwZpyg1ksnkW5MDZM= From: Luca Weiss Cc: Luca Weiss , Hans de Goede , Dmitry Torokhov , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , linux-input@vger.kernel.org (open list:SUN4I LOW RES ADC ATTACHED TABLET KEYS DRIVER), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list), ~martijnbraam/pmos-upstream@lists.sr.ht Subject: [PATCH v2 2/2] arm64: dts: allwinner: a64: Add lradc node Date: Tue, 4 Jun 2019 19:21:54 +0200 Message-Id: <20190604172154.25472-2-luca@z3ntu.xyz> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190604172154.25472-1-luca@z3ntu.xyz> References: <20190604172154.25472-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a node describing the KEYADC on the A64. Signed-off-by: Luca Weiss --- Changes since v1: - Use a a64 compatible with a fallback to the a83t one (the A64 also uses a 3/4 voltage divider, as is the case with the A83T) - Correct the reg property (size 0x100 => 0x400) arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 8c5b521e6389..ba0ab1045e00 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -730,6 +730,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", -- 2.21.0