Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1941914imm; Thu, 12 Jul 2018 10:17:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2I78HDcjnKeMQVqu4T+MikUhg8Dfb5+SP5Z9DRGjYkukkVcivsh9woVCnwiFoCkYk4trg X-Received: by 2002:a17:902:8207:: with SMTP id x7-v6mr2940075pln.57.1531415863132; Thu, 12 Jul 2018 10:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531415863; cv=none; d=google.com; s=arc-20160816; b=C/iWWrZPHWdLabFWCzcdTtdfck6F0szT423O++X8ffaQKPe4t/6rnVkxN6guBv40i7 7s++EfM93NF0vfKl7jv6u7CkG0nxtkp2j1QsNcFQjTD59M6iF5541lV/SdyVrR0Y+s0b nzJ3LxFpsb0YgxFToZNTGHFBXcn6Yf478L9mFwiLr/vMhEN2S//B3h1KHk0aFY9NXxp4 kDrQhK6nYj41sFkttCK4CAUuR4W6CPzbPNVRaMda8e6u3zARdk+HEks5iOK5DwSx2E2f xaeMTGDcCO9Ps9zNhyVV+0jaR+16sPw64GGyRat2r6scxYzeaZXRKzFcWJ1NvM3Y4J+f 4Ugg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=8ougSqEQQ9mQIzyOlLITGO0cpw5fZh8to3uUbPunYYM=; b=YQ0DMCFGYUUgBwCPyjjpIYD30SZheqX38vv+xD5Bk1TiIqrUjHkPtnY+c6+eXvO+TU SXWnUkmP/QiWA5pPuCGrWuA2qdAaJ9TbmIoFX6vTYBvfyQkpDkbJQlB8kbh17nCp6vYk iNsCXqbUJqVm19qnYs92ldnQ/z3TJrCkYvyEjR39PkpuLuvHffXEe/pIezp9zaO3m+qG jx8rtoJtug3TUuO6/g3i+oDHDQQU8/n13d+Rn5rI8WgAiW3TgmZzn/MK1KBFnc4C0FDb xCWQNiHAkHbRjVdbTFqrArwTA/ry4j1ZzXVXhNfoqeHNrcQAN9Uml51h9SablKHh+9qz AkvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b="J/YS43IG"; dkim=fail header.i=@chromium.org header.s=google header.b=oG76GqV6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y86-v6si5357057pfi.195.2018.07.12.10.17.28; Thu, 12 Jul 2018 10:17:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b="J/YS43IG"; dkim=fail header.i=@chromium.org header.s=google header.b=oG76GqV6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732508AbeGLR1R (ORCPT + 99 others); Thu, 12 Jul 2018 13:27:17 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:46452 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732355AbeGLR1R (ORCPT ); Thu, 12 Jul 2018 13:27:17 -0400 Received: by mail-vk0-f65.google.com with SMTP id b14-v6so16745096vke.13 for ; Thu, 12 Jul 2018 10:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8ougSqEQQ9mQIzyOlLITGO0cpw5fZh8to3uUbPunYYM=; b=J/YS43IG9spCIQUgaoE/2QzjA71wC0ILKabemv7wBORhd26uQkWwCezs3VfVQvnyQ2 IsyrBUrtmn7uyAWG12TTlNUgJFGqwuwPjk5FFjuzeZCUOySfWCSwdb4riQXv5KA88HvS Tg53eLppsJ/Y0SSNT19vjrpss12SJqM8/n5SglbeGRVhHUFoZUJRGS/OBJKEFaM9RYrw 1IBIQu64tUy2kAnHlx1kknfQugOdPCtIn0+mCu8HbnDnLmOALIlEaXeCvWdqSGPrxqFr A/m2Gmvbft0xHNVnATvDrEE25gAUHiAK38EvaLLV7XiCAExmt/kaU6e9k790DA4efpt3 3gFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8ougSqEQQ9mQIzyOlLITGO0cpw5fZh8to3uUbPunYYM=; b=oG76GqV6r7ML+3H24KdDoSu1FzEWS7Qpr9Vt+f/xInpRdLbZjrgik5XRdzcH/x7L49 jIIdqY4DQSRNa47OSJABylRGuMGWzBtEKwJAzGFsft7gHWE2yeU7P6Uywf5ENthnySW8 iJWHAmBxAO1NVuQ7KQFPIoZPf1sZKDL/dsrSo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8ougSqEQQ9mQIzyOlLITGO0cpw5fZh8to3uUbPunYYM=; b=iEJHj177UjsjPvkFrch+MCAKGzD84fZKmOH93VGU9x+4sU+Ta1iGrHdxj7Z4tL5LdU fKAqfFwx9RP3K5AOR6t9KUVXIHCh8T0Pm9uAze5y8mUac9hi8ECAelEnsMhx/fs4JYtb PnWfsQAqLjjal1SXgN3tsGuo1Fr5atEjbrIWexAY1AvrOOix+bY8MrB50gy6iafNjixm BcYrzEQBXMCmz45M2ncQX5irh+BtnvlvcCQeo2lI3v6eTvSYt6aR2dzxigETILxRziZV Xs2in8B/qfAUrC15MWZvtOBkhA9IOMaShvsHu3OkM12hB3eFYz6c9nQbIWjJsCgg6+6y 1jZw== X-Gm-Message-State: AOUpUlFkz3p4FkmjfzsAgQAzfbymEVPLaoY5gS+qNKNgRrZTSAruHGr1 T/+7uofck7+3MQPmG+T2sz//NgtYLOjaPRwLqMXyvw== X-Received: by 2002:a1f:7c4:: with SMTP id 187-v6mr1752280vkh.60.1531415807949; Thu, 12 Jul 2018 10:16:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:9495:0:0:0:0:0 with HTTP; Thu, 12 Jul 2018 10:16:46 -0700 (PDT) In-Reply-To: <34de426540a878bf77a77dd2c42a16678d6545a7.1531384019.git.amit.kucheria@linaro.org> References: <34de426540a878bf77a77dd2c42a16678d6545a7.1531384019.git.amit.kucheria@linaro.org> From: Doug Anderson Date: Thu, 12 Jul 2018 10:16:46 -0700 X-Google-Sender-Auth: 0rZIsRxTDrJquNYZ_sexNBJ9FhA Message-ID: Subject: Re: [PATCH v7 6/7] thermal: tsens: Add generic support for TSENS v2 IP To: Amit Kucheria Cc: LKML , Rajendra Nayak , linux-arm-msm , Bjorn Andersson , Eduardo Valentin , smohanad@codeaurora.org, Vivek Gautam , Andy Gross , Matthias Kaehlcke , Zhang Rui , Rob Herring , Kees Cook , linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Jul 12, 2018 at 1:39 AM, Amit Kucheria wrote: > SDM845 uses v2 of the TSENS IP block but the get_temp() function appears to > be identical across v2.x.y in code seen so far. We use the generic > get_temp() function defined as part of ops_generic_v2. > > Signed-off-by: Amit Kucheria > Reviewed-by: Bjorn Andersson > Tested-by: Matthias Kaehlcke > --- > drivers/thermal/qcom/tsens-v2.c | 5 +++++ > drivers/thermal/qcom/tsens.c | 3 +++ > drivers/thermal/qcom/tsens.h | 5 ++++- > 3 files changed, 12 insertions(+), 1 deletion(-) Reviewed-by: Douglas Anderson