Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3466311imm; Tue, 17 Jul 2018 05:26:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMiCotwrDIDo4HmIxdFFN9xZ7NpLRTCoMN+s5StBDSnhD83ZgowUYqkhVDY3kjkoRVNWKW X-Received: by 2002:a17:902:d70d:: with SMTP id w13-v6mr1486218ply.40.1531830403505; Tue, 17 Jul 2018 05:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531830403; cv=none; d=google.com; s=arc-20160816; b=zZbqik9wGYkXfsmQlxK2Y3fZ3ON0ko4iOWSViW+WbFRAkcjiaNLTSLZhPrYnqXiILR e6TGUcezjN15WdP/FcL7KjkFrz/g6jN6Pm522EOVdl5xvGh7ZPKc7Y3LTDQdzyV/0oNx E4o/IqlgcNKPYndU1BAKs0iwpV9GTmHnObQFXQosP8INcK34qKFMiSXBlntjwSiWPU7D OofKFsK/fEcDQQSJh8QU/S6cxM4884huRXr+YZPJfY19/QX8OrTOgHITdIDhYJBgIJ3h GpiQisn1OumXe8RTcT8usgTxHDq7dtQvZWjV7DTCbcFTEmfclraAYNlXlv+OUIMoSSJc 6YVA== 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=Wj5pFKrjnK7hYJYx9RO31fBJtJbkNSXnR7S1P3sUVCg=; b=CZRnHux2hV1xP3+2j/ybF7hzqMdHwPfG8bKBiliMVY8fqXcZXRoZDGIFpA4ebtjYRF ZYiVnYVrrDdX5GQ8qKe/RkP1TTY/PE962f6FSFUzDWs1pQpbDXQKUbkB+I47pHOjN+kq ZBBKmLCq9h0OZPFG47VbFwJAhRY4eA6vY9arqxJHLuFCp0cqIXK7xJFZwczedXP6e5N9 XSH6XsiqbPqXMGX0XOpbb0cVy2Ut62+fu7S8R8uE9sIzSU9ix7+o4W+S1XbijG/CtoXK tMNYBIvyacgg3V1VCFJLsJREqDZgS2R72tV09rnydev6PCzdqJ7A48F5gbcoWEERD1Bw UNCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=frM9XBPg; 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 e9-v6si697240pgu.636.2018.07.17.05.26.28; Tue, 17 Jul 2018 05:26: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=pass header.i=@kernel.org header.s=default header.b=frM9XBPg; 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 S1731398AbeGQM5g (ORCPT + 99 others); Tue, 17 Jul 2018 08:57:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:38616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730246AbeGQM5f (ORCPT ); Tue, 17 Jul 2018 08:57:35 -0400 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 9C38921470; Tue, 17 Jul 2018 12:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531830309; bh=t2+W6BtxwL0+DGOOS3R8F4GybkQXYq66lmVabQw56ZU=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=frM9XBPgp5xzjyu0XFwd/V1MiaIKnP26AEpGa7HKirnREpG3h8FvC4walPZ+oDoU1 Mtbe8Pn/+53mbe7GsK50aXHFx606nLC8tIzK4FSmtxDfjzynhN1YD9Uky0T5Bau+jl cF8N/30I2k7DnxHJyUa7nEWHpigbY0gvFMkMYvwM= Received: by mail-wr1-f41.google.com with SMTP id q10-v6so1072285wrd.4; Tue, 17 Jul 2018 05:25:09 -0700 (PDT) X-Gm-Message-State: AOUpUlFxTq5HEvn2cndzPR3Ck6fRRoQKbP0xDLD356mLA6LkBMW0DK1a Vr3YkeBjIMxUzgHm+BD8EzNkl3cnMoTNJ3woE08= X-Received: by 2002:a5d:4452:: with SMTP id x18-v6mr1296002wrr.227.1531830308094; Tue, 17 Jul 2018 05:25:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9141:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 05:25:07 -0700 (PDT) In-Reply-To: <1531822342-4293-3-git-send-email-linux.amoon@gmail.com> References: <1531822342-4293-1-git-send-email-linux.amoon@gmail.com> <1531822342-4293-3-git-send-email-linux.amoon@gmail.com> From: Krzysztof Kozlowski Date: Tue, 17 Jul 2018 14:25:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/5] thermal: exynos: increase the number of trips for exynos542x 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: > increase the number of trips to support more polling modes, > changes help supress following warning. > > [ 4.231731] thermal thermal_zone0: failed to read out thermal zone (-22) > [ 4.237190] exynos-tmu 10060000.tmu: More trip points than supported by this TMU. > [ 4.244661] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode. > [ 4.254821] thermal thermal_zone1: failed to read out thermal zone (-22) > [ 4.260370] exynos-tmu 10064000.tmu: More trip points than supported by this TMU. > [ 4.267631] exynos-tmu 10064000.tmu: 2 trip points should be configured in polling mode. > [ 4.277551] thermal thermal_zone2: failed to read out thermal zone (-22) > [ 4.283090] exynos-tmu 10068000.tmu: More trip points than supported by this TMU. > [ 4.290438] exynos-tmu 10068000.tmu: 2 trip points should be configured in polling mode. > [ 4.300280] thermal thermal_zone3: failed to read out thermal zone (-22) > [ 4.305711] exynos-tmu 1006c000.tmu: More trip points than supported by this TMU. > [ 4.313171] exynos-tmu 1006c000.tmu: 2 trip points should be configured in polling mode. > [ 4.323002] thermal thermal_zone4: failed to read out thermal zone (-22) > > CC: Bartlomiej Zolnierkiewicz > Signed-off-by: Anand Moon NAK Exynos5420/5422/5800 has 4 trip points (understood as in current driver design). Best regards, Krzysztof > --- > drivers/thermal/samsung/exynos_tmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c > index 2dbde97..4a2733c 100644 > --- a/drivers/thermal/samsung/exynos_tmu.c > +++ b/drivers/thermal/samsung/exynos_tmu.c > @@ -935,7 +935,7 @@ static int exynos_map_dt_data(struct platform_device *pdev) > data->tmu_read = exynos4412_tmu_read; > data->tmu_set_emulation = exynos4412_tmu_set_emulation; > data->tmu_clear_irqs = exynos4210_tmu_clear_irqs; > - data->ntrip = 4; > + data->ntrip = 8; > data->gain = 8; > data->reference_voltage = 16; > data->efuse_value = 55; > -- > 2.7.4 >