Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5541229ybh; Wed, 7 Aug 2019 07:38:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXTi08GG5EfebJUed1C75bhk3SRtGNLJghuBoEkAO7DhJQHcGMkLDCLZUyZtwlxtkaOjgB X-Received: by 2002:a63:6106:: with SMTP id v6mr4085228pgb.36.1565188697349; Wed, 07 Aug 2019 07:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565188697; cv=none; d=google.com; s=arc-20160816; b=sSiNYATBZaVwUK2a/sYImL+JlHcpgp+rtl5p94fFmD6VDgd1AsIiITlGrZF2ed4+o3 JyGHtMHEDcrll1XNQ3E7flSkmTIZ6DKOx/2/6043EpjdSE1mhvlcmvQL5Jqv2dLrDaNQ kAPo+jKxtuRK3kBucO02hhQ5zE8PqRaN6gu2wiBBhuLObkQOyXVkHoZ1R19+akMzWYO1 LiQiLYmUm6Sy4HSdBZ0wI3zqrZeZwMTH4QWz0+IiGBi3e5aWzTvXterOXZFo2EqC8z38 5+m+BJbG3A/eLqABvzwCwx6pph4azyzsormdKJbGqhU8zAtmvHlA4uOioVJPkHf+DU0g 0CbA== 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=EmslgonStTRrL/u4P7UDkmcHxhjWmImBf/o0FvYqLms=; b=jQeR57mrlZRTfts3LcpabHoXTdCOrKuvXs0G4vXMnJxFc6071q/InnJqCHrPze0SNA TO/28hACLwzGZgn+OA8PvySfcNoX4ErOV04rjUHLj1dbJQX2mx/MQt81/MjpQuD0FXOl hoPxL3rq8VHEaAJH5WEcO18gBWlLJHnctd0P+yPDi/d3Yz8IEomqKCxiQ9es5bUpuOxx i2cs93+fIEhj3uPbJQo31hGJiY+hsZ1MPecTrZOzFGDMFhIf2cytN55NB08PKn3E3PKR jG6BKDfVBbQ6lkw24gEXw8KrEX8gTjK0kXpiVMNszeMHXu2fNF49/v0eG3vEPRZG+0XP +m1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="WQ2DUC/3"; 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 s5si46330793plq.219.2019.08.07.07.38.01; Wed, 07 Aug 2019 07:38:17 -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="WQ2DUC/3"; 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 S2388481AbfHGNjA (ORCPT + 99 others); Wed, 7 Aug 2019 09:39:00 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36456 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388338AbfHGNjA (ORCPT ); Wed, 7 Aug 2019 09:39:00 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190807133857euoutp02ed7b1f47cf247230845af586ed381409~4p5ccg4ds1779217792euoutp02O for ; Wed, 7 Aug 2019 13:38:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190807133857euoutp02ed7b1f47cf247230845af586ed381409~4p5ccg4ds1779217792euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1565185138; bh=EmslgonStTRrL/u4P7UDkmcHxhjWmImBf/o0FvYqLms=; h=From:To:Cc:Subject:Date:References:From; b=WQ2DUC/32VSo1KwDGi1q+kQuFkP+bYlB5kgPDRFUjpBbjF3GOaHbd3Y8M3hnKffoS hITqhtIq1lSh3ewezziW+aL1rB7g0vM6VE240GvDTd7V5ytK4mbl8k1J00PkvI/qCF mVlF75+rkMX0DAEyMHqJzW3dvJF2Q1Wxz4C+ITsU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190807133857eucas1p2f55ef233cdb6008e414af50a35ceaee4~4p5bktSz61100111001eucas1p2M; Wed, 7 Aug 2019 13:38:57 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 1A.F6.04374.074DA4D5; Wed, 7 Aug 2019 14:38:56 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190807133855eucas1p1cab425b791262e8dee1b17cbe8b1b3da~4p5amdPUC1968119681eucas1p1J; Wed, 7 Aug 2019 13:38:55 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190807133855eusmtrp144ac7bade6c0fb9ef41271cd4c3a5394~4p5aXxtZl3034030340eusmtrp1x; Wed, 7 Aug 2019 13:38:55 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-04-5d4ad470f051 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 76.AE.04166.F64DA4D5; Wed, 7 Aug 2019 14:38:55 +0100 (BST) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190807133854eusmtip239525b74c72cfe59383812ea79a8ef1a~4p5ZqloQ71919719197eusmtip2b; Wed, 7 Aug 2019 13:38:54 +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 v5 0/4] add coupled regulators for Exynos5422/5800 Date: Wed, 7 Aug 2019 15:38:34 +0200 Message-Id: <20190807133838.14678-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+NgFrrHKsWRmVeSWpSXmKPExsWy7djPc7oFV7xiDS6c1rLYOGM9q8X1L89Z LeYfOcdq0bfvP6NF/+PXzBbnz29gtzjb9IbdYtPja6wWl3fNYbP43HuE0WLG+X1MFmuP3GW3 WHr9IpPF7cYVbBZvfpxlsmjde4Td4t+1jSwWmx8cY3MQ8lgzbw2jx6ZVnWwem5fUexx8t4fJ o2/LKkaP4ze2M3l83iQXwB7FZZOSmpNZllqkb5fAlfHgwTWWgqXCFVdbVrE2MB7h72Lk5JAQ MJFYtuIpYxcjF4eQwApGiUObTjCCJIQEvjBKtPwOg0h8ZpR40DoHKMEB1rHkEBdEfDmjxPfN i9ghHKCG2y/OsYJ0swmoSmyZ8ZIdxBYRUJaYfG86M0gRs8BPFokNlzeCJYQFnCTW7HzGBmKz ADVMWHMcbDWvgIvE9C/LWCDuk5fo3LGbBSIuKHFy5hMwmxko3rx1NthQCYFr7BK3Zq1mg2hw kdj+4iJUs7DEq+Nb2CFsGYnTk3ug4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xn5t3MF7a GHyIUYCDUYmHl+GCV6wQa2JZcWXuIUYJDmYlEd57ZZ6xQrwpiZVVqUX58UWlOanFhxhNgY6d yCwlmpwPTAB5JfGGpobmFpaG5sbmxmYWSuK8HQIHY4QE0hNLUrNTUwtSi2D6mDg4pRoY2SZm /ODl8XX57H+SoUyEN7Sk12DpcrEsvls+J9mSHSqmT/rtsz3Au3CX55oplYrCvLvnOu1ztrOa cdyD9f3ElaxV51LuLQo73rhkgjZf2oKcaxJ+GprlwXF5t/M+i85r5lg54ePlNb8vJMz7H/hj nsKF6ax3vzg8nWa0uGjZ+sliEfuWvjobosRSnJFoqMVcVJwIADSoXbPIAgAA X-CMS-MailID: 20190807133855eucas1p1cab425b791262e8dee1b17cbe8b1b3da X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190807133855eucas1p1cab425b791262e8dee1b17cbe8b1b3da X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190807133855eucas1p1cab425b791262e8dee1b17cbe8b1b3da References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 DTS coupled regulators patch depends on previous patches. Changes: v5: - squashed last patch "remove exynos_bus_passive_target()" into second - added Acked-by to patch "correct clock enable sequence" v4: - removed "opp: core: add regulators enable and disable" from patchset as it was applied by Viresh Kumar and changed cover letter - fix patch "devfreq: exynos-bus: correct clock enable sequence" to correct order of enable/disable - removed unrelated changes in "devfreq: exynos-bus: convert to use dev_pm_opp_set_rate()" - added new patch "devfreq: exynos-bus: remove exynos_bus_passive_target()" as suggested by Chanwoo Choi v3: - added new exynos-bus patch to correct clock and regulator enabling and disabling sequence as suggested by Chanwoo Choi - corrected error path in enable and improved commit message in opp/core - improve comment in devfreq/exynos-bus.c before devfreq_recommended_opp() - change cover letter as there is new patch - added note before Signed-off-by in 4th patch v2: - improve regulators enable/disable code in opp/core as suggested by Viresh Kumar - add new patch for remove unused dt-bindings as suggested by Krzysztof Kozlowski Kamil Konieczny (3): devfreq: exynos-bus: correct clock enable sequence devfreq: exynos-bus: convert to use dev_pm_opp_set_rate() dt-bindings: devfreq: exynos-bus: remove unused property Marek Szyprowski (1): ARM: dts: exynos: add initial data for coupled regulators for Exynos5422/5800 .../bindings/devfreq/exynos-bus.txt | 2 - 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 | 153 +++++------------- 6 files changed, 78 insertions(+), 151 deletions(-) -- 2.22.0