devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mfd: Add Spreadtrum SC27xx PMIC documentation
@ 2017-10-11 12:17 Baolin Wang
       [not found] ` <73965e7fb34d6a96529589cdf48e54e95ed666b8.1507723345.git.baolin.wang-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
  2017-10-13  9:07 ` [PATCH 1/2] dt-bindings: mfd: Add Spreadtrum SC27xx PMIC documentation Lee Jones
  0 siblings, 2 replies; 10+ messages in thread
From: Baolin Wang @ 2017-10-11 12:17 UTC (permalink / raw)
  To: lee.jones, robh+dt, mark.rutland
  Cc: devicetree, linux-kernel, broonie, baolin.wang, baolin.wang

This patch adds the binding documentation for Spreadtrum SC27xx series
PMIC device.

Signed-off-by: Baolin Wang <baolin.wang@spreadtrum.com>
---
 .../devicetree/bindings/mfd/sprd,sc27xx-pmic.txt   |   23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt

diff --git a/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt b/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
new file mode 100644
index 0000000..333c818
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
@@ -0,0 +1,23 @@
+Spreadtrum SC27xx Power Management Integrated Circuit (PMIC)
+
+Required properties:
+- compatible: Should be "sprd,sc2731".
+- reg: SPI chip select.
+- spi-max-frequency: Typically set to 26000000.
+- interrupts: The interrupt line the device is connected to.
+- interrupt-controller: Marks the device node as an interrupt controller.
+- #interrupt-cells: The number of cells to describe an PMIC IRQ, should be 2.
+- #address-cells: Child device offset number of cells, should be 1.
+- #size-cells: Child device size number of cells, should be 0.
+
+Example:
+pmic: pmic@0 {
+	compatible = "sprd,sc2731";
+	reg = <0>;
+	spi-max-frequency = <26000000>;
+	interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
+	interrupt-controller;
+	#interrupt-cells = <2>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-13 13:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 12:17 [PATCH 1/2] dt-bindings: mfd: Add Spreadtrum SC27xx PMIC documentation Baolin Wang
     [not found] ` <73965e7fb34d6a96529589cdf48e54e95ed666b8.1507723345.git.baolin.wang-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-10-11 12:17   ` [PATCH 2/2] mfd: Add Spreadtrum SC27xx series PMICs driver Baolin Wang
2017-10-13  9:26     ` Lee Jones
2017-10-13  9:37       ` Baolin Wang
2017-10-13 10:13         ` Lee Jones
2017-10-13 13:40           ` Baolin Wang
2017-10-13  9:07 ` [PATCH 1/2] dt-bindings: mfd: Add Spreadtrum SC27xx PMIC documentation Lee Jones
2017-10-13  9:28   ` Baolin Wang
2017-10-13  9:55     ` Lee Jones
2017-10-13 13:28       ` Baolin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).