public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
To: "Måns Rullgård" <mans-2StjZFpD7GcAvxtiuMwx3w@public.gmane.org>
Cc: Philipp Rossak <embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	wens-jdAy2FN1RRM@public.gmane.org,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org,
	jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	knaack.h-Mmb7MZpHnFY@public.gmane.org,
	lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org,
	pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org,
	eugen.hristev-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org,
	rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
	vilhelm.gray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	quentin.schulz-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org,
	geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org,
	lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org,
	icenowy-h8G6r0blFSE@public.gmane.org,
	arnd-r2nGTMty4D4@public.gmane.org,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	arnaud.pouliquen-qxv4g6HH51o@public.gmane.org,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [PATCH v3 00/30] IIO-based thermal sensor driver for Allwinner H3 and A83T SoC
Date: Tue, 19 Mar 2019 13:37:02 +0100	[thread overview]
Message-ID: <20190319123702.om4uh32noys4nwxv@flea> (raw)
In-Reply-To: <yw1xzhpryrku.fsf-2StjZFpD7GcAvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 4783 bytes --]

On Tue, Mar 19, 2019 at 12:30:25PM +0000, Måns Rullgård wrote:
> Philipp Rossak <embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > Allwiner H3 and A83T SoCs have a thermal sensor, which is a large refactored
> > version of the old Allwinner "GPADC" (although it have already only
> > thermal part left in A33).
> >
> > This patch tried to add support for the sensor in H3 and A83T based on
> >
> > This Patchtseries was in the beginning based on Icenowy Zengs v4 patchseries [1]. Since we decided to merge the mfd driver into the GPADC this changed. So only one patch could be reused.
> >
> > Patches that adds support for H5, A64, A80 and H6 SoCs are allready prepared,
> > and will be upstreamed if this patchseries is applied and the testing is done.
> >
> > Sorry for delaying this.
> >
> > Regards,
> > Philipp
> >
> > changes since v2:
> > 	* mfd driver is now merged into the gpadc driver
> > 	* complete rework
> >
> > changes since v1:
> > 	* collecting all acks
> > 	* rewording commits/fix typos
> > 	* move code in place where it is used
> > 	* fix naming conventions of defines
> > 	* clarify commits
> > 	* update documentation to cover the new nvmem calibraion
> > 	* change nvmem calibration
> >
> > Icenowy Zheng (1):
> >   iio: adc: sun4i-gpadc-iio: rename A33-specified registers to contain
> >     A33
> >
> > Philipp Rossak (29):
> >   mfd: Makefile: Remove build option for MFD:sun4i-gpadc
> >   mfd: Kconfig: Remove MFD_SUN4I_GPADC config option
> >   iio: adc: Remove ID table
> >   iio: adc: Kconfig: Update Kconfig to new build options
> >   iio: adc: move SUN4I_GPADC_CHANNEL define to header file
> >   iio: adc: remove ofnode options
> >   iio: adc: remove mfd_probe & sunwi_irq_init function
> >   iio: adc: remove hwmon structure
> >   iio: adc: Threat A33 as thermal sensor and remove non thermal sun4i
> >     channel
> >   iio: adc: rework irq and adc_channel handling
> >   iio: adc: add new compatibles
> >   mfd: Remove old mfd driver & Move sun4i-gpadc.h to iio/adc/
> >   arm: config: Enable SUN4I_GPADC in defconfig
> >   dt-bindings: update the Allwinner GPADC device tree binding for H3 &
> >     A83T
> >   iio: adc: sun4i-gpadc-iio: rework: readout temp_data
> >   iio: adc: sun4i-gpadc-iio: rework: support clocks and reset
> >   iio: adc: sun4i-gpadc-iio: rework: support multiple sensors
> >   iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data
> >   iio: adc: sun4i-gpadc-iio: rework: device specific suspend & resume
> >   iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor
> >   iio: adc: sun4i-gpadc-iio: add support for A83T thermal sensor
> >   ARM: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5
> >   ARM: dts: sun8i: h3: add support for the thermal sensor in H3
> >   ARM: dts: sun8i: h3: add thermal zone to H3
> >   ARM: dts: sun8i: h3: enable H3 sid controller
> >   ARM: dts: sun8i: h3: use calibration for ths
> >   ARM: dts: sun8i: a83t: add support for the thermal sensor in A83T
> >   ARM: dts: sun8i: a83t: add thermal zone to A83T
> >   ARM: sun8i: a83t: full range OPP tables and CPUfreq
> >
> >  .../devicetree/bindings/iio/adc/sun4i-gpadc.txt    |  41 +-
> >  arch/arm/boot/dts/sun8i-a83t.dtsi                  | 143 +++++
> >  arch/arm/boot/dts/sun8i-h3.dtsi                    |  52 ++
> >  arch/arm/boot/dts/sunxi-h3-h5.dtsi                 |  10 +
> >  arch/arm/configs/sunxi_defconfig                   |   1 +
> >  drivers/iio/adc/Kconfig                            |  11 +-
> >  drivers/iio/adc/sun4i-gpadc-iio.c                  | 617 +++++++++++++--------
> >  drivers/mfd/Kconfig                                |  17 -
> >  drivers/mfd/Makefile                               |   1 -
> >  drivers/mfd/sun4i-gpadc.c                          | 181 ------
> >  include/linux/{mfd => iio/adc}/sun4i-gpadc.h       |  47 +-
> >  11 files changed, 681 insertions(+), 440 deletions(-)
> >  delete mode 100644 drivers/mfd/sun4i-gpadc.c
> >  rename include/linux/{mfd => iio/adc}/sun4i-gpadc.h (72%)
>
> What became of these patches?  I can't seem to find any follow-ups.  Was
> the approach abandoned in favour of something else?

