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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0A43C433EF for ; Tue, 11 Jan 2022 13:13:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240325AbiAKNNH (ORCPT ); Tue, 11 Jan 2022 08:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240320AbiAKNNG (ORCPT ); Tue, 11 Jan 2022 08:13:06 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245ACC061748 for ; Tue, 11 Jan 2022 05:13:06 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id m1so22948020lfq.4 for ; Tue, 11 Jan 2022 05:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wirenboard-com.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=HexBkH7IffTlCvDylw+G6ZVzQ2BUVoFgl2mC3mgeHX8=; b=5Wf3hap5AZRbMO2KtXQL6Y/jtuLHF9cg2HUFpAtgmKsD+p5kYZvdbE38ZfdUKWqoDy dddQcy60+sYew/kg53hMXSXTHQjdZqvAlt4vz0bNRIjKj6hgwaG+Tc0A/fzTzWe14lDG xUUeGMhRRDnme/GsZyHE6NrbpE7D4eYX2ktBooxJsHkHwyML4Bqvpap7v4qYru4YFGmp jNvI4/kXGnU2JKBfOajZazXxr7yQTrS8q18F16HP2HC+keyobwHKixpZPf0epN5qgZrr CLqmXogtTcuJ/7eKyPOKdJOv6tvaQTJIFzI4n+/EqIJEjzfU8p0UlMtq9ePBgVl9la8D HF3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=HexBkH7IffTlCvDylw+G6ZVzQ2BUVoFgl2mC3mgeHX8=; b=YcvlWQbVuO5vrH5Jvz4H4St7/hjCz1TQI47gpuGHLXtSAInpUDqbI+e1fie1BaIDhr hhBgOEYrYiN4s0nZRR9TnqZi1G6F9Vth4n/pfTKx6vV369q6zY3tqi+fbh6bDdQNnkKV pBIlPfOOpNJhtEJvm36dAuIZJl3Hwh3LxUbAwJc7FONr3mpKmS8GGTzDdnFtThV65dRH pfiyA56oako4vatTUN+BFlvccIJI2lijHh5V8rUe4lyPLL/nsuCtcPQR1idtT0rlw36D GQoCnNhtcxrNyIRPIhSUY6eFPxUqlTOt0mStjxPkxXdI+shdUKIuxFmXFKtfg4wAGi6/ Zzhg== X-Gm-Message-State: AOAM532FbR26as7MOpL20bED8Naact3d6C3k8N24XhABIk5h36ba1BUa qwwzmSXK+5cxzylaHpAynp6q/VF2d8gtDw== X-Google-Smtp-Source: ABdhPJz5CmqUsI8AwKAkSmuFVrJyv0PTq2BHqKKwqEDZ0HMGLPjd3R4ayPll7KW5YV+J701nrFEFeA== X-Received: by 2002:a05:6512:3445:: with SMTP id j5mr3250433lfr.30.1641906784075; Tue, 11 Jan 2022 05:13:04 -0800 (PST) Received: from [192.168.1.213] (81.5.110.253.dhcp.mipt-telecom.ru. [81.5.110.253]) by smtp.googlemail.com with ESMTPSA id i9sm1331120lfe.195.2022.01.11.05.13.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jan 2022 05:13:03 -0800 (PST) Subject: Re: [PATCH 1/3] iio: adc: sun4i-gpadc-iio: no temp sensor on R40 To: Jonathan Cameron , Maxime Ripard Cc: Chen-Yu Tsai , linux-sunxi@lists.linux.dev, Lee Jones , Rob Herring , devicetree@vger.kernel.org, Jernej Skrabec , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org References: <20211119191456.510435-1-boger@wirenboard.com> <20211119191456.510435-2-boger@wirenboard.com> <20211122091132.yjudzei3bdqmnxq6@gilmour> <20211122124115.00005186@Huawei.com> From: Evgeny Boger Message-ID: <85db7e8a-2b9a-7e44-ec96-b804201a3491@wirenboard.com> Date: Tue, 11 Jan 2022 16:13:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211122124115.00005186@Huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org 22.11.2021 15:41, Jonathan Cameron пишет: > 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 Hi Jonathan! Is there anything else I should do to make this patch series accepted? > Thanks, > > Jonathan > >> Maxime >>