public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Eddie Huang <eddie.huang@mediatek.com>,
	Yingjoe Chen <Yingjoe.Chen@mediatek.com>,
	Henry Chen <henryc.chen@mediatek.com>,
	YH Chen <yh.chen@mediatek.com>,
	kernel@pengutronix.de, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 2/2] mfd: dt-bindings: Add bindings for the MediaTek MT6397 PMIC
Date: Thu, 26 Feb 2015 11:15:39 +0000	[thread overview]
Message-ID: <20150226111539.GB14842@x1> (raw)
In-Reply-To: <1424607330-1829-3-git-send-email-s.hauer@pengutronix.de>

On Sun, 22 Feb 2015, Sascha Hauer wrote:

> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  Documentation/devicetree/bindings/mfd/mt6397.txt | 70 ++++++++++++++++++++++++
>  1 file changed, 70 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/mt6397.txt

Binding looks pretty inert.

Applied, thanks.

> diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt
> new file mode 100644
> index 0000000..15043e6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt
> @@ -0,0 +1,70 @@
> +MediaTek MT6397 Multifunction Device Driver
> +
> +MT6397 is a multifunction device with the following sub modules:
> +- Regulator
> +- RTC
> +- Audio codec
> +- GPIO
> +- Clock
> +
> +It is interfaced to host controller using SPI interface by a proprietary hardware
> +called PMIC wrapper or pwrap. MT6397 MFD is a child device of pwrap.
> +See the following for pwarp node definitions:
> +Documentation/devicetree/bindings/soc/pwrap.txt
> +
> +This document describes the binding for MFD device and its sub module.
> +
> +Required properties:
> +compatible: "mediatek,mt6397"
> +
> +Optional subnodes:
> +
> +- rtc
> +	Required properties:
> +		- compatible: "mediatek,mt6397-rtc"
> +- regulators
> +	Required properties:
> +		- compatible: "mediatek,mt6397-regulator"
> +	see Documentation/devicetree/bindings/regulator/mt6397-regulator.txt
> +- codec
> +	Required properties:
> +		- compatible: "mediatek,mt6397-codec"
> +- clk
> +	Required properties:
> +		- compatible: "mediatek,mt6397-clk"
> +
> +Example:
> +	pwrap: pwrap@1000f000 {
> +		compatible = "mediatek,mt8135-pwrap";
> +
> +		...
> +
> +		pmic {
> +			compatible = "mediatek,mt6397";
> +
> +			codec: mt6397codec {
> +				compatible = "mediatek,mt6397-codec";
> +			};
> +
> +			regulators {
> +				compatible = "mediatek,mt6397-regulator";
> +
> +				mt6397_vpca15_reg: buck_vpca15 {
> +					regulator-compatible = "buck_vpca15";
> +					regulator-name = "vpca15";
> +					regulator-min-microvolt = <850000>;
> +					regulator-max-microvolt = <1400000>;
> +					regulator-ramp-delay = <12500>;
> +					regulator-always-on;
> +				};
> +
> +				mt6397_vgp4_reg: ldo_vgp4 {
> +					regulator-compatible = "ldo_vgp4";
> +					regulator-name = "vgp4";
> +					regulator-min-microvolt = <1200000>;
> +					regulator-max-microvolt = <3300000>;
> +					regulator-enable-ramp-delay = <218>;
> +				};
> +			};
> +		};
> +	};

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

      reply	other threads:[~2015-02-26 11:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22 12:15 [PATCH] MFD: Mediatek MT6397 base support Sascha Hauer
2015-02-22 12:15 ` [PATCH 1/2] mfd: Add support for the MediaTek MT6397 PMIC Sascha Hauer
2015-02-26 11:14   ` Lee Jones
2015-02-22 12:15 ` [PATCH 2/2] mfd: dt-bindings: Add bindings " Sascha Hauer
2015-02-26 11:15   ` Lee Jones [this message]

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=20150226111539.GB14842@x1 \
    --to=lee.jones@linaro.org \
    --cc=Yingjoe.Chen@mediatek.com \
    --cc=eddie.huang@mediatek.com \
    --cc=henryc.chen@mediatek.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=s.hauer@pengutronix.de \
    --cc=yh.chen@mediatek.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