It didn't, I don't think we ever got any follow-up to that series so
that's the main reason it's been held back.

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-- 
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  parent reply	other threads:[~2019-03-19 12:37 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30 15:44 [PATCH v3 00/30] IIO-based thermal sensor driver for Allwinner H3 and A83T SoC Philipp Rossak
     [not found] ` <20180830154518.29507-1-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-30 15:44   ` [PATCH v3 01/30] mfd: Makefile: Remove build option for MFD:sun4i-gpadc Philipp Rossak
     [not found]     ` <20180830154518.29507-2-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:25       ` Maxime Ripard
2018-09-02 19:58         ` Jonathan Cameron
2018-08-30 15:44   ` [PATCH v3 02/30] mfd: Kconfig: Remove MFD_SUN4I_GPADC config option Philipp Rossak
2018-09-02 19:58     ` Jonathan Cameron
2018-08-30 15:44   ` [PATCH v3 03/30] iio: adc: Remove ID table Philipp Rossak
2018-08-30 15:44   ` [PATCH v3 04/30] iio: adc: Kconfig: Update Kconfig to new build options Philipp Rossak
     [not found]     ` <20180830154518.29507-5-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:32       ` Maxime Ripard
2018-08-30 15:44   ` [PATCH v3 05/30] iio: adc: move SUN4I_GPADC_CHANNEL define to header file Philipp Rossak
2018-09-02 20:01     ` Jonathan Cameron
2018-09-03 14:24       ` Philipp Rossak
2018-09-03 17:28         ` Jonathan Cameron
2018-08-30 15:44   ` [PATCH v3 06/30] iio: adc: remove ofnode options Philipp Rossak
2018-08-30 15:44   ` [PATCH v3 07/30] iio: adc: remove mfd_probe & sunwi_irq_init function Philipp Rossak
     [not found]     ` <20180830154518.29507-8-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:34       ` Maxime Ripard
2018-08-30 15:44   ` [PATCH v3 08/30] iio: adc: remove hwmon structure Philipp Rossak
     [not found]     ` <20180830154518.29507-9-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:34       ` Maxime Ripard
2018-08-30 15:44   ` [PATCH v3 09/30] iio: adc: Threat A33 as thermal sensor and remove non thermal sun4i channel Philipp Rossak
     [not found]     ` <20180830154518.29507-10-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-30 16:40       ` 'Ondřej Jirman' via linux-sunxi
2018-08-31  8:35       ` Maxime Ripard
2018-08-30 15:44   ` [PATCH v3 10/30] iio: adc: rework irq and adc_channel handling Philipp Rossak
     [not found]     ` <20180830154518.29507-11-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:44       ` Maxime Ripard
2018-08-30 15:44   ` [PATCH v3 11/30] iio: adc: add new compatibles Philipp Rossak
     [not found]     ` <20180830154518.29507-12-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:46       ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 12/30] mfd: Remove old mfd driver & Move sun4i-gpadc.h to iio/adc/ Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 13/30] arm: config: Enable SUN4I_GPADC in defconfig Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 14/30] dt-bindings: update the Allwinner GPADC device tree binding for H3 & A83T Philipp Rossak
     [not found]     ` <20180830154518.29507-15-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:48       ` Maxime Ripard
2018-09-10 19:44         ` Rob Herring
2018-09-11  9:12           ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 15/30] iio: adc: sun4i-gpadc-iio: rename A33-specified registers to contain A33 Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 16/30] iio: adc: sun4i-gpadc-iio: rework: readout temp_data Philipp Rossak
     [not found]     ` <20180830154518.29507-17-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  8:50       ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 17/30] iio: adc: sun4i-gpadc-iio: rework: support clocks and reset Philipp Rossak
     [not found]     ` <20180830154518.29507-18-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  9:03       ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 18/30] iio: adc: sun4i-gpadc-iio: rework: support multiple sensors Philipp Rossak
     [not found]     ` <20180830154518.29507-19-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  9:05       ` Maxime Ripard
