Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp600863ybm; Mon, 20 May 2019 23:46:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2AW2rQIrlj84RWDV8MzVGLdG40mVRVudAAuiLyTR5wnSBCKLRfUyNz8V5VoTo0BgC3qXS X-Received: by 2002:a63:1b56:: with SMTP id b22mr77651109pgm.87.1558421193284; Mon, 20 May 2019 23:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558421193; cv=none; d=google.com; s=arc-20160816; b=rd0YsTuke+i/HgNGcZpczWNWZuGG8f38RqJ0+vEGXXFoBXfs9ISgmGpZPEKypUo6nc 9P48GsyxcWSTsl+puogd/8ABxj3SXjnWVCB3yp9HRemW5LGZURmDOqZBWYWhaXBv8HWh cSXH6ZVTeRvKxP1mMcMIKX6ze1BRRx3ojrKeev8DxEcXtlg9PjDP1zYAcwcz/F+oeW+4 Tx+CfYBCdN84s2AfLXYWAie2n1r8+A5/tiItniicKkUnNX2xDLHOknySIWBHgq7sslo+ 5GIaHqVmFEODrdeuPNJwVDxZ0QuzeWJBkvlf5MbZB0DelEkHDWYQBCnT9CgHpH7dFB4j qsPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject:autocrypt :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=bYQW1rLKiJdabYT5nZ8V8XHtTg+sHpK7A487H/tQ9fg=; b=AlC0uLuC01l9P64auKAU2Xbgpn4jaXbP+RtQuxKNq21jzKP4rsMubxd8xLdV8jcrxN LM2sBaVxNjwH+LmCd65RjoT410NGuvgLYrQq2k85ylMmZHzIx61Qu9GACpw630mezNKz uCP6RZnmukWFl7TCyGF8Wq9PAtfLXt16zaRO0bUI0FQfhiqIKSfGwlgA/6DGpVlNND0I +3/gvCYOhWIMlZb7lQrRRK68ny2Vh53GrZ85ioakMKUj1agvD7QLjxcmtSxdkeBQJM58 Vh8aNm9NWNhfIY8ppZVH2p1l7T9MCjdogAVJZBKqfbAtRq0dGYZQL25WJUPg3UeCBbbb 1QLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=HCR66knY; 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 j1si21250241pld.399.2019.05.20.23.46.18; Mon, 20 May 2019 23: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=HCR66knY; 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 S1726799AbfEUGoB (ORCPT + 99 others); Tue, 21 May 2019 02:44:01 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:43554 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbfEUGoB (ORCPT ); Tue, 21 May 2019 02:44:01 -0400 Received: from [172.27.227.142] (unknown [185.69.244.31]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id C4E31C59C4; Tue, 21 May 2019 06:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1558421037; bh=dvaJRPAFRepM6HgXr2hIRVw7xqblQwDjcz3JJFlmUQ8=; h=Date:In-Reply-To:References:Subject:To:CC:From; b=HCR66knYPdrhHpKFMowayhtCwu0h0E7c81aKIrfEcX5IFfDcF0wdgv5h5wxTmIhKh rSeWV2vvL7N/yrBvMF7ztJaMpw0tzAbsWKLDTKwX0uZAe0JQ/Edg1ww5BeXGCz/bz4 hgr8yLLrutP/uoHkbey6T/Xku++ah100IHnk+4sA= Date: Tue, 21 May 2019 08:43:45 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <20190520110742.ykgxwaabzzwovgpl@flea> References: <20190518170929.24789-1-luca@z3ntu.xyz> <20190520110742.ykgxwaabzzwovgpl@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Autocrypt: addr=luca@z3ntu.xyz; keydata= mQINBFgc0/QBEACzBE9TBfe+O2TARphhmhVgMd2zo3lkvjWdohb9mg9+NvUq7swQR2l8davgwaTN VwDUA9jdzfjp4GShf0VFnqqFGouEc3OMeuHFdtjG4RoYGW+XvEoAcTWgY6glANmMZMi33D+2wnQQ Qziie3LMTQ7Tlpk8at8Ck4ShmmGTmek9LNFq1eHs3IHK5eH0fDA/rYvPxFMmwbHRDjdwtXjZlXBC nxEXK8CJkNG58G+RbtPU0I8Iu02TDOkr9x6KwLT1lJmq03wCkuQEXrDAzo6kkeAMhzWBtBtxTB1M byOZqNlbzEtxOTK9iA74U6POyN//876ESQ87LicFS4mgoyHL0Vt7ro9CSH7Imzv96Ae8HDZqIcBy Bn9YMBswjy4JOsC9JP/oDhr71y40nnrVvgx4ZesJM0PL9J1JYQWJQ22GoinnDwSB11Re51OYsK+l xEqph38N+AjcNYm+l85O/l+BkkULC+0kHWG6wQCv67KyeYCJJhNqJucXj2gXXaKyv2ltWPwHgK6w OAtN9QbimcYV2PUgfx6hl5r7buwc3tefp9ccmtoLq74mgrKiLurHqa4pKCa1uqfhBEN5/Os5tMrX IGa2sRvKHK0Pn7iyJQyuclyOp4r9W+QUw2DENm4n6ovkl7rfriL6ibBgVLcnexdG/8LZRaWFV96G YY3VCcRlz8SCwQARAQABtBtMdWNhIFdlaXNzIDxsdWNhQHozbnR1Lnh5ej6JAj0EEwEIACcFAlgc 0/QCGy8FCQWjmoAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQ+vac9s0tAs3X3BAAo6F00XKQ LAvQl/nTK4+2EHjtFUF0OnUK0rIN1b1l5WMVHFF8njcVqG1Qc7CKyYCS6mN6bbYkXsj3TXy8Vx9R P4ek8UoxEnVXYeayF5D+ke7yCmOJjSEBZVh/meA2jYOnPXEXR7bTT+PNaCTIgS6MucYous3ngiIL kDT9Q09ESjs9xhoqbpBr19fqE9HpuWCaVGi5tt8EQAVq32kfq9DFqanjuaz18/I3VV1fMKWoNZBu qJKveh9oDmkKe32PTVV8ak1tpWYNRhoIL8jZgJkzG8cMPdi6fi8xy7wIaT49py+0rndGF7i79nAx Sq3vlt6dMgcOlMYTZMw1O8Y28eiHm5DCzyPR5FkQvQ1xY2TPTZh9H4zukBLBkctDtccosGwZt3tb uoQ2Nelm12ldf4kdbGmWdSIEgTWLJb8LfiNe4PIPnWU2Ho0EbHs2RBa81Y83NEZpXYWpYLwUafkE 5GG4E6tG1aUU2g/HSf+3BaHYVZ7vv2Zc7DmCkeYS5VyzZvajmVWj4pjPY5RrNbDKWOIIOc5ow+5e eLFX6wHWFlgM3zPr4IU/XqKhDUydx8pyRHEfDUTRJHokP4Ga3DyvfqtfF8zQQwIGbc+D8Tdt9JbM Op7ZhZwmE0J3q5DUuYVXFO9kWT5Rf2QvNNmbBNQnpXXUirwztbKA6BWoygQDVvVgdrQ= Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add lradc node To: Maxime Ripard 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 From: luca@z3ntu.xyz Message-ID: <9B2B83DF-2C91-4DDA-B707-664A792A8BCF@z3ntu.xyz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 20, 2019 1:07:42 PM GMT+02:00, Maxime Ripard wrote: >Hi! > >On Sat, May 18, 2019 at 07:09:30PM +0200, Luca Weiss wrote: >> Add a node describing the KEYADC on the A64=2E >> >> Signed-off-by: Luca Weiss >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64=2Edtsi | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64=2Edtsi >b/arch/arm64/boot/dts/allwinner/sun50i-a64=2Edtsi >> index 7734f70e1057=2E=2Edc1bf8c1afb5 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64=2Edtsi >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64=2Edtsi >> @@ -704,6 +704,13 @@ >> status =3D "disabled"; >> }; >> >> + lradc: lradc@1c21800 { >> + compatible =3D "allwinner,sun4i-a10-lradc-keys"; >> + reg =3D <0x01c21800 0x100>; >> + interrupts =3D ; >> + status =3D "disabled"; >> + }; >> + > >The controller is pretty different on the A64 compared to the A10=2E The >A10 has two channels for example, while the A64 has only one=2E > >It looks like the one in the A83t though, so you can use that >compatible instead=2E > >Maxime > >-- >Maxime Ripard, Bootlin >Embedded Linux and Kernel engineering >https://bootlin=2Ecom Hi, Looking at the patch for the A83t, the only difference is that it uses a 3= /4 instead of a 2/3 voltage divider, nothing is changed with the channels= =2E But I'm also not sure which one (or a different one) is used from looki= ng at the "A64 User Manual"=2E Thanks, Luca