From patchwork Fri Jan 29 15:20:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Feng X-Patchwork-Id: 60796 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1181398lbb; Fri, 29 Jan 2016 07:21:09 -0800 (PST) X-Received: by 10.98.32.25 with SMTP id g25mr14296001pfg.20.1454080869154; Fri, 29 Jan 2016 07:21:09 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lp4si3066747pab.205.2016.01.29.07.21.08; Fri, 29 Jan 2016 07:21:09 -0800 (PST) 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; 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; dkim=pass header.i=@foxmail.com; dmarc=pass (p=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756354AbcA2PVH (ORCPT + 30 others); 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1454080856; bh=XKmKyE7PpxPadMkwyGdbyCLzABMUcls1S5VQocXiR00=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=GKPc+Y5ZedELHYNEiAIzevamqt3k26Kd4tFG+PD8Eto8MtoFcNSNaZi6VSnwjK2OM RtF1TXhLSIIW1rXr+796ZJ4/YmW5qPVvakDPNaL+LmrbHUum8Cy6ATEGhs//afJwr8 fzrc3yPJaj8hIwh/HjB/44j9MGJrDvqfy76Br5zI= X-QQ-mid: esmtp23t1454080852t491t11634 Received: from localhost.localdomain (unknown [14.154.190.161]) by esmtp4.qq.com (ESMTP) with id ; Fri, 29 Jan 2016 23:20:52 +0800 (CST) 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 Precedence: bulk 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 -- 1.9.1 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>; + }; + ... + } + }