Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4391360imu; Tue, 29 Jan 2019 00:19:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN50Iw9uoVG9hfZVANDSorFaiuKxWMqrWRM7pQSpkx7gr5YPj/bXUKhXnpvYjAZjcOUB0MDi X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr24200501pli.301.1548749986977; Tue, 29 Jan 2019 00:19:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548749986; cv=none; d=google.com; s=arc-20160816; b=O6cHXmjD+4svAVz1FwJLsqWxVpRlHrfo7mwqSfkUmbYknLGjClmFHzEJVRZFyDxvr3 v+tl6T0wCeNLh5kFwPrDJFP0Q+HTWR3gG6DzgFKmUgr8E8QDG119/wsmg2DM/9dSbeQr qcmhD0kUnR9ghUzrygBzRuaImsPm/mtWWE8QyXk0NJqzgr+4RSlSyz1caAE50Q3Qad+i edoTdsD+3hapciXQ/mA1NrJH3OqtBFcYNsNtJXRaGLjqwliLULmFnWtArg8DZo4CF6aD BOJSkqjDt1q2XNQKLRD32uEyuaVHAfMdUkd3RNMWU3DWYrIxIERrardn4csQ69m6UlOx ESIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:in-reply-to:cc:to:from :reply-to:subject:mime-version:dkim-signature:dkim-filter; bh=Lap3XF/zuD/GvbLv0QytfXAXvTHVQDX9QALbPssZsFU=; b=BMa8LHgLZdlP6cEvInkPsc4z3KQKPSrpEJk1mDnZuA2nXX2imsI717TmM/m4GevP87 yurm3eFhrICxckeNC4PtUPYWN2sk/Rp18jW82ox3oVhJd694pE+3NUfzd5PCLnVly2nC 27BlSz82Sz4M8J74uC2DZEjHbL4YBrx2VzBEZm2wZCYHR/HqcZm8gGtEB0sKoCLtoKGo YTS6evMFzpz6jtQ/PspkqtCuFKOHzap6TN7ecUKO0PrzCpHuSiLo/Ay2vliNXRSImlNG euev9ReWjnlECF4w2mKNw/whwHV6Qdl8VudIui29xgygK+ugyV7aaSk7c+nr/QH9EiRg NyNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=tuz7be0k; 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 v6si1716411pgv.277.2019.01.29.00.19.30; Tue, 29 Jan 2019 00:19:46 -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=tuz7be0k; 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 S1727304AbfA2ISC (ORCPT + 99 others); Tue, 29 Jan 2019 03:18:02 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:37707 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725298AbfA2ISC (ORCPT ); Tue, 29 Jan 2019 03:18:02 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20190129081759epoutp0445de9b0a15ca020d56bbc2f80053d168~_Q88_wBTE0911909119epoutp04B for ; Tue, 29 Jan 2019 08:17:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20190129081759epoutp0445de9b0a15ca020d56bbc2f80053d168~_Q88_wBTE0911909119epoutp04B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548749879; bh=Lap3XF/zuD/GvbLv0QytfXAXvTHVQDX9QALbPssZsFU=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=tuz7be0k2BgsRKDqbMi4cJwt/K3Hfb6F6STDnc5D8zN/qLWP7Fpvz//bz0xG4XLB0 1DKRr1HF+X3PHuCQMyrjdEdxkaNuiH31ic+wtiUwWRwdnG2uVBOMyzGLDwDNsKC6am wXUGkY/ndwrzhnHk8OzI5pEMnS+n27VXFev9IeeM= Received: from epsmges1p1.samsung.com (unknown [182.195.40.154]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20190129081755epcas1p18b8fc9355a39f9f1c684510aeb15f77f~_Q85zfS2C1782117821epcas1p1e; Tue, 29 Jan 2019 08:17:55 +0000 (GMT) X-AuditID: b6c32a35-297ff70000000fea-a0-5c500c2f1609 Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 14.2A.04074.F2C005C5; Tue, 29 Jan 2019 17:17:51 +0900 (KST) Mime-Version: 1.0 Subject: RE: [PATCH 3/3] devfreq: add mediatek cci devfreq Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham To: Kyungmin Park , Chanwoo Choi , Rob Herring , Mark Rutland , Matthias Brugger , "Rafael J. Wysocki" , Viresh Kumar CC: "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mediatek@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "srv_heupstream@mediatek.com" , "fan.chen@mediatek.com" , "Andrew-sh.Cheng" X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <1548743704-16821-4-git-send-email-andrew-sh.cheng@mediatek.com> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20190129081750epcms1p41e46de569005622ad3d90f9aaa75f545@epcms1p4> Date: Tue, 29 Jan 2019 17:17:50 +0900 X-CMS-MailID: 20190129081750epcms1p41e46de569005622ad3d90f9aaa75f545 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA12TaUxTWRiGPb29C441hxb1BB2n3qgTTEp7rYUDijHKmBtFbXR+TGZQvIEb IF3TW4y7jWJQRnEjURApGoyInSCVzV0rElRE0QhuJQaZjAtqJlQTgltL22j89573vOd7vrMx hLKLimfyrU7RYRXMLDVa3nQtIVGjHWPM1HUPqnBz3QsSv/Ql4J7AfyR2t3aS+MPTYRm+vXWA xt7n3SS+f66Cwve3dQE8uLsV4OM9XTK8tVCPO27dI/H2i600PuhX4vr3/DzIeyo9gD9b7qd5 b+1Oin/afYHiz1Rv4QtvXJbzDQ+K5HxJQy3gB72TjTF/mubkiUKO6FCL1mxbTr41N41dvCJr QZYhScdpuBSczKqtgkVMY9MzjJqF+ebgFlj1GsFcELSMgiSx2rlzHLYCp6jOs0nONFa055jt KfZESbBIBdbcxGybJZXT6WYagsHVprwz/Scpu59cu7vqHuECj+XFIIZBcBY6XdJHFoPRjBK2 ABRwu+hiwDAKGIs+tahCGRVMRa+b3bKQVkIWuR5dIsK+Fu141gRCmoIa1HjaLw/ViYMVMtTu qxkZEHCYQEWBK3SYpkCHiv6NkCei5hONIASLgUvQQI0UtsehR6fe0FH9rs0NwjoObe+9TYR1 LHo2dB5Eyxwq/RIpuQH17eoiQlwECwGqLWuShSe0qOPIDSqkFUHWjqG2EYAcTkPd7fWRTDry tPeMAAj4C2p+U0GEeiNgAqo7p42276ofpn/UBByL3r7fRUb9lsr+SMnpyHe+OpKfhG4dPBrp n0euhlfyvWBK+bejLv8OXP4NXAWIWjBetEuWXFHi7Nz3t+sFI895hqEFlHZm+ABkADtGoaOW ZSpJYY20zuIDiCHYOAU3HLQUOcK69aLDluUoMIuSDxiC+99HxI/LtgU/h9WZxRlm6vV6PItL MnAcO0FRN29BphLmCk7RJIp20RFdJ2Ni4l2graOz1Jscu0evqJ7f1rMxMJB0k2+3matqNP+s XKRij95cylSaHpd5NvU69rlSh/73W46tMvZnPOxtFa9fkq2tLjHt/xxIv9qHnlT8/evUUfRf jcn0hQOL3MV/bHarP2Yml/4+abnKteziq6E7ZYd3zjbepT1Hfmv8+exP61Pe8fvTG1i5lCdw MwiHJHwFWVZd5eQDAAA= DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190129063600epcas2p255b062c64f22555692ff895634ea4eb0 References: <1548743704-16821-4-git-send-email-andrew-sh.cheng@mediatek.com> <1548743704-16821-1-git-send-email-andrew-sh.cheng@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >From: "Andrew-sh.Cheng" > >For big/little cpu cluster architecture, >not only CPU frequency, but CCI frequency will also affect performance. > >Little cores and cci share the same buck in Mediatek mt8183 IC, >so we add a CCI devfreq which will get notification when buck voltage >is changed, then CCI devfreq can set cci frequency as high as possible. > >Signed-off-by: Andrew-sh.Cheng Please correct the coding style first in the .c file. - empty last line? - inconsistent indentation (line26? match the first lines for all variable declarations OR don't match them at all) - Need proper boilerplate and try to comply with C89. Cheers, MyungJoo