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: 35919 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2020420565 for ; Mon, 25 Aug 2014 13:41:22 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id f51sf41606402qge.2 for ; Mon, 25 Aug 2014 06:41:22 -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=0gBnNVeAoxOG+OQQuDrPl6c4CzzmHpfTSubsFdjvsHg=; b=ThMHlMuvrCdLlyPiMjlbo4S3xKG6QyRGNtl44oU9ZbK6j1TquPvMlsdy/1ITmdfAs9 3qZgMjis9xP+KzJTdQVpEavkIvInpDc6V8+Tj1Co3RPqp9cZpWtwiH/EOtcq7b0gXPyl o3a4KiEp/37mk/gvwg2WXBg7rkihtxOQv8S9qS54CAdAvg/wgwkSPYlzT5uBHZJ+6+Dr APNw/4jnqhSZhSVq2L3wYInBOkQ5BxkNrKpPbQuyzL3E5YJwu7XuytTW7EIPkYjVQmbM fg/aJY4oVr5Ius0MBziZ9BiRrMjGRx/SdcIO0zCYmoyUvnAROuwbJAalkdVaaAGpYw+C /vpA== X-Gm-Message-State: ALoCoQnAMbn5Wf49I1ym9C7LD1iysg+3Hzn6anBetxT8LLrNmkMpJ5AIN9Jeg9mBs6esD1ObgfXZ X-Received: by 10.236.112.234 with SMTP id y70mr14395059yhg.32.1408974081996; Mon, 25 Aug 2014 06:41:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.5 with SMTP id u5ls2009635qgd.72.gmail; Mon, 25 Aug 2014 06:41:21 -0700 (PDT) X-Received: by 10.52.243.10 with SMTP id wu10mr5270412vdc.45.1408974081917; Mon, 25 Aug 2014 06:41:21 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id y15si17304846vdg.56.2014.08.25.06.41.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 06:41:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so14875576vcb.26 for ; Mon, 25 Aug 2014 06:41:21 -0700 (PDT) X-Received: by 10.52.94.108 with SMTP id db12mr15623862vdb.8.1408974081829; Mon, 25 Aug 2014 06:41:21 -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 uj3csp118187vcb; Mon, 25 Aug 2014 06:41:21 -0700 (PDT) X-Received: by 10.70.88.140 with SMTP id bg12mr1266924pdb.106.1408974080402; Mon, 25 Aug 2014 06:41:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go10si53392350pbd.184.2014.08.25.06.41.19 for ; Mon, 25 Aug 2014 06:41:20 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932591AbaHYNlR (ORCPT + 26 others); Mon, 25 Aug 2014 09:41:17 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:35403 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932262AbaHYNlN (ORCPT ); Mon, 25 Aug 2014 09:41:13 -0400 Received: by mail-pd0-f177.google.com with SMTP id p10so20118389pdj.22 for ; Mon, 25 Aug 2014 06:41:12 -0700 (PDT) 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 Cc: Guodong Xu 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.181 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; + }; + }; + };