Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718AbdIRIkf (ORCPT ); Mon, 18 Sep 2017 04:40:35 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:43923 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbdIRIka (ORCPT ); Mon, 18 Sep 2017 04:40:30 -0400 X-AuditID: cbfec7ef-f79ee6d000003120-85-59bf8677d57c From: Maciej Purski To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Brown , Liam Girdwood , Rob Herring , Mark Rutland , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Maciej Purski Subject: [PATCH 0/2] Add coupled regulators mechanism Date: Mon, 18 Sep 2017 10:39:50 +0200 Message-id: <1505723992-11772-1-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsWy7djP87rlbfsjDdY90rHYOGM9q8XUh0/Y LOYfOcdq8e1KB5PF5V1z2CwWvLzFYrH2yF12i6XXLzJZtO49wu7A6bFm3hpGj52z7rJ7bFrV yebRt2UVo8fnTXIBrFFcNimpOZllqUX6dglcGXf+djEX7OCumPA2p4GxhbOLkZNDQsBE4v2B 5+wQtpjEhXvr2boYuTiEBJYxSnxpfcII4XxmlNh6YSU7TMeq9kkscFVz736AavnPKDGl5xZr FyMHB5uAlsSa9niQBhEBG4m3Nw6ATWIWmMckMfXoJGaQhLCAqcTM0+tZQGwWAVWJJavvMoLY vAIuEqv2vmCE2CYncfNcJzNIs4RAB5vE5DN/oRIuEs0XN7FB2MISr45vgTpPRuLy5G4WCLta 4uLXXVA1NRKNtzdA1VhLfJ60BewIZgE+iUnbpjODHC0hwCvR0SYEYXpIzDibD1HtKNH78CvY ViGBWIkpyy6zTmCUWsDIsIpRJLW0ODc9tdhQrzgxt7g0L10vOT93EyMwQk//O/5+B+PT5pBD jAIcjEo8vBte74sUYk0sK67MPcQowcGsJMLrWLU/Uog3JbGyKrUoP76oNCe1+BCjNAeLkjiv bVRbpJBAemJJanZqakFqEUyWiYNTqoGRZ/fDV0FBV1vMl0ukLb6gWjLp0+FjphZlvxJ/TW9z rp5unNhxo8SG+Y2RU1jSmtqNRcarem99TlQSzr3M45vT+U2J03HbLbetH5J3z4oXmL7+TJVL Sja7y6JlN85F7Xpd+vPr8Ro7//zjxZaZ6s039KIqddYYVnJc7bbinmBc3l4yxfDqQwUlluKM REMt5qLiRADr926NzAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42I5/e/4Nd3Ctv2RBv/X6FpsnLGe1WLqwyds FvOPnGO1+Halg8ni8q45bBYLXt5isVh75C67xdLrF5ksWvceYXfg9Fgzbw2jx85Zd9k9Nq3q ZPPo27KK0ePzJrkA1igum5TUnMyy1CJ9uwSujDt/u5gLdnBXTHib08DYwtnFyMkhIWAisap9 EguELSZx4d56ti5GLg4hgSWMEu2/FjBCOI1MEtP2TQFyODjYBLQk1rTHgzSICNhIvL1xAKyG WWABUM3XGcwgCWEBU4mZp9eDTWURUJVYsvouI4jNK+AisWrvC0aIbXISN891Mk9g5F7AyLCK USS1tDg3PbfYSK84Mbe4NC9dLzk/dxMjMGy2Hfu5ZQdj17vgQ4wCHIxKPLwbXu+LFGJNLCuu zD3EKMHBrCTC61i1P1KINyWxsiq1KD++qDQntfgQozQHi5I4b++e1ZFCAumJJanZqakFqUUw WSYOTqkGxpzKyjWTI+2fKn5e+fNj5oEDLyepfU0JOmXmsfzyzAk/+iM/tjmsK/ttPc2I6VFU tflfvaU1chuvTNfK2KF9OITtkkRA7PK5x/dvE5mRp3eNf+MDT4EFW6KrFPf+7z7qbTTN9s+u S0UP9de+nHvobH33pwVzlm1Y4Lz5acOi6CC1D10xKYvm8vxWYinOSDTUYi4qTgQApU1gexcC AAA= X-CMS-MailID: 20170918084017eucas1p1a15a561f2b207f49ed05909a518e1bf5 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?TWFjaWVqIFB1cnNraRtTZWN1cml0eSAoVFApG1NhbXN1bmcg?= =?UTF-8?B?RWxlY3Ryb25pY3MbVHJhaW5lZSAoKQ==?= X-Global-Sender: =?UTF-8?B?TWFjaWVqIFB1cnNraRtTZWN1cml0eSAoVFApG1NhbXN1bmcg?= =?UTF-8?B?RWxlY3Ryb25pY3MbVHJhaW5lZSAoKQ==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTU=?= CMS-TYPE: 201P X-CMS-RootMailID: 20170918084017eucas1p1a15a561f2b207f49ed05909a518e1bf5 X-RootMTR: 20170918084017eucas1p1a15a561f2b207f49ed05909a518e1bf5 References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1422 Lines: 40 Hi all, this patchset adds a new mechanism to the framework - regulators' coupling. On Odroid XU3/4 and other Exynos5422 based boards there is a case, that different devices on the board are supplied by different regulators with non-fixed voltages. If one of these devices temporarily requires higher voltage, there might occur a situation that the spread between two devices' voltages is so high, that there is a risk of changing 'high' and 'low' states on the interconnection between devices powered by those two regulators. Algorithmicaly the problem was solved by: Inderpal Singh Doug Anderson The discussion on that subject can be found here: https://lkml.org/lkml/2014/4/29/28 Therefore this patchset is an attempt to apply the idea to regulators core as concluded in the discussion by Mark Brown and Doug Anderson. This feature is required to enable support for generic CPUfreq and devfreq drivers for the mentioned boards. Best regards, Maciej Purski Maciej Purski (2): regulator: core: Add coupled regulators mechanism regulator: bindings: Add properties for coupled regulators .../devicetree/bindings/regulator/regulator.txt | 3 + drivers/regulator/core.c | 274 +++++++++++++++++++-- include/linux/regulator/driver.h | 16 ++ 3 files changed, 275 insertions(+), 18 deletions(-) -- 2.7.4