From patchwork Mon Sep 1 08:28:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 4817691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38F0B9F314 for ; Mon, 1 Sep 2014 08:33:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C2472015E for ; Mon, 1 Sep 2014 08:33:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CAC720148 for ; Mon, 1 Sep 2014 08:33:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOMzo-0002x7-Ag; Mon, 01 Sep 2014 08:29:52 +0000 Received: from mail-pa0-f46.google.com ([209.85.220.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOMzm-0002mg-7J for linux-arm-kernel@lists.infradead.org; Mon, 01 Sep 2014 08:29:50 +0000 Received: by mail-pa0-f46.google.com with SMTP id eu11so11631001pac.5 for ; Mon, 01 Sep 2014 01:29:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zQbgOLjHmhL7ccs7wv7b1koTBlXKZ/2/c80sGwZQH6k=; b=lkATl9caPTO+Qi+aP9tkbcauNpBJ9aljqZOMWSCn6n1arEbFpsmmuNuJJ5J1v3EZMP BjCGoaLMcCHvCz/se8GPgPC6nwxyl8eUWToqnczQKrdj5ABbgyTGbwOrrk6GvobeoMCX VyUXG8VDhc/T35TRSEK0skwWTmJEf4io9zEFrShzGhMDCIvC9SlcDbLhwIjRyVnHimwD 3s2GXFj6t4K/5aNDE5p1ZcMC8A2wRqBcm03ci2WTKzCakvxjj724ix/miBK9G6i/9N8E bDgygRg+uixpHqXUTScAAfUz9HXq4SUdspXIEMYTj5LEmXj7741TJt6iWtcMb0kRmBSx nQxw== X-Gm-Message-State: ALoCoQn+GNvaQkklfY7moVwVpYZcus4qoUEtVrt49IkSMGQV273DfRC4NMAKWRQxrmd4gGF2KZua X-Received: by 10.66.145.103 with SMTP id st7mr25523842pab.43.1409560166713; Mon, 01 Sep 2014 01:29:26 -0700 (PDT) Received: from localhost.localdomain ([180.150.148.224]) by mx.google.com with ESMTPSA id u13sm240073pdj.34.2014.09.01.01.29.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Sep 2014 01:29:25 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, sameo@linux.intel.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, grant.likely@linaro.org, khilman@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zhangnian@huawei.com Subject: [PATCH v8 1/3] Documentation: mfd: add docs for hi6421 dt Date: Mon, 1 Sep 2014 16:28:33 +0800 Message-Id: <1409560115-30646-2-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409560115-30646-1-git-send-email-guodong.xu@linaro.org> References: <1409560115-30646-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140901_012950_285662_0F8021C8 X-CRM114-Status: GOOD ( 10.20 ) X-Spam-Score: -0.7 (/) Cc: Guodong Xu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for HiSilicon Hi6421 PMIC dt binding. Signed-off-by: Guodong Xu --- Documentation/devicetree/bindings/mfd/hi6421.txt | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi6421.txt diff --git a/Documentation/devicetree/bindings/mfd/hi6421.txt b/Documentation/devicetree/bindings/mfd/hi6421.txt new file mode 100644 index 0000000..0d5a446 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/hi6421.txt @@ -0,0 +1,38 @@ +* HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd. + +Required parent device properties: +- compatible : contains "hisilicon,hi6421-pmic"; +- reg : register range space of hi6421; + +Supported Hi6421 sub-devices include: + +Device IRQ Names Supply Names Description +------ --------- ------------ ----------- +regulators : None : None : Regulators + +Required child device properties: +None. + +Example: + hi6421 { + compatible = "hisilicon,hi6421-pmic"; + reg = <0xfcc00000 0x0180>; /* 0x60 << 2 */ + + regulators { + // supply for MLC NAND/ eMMC + hi6421_vout0_reg: hi6421_vout0 { + regulator-name = "VOUT0"; + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + // supply for 26M Oscillator + hi6421_vout1_reg: hi6421_vout1 { + regulator-name = "VOUT1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <2000000>; + regulator-boot-on; + regulator-always-on; + }; + }; + };