Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6671397ybh; Thu, 8 Aug 2019 03:54:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfab4V0KDt1h8Mxmo2hbSIBpGVzqp8DIBXl7NU1wXYHckWdnHFNYGPavG127kThV2v09oN X-Received: by 2002:a65:6547:: with SMTP id a7mr12054845pgw.65.1565261663953; Thu, 08 Aug 2019 03:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565261663; cv=none; d=google.com; s=arc-20160816; b=WYh4u29uV+WXzseGV/oLLGeg05EKJbVc04lRzCHuwp3vlSPY4AZ0jC3guyS7GZMqKn rj2XWpHAXjGMweKdHEs8QavYamOyjFRDmi7o2zi30DFhsuimW5JSP1ouOFP80Rg88kt+ OyaKY4XnbXl35oRFgZsxp0c1agWtR1WZHEiHgFs8Rh98Ut37n7if1u6qu4NeLR0NSJRv A5C2Wfc4T+3AvayM4B+wxjf6aeW0R4Ke8agJ4QXOmXzG2E91V+BsebV74zDVxQ6teu46 2snMQt6oZtLM9HKq2h8EODgquuIfkfqE4gIL81kxCN1S+jNUbfsEKQT2KgNTC2fw42fM VDRA== 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=ILtInfMxF+OVolpc5cmkOW73AvkK52l6LTzoafmE5Yo65kEywR6r/LOY7m/uHl6KJg hm1hqW5Eg3grBJ0x0W/MfXknHbSgo+3Ur+SCTpPw3YOh0P6hOm7TjOjs6dww8A1U/+u4 TDTJ27c6jVqeihinb3ojlkflwIf2J61QDNbXAGP0m1C5mnrvb6Er7vIXLFMxAyrocoex Guz0ke9bm6cAiG1734dHVnCca+jY6ZiSY98S3OyVZkJwKuJfQZKfMP3UmM+RMM9l1dJ3 397d99MRNLXMNI9LhPXpOtAyhK/+UD4MHw11PzpK/DGT3uxDh7EG5cGxDk6N35bdtogc JgFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=fARQgsjG; 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 s186si13924911pgs.116.2019.08.08.03.54.06; Thu, 08 Aug 2019 03:54:23 -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=fARQgsjG; 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 S1731844AbfHHJCx (ORCPT + 99 others); Thu, 8 Aug 2019 05:02:53 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39059 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731065AbfHHJCw (ORCPT ); Thu, 8 Aug 2019 05:02:52 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190808090251euoutp0210b015faa6ec4ed0e7ed2e9a6741ef6d~45xprNur62171621716euoutp02Z for ; Thu, 8 Aug 2019 09:02:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190808090251euoutp0210b015faa6ec4ed0e7ed2e9a6741ef6d~45xprNur62171621716euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1565254971; bh=EmslgonStTRrL/u4P7UDkmcHxhjWmImBf/o0FvYqLms=; h=From:To:Cc:Subject:Date:References:From; b=fARQgsjG2KPry9bGlgUCVs/b51lzMdFP+WCigJG6AUorSMJPcXYeX25c8G7s5mS7z RsTdpaccV3AssqbuSkNa0A99mHeTCyrvlsixp3A+5UmFzU4QZWSlmImpQW7F3kOWB1 hJdEzSgXrjvq6E3ywQ0SCCuQ4m3EpHJft8ku2uHg= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190808090250eucas1p12af7dc98dc457a21ba04634483380e13~45xo6A7iq1972119721eucas1p1I; Thu, 8 Aug 2019 09:02:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 64.9E.04469.935EB4D5; Thu, 8 Aug 2019 10:02:50 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190808090249eucas1p19944820d79ec211c85d9e1285f892f9c~45xoLMR_F2988729887eucas1p1O; Thu, 8 Aug 2019 09:02:49 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190808090249eusmtrp2451cd8f3c41bb0cc7e9400250b87362d~45xn89HN40888908889eusmtrp28; Thu, 8 Aug 2019 09:02:49 +0000 (GMT) X-AuditID: cbfec7f2-54fff70000001175-3d-5d4be539e327 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5D.A1.04117.935EB4D5; Thu, 8 Aug 2019 10:02:49 +0100 (BST) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190808090248eusmtip2518377b8b3e93d5d0b1add5351f55912~45xnPEzTZ3181431814eusmtip2i; Thu, 8 Aug 2019 09:02:48 +0000 (GMT) From: Kamil Konieczny 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: [RESEND PATCH v5 0/4] add coupled regulators for Exynos5422/5800 Date: Thu, 8 Aug 2019 11:02:30 +0200 Message-Id: <20190808090234.12577-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: H4sIAAAAAAAAA01Sa0hTYRjuO5ed42h2nGEfGiaroCSvBH5dTZA45o/qR1CG2dKDWjpl85JG mWWZZssUSqdpWdJaltNSl5WVDmelLlOXmNrULEwTvEQZ4XI7i/r3vO/zPN/7Pi8fjYsHSVc6 VpbEyWXSOIlASNS3znd6bR4LDfeduouhmqJqEr2f+0Kicn0niZRNFoAuj07gyGjUUqjjzCSF akdNJOpuLBWg2Ut6gIqMTRi6rx+kUOX7Lgx9yFQL0OTPDgyde6an0IKphkAPza2CHWK2qqwK sLWaHAH78HYG+3LqKcYqH2kAa+hrwNjZWvc9VJhwaxQXF5vCyX22HxbGmM0mIrHS+XhvloY8 DfTLcgFNQ2YjLP10MhcIaTGjBjDv4mcsFzgsFnMAftNRPDELoLpxwEZYDQW9LzCeuAPgiDET 54tFx3jhvMCqEjABcKSh3eZYzqyGhUPXbCKcmSegtruGss52ZkKgTutv1RDMWtjw8TOwYhET DHWaUpKftgrm6J4QfN8Jvir+ZMP4Yv9sXYntTciYKNi7kA14QzDsevnabnaGXw2PKB6vhJbH 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Cz7EKMDBqMTDW3DCO1aINbGsuDL3EKMEB7OSCO+9Ms9YId6UxMqq1KL8+KLSnNTiQ4ymQMdO ZJYSTc4HJoC8knhDU0NzC0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWpRTB9TBycUg2M86/c q/kZuLTqda/WJaXvL/6nVgpbet0oc6vzCk0J2LZ8ZeOtF4yN63f9eXl0ScjSjfHH0w5u+B9s KvRCjnle8OzzeQcjX7zM2LfFY9VNpbquHiGB7WrmFV7uC6LnTq84m7LyrfxpvWV9YVffZO+y Y9Y8WBN9/qxNnfQqkdN/z6vV/W0yncfYocRSnJFoqMVcVJwIAAVgHcbIAgAA X-CMS-MailID: 20190808090249eucas1p19944820d79ec211c85d9e1285f892f9c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190808090249eucas1p19944820d79ec211c85d9e1285f892f9c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190808090249eucas1p19944820d79ec211c85d9e1285f892f9c 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