Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7000342ybi; Mon, 8 Jul 2019 12:25:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZb5nTHczj/IC47asBoHt2GZZw1fvuH2Q4lAU5FLE5jubE7eBXjVJM11diWEl1HxJka61J X-Received: by 2002:a17:90a:32ec:: with SMTP id l99mr28148404pjb.44.1562613939065; Mon, 08 Jul 2019 12:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562613939; cv=none; d=google.com; s=arc-20160816; b=mEgaoeG2cYy6CQILH8Gp7kLAfkgQhKK7rPZKDLgrSSyYGoxu2j5o+tiDBquPl1GCxQ 9B1b6fmTe5f6HUL4dtRJqvtsftD4jzbkd0CzRoh1Q9WS3N2jXMjTU1e8u9ygcf4RMxnM sedsiI1uFnP9R80brjhG9cjPo/Ir12hLhpI13vOArSKsxgv40z2w+3NOgss4Xy6RR7SK kN7WOCVOnWN8HZoAWXJpig4FSYBPUzz5gp9u8Ud6JBUVLkdhvMFTjm55/rLRCJtliAUG 2Y4HnWKMvcZCQopbr4aby8jDYS3iunFxD6J+y5rKI7KQwujXN5V6Np4oW00Qx++53AdW U5Rw== 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 :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=0TbVjzJdC4haysmGHRjI6XW+S2vD6KrCfbrhFyLR0Qg=; b=YECFpeKdh1mt2yBiw6BDKjlkhmS5ToPIWqUAY099WFqNX5TtQMBkVUTo9s9VhxBg0J aFFLpNA0/pJMgi1Mb42K9W24rThgIsiO4J2/Zo/Bz59MH66SwkDEYu53aNz1nl6FpNry 4f/YF2Zx0DhZhjJrEx3ULhBN61EDgJp+ypIUfe12UXtDOygweaYike/YO7wOfHUVcFCX IZitOk+zd4K62zGqE9yA/a1E7Lo+PXbXY3FItQ1yOW/T1BU5JtOl4wUgQfpYdduP9bQH HmvdFe0r0lGftBuRtpfo0fTJpYg1fYBOqIByd0EgTX+LAVo94DWPPh3uIAihTqA0CZTj Vnmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=DV17y2aM; 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 e19si382888pjp.49.2019.07.08.12.25.23; Mon, 08 Jul 2019 12:25:39 -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=DV17y2aM; 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 S1731717AbfGHOME (ORCPT + 99 others); Mon, 8 Jul 2019 10:12:04 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60315 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729272AbfGHOMC (ORCPT ); Mon, 8 Jul 2019 10:12:02 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190708141200euoutp0186794401a2544e96c9f8a677b9f0834e~vc-uf9hV42342323423euoutp01V for ; Mon, 8 Jul 2019 14:12:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190708141200euoutp0186794401a2544e96c9f8a677b9f0834e~vc-uf9hV42342323423euoutp01V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1562595120; bh=0TbVjzJdC4haysmGHRjI6XW+S2vD6KrCfbrhFyLR0Qg=; h=From:To:Cc:Subject:Date:References:From; b=DV17y2aMFo5Vi+SoQ3CH3ssUsMm8X3Aoq5hFZWUPnq6EdWrlQTDRlvm5zaH9SjyNQ GgGjpy4KGOJagrld8bMml4W871nWwzoTMFCl8JCp5RCjfh5k9wQK8I1H4XuSZSd1ap +ZjxyVc++CIK4tO5AGJ1VP/pACZc8Fb/HW6/C490= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190708141159eucas1p24c1e9f39d423425a61b70365df27c55a~vc-tuJyrL1493814938eucas1p2J; Mon, 8 Jul 2019 14:11:59 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 5A.19.04298.F2F432D5; Mon, 8 Jul 2019 15:11:59 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190708141158eucas1p17d4b50978dbe1e5c876ce6d8f433cc95~vc-s5BE2X1373613736eucas1p1s; Mon, 8 Jul 2019 14:11:58 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190708141158eusmtrp17e287234cc335b82d35ae4497d429294~vc-sqx0ae0147201472eusmtrp1k; Mon, 8 Jul 2019 14:11:58 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-61-5d234f2f623a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E5.8B.04146.E2F432D5; Mon, 8 Jul 2019 15:11:58 +0100 (BST) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190708141157eusmtip208a55aea9b9cc01cc9b7dfcc74d8c6ab~vc-r724370490104901eusmtip2L; Mon, 8 Jul 2019 14:11:57 +0000 (GMT) From: k.konieczny@partner.samsung.com To: k.konieczny@partner.samsung.com Cc: Bartlomiej Zolnierkiewicz , Marek Szyprowski , Chanwoo Choi , 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 Subject: [PATCH 0/3] add coupled regulators for Exynos5422/5800 Date: Mon, 8 Jul 2019 16:11:37 +0200 Message-Id: <20190708141140.24379-1-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAKsWRmVeSWpSXmKPExsWy7djP87r6/sqxBhPvcFhsnLGe1eL6l+es FvOPnGO16Nv3n9Gi//FrZovz5zewW5xtesNusenxNVaLy7vmsFl87j3CaDHj/D4mi7VH7rJb LL1+kcniduMKNos3P84yWbTuPcJu8e/aRhaLzQ+OsTkIeayZt4bRY9OqTjaPzUvqPQ6+28Pk 0bdlFaPH8RvbmTw+b5ILYI/isklJzcksSy3St0vgyliz7SFbwRKuii0/nrA0MP5m72Lk5JAQ MJF4teU2kM3FISSwglHi2MGJLBDOF0aJO70nmCCcz4wSU3suscK0HG84wwyRWM4ocfdsOzNc y66dO5hAqtgEVCW2zHgJtkREQFli8r3pYEXMAj9ZJDZc3giWEBawl3jzdj+YzQLUsPRZLwuI zSvgInHn9E2oC+UlOnfshooLSpyc+QTMZgaKN2+dDTZUQuAcu8T0NQ9YIBpcJBa1zmKGsIUl Xh3fAjVIRuL05B6omnKJpwv72CGaWxglHrR/hEpYSxw+fhHoUQ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g55JRihVgTy4orcw8xSnAwK4nw7nNXjhXiTUmsrEotyo8vKs1JLT7EaAp07ERmKdHk fGAKyCuJNzQ1NLewNDQ3Njc2s1AS5+0QOBgjJJCeWJKanZpakFoE08fEwSnVwJhyw7mZ5frp wC/FP//eb7izd/V5vpjvEi1Fl/miL3z/mvWjWG2Pv03DfpHzJepMjeGcZ2WLvlxUWDz9cOwp Fg93k+/1XP967r9cuENui2FGbGFF4+dQBqX7TJaPuhO6zuVuZrlRxL9Z9/iP7Qs/2vDdXSyl WDApqcA56FttmEyCf2LGip7ZqUosxRmJhlrMRcWJAA3WOfvJAgAA X-CMS-MailID: 20190708141158eucas1p17d4b50978dbe1e5c876ce6d8f433cc95 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190708141158eucas1p17d4b50978dbe1e5c876ce6d8f433cc95 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190708141158eucas1p17d4b50978dbe1e5c876ce6d8f433cc95 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kamil Konieczny Hi, The main purpose of this patch series is to add coupled regulators for Exynos5422/5800 to keep constrain on voltage difference between vdd_arm and vdd_int to be at most 300mV. In exynos-bus instead of using regulator_set_voltage_tol() with default voltage tolerance it should be used regulator_set_voltage_triplet() with volatege range, and this is already present in opp/core.c code, so it can be reused. While at this, move setting regulators into opp/core. This patchset was tested on Odroid XU3. The last patch depends on two previous. Regards, Kamil Kamil Konieczny (2): opp: core: add regulators enable and disable devfreq: exynos-bus: convert to use dev_pm_opp_set_rate() Marek Szyprowski (1): ARM: dts: exynos: add initial data for coupled regulators for Exynos5422/5800 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 ++-- drivers/devfreq/exynos-bus.c | 172 +++++++----------- drivers/opp/core.c | 13 ++ 6 files changed, 120 insertions(+), 139 deletions(-) -- 2.22.0