[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120420074015.GD31760@pengutronix.de>
Date: Fri, 20 Apr 2012 09:40:15 +0200
From: Robert Schwebel <r.schwebel@...gutronix.de>
To: "Ying-Chun Liu (PaulLiu)" <paul.liu@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linaro-dev@...ts.linaro.org,
Samuel Ortiz <sameo@...ux.intel.com>, patches@...aro.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Robin Gong <B38343@...escale.com>,
linux-kernel@...r.kernel.org, Shawn Guo <shawn.guo@...aro.org>
Subject: Re: [PATCH 1/2] mfd: Add Freescale's PMIC MC34708 support
On Fri, Apr 20, 2012 at 12:38:40AM +0800, Ying-Chun Liu (PaulLiu) wrote:
> diff --git a/Documentation/devicetree/bindings/mfd/mc34708.txt b/Documentation/devicetree/bindings/mfd/mc34708.txt
> new file mode 100644
> index 0000000..2bb5c9e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/mc34708.txt
> @@ -0,0 +1,61 @@
> +* Freescale MC34708 Power Management Integrated Circuit (PMIC)
> +
> +Required properties:
> +- compatible : Must be "fsl,mc34708"
> +
> +Optional properties:
> +- fsl,mc34708-uses-adc : Indicate the ADC is being used
> +- fsl,mc34708-uses-rtc : Indicate the RTC is being used
> +- fsl,mc34708-uses-ts : Indicate the touchscreen controller is being used
> +
> +Sub-nodes:
> +- regulators : Contain the regulator nodes. The MC34708 regulators are
> + bound using their names as listed below for enabling.
> +
> + mc34708__sw1a : regulator SW1A
> + mc34708__sw1b : regulator SW1B
> + mc34708__sw2 : regulator SW2
> + mc34708__sw3 : regulator SW3
> + mc34708__sw4A : regulator SW4A
> + mc34708__sw4b : regulator SW4B
> + mc34708__swbst : regulator SWBST
> + mc34708__vpll : regulator VPLL
> + mc34708__vrefddr : regulator VREFDDR
> + mc34708__vusb : regulator VUSB
> + mc34708__vusb2 : regulator VUSB2
> + mc34708__vdac : regulator VDAC
> + mc34708__vgen1 : regulator VGEN1
> + mc34708__vgen2 : regulator VGEN2
> +
> + The bindings details of individual regulator device can be found in:
> + Documentation/devicetree/bindings/regulator/regulator.txt
> +
> +Examples:
> +
> +i2c@...c8000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "fsl,imx53-i2c", "fsl,imx1-i2c";
> + reg = <0x63fc8000 0x4000>;
> + interrupts = <62>;
> + status = "okay";
> +
> + pmic: mc34708@8 {
> + compatible = "fsl,mc34708";
> + reg = <0x08>;
> +
> + regulators {
> + mc34708__sw1a {
> + regulator-min-microvolt = <650000>;
> + regulator-max-microvolt = <1437500>;
> + regulator-boot-on;
> + regulator-always-on;
> + };
> +
> + mc34708__vusb {
> + regulator-boot-on;
> + regulator-always-on;
> + };
> + };
> + };
> +};
The oftree parts should be discussed on devicetree-discuss.
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists