Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4355376imj; Tue, 12 Feb 2019 14:31:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IbqSsc3frIzDnJvgflf/+2oHn4SSrmF9Wm7xW7iKq23aZQLYsjHCFjhujiBoQwaJoC0bmWQ X-Received: by 2002:a63:5b1f:: with SMTP id p31mr5765734pgb.56.1550010710144; Tue, 12 Feb 2019 14:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550010710; cv=none; d=google.com; s=arc-20160816; b=mH/AriULUXXkstqtJ70Emf+6qUzaanAc851uojfwDXPr3LC6Nvz5nNeKG9jAczFwpe /VlUcuQGQ1r7K7+u5xwR+Byzix5FbFYy2xW0QIMiMcwzKIyTrKwwu9pqC98fAZm3Sck9 sxMCgTGQBwONaXV7xsPda6o9SX1Nm/x2//TSiVU+bDn2bZfDIeGfdChnF6VkCvsI2Jfn gDFKrrKIq22VowGMcSoDBc67k0JqPtpAeQgfzsLDnhsDPvVAcGNTv04kxr7mwWD+4bi5 LS9doil2Fqhuh9Ezubup3Ol4WSlTviO0slo2mTqc6otDMeIwmTM3BuVPNWJF46qhBRzI BzFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=cM4MfP71aUVFJaWpBz2QSD5VGLiKRykfFn1oLctogTs=; b=NnbFSoDjltKsQJVbkcR9TVHuGqnupLUWNGeUzcst4u3wS8Ws2phFG4Fzi5YpxuIKGI e/9/AVwCcbxotaeZ6HsJfCf/OAhhnLtyXIoRwf/pXR9zrobO7ZGUtLj3Yx4bq4C2ZeBT OjYUGQpGMRdM0FDU+KQcOMYT1G/4P1I6bOuTz3YBGQzPeVR0cfjR2ObY8xzSgd954r6Q 9xjW9v/YDQo2iPt4kE/Bn4G4+mejojicv377ujsO/4WY/mhu/g2opLxHsfwrdZb+bQBP vc3UH7naLkOW+ne3vZ4HmDutQ+A4DY0GnyNAOWlgEhfJ/OYGBESM2S9dB87RSNAuWznu q63A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VY3IrDsp; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si14661948pfx.102.2019.02.12.14.31.33; Tue, 12 Feb 2019 14:31:50 -0800 (PST) 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=@samsung.com header.s=mail20170921 header.b=VY3IrDsp; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732822AbfBLWZF (ORCPT + 99 others); Tue, 12 Feb 2019 17:25:05 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:43145 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732141AbfBLWYg (ORCPT ); Tue, 12 Feb 2019 17:24:36 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190212222435euoutp02fdcd909be767d2374c6288ca64993349~CviInXxQe2689326893euoutp02d for ; Tue, 12 Feb 2019 22:24:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190212222435euoutp02fdcd909be767d2374c6288ca64993349~CviInXxQe2689326893euoutp02d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550010275; bh=cM4MfP71aUVFJaWpBz2QSD5VGLiKRykfFn1oLctogTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VY3IrDspo8b9YlJfaI4sHkfoALQQyCsKCyn98zRyZ3ahqSVaeUf+b3lG+IuPt+kWw f5uQbMQQ7Dene0KgCtw5x2+Yq+tI/Hk8pbnTn3FUKj7tXtXy+t03Z8agrCWLgDPJZZ mWBrS6e34HtCYnCKlWwjcWOWNaVxsptuoJ3GNY6k= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190212222434eucas1p1bbda4ca2a1e6367dbd296b7b51455916~CviH2XwOi1210112101eucas1p10; Tue, 12 Feb 2019 22:24:34 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4C.0F.04806.2A7436C5; Tue, 12 Feb 2019 22:24:34 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190212222433eucas1p264602d67a916c644c7eb5012932fc17a~CviGyLBjj1609016090eucas1p2v; Tue, 12 Feb 2019 22:24:33 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190212222433eusmtrp262a8241c83eac7a5a8cf1ccaeee1285a~CviGjUmy42980329803eusmtrp2N; Tue, 12 Feb 2019 22:24:33 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-83-5c6347a2f882 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 2D.2C.04284.1A7436C5; Tue, 12 Feb 2019 22:24:33 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190212222432eusmtip13bf63b9c5752e75a5ce987641c16c259~CviFqa3wH0525605256eusmtip16; Tue, 12 Feb 2019 22:24:32 +0000 (GMT) From: Lukasz Luba To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: b.zolnierkie@samsung.com, myungjoo.ham@samsung.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, tkjos@google.com, joel@joelfernandes.org, chris.diamand@arm.com, mka@chromium.org, rostedt@goodmis.org, mingo@redhat.com, Lukasz Luba Subject: [PATCH v3 3/7] Kconfig: drivers: devfreq: add default idle polling Date: Tue, 12 Feb 2019 23:23:54 +0100 Message-Id: <1550010238-24002-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550010238-24002-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIKsWRmVeSWpSXmKPExsWy7djPc7qL3JNjDGZul7fYOGM9q8W0T5dZ LK5/ec5qsaxB1eJs0xt2i1sNMhaXd81hs/jce4TRYu2Ru+wWlw4sYLL4vOExo8XtxhVsFvs6 HjBZHH7TzmrxfnKxA7/HmnlrGD1mN1xk8WjZd4vdY8GmUo+Fn76yehx8t4fJ4/2+q2wefVtW MXp83iQXwBnFZZOSmpNZllqkb5fAlfFz9l62gr2cFfM/SzUwXmbvYuTkkBAwkdjx9AVbFyMX h5DACkaJ84c3MkE4Xxgluud8hcp8ZpT48KKbCaZl4czzzBCJ5YwS9ybvZIZr6dr2maWLkYOD TUBPYseqQpAGEQEriRftr9hBapgFjjFJfNo7hRkkISzgLfHidwMbiM0ioCqx9cMXMJtXwEti btsnRohtchI3z3WC1XMC1Z+ZtpIVIn6IXeLFhnII20Xi0opHUA8JS7w6vgXKlpH4v3M+1NXF Emc7VrFB2DUS7Sd3QNVYSxw+fpEV5GZmAU2J9bv0IcKOEjcP/gULSwjwSdx4Kwg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1OJDjKZAN01klhJNzgdGb15JvKGpobmF paG5sbmxmYWSOO95g8ooIYH0xJLU7NTUgtQimD4mDk5gGDavZj/0tqFqcfeVTdrXU4QWzu9b +HXnhi82/bqsSXO/MVY7dPQon/2aKZtVfq+yaXJ7bmlu/cnq8yy9X0vl5xtYLg3X/NXwsGFR 95x/lstOvuQI4Hhpfe6tl+U044xnMsZOoc48sxPTTkl/Tbi0M23b6q37d80p6t6m+3oDo9z7 kElBEoe+CimxFGckGmoxFxUnAgDhlyGkpgIAAA== X-CMS-MailID: 20190212222433eucas1p264602d67a916c644c7eb5012932fc17a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190212222433eucas1p264602d67a916c644c7eb5012932fc17a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190212222433eucas1p264602d67a916c644c7eb5012932fc17a References: <1550010238-24002-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds default idle polling value for devfreq devices. It is used in idle state, when the device is running at lowest frequency. Signed-off-by: Lukasz Luba --- drivers/devfreq/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 6a172d3..f0fcc5e 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -29,6 +29,19 @@ menuconfig PM_DEVFREQ if PM_DEVFREQ +config DEVFREQ_DEFAULT_POLLING_IDLE_MS + int "Default polling interval in idle state (ms)" + default 500 + help + The devfreq device is being polled by the devfreq framework. + There are two states for the device operation: normal and idle. + Each state has corresponding polling interval. + When a device is not heavily loaded and runs at lowest frequency, + it is in 'idle' state and longer polling interval is used. + This setting controls the idle polling interval. + It is designed to lower for power consumption. + Set this to non-zero if the default value is to big for your system. + comment "DEVFREQ Governors" config DEVFREQ_GOV_SIMPLE_ONDEMAND -- 2.7.4