Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3468815imm; Tue, 17 Jul 2018 05:29:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcd85KVWtNw77CPIqNJa35J9JgjYQXQuRUveU6krH1YByQKWN7vDv+QYyfoBbO5cRZBgkCA X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr1424965plb.211.1531830549247; Tue, 17 Jul 2018 05:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531830549; cv=none; d=google.com; s=arc-20160816; b=GPgDqfiBJoYZYyWHTO8toDTVPzrHC6F1QdCAyzvFGVitjotLMSf2LhCGEBQe/w1o7Y z9bX1nF2xvbH4A/PnHy+3SivKu1sznFCJnmkb1SzQNo3MaABGHebK39LVU6YIKqVeNn4 OD1XUGCpV+GlY/Klz2Zx5n9du61SlTIgfvLLj2v+wMF0k5Lr4g0CKFXO3qcSq+z1sngh cYWx8wP+V+skvRC5XHs2gfMiYGagibmBX+U6Rv70DZVoQwXKGxYkSr6G/FOPWe8gUN67 21Gk00Njpz5rZLHukNo5TZK4FD5R82wMUVwTk9Q6nZciHY464Fb3TGeaHcRegmbfjTVu 3FZQ== 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 :arc-authentication-results; bh=n5NknmAYK4oC/iNRY5CAuFxT23go9wxIHYSe9z3ohCc=; b=ERuc/4gj6qnXiSB57UGfnM3ptuUYRUhPn/t1VNNnToysqTeH1Nc1GWi9uN0OCiogFd MGHZRS3Hf9xS6uHfK5KpD5O5KxyWJAXrneSwtFuBdfk2ctZSBpreNs6A1owA946Da3Tt j3NDeDerx1IrV7hiXrV9ESLhPb9VJUWavoR4nOKORLzUBWR2AlUNunXu1yD6VLHLRWKm 2yHTlw2lmZ7vwkprdcol/Jo8jpK0ozVKFgEDC3rGgLhlWKBHABwXoZGxj4W/b4bKkoPG GAZZRUIkCNepOuG5aIlyBgif51KjVIIlWn8dnSHHumZYPfDo0xBrIPoDouRGujQ8SYB5 SI6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YSrtmiqC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21-v6si813105pgn.86.2018.07.17.05.28.54; Tue, 17 Jul 2018 05:29:09 -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=pass header.i=@kernel.org header.s=default header.b=YSrtmiqC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731538AbeGQNAi (ORCPT + 99 others); Tue, 17 Jul 2018 09:00:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:39754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730246AbeGQNAh (ORCPT ); Tue, 17 Jul 2018 09:00:37 -0400 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8EE5021470; Tue, 17 Jul 2018 12:28:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531830491; bh=SMTmtmaZDXjs7VA9RSDWfoAg6up0p+yoME3FOuqVAXg=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=YSrtmiqCAnjqANaFTxIohhxJ6qWffa4etCGGMKvOj8/izsp9loj+NDFo/JTO/hn8h l/UTpybupErkWTEfG+H83a7rDJ1LdAGvAdxMlcmc9HuTAPwd/sKPzoEo7mdO54Cqv/ FAhVvD/5dDPT897Mh/0T3pqDLh37Lux/FOB5ldTQ= Received: by mail-wr1-f45.google.com with SMTP id c13-v6so1091803wrt.1; Tue, 17 Jul 2018 05:28:11 -0700 (PDT) X-Gm-Message-State: AOUpUlHC/2mxI4/PKTeEMbA2kWP71YNLUfnCeYeD32aaFgt7A6Pv3Wql WrN8tg1VReyBZVzwPJ00KU5r/iNQZxK8beEHwm8= X-Received: by 2002:adf:81a3:: with SMTP id 32-v6mr1334813wra.9.1531830490049; Tue, 17 Jul 2018 05:28:10 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9141:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 05:28:09 -0700 (PDT) In-Reply-To: <1531822342-4293-4-git-send-email-linux.amoon@gmail.com> References: <1531822342-4293-1-git-send-email-linux.amoon@gmail.com> <1531822342-4293-4-git-send-email-linux.amoon@gmail.com> From: Krzysztof Kozlowski Date: Tue, 17 Jul 2018 14:28:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/5] thermal: exynos: fixed the efuse min/max value for exynos5422 To: Anand Moon Cc: Bartlomiej Zolnierkiewicz , Zhang Rui , Eduardo Valentin , Kukjin Kim , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@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 On 17 July 2018 at 12:12, Anand Moon wrote: > e-fuse range min~max range is 16~76. if e-fuse value is out of s/e-fuse/Fuse/ s/if/If/ Can you share the sources confirming that fuse values are between 16 and 76? Best regards, Krzysztof > this range, then thermal sensor may not sense thermal data properly. > > CC: Bartlomiej Zolnierkiewicz > Signed-off-by: Anand Moon > --- > drivers/thermal/samsung/exynos_tmu.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c > index 4a2733c..6481d91 100644 > --- a/drivers/thermal/samsung/exynos_tmu.c > +++ b/drivers/thermal/samsung/exynos_tmu.c > @@ -940,11 +940,13 @@ static int exynos_map_dt_data(struct platform_device *pdev) > data->reference_voltage = 16; > data->efuse_value = 55; > if (data->soc != SOC_ARCH_EXYNOS5420 && > - data->soc != SOC_ARCH_EXYNOS5420_TRIMINFO) > + data->soc != SOC_ARCH_EXYNOS5420_TRIMINFO) { > + data->min_efuse_value = 16; > + data->max_efuse_value = 76; > + } else { > data->min_efuse_value = 40; > - else > - data->min_efuse_value = 0; > - data->max_efuse_value = 100; > + data->max_efuse_value = 100; > + } > break; > case SOC_ARCH_EXYNOS5433: > data->tmu_set_trip_temp = exynos5433_tmu_set_trip_temp; > -- > 2.7.4 >