Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5512654ybi; Tue, 4 Jun 2019 07:46:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5mGjfkTNvaWkemLDiMv4Q5O8eCn23/kq0l5eTMup5FutO1fNwKLDglSINl0PtwgN4yycl X-Received: by 2002:aa7:8157:: with SMTP id d23mr38981646pfn.92.1559659593016; Tue, 04 Jun 2019 07:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559659593; cv=none; d=google.com; s=arc-20160816; b=b+/pverrwH5uL1gTVftRP75ja+JqD2UZUSvVeVadC3s9KtndGW/OBr88T55twTEuR5 TbPHmoVoDwma/7TnTUGJhEbPL1PFcGlSPNzrcWRiBEpwckcHzSJNTpFXk8v0Zq6L8yBK ezJGTnXaU8olUdOBj56ECl0zn/35Fr+x/wbfYZP5ZwbwHz3ufl2H6nudDK1QWioHqV4w Tm7JEjH8zrdkh4PyCaM2wsY+3OUG+ZH1utlmsgHZ06z/dzj9plbQVD94MN4HS+Kr9czZ sELDxVaBvggLC8jBy0KWALqT66E9Zs9z8dCPq9lE72mcvvtHnm+xAgMjkpN6a6VQzV9v /EIA== 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 :message-id:date:subject:cc:from:dkim-signature; bh=WCtHsDsv2glsCUqoJ3kg5ZwdfKvXUw8houEOLv8/ii0=; b=N+tdybulOTitabX8PG4ZIYG0P1dneLw/rqAG1/mtm8vgGFBp+tlZ41BN/XCzpFSrKH 5N+YJmBYbCTQpNduEwFxarESvlkYWh1+8yQT65gm4/d/dY0beNvj/OyLBcHS7S+VF0BI isT5S6qOEdWb+GkZn8Ie71sNHTrYsUm2hucVGmvfVJ8V1r2oDPPlJE1K3X1Jr2bCB067 eCU5PeQX1Q5vPV2oh93CGNOg4eIi+xJ3RMqAeGOh22PVtrMd6nqwj8K9HtkfGc/HcPaf nvFmhCLrO4Z3g6MjSZSVSis2SktieLxmh76EkPn/AmYbC1QkHCfekVh/ujS6NZuTuxEy 8sCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=OMw0svqm; 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 d34si4642930pld.82.2019.06.04.07.46.15; Tue, 04 Jun 2019 07:46:33 -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=OMw0svqm; 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 S1727820AbfFDOoi (ORCPT + 99 others); Tue, 4 Jun 2019 10:44:38 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:46686 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727573AbfFDOoh (ORCPT ); Tue, 4 Jun 2019 10:44:37 -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 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 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) 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 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 --- .../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", -- 2.21.0