From: Chen Feng <puck.chen@foxmail.com>
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 1/5] mfd: hi655x: Add document for mfd hi665x PMIC
Date: Fri, 29 Jan 2016 23:20:22 +0800 [thread overview]
Message-ID: <1454080826-6760-2-git-send-email-puck.chen@foxmail.com> (raw)
In-Reply-To: <1454080826-6760-1-git-send-email-puck.chen@foxmail.com>
From: Chen Feng <puck.chen@hisilicon.com>
DT bindings for hisilicon hi655x MFD PMIC chip.
Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Fei Wang <w.f@huawei.com>
Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org>
---
.../devicetree/bindings/mfd/hisilicon,hi655x.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
new file mode 100644
index 0000000..56d3333
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
@@ -0,0 +1,27 @@
+Hisilicon hi655x Power Management Integrated Circuit (PMIC)
+
+The hardware layout for access PMIC Hi655x from AP SoC Hi6220.
+Between PMIC Hi655x and Hi6220, the physical signal channel is SSI.
+We can use memory-mapped I/O to communicate.
+
++----------------+ +-------------+
+| | | |
+| Hi6220 | SSI bus | Hi655x |
+| |-------------| |
+| |(REGMAP_MMIO)| |
++----------------+ +-------------+
+
+Required properties:
+- compatible: Should be "hisilicon,hi655x-pmic"
+- reg: Base address of PMIC on hi6220 soc
+- interrupt-controller: Hi655x has internal IRQs (has own IRQ domain).
+- pmic-gpios: The gpio used by PMIC irq.
+
+Example:
+ pmic: pmic@f8000000 {
+ compatible = "hisilicon,hi655x-pmic";
+ reg = <0x0 0xf8000000 0x0 0x1000>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+ }
--
1.9.1
next parent reply other threads:[~2016-01-29 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1454080826-6760-1-git-send-email-puck.chen@foxmail.com>
2016-01-29 15:20 ` Chen Feng [this message]
2016-01-29 15:20 ` [PATCH v7 2/5] regulator: hi655x: Document for hi655x regulator Chen Feng
2016-01-29 15:20 ` [PATCH v7 3/5] mfd: hi655x: Add MFD driver for hi655x Chen Feng
2016-01-29 15:20 ` [PATCH v7 4/5] regulator: hi655x: enable regulator for hi655x PMIC Chen Feng
2016-01-29 15:20 ` [PATCH v7 5/5] arm64: dts: hisilicon: Add hi655x pmic dts node Chen Feng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454080826-6760-2-git-send-email-puck.chen@foxmail.com \
--to=puck.chen@foxmail.com \
--cc=broonie@kernel.org \
--cc=haojian.zhuang@linaro.org \
--cc=kong.kongxinwei@hisilicon.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=puck.chen@hisilicon.com \
--cc=w.f@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome