Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932692AbbBDE5S (ORCPT ); Tue, 3 Feb 2015 23:57:18 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:50205 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754353AbbBDE4Z (ORCPT ); Tue, 3 Feb 2015 23:56:25 -0500 X-AuditID: cbfee68d-f79296d000004278-13-54d1a6717f6c From: Jaewon Kim To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Cc: Inki Dae , SangBae Lee , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Lee Jones , Chanwoo Choi , Sebastian Reichel , Mark Brown , Beomho Seo , Jaewon Kim Subject: [PATCH v3 6/6] Documentation: Add device tree bindings document for max77843 Date: Wed, 04 Feb 2015 13:56:11 +0900 Message-id: <1423025771-4139-7-git-send-email-jaewon02.kim@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1423025771-4139-1-git-send-email-jaewon02.kim@samsung.com> References: <1423025771-4139-1-git-send-email-jaewon02.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsWyRsSkULdw2cUQg6uPdS1Of9rGbjH14RM2 i+tfnrNazD9yjtWi/81CVotzr1YyWky6P4HFYkfDEVaL+1+PMlpc3jWHzeJz7xFGi6XXLzJZ TJi+lsWide8Rdovjnw6yWJzeXeIg4LFm3hpGj8t9vUweK5d/YfPYtKqTzePOtT1sHn1bVjF6 fN4kF8AexWWTkpqTWZZapG+XwJUx885BxoJeuYpVH48xNzAelehi5OSQEDCR2PSshwXCFpO4 cG89WxcjF4eQwFJGidk9d5lhir7NPMECkZjOKLHx7nVWCKeNSWJq528mkCo2AW2J7+sXs4LY IgIREs8/rgTrZhZ4wyzxeGV0FyMHh7BAuMSs+w4gYRYBVYnTJ9aBlfAKuEvM3/qPBaREQkBB Ys4k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0OMAhyMSjy8AvkXQ4RYE8uKK3MPMUpwMCuJ8C6eBxTiTUms rEotyo8vKs1JLT7EaAp01ERmKdHkfGAqySuJNzQ2MTOyNDI3tDAyNlcS51WybwsREkhPLEnN Tk0tSC2C6WPi4JRqYNxws/gDV8E/q4My4XKWk1dUz6jbfWXp+Vt+8qJqVXuTb3n+unVQk6kw 8kpTwJv7VZxRjQbSh7689JeruNn/8o7sRt2DfNxsyrf8M667fU4Ozna3qj6Q5BjfbBlz8s/s P9M3TLNzTNQ56fJ3pZBo3RytDRuCrwqFTJFjenbng2de9xNL9Yif7UosxRmJhlrMRcWJALwQ HcbtAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3980 Lines: 123 Add document describing device tree bindings for max77843 MFD. Drivers: MFD core, regulator, extcon, charger and fuelgauge. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Lee Jones Cc: Chanwoo Choi Cc: Sebastian Reichel Cc: Mark Brown Signed-off-by: Jaewon Kim Signed-off-by: Beomho Seo --- Documentation/devicetree/bindings/mfd/max77843.txt | 90 ++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/max77843.txt diff --git a/Documentation/devicetree/bindings/mfd/max77843.txt b/Documentation/devicetree/bindings/mfd/max77843.txt new file mode 100644 index 0000000..4341ab9 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/max77843.txt @@ -0,0 +1,90 @@ +Maxim MAX77843 multi-function device + +MAX77843 is a Multi-Function Device with the following submodules: +- PMIC : 2 SAFEOUT LDOs for USB device +- CHARGER : Li+ battery charger with Fuel Gauge +- MUIC : Micro USB Interface Controller + +It is interfaced to host controller using I2C. + +Required properties: +- compatible : Must be "maxim,max77843". +- reg : I2C slave address of PMIC block. +- interrupts : I2C line for main SoCs. +- interrupt-parent : The parent of interrupt controller. + +Optional properties: +- regulators : The regulators of max77843 have to be instantiated under subnode + named "regulators" using the following format. + + [*]refer : Documentation/devicetree/bindings/regulator/regulator.txt + + regulators { + SAFEOUT { + regulator-name = "SAFEOUT"; + }; + } + + List of valid regulator names: + - SAFEOUT1, SAFEOUT2, CHARGER. + +- max77843-muic : This properties used by extcon consumers. + Required properties: + - compatible : Must be "maxim,max77842-muic". + +- max77843-charger : There battery charger of MAX77843 have to be instantiated + under sub-node named "max77843-charger" using the following format. + Required properties: + - compatible : Must be "maxim,max77842-charger". + - maxim,fast-charge-uamp : Fast charge current levels are + 100 mA to 3150 mA programmed by I2C per 100 mA. + - maxim,top-off-uamp : Top off current threshold levels are + 125 mA to 650 mA programmed by I2C per 75 mA. + - maxim,input-uamp-limit : Input current limit levels are + 100 mA to 3533 mA programmed by I2C per 33 mA. +- max77843-fuelgauge : There fuelgauge of MAX77843 have to be instantiated + under sub-node named "max77843-fuelgauge" using the following format. + Required properties: + - compatible : Must be "maxim,max77842-fuelgauge". + +Example: + max77843@66 { + compatible = "samsung,max77843"; + reg = <0x66>; + interrupt-parent = <&gpa1>; + interrupts = <5 2>; + + regulators { + SAFEOUT1 { + regulator-name = "SAFEOUT1"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <4950000>; + }; + SAFEOUT2 { + regulator-name = "SAFEOUT2"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <4950000>; + }; + CHARGER { + regulator-name = "CHARGER"; + regulator-min-microamp = <100000>; + regulator-max-microamp = <3150000>; + }; + }; + + max77843-muic { + compatible = "maxim,max77843-muic"; + }; + + max77843-charger { + compatible = "maxim,max77843-charger"; + maxim,fast-charge-uamp = <450000>; + maxim,top-off-uamp = <125000>; + maxim,input-uamp-limit = <500000>; + }; + + max77843-fuelgauge { + compatible = "maxim,max77843-fuelgauge"; + }; + + }; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/