RE: [PATCH 2/2] mfd: add documentation for ACT8945A DT bindings
flat view
From: Yang, Wenyou <hidden>
Date: 2016-01-12 07:43:50
Also in:
lkml
Hi Lee,
-----Original Message----- From: Lee Jones [mailto:lee.jones@linaro.org] Sent: 2016年1月11日 13:49 To: Yang, Wenyou <redacted> Cc: Rob Herring <robh+dt@kernel.org>; Pawel Moll <redacted>; Mark Rutland [off-list ref]; Ian Campbell [off-list ref]; Kumar Gala [off-list ref]; Ferre, Nicolas [off-list ref]; linux-kernel@vger.kernel.org; devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] mfd: add documentation for ACT8945A DT bindings On Fri, 08 Jan 2016, Wenyou Yang wrote:quoted
The Active-semi ACT8945A PMIC is a Multi-Function Device, it has two subdevices: - Regulator - ChargerIs this really an MFD? What special handling does it require?
Yes, this is an MFD, two sub devices: regulators and charger.
quoted
This patch adds documentation for ACT8945A DT bindings. Signed-off-by: Wenyou Yang <redacted> --- Documentation/devicetree/bindings/mfd/act8945a.txt | 16++++++++++++++++quoted
1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/act8945a.txtdiff --git a/Documentation/devicetree/bindings/mfd/act8945a.txtb/Documentation/devicetree/bindings/mfd/act8945a.txt new file mode 100644 index 0000000..406db16--- /dev/null +++ b/Documentation/devicetree/bindings/mfd/act8945a.txt@@ -0,0 +1,16 @@ +Device-Tree bindings for Active-semi ACT8945A MFD driver + +Required properties: + - compatible: "active-semi,act8945a". + - reg: the I2C slave address for the ACT8945A chip + +The chip exposes two subdevices: + - a regulators: see ../regulator/act8945a-regulator.txt + - a charger: see ../power/act8945a-charger.txt + +Example: + mfd: act8945a@5b {"mfd" is too generic to be a label. Why do you need a label in any case?
Remove the mfd, use act8945a@5b.
quoted
+ compatible = "active-semi,act8945a"; + reg = <0x5b>; + status = "okay"; + };This doesn't look much like an MFD to me.
I will add the child nodes for its sub devices, inclusive pmic and charger nodes.
-- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Best Regards,
Wenyou Yang
��칻
�&�~�&���+-��ݶ��w��˛���m�^�'
����{ay�
ʇڙ�,j��f���h�����/oSc��ڳ9�u�����&jw��(�階�ݢj"���m�����z�ޖ���f���h���~�m