Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2942993img; Sun, 24 Mar 2019 23:56:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCz4NK1EfD/uow+4+VzmLjNrVVe4gXBbavHeFNN+BZyYFI9aC0vQNTOFhF/ze2ukJ4lZIA X-Received: by 2002:a17:902:1125:: with SMTP id d34mr24108557pla.75.1553497012056; Sun, 24 Mar 2019 23:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553497012; cv=none; d=google.com; s=arc-20160816; b=onW+kpHdi/hB7RqXavyrb6yWbph+dW3HIqB1sd7HcFYD48Lp+RPyrd8EDv9Owe038e tVNZAJ5X0hrTeYmgSrGEaQKqSuzxGjuc9i0Cg690qUxXg4rWge8tswj8Cc9gOlpq5jFs kHA70mP9X2wATHWQ8LTtG64ruiXbt8CQ1MAkVyGkpL1Ri2EXkEMg4XoTq9aTtZMZeoWt NOCADUnzZ6QWR4WW7pz2jqxV/HcGtJEUNFGp8fKG9V4mQcqUCTviXji6+ChmmAz3cP8h CRSBwUVm3JhrE9Xr9v2uaiH1BTNSslqdhoEmm+I1pT0ymOPKX3Xew+UC7+at6PjlQKQJ P16A== 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=Tpj+PFy3IVjjiUIPs1Nt8v+KVN4DKHDz7p0seaPeDzo=; b=GwelWrFVF6BA6t2NEPns7z08FmdS/Ez0MgpisyplM408ZDULrTBj+1pQQMZU8cYbgG x2djiEOAG4oCsqB8az+RjQVOwbWgQjY0pbJaTYg304Eq7wEs9CJRVhgoAnYPkHi1p1dT vr+iQUXCKYbDlIJWB6a0c9EN9NMkRc++j3JgicNBtakfi1dOPhKJj8qszMXc3LjISs+X IUjqipXbxM++YOxIPSVZFskhdxGJKRieA5dF9F+Lb/19lXSjAB44EpVpcXY3ZXll2Avm 2WG6Vk7bZwA3TPh2wGfqFQFCR4f3EHqc1IF7kHeaL857mg6F9XkAFXr3RpCSiVo47Vc0 w0lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=H1BN9pIM; 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 136si12922738pfc.170.2019.03.24.23.56.36; Sun, 24 Mar 2019 23:56:52 -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=@samsung.com header.s=mail20170921 header.b=H1BN9pIM; 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 S1729812AbfCYGzV (ORCPT + 99 others); Mon, 25 Mar 2019 02:55:21 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:35849 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729656AbfCYGzU (ORCPT ); Mon, 25 Mar 2019 02:55:20 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20190325065518epoutp038bb62dc1efd2f0ac0d38ff963466b3a0~PITdhbInx0278202782epoutp039 for ; Mon, 25 Mar 2019 06:55:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20190325065518epoutp038bb62dc1efd2f0ac0d38ff963466b3a0~PITdhbInx0278202782epoutp039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553496918; bh=Tpj+PFy3IVjjiUIPs1Nt8v+KVN4DKHDz7p0seaPeDzo=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=H1BN9pIMye/v39vZnLXY3YBEcYPgSDSk5bbNcZOhQxMOtU7Toau2mFyDMAsuenyj3 u6BHdandPjxENaQP7EQdxIZlW0lbdPgM9IiPbvTobDk4R+17Tk+yfthz1xr5tn2xBW bp2KyJ4IY2yVzTKY0hd1OBAno1ALfRFnPfqncU1k= Received: from epsmges1p5.samsung.com (unknown [182.195.40.157]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20190325065515epcas1p1204a93e3c204eb0bbab33e9a2b68b5b7~PITbMSTR22338523385epcas1p1Y; Mon, 25 Mar 2019 06:55:15 +0000 (GMT) X-AuditID: b6c32a39-89fff7000000100c-e3-5c987b53b887 Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 7B.B0.04108.35B789C5; Mon, 25 Mar 2019 15:55:15 +0900 (KST) Mime-Version: 1.0 Subject: RE: [PATCH v3 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A. Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham To: Kyungmin Park , Chanwoo Choi , Rob Herring , Heiko Stuebner , Enric Balletbo i Serra , Lin Huang , Brian Norris , Douglas Anderson , Klaus Goger , Derek Basehore , Randy Li , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rockchip@lists.infradead.org" CC: Mark Rutland , =?UTF-8?B?R2HDq2wgUE9SVEFZ?= X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <20190321231440.19031-4-gael.portay@collabora.com> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20190325065515epcms1p4743158f941064730272c8f976d844237@epcms1p4> Date: Mon, 25 Mar 2019 15:55:15 +0900 X-CMS-MailID: 20190325065515epcms1p4743158f941064730272c8f976d844237 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDJsWRmVeSWpSXmKPExsWy7bCmrm5w9YwYg32r1Cxe3f3FaLHp43tW i5eHNC2uf3nOavFq8x42i/lHzrFanF12kM1ize1DjBZLdr1hs/j/6DWrxY8Np5gtvk5ezmRx tukNu8Wmx9dYLS7vmsNm8bn3CKPFpwf/mS2WXr/IZNG69wi7g7DHmnlrGD1mN1xk8dhxdwmj x6ZVnWwem5fUe/ydtZ/Fo2/LKkaP7dfmMXs0353O6rH20QYWj8+b5AK4o7JtMlITU1KLFFLz kvNTMvPSbZW8g+Od403NDAx1DS0tzJUU8hJzU22VXHwCdN0yc4DeU1IoS8wpBQoFJBYXK+nb 2RTll5akKmTkF5fYKqUWpOQUWBboFSfmFpfmpesl5+daGRoYGJkCFSZkZ5z+u5G54A1nxdPp f1kbGHs5uhg5OSQETCQmH9nC0sXIxSEksINRYsKilcxdjBwcvAKCEn93CIPUCAskS7w8vZ0J xBYSUJJouLmPGSKuL9HxYBsjiM0moCuxdcNdsDkiArPZJPYcO8YGkmAGan6yaTYbxDJeiRnt T1kgbGmJ7cu3MoLs4hSwl/i92RUiLCpxc/Vbdhj7/bH5jBC2iETrvbPMELagxIOfuxlhxsyY 8h9qZLXEtemL2UFukBBoYZToXT0Fqkhf4szck2A38Ar4Stx5t5UVxGYRUJWY9K4P6jYXibMH JjNC3Cwvsf3tHHA4MAtoSqzfpQ9zfsPG3+zobGYBPol3X3tYYeI75j1hgrDVJA7tXgJVLyNx evpCqPs9JFZd/8o4gVFxFiKkZyFZPAth8QJG5lWMYqkFxbnpqcWGBabIkbuJEZzStSx3MB47 53OIUYCDUYmH12HP9Bgh1sSy4srcQ4wSHMxKIrxPRGfECPGmJFZWpRblxxeV5qQWH2I0Bfp/ IrOUaHI+MN/klcQbmhoZGxtbmBiamRoaKonzrndwjhESSE8sSc1OTS1ILYLpY+LglGpgtLww c9Z6De3ZDI1qrYdP+SxauP7Ikd3/O/9qr9h9hUtcVCot0OJmV9xGUfOKz8LBvSeTMu8kHFri 3lHVejuUdd2BRAOZA09MdObLvKp4JRt/aqWCTTzz38gHp9dxqLIzfNmZ2eQg9cBtxeVZsdyn VsYI/J4X2CgV9qnw+b74yZcXtdxp41mYosRSnJFoqMVcVJwIANlcW3n/AwAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190321231449epcas1p4ea54b4862fd8552f207f81bce8cb706f References: <20190321231440.19031-4-gael.portay@collabora.com> <20190321231440.19031-1-gael.portay@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >From: Enric Balletbo i Serra > >Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the >on-die termination (ODT) and auto power down parameters from kernel, >this patch adds the functionality to do this. Also, if DDR clock >frequency is lower than the on-die termination (ODT) disable frequency >this driver should disable the DDR ODT. > >Signed-off-by: Enric Balletbo i Serra >Reviewed-by: Chanwoo Choi >Signed-off-by: Gael PORTAY Acked-by: MyungJoo Ham Cheers! MyungJoo >--- > >Changes in v3: >- [PATCH v2 3/5] Add Signed-off-by: Gael PORTAY . > Remove comments. > Move pmu dt parsing after dt-parsing of timings to fix > data->odt_dis_freq value. > >Changes in v2: None > >Changes in v1: >- [RFC 3/10] Add an explanation for platform SIP calls. >- [RFC 3/10] Change if statement for a switch. >- [RFC 3/10] Rename ddr_flag to odt_enable to be more clear. > > drivers/devfreq/rk3399_dmc.c | 71 ++++++++++++++++++++++++++++- > include/soc/rockchip/rockchip_sip.h | 1 + > 2 files changed, 71 insertions(+), 1 deletion(-)