Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp215238yba; Mon, 20 May 2019 07:32:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVIztc0JRAFXpk2zo5d+iGUvHGjK73n/IJM0qyZDea5dB4+ysgvid7FXjTIgMJwGOG37yH X-Received: by 2002:a63:144e:: with SMTP id 14mr58343313pgu.304.1558362753341; Mon, 20 May 2019 07:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558362753; cv=none; d=google.com; s=arc-20160816; b=wZtojXPSHn2ELqtgUrFn18iTZe9HoEJ3CFNocRG4niGzG0kFjwHSqZIwywBdKicn+v EqIGwYAaxY64jJzuGSKg4MILTu+pTn5mvIV+3dS9kXHG9+j58NCVt0bIqH0f+uVokJKB dk2BRXOheLpp8uNhV0WqNVgy1aqU0p1dm6jNYL0dMHuXHadb6ZY1ULawzw0X7LlAr/Fe WNbKJjKtuzOn+bNQ6iKN4imT7M201INd8NG5Nh+4N7piOgOTNx/puMlgFCeOE5RxRRy8 ZTGllHydMhLEbWYWrMC7fL20siIVtzhK1Kn0YOkkSKiGD3kTiH11HUyr1wxSPFdKwk5K tuaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0pRWpL5rgyaHfKbxhX28SWVjoDo4FOWcA9m6ftWcmRU=; b=lwDPiJIjNvrJmtid4fYG5vLLUVTT9BGev56ENZYWa6sIDu8Fssg9ADEsTGfUwSaWSO Kmp+co5F3dNeYmswRDqpMJerjBlV1vNB0j6C4tDdNi4LG+u27wmgvP0a94ig+AKF9jJ8 QdkciIw9Cu6iuQ8XmF65uoHgNmDAK0xJ4YZtsArub275FB+3bTQPFy36niRjqZR2E5Fd z9P4nS1TXpo4IQg0Tmfelg3D/MEzN+qYQi9NVPHTAm4K/9Fnf9ahmX/S9AQwX4U8QhtZ LM2c3Xd8wMZ0PrGkMwfm2xJ5x6gZhohdpqBsw9zUc3Vyy2jN1hTsGsDQA/4ps8j4Jtv8 QiIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si17505262pgl.301.2019.05.20.07.32.16; Mon, 20 May 2019 07:32: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732317AbfETLHu (ORCPT + 99 others); Mon, 20 May 2019 07:07:50 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:60329 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731781AbfETLHu (ORCPT ); Mon, 20 May 2019 07:07:50 -0400 X-Originating-IP: 90.88.22.185 Received: from localhost (aaubervilliers-681-1-80-185.w90-88.abo.wanadoo.fr [90.88.22.185]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 941102000B; Mon, 20 May 2019 11:07:42 +0000 (UTC) Date: Mon, 20 May 2019 13:07:42 +0200 From: Maxime Ripard To: Luca Weiss Cc: Chen-Yu Tsai , Rob Herring , Mark Rutland , "moderated list:ARM/Allwinner sunXi SoC support" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add lradc node Message-ID: <20190520110742.ykgxwaabzzwovgpl@flea> References: <20190518170929.24789-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2tvwy2f7gcggtbhz" Content-Disposition: inline In-Reply-To: <20190518170929.24789-1-luca@z3ntu.xyz> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2tvwy2f7gcggtbhz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! On Sat, May 18, 2019 at 07:09:30PM +0200, Luca Weiss wrote: > Add a node describing the KEYADC on the A64. > > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index 7734f70e1057..dc1bf8c1afb5 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -704,6 +704,13 @@ > status = "disabled"; > }; > > + lradc: lradc@1c21800 { > + compatible = "allwinner,sun4i-a10-lradc-keys"; > + reg = <0x01c21800 0x100>; > + interrupts = ; > + status = "disabled"; > + }; > + The controller is pretty different on the A64 compared to the A10. The A10 has two channels for example, while the A64 has only one. It looks like the one in the A83t though, so you can use that compatible instead. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --2tvwy2f7gcggtbhz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOKKfgAKCRDj7w1vZxhR xQtDAQDRqheEYCsPyl3AeW0fjU9b+loQ9xMJslojYXUeY00sCAEAwj5O5rO1Q8Tw C6Mk9UGH1BCkUcHPRpTCOaOAmurSpgA= =fEN1 -----END PGP SIGNATURE----- --2tvwy2f7gcggtbhz--