From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756353AbcA2PVH (ORCPT ); Fri, 29 Jan 2016 10:21:07 -0500 Received: from smtpbg298.qq.com ([184.105.67.102]:59219 "EHLO smtpbg298.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbcA2PVE (ORCPT ); Fri, 29 Jan 2016 10:21:04 -0500 X-QQ-mid: esmtp23t1454080852t491t11634 X-QQ-SSF: B100000000000070F3300000000000Z X-QQ-FEAT: fwxAC1PYMuQQAGniHGSNTRiqid4FrOCtr93jchlCzrp0eOTdEEoKOwU5i/2Mh ewrvwUPoI8Lp456fRZwDK0zswZ3nNNJtDDZiwPLoPVt1lG86u6gKNzM7hOC+2P5i13SrjFg 3TfSI1QQfAXF0b/hwB7rkNFbd3XiSHg6oDMMDQ4ekRUVFNIcKYvK8ftJXkgPDcUqEfcDw/o PxNLSRYjs8MdUsx5kVrEazx4kP49cJYmAVs3WyyxhAoi0EAOYVciltafW6+V/JaI= X-QQ-GoodBg: 0 From: Chen Feng To: lee.jones@linaro.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, puck.chen@hisilicon.com, w.f@huawei.com, kong.kongxinwei@hisilicon.com, haojian.zhuang@linaro.org Cc: puck.chen@foxmail.com Subject: [PATCH v7 2/5] regulator: hi655x: Document for hi655x regulator Date: Fri, 29 Jan 2016 23:20:23 +0800 Message-Id: <1454080826-6760-3-git-send-email-puck.chen@foxmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454080826-6760-1-git-send-email-puck.chen@foxmail.com> References: <1454080826-6760-1-git-send-email-puck.chen@foxmail.com> X-QQ-SENDSIZE: 520 X-QQ-FName: DE50C24375BA4E4A87F8DCE8B23E552C X-QQ-LocalIP: 10.130.87.224 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen Feng This patch adds the device tree binding documentation for hi655x PMIC regulator. Signed-off-by: Chen Feng Signed-off-by: Fei Wang Signed-off-by: Xinwei Kong Reviewed-by: Haojian Zhuang --- .../regulator/hisilicon,hi655x-regulator.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt b/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt new file mode 100644 index 0000000..5f72277 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt @@ -0,0 +1,28 @@ +Hisilicon Hi655x Voltage regulators + +Note: +The hi655x regulator control is managed by hi655x Power IC. +So the node of this regulator must be child node of hi655x +PMIC node. + +The driver uses the regulator core framework, so please also +take the bindings of regulator.txt for reference. + +The valid names for regulators are: + +LDO2 LDO7 LDO10 LDO13 LDO14 LDO15 LDO17 LDO19 LDO21 LDO22 + +Example: + pmic: pmic@f8000000 { + compatible = "hisilicon,hi655x-pmic"; + ... + regulators { + ldo2: LDO2@a21 { + regulator-compatible = "LDO2_2V8"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <3200000>; + regulator-enable-ramp-delay = <120>; + }; + ... + } + } -- 1.9.1