Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934844AbcJZRVv (ORCPT ); Wed, 26 Oct 2016 13:21:51 -0400 Received: from mail1.bemta3.messagelabs.com ([195.245.230.171]:35070 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932356AbcJZRTc (ORCPT ); Wed, 26 Oct 2016 13:19:32 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLKsWRWlGSWpSXmKPExsUSt3Opse7cpwI RBssOmVpMffiEzWL+kXOsFocXvWC0mH/lGqvF/a9HGS2+Xelgsrj56RurxeVdc9gsPvceYbS4 sW4fu8WThWeYLJZev8hk0br3CJD7sI/N4vLETnaLWzNesDoIeKyZt4bRY+esu+we1zaLeSze8 5LJY9OqTjaPO9f2sHns/N7A7vF5k1wARxRrZl5SfkUCa0bPmVVsBWuVKnpWfGdvYHwv1cXIxS EksJ5R4vuva+xdjJxAToXEhgkPWEBsXoFkif3T3zCD2JwCjhKzn81hhahxkDhw4jcjiM0mYCg x7817MJtFQFVi+cfVYHOEBQIkjrb1soIsEBE4wyixa9kvZhCHWeARs8SuE1tZITYISpyc+QRs G7OAhMTBFy+AijiANmhJLD8WCRKWELCXmP7+KlhYQkBfovFYLETYUOL7rG8sEGFziUVTNScwC s5CMnMWkpkLGJlWMWoUpxaVpRbpGpnqJRVlpmeU5CZm5ugaGhjr5aYWFyemp+YkJhXrJefnbm IERl09AwPjDsbWE36HGCU5mJREed+cEIgQ4kvKT6nMSCzOiC8qzUktPsQow8GhJME75QlQTrA oNT21Ii0zBxj/MGkJDh4lEd5DIGne4oLE3OLMdIjUKUZdjkVzr69lEmLJy89LlRLnzQIpEgAp yijNgxsBS0WXGGWlhHkZGRgYhHgKUotyM0tQ5V8xinMwKgnzTgCZwpOZVwK36RXQEUxAR0xPB zuiJBEhJdXAWKvOM02yZs8t0y7zjBsiL7dvqJEvn3UgTeRAqbHPgjVJ/k9t307lMPv14fvaq4 vF5mbLbRVZ5c7w4VVzhb/bp5UHU+1FmHVnznBYZZi858eH93M12LVlwv2+iofOtrf59JXDTp7 T/fqi/LNvktftFV/wRtTif6XkKR6X8mX9gUoyZjfi+h88UmIpzkg01GIuKk4EAOEgFYRAAwAA X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-9.tower-39.messagelabs.com!1477502364!57764713!4 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 9.0.13; banners=-,-,- X-VirusChecked: Checked Message-ID: <0e5e8a32cbb9cf307858c860cf25107cb71c8e32.1477501000.git.stwiss.opensource@diasemi.com> In-Reply-To: References: From: Steve Twiss Date: Wed, 26 Oct 2016 17:56:38 +0100 Subject: [PATCH V2 04/10] Documentation: devicetree: mfd: da9062/61 MFD binding To: DEVICETREE , LINUX-INPUT , LINUX-KERNEL , Mark Rutland , Rob Herring CC: Dmitry Torokhov , Eduardo Valentin , Guenter Roeck , LINUX-INPUT , LINUX-PM , LINUX-WATCHDOG , Lee Jones , Liam Girdwood , Mark Brown , Support Opensource , Wim Van Sebroeck , Zhang Rui MIME-Version: 1.0 Content-Type: text/plain X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 26/10/2016 13:31:00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4396 Lines: 141 From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file found in [PATCH V2 03/10]. Delete the da9062-watchdog section and replace it with a link to the new DA9061/62 binding information file added by [PATCH V2 02/10]. Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.8 v1 -> v2 - Patch renamed from [PATCH V1 09/10] to [PATCH V2 04/10] -- these changes were made to fix checkpatch warnings caused by the patch set dependency order Hi, This patch depends on acceptance of the main code for the DA9061 MFD: - [PATCH V2 1/10] mfd: da9061: MFD core support and also from the following binding file changes: - [PATCH V2 01/10] Binding for onkey - [PATCH V2 02/10] Binding for watchdog - [PATCH V2 03/10] Binding for thermal Regards, Steve Twiss, Dialog Semiconductor Ltd. Documentation/devicetree/bindings/mfd/da9062.txt | 45 +++++++++++++++++------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt index 38802b5..38ba5e2 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -1,22 +1,32 @@ * Dialog DA9062 Power Management Integrated Circuit (PMIC) -DA9062 consists of a large and varied group of sub-devices: +The DA9062 driver is compatible with the DA9062 and DA9061 devices. + +Product information can be found here: +- http://www.dialog-semiconductor.com/products/da9062 +- http://www.dialog-semiconductor.com/products/da9061 + +DA9062 driver consists of a large and varied group of sub-devices: Device Supply Names Description ------ ------------ ----------- da9062-regulator : : LDOs & BUCKs da9062-rtc : : Real-Time Clock +da9062-onkey : : On Key da9062-watchdog : : Watchdog Timer +da9062-thermal : : Thermal ====== Required properties: -- compatible : Should be "dlg,da9062". +- compatible : Should be + "dlg,da9062" for DA9062 + "dlg,da9061" for DA9061 - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be modified to match the chip's OTP settings). - interrupt-parent : Specifies the reference to the interrupt controller for - the DA9062. + the DA9062 or DA9061. - interrupts : IRQ line information. - interrupt-controller @@ -25,8 +35,8 @@ further information on IRQ bindings. Sub-nodes: -- regulators : This node defines the settings for the LDOs and BUCKs. The - DA9062 regulators are bound using their names listed below: +- regulators : This node defines the settings for the LDOs and BUCKs. + The DA9062 regulators are bound using their names listed below: buck1 : BUCK_1 buck2 : BUCK_2 @@ -37,6 +47,16 @@ Sub-nodes: ldo3 : LDO_3 ldo4 : LDO_4 + The DA9061 regulators are bound using their names listed below: + + buck1 : BUCK_1 + buck2 : BUCK_2 + buck3 : BUCK_3 + ldo1 : LDO_1 + ldo2 : LDO_2 + ldo3 : LDO_3 + ldo4 : LDO_4 + The component follows the standard regulator framework and the bindings details of individual regulator device can be found in: Documentation/devicetree/bindings/regulator/regulator.txt @@ -46,9 +66,14 @@ Sub-nodes: with the DA9062. There are currently no entries in this binding, however compatible = "dlg,da9062-rtc" should be added if a node is created. -- watchdog: This node defines the settings for the watchdog driver associated - with the DA9062 PMIC. The compatible = "dlg,da9062-watchdog" should be added - if a node is created. + +- onkey : See ../input/da9062-onkey.txt + + +- watchdog: See ../watchdog/da9062-watchdog.txt + + +- thermal : See ../thermal/da9062-thermal.txt Example: @@ -64,10 +89,6 @@ Example: compatible = "dlg,da9062-rtc"; }; - watchdog { - compatible = "dlg,da9062-watchdog"; - }; - regulators { DA9062_BUCK1: buck1 { regulator-name = "BUCK1"; -- end-of-patch for PATCH V2