From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCAEBC04AAC for ; Mon, 20 May 2019 11:07:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8AF9D208C3 for ; Mon, 20 May 2019 11:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732323AbfETLHu (ORCPT ); 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add lradc node Date: Mon, 20 May 2019 13:07:42 +0200 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" Return-path: Content-Disposition: inline In-Reply-To: <20190518170929.24789-1-luca@z3ntu.xyz> Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: devicetree@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-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F23EC04AAC for ; Mon, 20 May 2019 11:08:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D85AE20856 for ; Mon, 20 May 2019 11:08:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tDli03ax" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D85AE20856 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tt1oPNhbxO5bqBslFg4fk2RWPZ0bs2BcPOQmX50vWTM=; b=tDli03axr3/R2P6DNptvdE7sk MaYJiGjN2TbsIYe0Yik5DWEGNasSHEy+K6ygBJPOoH/NwMFEuT1F39Y1rc/g7qB+PqyiLthvW8JXy vTvtIvoDGcd4mM+spMpGpN8dp8TE35mhe0B8cXtWc7gWTBGldRFe1J45hztb0Qz8AdoBZlYyJoMiI iiQEVbAhzrPRpTvOB4e4AQAsBTdg6eadW+3CbpT8+6VCOtqPQq5CQ+XyAT/sGZQpfEvuZ6vdTwuvq yUOdHDCl8/wMxJCVniP4WfqAwYJc+jr5f3fh2BgLoa6zSa1FAx4CBWyt+v7VmA7txQMxDshdFnh5w wzJBOxhrQ==; 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 1hSg98-0000Nh-Lk; Mon, 20 May 2019 11:07:58 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSg95-0000NK-Fo for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2019 11:07:57 +0000 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 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 In-Reply-To: <20190518170929.24789-1-luca@z3ntu.xyz> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_040755_678284_73AAC61E X-CRM114-Status: GOOD ( 15.65 ) 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" , open list , Chen-Yu Tsai , Rob Herring , "moderated list:ARM/Allwinner sunXi SoC support" Content-Type: multipart/mixed; boundary="===============4483010945298935000==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4483010945298935000== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2tvwy2f7gcggtbhz" Content-Disposition: inline --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-- --===============4483010945298935000== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4483010945298935000==--