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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A4437C433F5 for ; Mon, 22 Nov 2021 12:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iYY8lO09hKDupmMMoAeaURG1ZCQunowdGhNUDl+ampc=; b=Kvn+VOr8Ge+Mhk hWQ0fI8Es/caTdKcisIgrd/fiRpTE24KUEEahYxAEgU7sZi9JItymssz+UL9v0LQShRxCeA7b+kyX RfCvuuS/tiSEGYvVv4MI5IxWea9QK+qxcP9rWYs89oiscLncWB0ddbuTE82d6ZmJt0IDwYPuTnFEL uKIYJ01h4+Zi+CjxMg51VKyRmhyaTD872sUnj3+qtCDSf0CIbMUTrtIT2ZSfXFRtgvha0IpRohbR0 y13rL/AljLVRFLABJY5lRKXi4H40XFysnHREXjKIlU7dK31TxPQLlLFzuOyzQtRMlB8M8Xrzsz7OC hiFe6DkNI7ncuizmPUqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mp8k7-00GSbT-5h; Mon, 22 Nov 2021 12:48:19 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mp8dL-00GQ2m-I0 for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 12:41:21 +0000 Received: from fraeml745-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HyRhP23Btz6GDMH; Mon, 22 Nov 2021 20:40:53 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml745-chm.china.huawei.com (10.206.15.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 22 Nov 2021 13:41:17 +0100 Received: from localhost (10.202.226.41) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 22 Nov 2021 12:41:16 +0000 Date: Mon, 22 Nov 2021 12:41:15 +0000 From: Jonathan Cameron To: Maxime Ripard CC: Evgeny Boger , Chen-Yu Tsai , , Lee Jones , Rob Herring , , Jernej Skrabec , , Subject: Re: [PATCH 1/3] iio: adc: sun4i-gpadc-iio: no temp sensor on R40 Message-ID: <20211122124115.00005186@Huawei.com> In-Reply-To: <20211122091132.yjudzei3bdqmnxq6@gilmour> References: <20211119191456.510435-1-boger@wirenboard.com> <20211119191456.510435-2-boger@wirenboard.com> <20211122091132.yjudzei3bdqmnxq6@gilmour> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 X-Originating-IP: [10.202.226.41] X-ClientProxiedBy: lhreml737-chm.china.huawei.com (10.201.108.187) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211122_044119_807937_F3176219 X-CRM114-Status: GOOD ( 18.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 22 Nov 2021 10:11:32 +0100 Maxime Ripard wrote: > On Fri, Nov 19, 2021 at 10:14:54PM +0300, Evgeny Boger wrote: > > R40 SoC has touchscreen controller also serving as general-purpose ADC. > > The hardware is very similar to A31, except that R40 has separate > > calibrated thermal sensor IP (handled by sun8i_thermal). > > > > Despite the temperature sensor in the RTP is never mentioned in > > the R40 family user manuals, it appears to be working. However, > > it's not very useful as it lacks calibration data and there is another > > fully functioning temperature sensor anyway. > > > > This patch disables the temperature sensor in RTP/GPADC IP on R40. > > > > The reason for disabling the temperature sensor is that the IP > > needs to be switched back and forth between RTP and GPADC modes for > > temperature measurements. Not only this introduces delays, but it also > > disturbs external circuitry by injecting current into ADC inputs. > > > > Signed-off-by: Evgeny Boger > > Acked-by: Maxime Ripard +Cc linux-iio@vger.kernel.org I'm fine with this and assuming Lee is happy to pick it up + send me an immutable branch in case anything crosses with it this cycle.. Acked-by: Jonathan Cameron Thanks, Jonathan > > Maxime > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel