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: 36338 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6D9962032B for ; Mon, 1 Sep 2014 08:29:50 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id v10sf16715052qac.8 for ; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=MGEbmsJXKN1KrDBRx5kr8pHmcg/h199nDx3jCmKhZMo=; b=XdmaSAN059o9ALm3BMWXRVOGcYAzuzauo9yVjeKkcZqFmtd6DHqRbTD7wTQNB5kuCI HYGjmBCGZGQ90ON/Ye1ORjR9soRyI5ejyWME7KiXDTHE6xRJ/PKKgwKzd8I7AMqA7YoO XH5RwYMQmGZ/VAwYe8OMhLcWB3mJXFQG3JX7sNhou5We1boef5KiBEzG5v4uNrCr46tR yKwjeTeTHK/TnbmM88XDi7RnYIeZhx7VFiLC0FpodXvbNAuiz2sEOqoFEn6gUE6ptbP5 qA/vsmsCpijwX66r2UzfjgySu3hHvJAyfgK1VnuxNn7LqqO55r0OqfkuMgWYNBSU2VU8 TXHg== X-Gm-Message-State: ALoCoQnM9BsBSGhvkUlKFmKzqGevuwdpVf8+ixIgwYkGuDGRjbRXsxuEUGnZ6E+/WUHJLbzYUUqD X-Received: by 10.236.28.228 with SMTP id g64mr14867710yha.40.1409560190218; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.40 with SMTP id y37ls1894985qgd.2.gmail; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) X-Received: by 10.220.184.70 with SMTP id cj6mr24086474vcb.5.1409560190118; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id yx12si28794vdb.70.2014.09.01.01.29.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Sep 2014 01:29:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so5166987vcb.14 for ; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) X-Received: by 10.220.168.210 with SMTP id v18mr24564516vcy.3.1409560190001; Mon, 01 Sep 2014 01:29:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp353667vcb; Mon, 1 Sep 2014 01:29:49 -0700 (PDT) X-Received: by 10.70.45.41 with SMTP id j9mr37483727pdm.85.1409560188905; Mon, 01 Sep 2014 01:29:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vy2si291078pab.18.2014.09.01.01.29.40 for ; Mon, 01 Sep 2014 01:29:41 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752892AbaIAI32 (ORCPT + 5 others); Mon, 1 Sep 2014 04:29:28 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:45824 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752768AbaIAI32 (ORCPT ); Mon, 1 Sep 2014 04:29:28 -0400 Received: by mail-pd0-f173.google.com with SMTP id p10so5609968pdj.4 for ; Mon, 01 Sep 2014 01:29:27 -0700 (PDT) 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 Cc: Guodong Xu 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> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: guodong.xu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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; + }; + }; + };