2018-09-02 20:11     ` Jonathan Cameron
2018-09-03 13:58       ` Philipp Rossak
2018-09-03 17:29         ` Jonathan Cameron
2018-08-30 15:45   ` [PATCH v3 19/30] iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data Philipp Rossak
     [not found]     ` <20180830154518.29507-20-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  9:07       ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 20/30] iio: adc: sun4i-gpadc-iio: rework: device specific suspend & resume Philipp Rossak
     [not found]     ` <20180830154518.29507-21-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  9:09       ` Maxime Ripard
2018-08-31 12:05         ` Philipp Rossak
     [not found]           ` <ddd06c43-026e-2801-dc36-053d469e43f3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-09-03  9:44             ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 21/30] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor Philipp Rossak
     [not found]     ` <20180830154518.29507-22-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-30 16:27       ` 'Ondřej Jirman' via linux-sunxi
2018-08-30 20:00         ` Philipp Rossak
     [not found]           ` <e919cbdd-a874-4b46-a505-9412d093f54a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-30 20:46             ` Philipp Rossak
2018-08-31  9:11       ` Maxime Ripard
2018-08-31  9:51         ` Icenowy Zheng
     [not found]           ` <f01ec2f202c7e2e5a7e0c822b2f9a8f0c55a9ea4.camel-h8G6r0blFSE@public.gmane.org>
2018-08-31 11:58             ` Philipp Rossak
2018-09-03 10:20             ` Maxime Ripard
2018-09-03 11:01               ` [linux-sunxi] " Icenowy Zheng
     [not found]                 ` <AFDFF5AB-8BF6-4461-A5C2-D628A2F22E2E-h8G6r0blFSE@public.gmane.org>
2018-09-05 14:58                   ` Maxime Ripard
2018-08-31 12:01         ` Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 23/30] ARM: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 24/30] ARM: dts: sun8i: h3: add support for the thermal sensor in H3 Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 25/30] ARM: dts: sun8i: h3: add thermal zone to H3 Philipp Rossak
     [not found]     ` <20180830154518.29507-26-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-31  9:14       ` Maxime Ripard
2018-08-30 15:45   ` [PATCH v3 26/30] ARM: dts: sun8i: h3: enable H3 sid controller Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 27/30] ARM: dts: sun8i: h3: use calibration for ths Philipp Rossak
2018-09-04 16:46     ` Emmanuel Vadot
     [not found]       ` <20180904184623.e4386b8e6b657b1b25e90c09-xXdDKFdH5B3kFDPD4ZthVA@public.gmane.org>
2018-09-06 11:47         ` Philipp Rossak
     [not found]           ` <55579dd6-625d-e71b-1482-4592dccac665-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-09-06 11:51             ` Maxime Ripard
2018-09-06 12:04               ` [linux-sunxi] " Icenowy Zheng
2018-09-06 12:18                 ` Philipp Rossak
2019-02-19  7:54               ` Allwinner SID THS calibration data cell representation? Chen-Yu Tsai
2019-02-20 14:55                 ` Maxime Ripard
2019-02-21 10:10                 ` Emmanuel Vadot
     [not found]                 ` <CAGb2v65p0G83BVODsxxnXmiSCwuuwPFtY2k2ZV1F5xoFKrJjWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-02-25 20:37                   ` Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 28/30] ARM: dts: sun8i: a83t: add support for the thermal sensor in A83T Philipp Rossak
2018-08-30 15:45   ` [PATCH v3 29/30] ARM: dts: sun8i: a83t: add thermal zone to A83T Philipp Rossak
2018-08-30 15:45 ` [PATCH v3 22/30] iio: adc: sun4i-gpadc-iio: add support for A83T thermal sensor Philipp Rossak
2018-08-30 15:45 ` [PATCH v3 30/30] ARM: sun8i: a83t: full range OPP tables and CPUfreq Philipp Rossak
     [not found]   ` <20180830154518.29507-31-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-30 16:38     ` 'Ondřej Jirman' via linux-sunxi
2018-08-30 20:29       ` Philipp Rossak
2018-09-06  7:24     ` Quentin Schulz
2018-09-06 11:39       ` Philipp Rossak
     [not found]         ` <c76e71bc-6bc5-f73c-2c7a-c9315cf2da31-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-09-06 11:42           ` Maxime Ripard
2018-09-06 12:06             ` Quentin Schulz
2019-03-19 12:30 ` [PATCH v3 00/30] IIO-based thermal sensor driver for Allwinner H3 and A83T SoC Måns Rullgård
     [not found]   ` <yw1xzhpryrku.fsf-2StjZFpD7GcAvxtiuMwx3w@public.gmane.org>
2019-03-19 12:37     ` Maxime Ripard [this message]
2019-03-19 13:04       ` Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190319123702.om4uh32noys4nwxv@flea \
    --to=maxime.ripard-ldxbnhwyfcjbdgjk7y7tuq@public.gmane.org \
    --cc=arnaud.pouliquen-qxv4g6HH51o@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=clabbe.montjoie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=eugen.hristev-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org \
    --cc=geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org \
    --cc=icenowy-h8G6r0blFSE@public.gmane.org \
    --cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=knaack.h-Mmb7MZpHnFY@public.gmane.org \
    --cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \
    --cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org \
    --cc=mans-2StjZFpD7GcAvxtiuMwx3w@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org \
    --cc=quentin.schulz-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org \
    --cc=rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=vilhelm.gray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=wens-jdAy2FN1RRM@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox