Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694467

Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

From icenowy@aosc.io
Newsgroups linux.kernel
Subject Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23
Date 2017-07-24 08:10 +0200
Message-ID <u6EJ4-13v-13@gated-at.bofh.it> (permalink)
References <u6pTH-7j-11@gated-at.bofh.it> <u6pTI-7j-25@gated-at.bofh.it> <u6EJ4-13v-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


在 2017-07-24 14:02,Chen-Yu Tsai 写道:
> On Sun, Jul 23, 2017 at 10:13 PM, Icenowy Zheng <icenowy@aosc.io> 
> wrote:
>> As the H3 SoC, which is also in sun8i line, has totally different
>> register map for the thermal sensor (a cut down version of GPADC), we
>> should rename A23/A33-specified registers to contain A23, in order to
>> prevent obfuscation with H3 registers. Currently these registers are
>> only prefixed "SUN8I", not "SUN8I_A23".
>> 
>> Add "_A23" after "SUN8I" on the register names.
> 
> Nit: the compatible string as well as the initial driver targets the 
> A33.
> Naming the registers as such would be more consistent.

But the registers are the same between A23 and A33.

In fact the only difference between A23 and A33 is the formula's 
factors.

> 
> Otherwise,
> 
> Reviewed-by: Chen-Yu Tsai <wens@csie.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23 Icenowy Zheng <icenowy@aosc.io> - 2017-07-23 16:20 +0200
  Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename  A23/A33-specified registers to contain A23 Chen-Yu Tsai <wens@csie.org> - 2017-07-24 08:10 +0200
    Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename  A23/A33-specified registers to contain A23 icenowy@aosc.io - 2017-07-24 08:10 +0200
      Re: [linux-sunxi] [PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename  A23/A33-specified registers to contain A23 Chen-Yu Tsai <wens@csie.org> - 2017-07-24 08:20 +0200

csiph-web