From patchwork Tue Jul 17 10:12:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 10528833 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A7A06020A for ; Tue, 17 Jul 2018 10:13:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EAE328BAD for ; Tue, 17 Jul 2018 10:13:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9322828BB1; Tue, 17 Jul 2018 10:13:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B2CE28BBE for ; Tue, 17 Jul 2018 10:13:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730742AbeGQKo5 (ORCPT ); Tue, 17 Jul 2018 06:44:57 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43673 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729703AbeGQKo4 (ORCPT ); Tue, 17 Jul 2018 06:44:56 -0400 Received: by mail-pf0-f195.google.com with SMTP id j26-v6so276429pfi.10; Tue, 17 Jul 2018 03:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LvI39NNzL1X0bWmbiL4Cgp7ymv34gQ44t/BWbN2XE4M=; b=lSUcmB817LeVxfQWnltVY8ttwPCbYAt4dAAkn3rjspYIpO6cL8QONna46Lgj3vZQYJ AlRXjCogn24jojLF/F6kflToa0k6F+Vw4cipqGVHKx2L0FoD1t5FvCA64ndUt2QZgttm cJdiuScQzV3Jbhjw8tJhzJHUQyOmeSE4LEvd8kSaq7eyqhEVF7evcoQb2yUquQJ1l3D9 nCCGb9sZZNQG4yPFLlXUHtzMttd22rOJ/3V6YEqAwoaEQgf9+LpbsDBcmYjGShXt0YpZ eFS4ZX2dK1QZxslPWGubGLO7qa0GIZEjGVK+ybVv1lK9td2haTGOg2QhG3bW1jkfeG16 S1RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LvI39NNzL1X0bWmbiL4Cgp7ymv34gQ44t/BWbN2XE4M=; b=HtBHMcW8PNdUdVnWTRd1Qvaisa5M+dMK/6CC7mlIVod/rsLSjV9wgAELCPgAcr7K2N lni7BNynfmxkTfjqjP/eH4X1nSTaPPxw4kusOm+sWf8i+Hz00IZwiKLRghvjQXd5BMY0 7K7By+creqppsc6FJM9gcbsXSuV7KSATVrSA2guytm/3UCZh8VM5Dnr0ZfQXcjXoa/pE EdCRKVZadis4uMj/OUEQzC6f23Z3ZRBZraZFTYOKmkQL2WeT+VhTXj7C9jSoUVeSPRma VwmdfACRcV3RKGCKIwRSGQ9yGualKjNH4I/BtOItNn5vdvWs1BEMFWdkjCfD+oGkchyI cMgA== X-Gm-Message-State: AOUpUlGFWtbNUw9caOtS/iJn7xvw90JLdu2CCAtR8Fet9EPgKA20rA1c Wl92FkEWWacPrVsxvkJZjN8= X-Google-Smtp-Source: AAOMgpcXXX9ZlaACLowvfH0t4g0D5oUUEpU7Nmer9Neg8Hvu8hjh6UQd+vG9dR0tTzv7/vcqxbwN6g== X-Received: by 2002:a65:62ce:: with SMTP id m14-v6mr961335pgv.407.1531822383780; Tue, 17 Jul 2018 03:13:03 -0700 (PDT) Received: from localhost.localdomain ([103.51.74.210]) by smtp.gmail.com with ESMTPSA id 203-v6sm2809963pgb.14.2018.07.17.03.12.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jul 2018 03:13:03 -0700 (PDT) From: Anand Moon To: Bartlomiej Zolnierkiewicz , Zhang Rui , Eduardo Valentin , Kukjin Kim , Krzysztof Kozlowski , Rob Herring , Mark Rutland Cc: 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, Anand Moon Subject: [PATCH 3/5] thermal: exynos: increase the number of trips for exynos542x Date: Tue, 17 Jul 2018 10:12:20 +0000 Message-Id: <1531822342-4293-3-git-send-email-linux.amoon@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531822342-4293-1-git-send-email-linux.amoon@gmail.com> References: <1531822342-4293-1-git-send-email-linux.amoon@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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;