Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp571872ybi; Tue, 16 Jul 2019 01:58:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyz7FI8Nd9bPC85tMOV1SfmYX2FvpnuBkme6Iof2NakszyzRe0Xa+yYlBZAbS2u2D+/xGKA X-Received: by 2002:a17:90a:2305:: with SMTP id f5mr36547181pje.128.1563267537958; Tue, 16 Jul 2019 01:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563267537; cv=none; d=google.com; s=arc-20160816; b=tV0S/s3SN99BIsKmASCAqRzJTPvdLNf/L6jyZn2lKGliYAXUjmv9AMtpBUvFUeHW7z cgGJYjrijybBlTQI9GQ6RD2wpRDZPQoDUmXd8riCVBRhr0y7G541wK4m5CY6wI1Q4W+g 6K7OMVhb+PgPdusw6Jxdcg2rNH/lkTZySpzISW4kiEXlFsew/TFnGkT+o4asHXDBbwct 8yIKXgYEylJT4vDg13ceT7WvqkN8SMrvY2pb08Ld289UDTGRsH92Z2xazpyPZFc8IbjU P42FfpdrmS+9t9vbTWByNXGFsVzCXuv1fmD/309KNZec0l4B390F+j4El2GGvPPZFxwt n5cQ== 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:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=ap2pf5V1vr4DTOHde6WNETh7BisYzaT8r+hM4Fugw+o=; b=JpRTnFpt4BuepQM8k3TABkwVX7zG9qe+aOT5i9XtTx9mU1xcKMs0KnaGbx09bQlBfT 8CHCgknoW6vuCPAZSFXmELFYSNOXmqKdICzGUWBKAu7gK5ZghlPMs7l8EdXdB7ePVyt+ XQN/2i6pWaKeeUu3twe0CG0io8LTzZXzHtnoCVI6ubLZahSaQFCBEpN/HUTsGjvlvcar WGO4ngvmHkn5ZDDgeZBTEDLPJMcMkA4KR6imp18xLvtTnLyav7RBT27XNepXF95ATkby j0mkNfCSdkl12x1tVcgOZcC3HTUOFATaHAzT9zABHFqLV39sRIMmB3ZzMabdqyT02z4F QSqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=J6QUxYXy; 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 b31si19326892pgm.466.2019.07.16.01.58.41; Tue, 16 Jul 2019 01:58:57 -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=J6QUxYXy; 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 S1731734AbfGPI54 (ORCPT + 99 others); Tue, 16 Jul 2019 04:57:56 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:17883 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731006AbfGPI54 (ORCPT ); Tue, 16 Jul 2019 04:57:56 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20190716085752epoutp02f12b82dde2cd1986cfd4c93ea1307286~x13vry57o3168931689epoutp02E for ; Tue, 16 Jul 2019 08:57:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20190716085752epoutp02f12b82dde2cd1986cfd4c93ea1307286~x13vry57o3168931689epoutp02E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563267472; bh=ap2pf5V1vr4DTOHde6WNETh7BisYzaT8r+hM4Fugw+o=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=J6QUxYXyw0t3X/8JwsIPi/kuXC2A6Ie6EF2B13WdBIv4V62nPcM6RsI0CBriaBz7+ MR+/AOWE2UWW5qI/IyvKjy6Q2Ztip4fDzu1Zu3tdjlDw18gmFmPz3r3LpmwEFoRifw OX6kP8tyitbFLbYiet9LHwwlxTYRU8IkBSqih+6c= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20190716085752epcas1p31661fc26c4cef44ea8904a40e2a9dbe1~x13u_4gyG2399723997epcas1p3J; Tue, 16 Jul 2019 08:57:52 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.156]) by epsnrtp4.localdomain (Postfix) with ESMTP id 45nvRx1HbfzMqYkV; Tue, 16 Jul 2019 08:57:49 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 51.B0.04160.D819D2D5; Tue, 16 Jul 2019 17:57:49 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20190716085748epcas1p4ff623772e49a927d436a7affa386b2c0~x13rTksht2270122701epcas1p4b; Tue, 16 Jul 2019 08:57:48 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190716085748epsmtrp1f295ca55d07d98a0ecf7bf5ddba0d09b~x13rSpz5f1598415984epsmtrp1-; Tue, 16 Jul 2019 08:57:48 +0000 (GMT) X-AuditID: b6c32a38-b33ff70000001040-4e-5d2d918d3e7a Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 90.F3.03706.C819D2D5; Tue, 16 Jul 2019 17:57:48 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190716085747epsmtip179823a39f035606534e5f3518f4534de~x13q2bpNW2273322733epsmtip1O; Tue, 16 Jul 2019 08:57:47 +0000 (GMT) Subject: Re: [PATCH v2 3/4] ARM: dts: exynos: add initial data for coupled regulators for Exynos5422/5800 To: Kamil Konieczny Cc: Bartlomiej Zolnierkiewicz , Marek Szyprowski , Krzysztof Kozlowski , Kukjin Kim , Kyungmin Park , Mark Rutland , MyungJoo Ham , Nishanth Menon , Rob Herring , Stephen Boyd , Viresh Kumar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <27db3883-2d84-3585-6122-e861576ffadb@samsung.com> Date: Tue, 16 Jul 2019 18:00:54 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190715120416.3561-4-k.konieczny@partner.samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJsWRmVeSWpSXmKPExsWy7bCmnm7vRN1YgztL2C02zljPajH/yDlW i759/xkt+h+/ZrY4f34Du8XZpjfsFpseX2O1uLxrDpvF594jjBYzzu9jslh75C67xdLrF5ks bjeuYLN48+Msk0Xr3iPsFv+ubWSx2PzgGJuDoMeaeWsYPTat6mTz2Lyk3uPguz1MHn1bVjF6 HL+xncnj8ya5APaobJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUX nwBdt8wcoA+UFMoSc0qBQgGJxcVK+nY2R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i3/XNrJYbH5wjM1B0GPNvDWMHptWdbJ5bF5S73Hw3R4mj74tqxg9 jt/YzuTxeZNcAHsUl01Kak5mWWqRvl0CV8b1k9vZCg46VHTtfczewHjSoIuRk0NCwETibvc3 xi5GLg4hgd2MEic/P2OCSEhKTLt4lLmLkQPIFpY4fLgYouYto8SDcwcZQWqEBbIlVi0+ywxi iwiYSjxa3cAKUsQscJVF4vzGOWwQHRcZJd4/3MUKUsUmoCWx/8UNNhCbX0BR4uqPx2CTeAXs JK5cmQhmswioSnTeeA5miwpESEy6tpMFokZQ4uTMJ2A2p4CLxLpfnWA1zALqEn/mXWKGsMUl bj2ZzwRhy0s0b53NPIFReBaS9llIWmYhaZmFpGUBI8sqRsnUguLc9NxiwwLDvNRyveLE3OLS vHS95PzcTYzgONbS3MF4eUn8IUYBDkYlHt4Te3RihVgTy4orcw8xSnAwK4nw2n7VjhXiTUms rEotyo8vKs1JLT7EKM3BoiTO+zTvWKSQQHpiSWp2ampBahFMlomDU6qB0Wt53855czdz5qi8 vHZeUcYuWWlb0BlbbubaBo9z7x9cNHw9SWa+l+WEApMahpczOt3VUuZ179Vur3635o3DlRUp 7NFe+Ypnim+YLwk9Hr8rU4V5V/ybsODWN/cY++byzSxZxBLCazi98tIK9XI3TisT9t/Lu3UW XND02PTufXuxjQrPOv5PSizFGYmGWsxFxYkACkU6Nt8CAAA= X-CMS-MailID: 20190716085748epcas1p4ff623772e49a927d436a7affa386b2c0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190715120432eucas1p1b32d72d239420b861bf8596d4e8a053d References: <20190715120416.3561-1-k.konieczny@partner.samsung.com> <20190715120416.3561-4-k.konieczny@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 19. 7. 15. 오후 9:04, Kamil Konieczny wrote: > Declare Exynos5422/5800 voltage ranges for opp points for big cpu core and > bus wcore and couple their voltage supllies as vdd_arm and vdd_int should > be in 300mV range. > > Signed-off-by: Marek Szyprowski > Signed-off-by: Kamil Konieczny > --- > arch/arm/boot/dts/exynos5420.dtsi | 34 +++++++++---------- > arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 4 +++ > arch/arm/boot/dts/exynos5800-peach-pi.dts | 4 +++ > arch/arm/boot/dts/exynos5800.dtsi | 32 ++++++++--------- > 4 files changed, 41 insertions(+), 33 deletions(-) Reviewed-by: Chanwoo Choi > > diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi > index 5fb2326875dc..0cbf74750553 100644 > --- a/arch/arm/boot/dts/exynos5420.dtsi > +++ b/arch/arm/boot/dts/exynos5420.dtsi > @@ -48,62 +48,62 @@ > opp-shared; > opp-1800000000 { > opp-hz = /bits/ 64 <1800000000>; > - opp-microvolt = <1250000>; > + opp-microvolt = <1250000 1250000 1500000>; > clock-latency-ns = <140000>; > }; > opp-1700000000 { > opp-hz = /bits/ 64 <1700000000>; > - opp-microvolt = <1212500>; > + opp-microvolt = <1212500 1212500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1600000000 { > opp-hz = /bits/ 64 <1600000000>; > - opp-microvolt = <1175000>; > + opp-microvolt = <1175000 1175000 1500000>; > clock-latency-ns = <140000>; > }; > opp-1500000000 { > opp-hz = /bits/ 64 <1500000000>; > - opp-microvolt = <1137500>; > + opp-microvolt = <1137500 1137500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1400000000 { > opp-hz = /bits/ 64 <1400000000>; > - opp-microvolt = <1112500>; > + opp-microvolt = <1112500 1112500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1300000000 { > opp-hz = /bits/ 64 <1300000000>; > - opp-microvolt = <1062500>; > + opp-microvolt = <1062500 1062500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1200000000 { > opp-hz = /bits/ 64 <1200000000>; > - opp-microvolt = <1037500>; > + opp-microvolt = <1037500 1037500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1100000000 { > opp-hz = /bits/ 64 <1100000000>; > - opp-microvolt = <1012500>; > + opp-microvolt = <1012500 1012500 1500000>; > clock-latency-ns = <140000>; > }; > opp-1000000000 { > opp-hz = /bits/ 64 <1000000000>; > - opp-microvolt = < 987500>; > + opp-microvolt = < 987500 987500 1500000>; > clock-latency-ns = <140000>; > }; > opp-900000000 { > opp-hz = /bits/ 64 <900000000>; > - opp-microvolt = < 962500>; > + opp-microvolt = < 962500 962500 1500000>; > clock-latency-ns = <140000>; > }; > opp-800000000 { > opp-hz = /bits/ 64 <800000000>; > - opp-microvolt = < 937500>; > + opp-microvolt = < 937500 937500 1500000>; > clock-latency-ns = <140000>; > }; > opp-700000000 { > opp-hz = /bits/ 64 <700000000>; > - opp-microvolt = < 912500>; > + opp-microvolt = < 912500 912500 1500000>; > clock-latency-ns = <140000>; > }; > }; > @@ -1100,23 +1100,23 @@ > > opp00 { > opp-hz = /bits/ 64 <84000000>; > - opp-microvolt = <925000>; > + opp-microvolt = <925000 925000 1400000>; > }; > opp01 { > opp-hz = /bits/ 64 <111000000>; > - opp-microvolt = <950000>; > + opp-microvolt = <950000 950000 1400000>; > }; > opp02 { > opp-hz = /bits/ 64 <222000000>; > - opp-microvolt = <950000>; > + opp-microvolt = <950000 950000 1400000>; > }; > opp03 { > opp-hz = /bits/ 64 <333000000>; > - opp-microvolt = <950000>; > + opp-microvolt = <950000 950000 1400000>; > }; > opp04 { > opp-hz = /bits/ 64 <400000000>; > - opp-microvolt = <987500>; > + opp-microvolt = <987500 987500 1400000>; > }; > }; > > diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi > index 25d95de15c9b..65d094256b54 100644 > --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi > +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi > @@ -428,6 +428,8 @@ > regulator-max-microvolt = <1500000>; > regulator-always-on; > regulator-boot-on; > + regulator-coupled-with = <&buck3_reg>; > + regulator-coupled-max-spread = <300000>; > }; > > buck3_reg: BUCK3 { > @@ -436,6 +438,8 @@ > regulator-max-microvolt = <1400000>; > regulator-always-on; > regulator-boot-on; > + regulator-coupled-with = <&buck2_reg>; > + regulator-coupled-max-spread = <300000>; > }; > > buck4_reg: BUCK4 { > diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts > index e0f470fe54c8..5c1e965ed7e9 100644 > --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts > +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts > @@ -257,6 +257,8 @@ > regulator-always-on; > regulator-boot-on; > regulator-ramp-delay = <12500>; > + regulator-coupled-with = <&buck3_reg>; > + regulator-coupled-max-spread = <300000>; > regulator-state-mem { > regulator-off-in-suspend; > }; > @@ -269,6 +271,8 @@ > regulator-always-on; > regulator-boot-on; > regulator-ramp-delay = <12500>; > + regulator-coupled-with = <&buck2_reg>; > + regulator-coupled-max-spread = <300000>; > regulator-state-mem { > regulator-off-in-suspend; > }; > diff --git a/arch/arm/boot/dts/exynos5800.dtsi b/arch/arm/boot/dts/exynos5800.dtsi > index 57d3b319fd65..2a74735d161c 100644 > --- a/arch/arm/boot/dts/exynos5800.dtsi > +++ b/arch/arm/boot/dts/exynos5800.dtsi > @@ -22,61 +22,61 @@ > > &cluster_a15_opp_table { > opp-1700000000 { > - opp-microvolt = <1250000>; > + opp-microvolt = <1250000 1250000 1500000>; > }; > opp-1600000000 { > - opp-microvolt = <1250000>; > + opp-microvolt = <1250000 1250000 1500000>; > }; > opp-1500000000 { > - opp-microvolt = <1100000>; > + opp-microvolt = <1100000 1100000 1500000>; > }; > opp-1400000000 { > - opp-microvolt = <1100000>; > + opp-microvolt = <1100000 1100000 1500000>; > }; > opp-1300000000 { > - opp-microvolt = <1100000>; > + opp-microvolt = <1100000 1100000 1500000>; > }; > opp-1200000000 { > - opp-microvolt = <1000000>; > + opp-microvolt = <1000000 1000000 1500000>; > }; > opp-1100000000 { > - opp-microvolt = <1000000>; > + opp-microvolt = <1000000 1000000 1500000>; > }; > opp-1000000000 { > - opp-microvolt = <1000000>; > + opp-microvolt = <1000000 1000000 1500000>; > }; > opp-900000000 { > - opp-microvolt = <1000000>; > + opp-microvolt = <1000000 1000000 1500000>; > }; > opp-800000000 { > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > }; > opp-700000000 { > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > }; > opp-600000000 { > opp-hz = /bits/ 64 <600000000>; > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > clock-latency-ns = <140000>; > }; > opp-500000000 { > opp-hz = /bits/ 64 <500000000>; > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > clock-latency-ns = <140000>; > }; > opp-400000000 { > opp-hz = /bits/ 64 <400000000>; > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > clock-latency-ns = <140000>; > }; > opp-300000000 { > opp-hz = /bits/ 64 <300000000>; > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > clock-latency-ns = <140000>; > }; > opp-200000000 { > opp-hz = /bits/ 64 <200000000>; > - opp-microvolt = <900000>; > + opp-microvolt = <900000 900000 1500000>; > clock-latency-ns = <140000>; > }; > }; > -- Best Regards, Chanwoo Choi Samsung Electronics