Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4177974ybi; Mon, 15 Jul 2019 05:07:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBnGdMirDKUZdODqCd0alftqjl4SKO0FOS+ndRYVF+6EE1k7cS0rLv8Eh3g02+HRyTMoJx X-Received: by 2002:a17:90a:cf8f:: with SMTP id i15mr27753604pju.110.1563192477422; Mon, 15 Jul 2019 05:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563192477; cv=none; d=google.com; s=arc-20160816; b=E+uLm49VDxI+paHVoUWqDQCqKBWKBvTjd39J758oDyRYfoDxRC4QJmWl4gEEZWQUz4 Y7rVHukrGdGL5cO9606YlNuv9a31P37i4tngqkdkqtLp1ICU8/V8OWQo0ClZFTdYZsYi 1ed5jZ2gU7SGylrhwZZJ0v9VmbesHoqvX2XcOqMIzAxum8AakkrWcyUDN7T3Nt6bTebA nm4UrQsARsAl1gn04ugtangxwivuoolgcPhfeQDVcx1XK7Yjr++s4TEdw9yy3qlb6xZz mK8K9FJuV6vw6GdVDfToUNHFZt+qGNgDZKc4nEHYWHexVsaV/dvUHSeBL+OvgzYqcgme utgA== 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=i3auGkJgw9SKm0S7pYs8dDdYpDEpYz2cgpDsLc2zkj4=; b=pW5YOHMw0DhWcB307CeGWe9QOjJ/0c2gEprueGca2F4jkHQqVsaxlDZdc6g3a5XrOu u6ioiRQcKS9g9AdOlVOmeYfcjJREIrdB/OoLLpMOTmSyXMifCwoldd9HDQiUp3qw/Vxp SgXmSqfUg3LYeVDSAsXbLPaPz1d7gTLOsDBevr1TPkHmstALvtPPfaPFK882CuKfxHJs VQYUTOMX5lpFx9rt8ZP0iMQNBj0mCc0VD9ONSBF0yjlDQI2wr5se0I1Gn6bx/oEN9jx0 s8Y1lDZOKzc6hv5o4jv61+uZspAr0hLU20ymqMnBeVSw6i73sATj4/N1uknT8YYqtBVN v/og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CqFPTPXc; 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 24si16238585pfp.65.2019.07.15.05.07.40; Mon, 15 Jul 2019 05:07: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=CqFPTPXc; 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 S1729940AbfGOMEe (ORCPT + 99 others); Mon, 15 Jul 2019 08:04:34 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35495 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729932AbfGOMEd (ORCPT ); Mon, 15 Jul 2019 08:04:33 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190715120431euoutp0250aebd5a2551a7e61d34c20a9a74f37a~xkxbUsa7q1711217112euoutp02G for ; Mon, 15 Jul 2019 12:04:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190715120431euoutp0250aebd5a2551a7e61d34c20a9a74f37a~xkxbUsa7q1711217112euoutp02G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563192271; bh=i3auGkJgw9SKm0S7pYs8dDdYpDEpYz2cgpDsLc2zkj4=; h=From:To:Cc:Subject:Date:References:From; b=CqFPTPXcAZ2vTTbELUe1bWzUwtkNa0FdfG2OUQShdziCO2Ze/PM4hvvU4y1Q8PlMC uZ+4bK8xqAj8kTFGb3UsjgpSLkw7+1HELxdLaAqXVJqXaCoJaoslNhomXsY8hOSk1e KGa6vfy25Br/UqZ4pGUBaqvz62LECMJ+a5DlvnrA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190715120431eucas1p16622abacb55aff8972b4e96fdcbdd01f~xkxaio9qa3262432624eucas1p1O; Mon, 15 Jul 2019 12:04:31 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 39.FF.04298.ECB6C2D5; Mon, 15 Jul 2019 13:04:30 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190715120430eucas1p1dd216e552403899e614845295373e467~xkxZomOa72398923989eucas1p1y; Mon, 15 Jul 2019 12:04:30 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190715120429eusmtrp1688595b10dd7962aedaeec21a96fc766~xkxZaTJ_R1141311413eusmtrp1S; Mon, 15 Jul 2019 12:04:29 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-c9-5d2c6bcee598 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C9.12.04140.DCB6C2D5; Mon, 15 Jul 2019 13:04:29 +0100 (BST) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190715120429eusmtip16591f99b4d6c151d00956fc96a3415d5~xkxYsKTBJ1539615396eusmtip1Z; Mon, 15 Jul 2019 12:04:29 +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: [PATCH v2 0/4] add coupled regulators for Exynos5422/5800 Date: Mon, 15 Jul 2019 14:04:12 +0200 Message-Id: <20190715120416.3561-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: H4sIAAAAAAAAA02Se0iTURjGPftuU1p9TsvXDItF2E1NEDqQhV0ZQRD0T1RiK7/UdJvty8qK spumlFpSmdm9SKamm+nEWzbFNW9zSpqZJpUa3cQbZYlr22flf7/zvM9z3vc9HDEhfUfNF0er DnMalSJWRruRpfUTLf4tMSvDVrX+DsK6rEIKd44NUvhuXQuF06ptCKd/+EJgi6WIwc1nvzJY /6GDwu3lOTQevVyHcJalWoQL6noY/LjTKsLdZ3Jp/PVnswhfqKpj8FSHjsTFffV0qFSefycf yfXaFFpe/Oi0/MX3SpE87ZkWyU2vDSL5qN53O7PLLSSCi40+wmkC1+11i6oauMHE3Z51bOhW Bp2IDK6pyFUMbDAY8n6QDpayuQgaTPtTkZudxxAUXC9HwmEUwW9tI/qbqHz1lhYKTxDUjpuJ f5F2awHjcNHsanhvaBI52JNdDJm9N5wmgp0goahd5zR5sBtg4LvZySS7BNJyxygHS9iNMPbj GiG0WwgpZRWkoLuD+eZHJxN2/VzJLeelwLYx0HN5RCQENkF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4kRGGfbjv3csoOx613w IUYBDkYlHl6HFO1YIdbEsuLK3EOMEhzMSiK8tl+BQrwpiZVVqUX58UWlOanFhxhNgY6dyCwl mpwPTAF5JfGGpobmFpaG5sbmxmYWSuK8HQIHY4QE0hNLUrNTUwtSi2D6mDg4pRoY5xSkh//Q Zv/bVBwmmFD1wTHl59Tvdsm7E9TvGmqe/752sUJSBZtVe35lgcF8KckTNREaV46+Pr7unP9O hTm7mqq8wjjy25OV3i7le1iz8/U78aKXa5c6Z/8T37Gdqf2N6oG5/0MSfxau3HXv9LGbWcXt W1S/XZpQF29UOafgknhB0fXSjd92KLEUZyQaajEXFScCAOtXNgrJAgAA X-CMS-MailID: 20190715120430eucas1p1dd216e552403899e614845295373e467 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190715120430eucas1p1dd216e552403899e614845295373e467 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715120430eucas1p1dd216e552403899e614845295373e467 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 last patch depends on two previous. Changes in 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 Regards, Kamil Kamil Konieczny (3): opp: core: add regulators enable and disable 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 | 172 +++++++----------- drivers/opp/core.c | 18 +- 7 files changed, 122 insertions(+), 144 deletions(-) -- 2.22.0