Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbbKIFyZ (ORCPT ); Mon, 9 Nov 2015 00:54:25 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:51151 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbbKIFyV (ORCPT ); Mon, 9 Nov 2015 00:54:21 -0500 X-AuditID: cbfee68e-f791c6d000001498-a6-5640350a1e61 Message-id: <56403525.7000808@samsung.com> Date: Mon, 09 Nov 2015 11:24:45 +0530 From: Alim Akhtar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-version: 1.0 To: Krzysztof Kozlowski , rtc-linux@googlegroups.com Cc: k.kozlowski.k@gmail.com, lee.jones@linaro.org, broonie@kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Abraham , devicetree@vger.kernel.org Subject: Re: [rtc-linux] Re: [PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC References: <1446186334-16510-1-git-send-email-alim.akhtar@samsung.com> <1446186334-16510-2-git-send-email-alim.akhtar@samsung.com> <20151106223339.GA22411@rob-hp-laptop> <563D6B72.9010004@samsung.com> In-reply-to: <563D6B72.9010004@samsung.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsWyRsSkRpfL1CHM4N8WEYupD5+wWcw/co7V 4vm/H+wWr18YWtz/epTR4vKuOWwWM87vY7LY39nBaNGxjNGB02PnrLvsHnsmnmTz2LSqk83j zrU9bB59W1YxenzeJBfAFsVlk5Kak1mWWqRvl8CVsfzReaaCw5IVzT2HmRsYZ4p2MXJySAiY SPTf2ssCYYtJXLi3nq2LkYtDSGAFo8Txa5OAEhxgRS+mu0LElzJK/Hp6GaroAaPErFN7mEC6 eQW0JNa/nc4OY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bygk09NKuh2A2s4CZ xKOWdcwQtrzE5jVvmScwCsxCsmQWkrJZSMoWMDKvYpRILUguKE5KzzXKSy3XK07MLS7NS9dL zs/dxAiO+2fSOxgP73I/xCjAwajEw8sw3T5MiDWxrLgy9xCjBAezkgivGZtDmBBvSmJlVWpR fnxRaU5q8SFGU2AoTGSWEk3OB6akvJJ4Q2MTc1NjU0sTCxMzSyVxXn1PozAhgfTEktTs1NSC 1CKYPiYOTqkGxuW9eXcrNvgtyn+7f85d5U8zjvPK/jLyy8qZK7XfdJ2Q2gs5/UpmXR+Jv7Ws Gxybd//94+xlt2795KcLss7wPLpxbGrScfkjt0SkFPmVC7SmvTzAwx80sVXNoSXltardh9y1 N4Oj308ufFRTZbXw4YdH71zV2dmXX4+dou/7iPfO/CCvn85Ha5VYijMSDbWYi4oTAUjtfsMR AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3435 Lines: 82 Hi Krzysztof, On 11/07/2015 08:39 AM, Krzysztof Kozlowski wrote: > W dniu 07.11.2015 o 07:33, Rob Herring pisze: >> On Fri, Oct 30, 2015 at 11:55:31AM +0530, Alim Akhtar wrote: >>> From: Thomas Abraham >>> >>> Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device >>> is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. >>> This also supports RTC and three 32.768KHz clock outputs. >>> >>> Cc: devicetree@vger.kernel.org >>> Signed-off-by: Thomas Abraham >>> Signed-off-by: Alim Akhtar >>> --- >>> Documentation/devicetree/bindings/mfd/s2mps11.txt | 21 ++++++++++++++------- >>> 1 file changed, 14 insertions(+), 7 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt >>> index 890f0b0e1643..4c0543ceec25 100644 >>> --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt >>> +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt >>> @@ -1,5 +1,5 @@ >>> >>> -* Samsung S2MPS11, S2MPS13, S2MPS14 and S2MPU02 Voltage and Current Regulator >>> +* Samsung S2MPS11/13/14/15 and S2MPU02 Voltage and Current Regulator >>> >>> The Samsung S2MPS11 is a multi-function device which includes voltage and >>> current regulators, RTC, charger controller and other sub-blocks. It is >>> @@ -7,8 +7,12 @@ interfaced to the host controller using an I2C interface. Each sub-block is >>> addressed by the host system using different I2C slave addresses. >>> >>> Required properties: >>> -- compatible: Should be "samsung,s2mps11-pmic" or "samsung,s2mps13-pmic" >>> - or "samsung,s2mps14-pmic" or "samsung,s2mpu02-pmic". >>> +- compatible: Should be one of the following >>> + - "samsung,s2mps11-pmic" >>> + - "samsung,s2mps13-pmic" >>> + - "samsung,s2mps14-pmic" >>> + - "samsung,s2mps15-pmic" >>> + - "samsung,s2mpu02-pmic". >>> - reg: Specifies the I2C slave address of the pmic block. It should be 0x66. >>> >>> Optional properties: >>> @@ -24,7 +28,7 @@ Optional properties: >>> unwanted buck warm reset (setting buck voltages to default values). >>> >>> Optional nodes: >>> -- clocks: s2mps11, s2mps13 and s5m8767 provide three(AP/CP/BT) buffered 32.768 >>> +- clocks: s2mps11, s2mps13, s2mps15 and s5m8767 provide three(AP/CP/BT) buffered 32.768 >> >> s5m8767 doesn't seem to be documented. Can you please fix or remove. > > What exactly do you have in mind? > > The s5m8767-clk is already documented as part of clk-s2mps11.c driver: > Documentation/devicetree/bindings/mfd/s2mps11.txt > > The main s5m8767 MFD driver is documented as part of regulator driver: > Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt > > Yes, this may be confusing... They S2M and S5M family devices share: > - main mfd driver, > - rtc driver, > - clk driver. > > but regulator drivers are separate. > Indeed things are documented but in very confusing manners, e.g. compatible name "samsung,s5m8767-pmic" belongs to MFD not regulator. It should have being in */bindings/mfd/s2mps11.txt Not sure if it make sense to change it though. > Best regards, > Krzysztof > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/