Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1130579pxb; Wed, 6 Apr 2022 09:24:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVmNEsjtGCMT5umPH4vtFZ0vkf8xv3yv8Gbuwqm0PlFc73IcdM+bDGgRgy2UpOYabAGxC0 X-Received: by 2002:a63:5023:0:b0:399:2202:2f80 with SMTP id e35-20020a635023000000b0039922022f80mr7678002pgb.621.1649262276231; Wed, 06 Apr 2022 09:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649262276; cv=none; d=google.com; s=arc-20160816; b=mCkxLIrPZLkFP5u9fAty2Lv3CBqZonJ40jhtXnWs6DNiO0ddGF1Ostbu5Q+Od5tBFZ fnkU063Yaoo6pfhKSmHB+v6MkWwy8vJBXZb8WbyrWJfCApfu/ZpUmdlIqCCVK7ZVQjWp LnoLOgmqmOLdyo3R28QuQR1WANKiyBoHIWBcVXJePcRAXa+9dL+YdES+jCS/ws8ijn2W VADY8lF0AVbbp+SaOy9apW+Vu02ezld1swaffoBGjQ2HwaRpmttVmnqqq81mRasldood GM3PBMVf+niuTvr5MTK+kQ3ErkXBaF4o/xoP0bchnrXC4yI4oglFcUMenSgA5GNQ0mTZ FMRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=h8e9c9TFI1Ly317ektcSlehbJcZeEtFyP3Jc0716Rsg=; b=phIaLWTaKjv7BlTTQwmFOq9xZCuJTuFv49GoOBnmsbaYMnfnyCn6Hq+zXbCjY74od3 rJ0XPjv8JLo46Dk15AdNdAnh/yYmMdLhOR0EdRl22g4Jc/ihMqefV9DvqukdPkCrNo75 jjom7r1GpmSiUZBr9J7ayRMj7K7tWivq04SvbG7hMT0LU4Q0bo8q8R7ztETYwMndz67Q MKT1KWaw0OwLCw+s61nhMxxU+3IyUk2VBMYJdu7jPfea9hKllQDpdy34vWhtk5jY+NC2 1vQWFCKgwtysyHwL0hKT0NnQPCFJpIu87qHMkK2vw/Re5Z5s56Q0Yh7mIU6JYFMg17dO hmEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LV6wALCp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id rj2-20020a17090b3e8200b001bedf1f3526si5598909pjb.146.2022.04.06.09.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LV6wALCp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA90C331D24; Wed, 6 Apr 2022 08:26:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235878AbiDFP2W (ORCPT + 99 others); Wed, 6 Apr 2022 11:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236739AbiDFP2L (ORCPT ); Wed, 6 Apr 2022 11:28:11 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C64D2579089 for ; Wed, 6 Apr 2022 05:28:03 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id m30so3004229wrb.1 for ; Wed, 06 Apr 2022 05:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=h8e9c9TFI1Ly317ektcSlehbJcZeEtFyP3Jc0716Rsg=; b=LV6wALCpMHHr46kiK8gkmcvr2YLzPCAKmsaVuq5XqGfKVJXSyOhh/YEsG7xInDy6+z W0+3pgyAvv4l2G//HgfffD3nJfgfvItnx0vctg/6reEx7Uh96dD0jMTreTFVcH7sHzzv 6wgIq0sXTa0Zf6jHsItnXFWRXJ4jXcF7JJPpT7mMXpMLd6RRZRTIxNclr7FyPRDBnp6N FDjl8WsySRKECNtwO4KGzFt/KEKhjPQd6hU50fNEpsKsQwIAwc6grgw6hWZJUmDNsv+W cY1+mwvaemjyxZmm0MnZniahMOzye+1unzb7c9xCmnkv98aufrT/NNxLLM2xzQ869YfX VnKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=h8e9c9TFI1Ly317ektcSlehbJcZeEtFyP3Jc0716Rsg=; b=FQ4NbGcKvTKikG8mk5KXoBKthtVGvboQ3VIDJ97MBOs1UaV8M9BdjOqlXw1jxmBRjA pL8x9rNhnelqk/7HVjHHhQ6UqC+Up6yrIDmF8M310qLPDT7oh9OQsHOnKh1+Tnqg/SK7 b7lYeuyFesPHi63zRG3UdXd25y+hybaNLKyw7r6XzUGbvnF41n7y0cIOtBHXgZ5PXxy6 1D+SioIxM1UniYmqUbwGC6yI/bz1sHS1VXNswLErvy0sSKCEYHc/bB1VBrYg6N5uUMbr Umqt7hQVW2bTo8L97tN+cg4VtPBxkvElXlX1mrB7OjtKpYepNjoJK+eWF+foN7gTfEiV jSlQ== X-Gm-Message-State: AOAM531xLAMd7MotMAAL6aNZXDnJRAO1MhA5Knp6p+FkJnfiHMFUsjVo RZe45CnOwPRWItkScQLGhTjfpg== X-Received: by 2002:adf:f10e:0:b0:206:1837:b5a9 with SMTP id r14-20020adff10e000000b002061837b5a9mr6334860wro.347.1649248071925; Wed, 06 Apr 2022 05:27:51 -0700 (PDT) Received: from ?IPV6:2a01:e34:ed2f:f020:261f:c14c:d23b:d177? ([2a01:e34:ed2f:f020:261f:c14c:d23b:d177]) by smtp.googlemail.com with ESMTPSA id v8-20020a1cf708000000b0034d7b5f2da0sm4809146wmh.33.2022.04.06.05.27.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Apr 2022 05:27:51 -0700 (PDT) Message-ID: Date: Wed, 6 Apr 2022 14:27:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [RESEND PATCH V5 0/4] thermal: qcom: Add support for PMIC5 Gen2 ADC_TM Content-Language: en-US To: Jishnu Prakash , agross@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, mka@chromium.org, dmitry.baryshkov@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, quic_aghayal@quicinc.com, rui.zhang@intel.com, quic_subbaram@quicinc.com, jic23@kernel.org, amitk@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org, linux-pm@vger.kernel.org References: <1648991869-20899-1-git-send-email-quic_jprakash@quicinc.com> From: Daniel Lezcano In-Reply-To: <1648991869-20899-1-git-send-email-quic_jprakash@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/04/2022 15:17, Jishnu Prakash wrote: > Resending patch series to thermal tree. > > Changes in v5: > Fixed some compilation errors in patch 4. > > Changes in v4: > Addressed comments given by Jonathan (for using put_unaligned_le16) > and by Dmitry (for using separate init function and correcting args_count) > for qcom-spmi-adc-tm5.c in patch 4. > Added init function in patch 3. > > Changes in v3: > Addressed comments given by Jonathan for qcom-spmi-adc-tm5.yaml. > Addressed comments given by Dmitry and Jonathan for qcom-spmi-adc-tm5.c. > Split patch for qcom-spmi-adc-tm5.c into two parts, one to refactor > code to support multiple device generations and the second to add > actual Gen2 ADC_TM changes. > > Changes in v2: > Split IIO file changes into separate patch. > Addressed comments given by Dmitry for qcom-spmi-adc-tm5.c. > > Changes in v1: > PMIC5 Gen2 ADC_TM is supported on PMIC7 chips and is a close > counterpart of PMIC7 ADC. It has the same functionality as > PMIC5 ADC_TM, to support generating interrupts on ADC value > crossing upper or lower thresholds for monitored channels. > > Jishnu Prakash (4): > dt-bindings: thermal: qcom: add PMIC5 Gen2 ADC_TM bindings > iio: adc: qcom-vadc-common: add reverse scaling for PMIC5 Gen2 ADC_TM > thermal: qcom: Add support for multiple generations of devices > thermal: qcom: add support for PMIC5 Gen2 ADCTM > > .../bindings/thermal/qcom-spmi-adc-tm5.yaml | 110 ++++- > drivers/iio/adc/qcom-vadc-common.c | 11 + > drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 486 +++++++++++++++++++-- > include/linux/iio/adc/qcom-vadc-common.h | 2 + > 4 files changed, 569 insertions(+), 40 deletions(-) Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog