From patchwork Mon Aug 25 13:39:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 4775141 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1867AC0338 for ; Mon, 25 Aug 2014 13:43:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2330A2012D for ; Mon, 25 Aug 2014 13:43:13 +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 0CB0A20131 for ; Mon, 25 Aug 2014 13:43:12 +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 1XLuWd-0003aY-BM; Mon, 25 Aug 2014 13:41:35 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XLuWb-00034o-Fd for linux-arm-kernel@lists.infradead.org; Mon, 25 Aug 2014 13:41:33 +0000 Received: by mail-pd0-f171.google.com with SMTP id z10so20270785pdj.16 for ; Mon, 25 Aug 2014 06:41:12 -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=EDwmep+NMmgfH301QJAPehG8AWfL9kx8thUTKNwlbrA6hXlizvSoz3P8uiL0mZWlsR Yqe8gFrh9WkhbsNafV+Xj22vk7mOD7PSpyP1X+0vmcsy7hLoMhLv6vQKlH4d5LUF9e+x ETrtFZWTDqNu8F1edUILSov3aguS//JwgG1b8MqaZfgWP6C8kHiv/G1HHT311Cz0n4nS LkceUMedkBuH8AUfqqMrgsYFsg5H8G8lo72MOObCGsVkjc/VnYLk4zC2cJzN43v5PTND liKybCnAllFn+CFtJOr2OTEBkOzQHiao92VHlD1VXO1YGSrX+v+v2EVro0uZoXmbHVYn 1T8A== X-Gm-Message-State: ALoCoQnJljQ6w4keH4IlizR5PeTcMZsGg1oC1GyxeFTGBi7DSZZxjdl8meB+BR8wod/xGUZV8X9I X-Received: by 10.66.183.81 with SMTP id ek17mr28706027pac.39.1408974072615; Mon, 25 Aug 2014 06:41:12 -0700 (PDT) Received: from localhost.localdomain ([111.204.254.41]) by mx.google.com with ESMTPSA id j7sm57540025pdk.1.2014.08.25.06.41.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 06:41:11 -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 1/3] Documentation: mfd: add docs for hi6421 dt Date: Mon, 25 Aug 2014 21:39:40 +0800 Message-Id: <1408973982-2072-2-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408973982-2072-1-git-send-email-guodong.xu@linaro.org> References: <1408973982-2072-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140825_064133_543526_7C0A5BF9 X-CRM114-Status: GOOD ( 10.35 ) 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=-1.9 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; + }; + }; + };