Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1189850 > unrolled thread
| Started by | Henry Chen <henryc.chen@mediatek.com> |
|---|---|
| First post | 2015-07-22 14:10 +0200 |
| Last post | 2015-07-22 14:10 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH v2] regulator: mt6311: Add support for MT6311 regulator Henry Chen <henryc.chen@mediatek.com> - 2015-07-22 14:10 +0200
[PATCH v2 1/2] dt-bindings: regulator: mt6311: Add document for Henry Chen <henryc.chen@mediatek.com> - 2015-07-22 14:10 +0200
| From | Henry Chen <henryc.chen@mediatek.com> |
|---|---|
| Date | 2015-07-22 14:10 +0200 |
| Subject | [PATCH v2] regulator: mt6311: Add support for MT6311 regulator |
| Message-ID | <pP10t-6mP-11@gated-at.bofh.it> |
This patch set adds support for the MediaTek PMIC mt6311 regulator driver , which adds mt6311 related buck/ldo voltage data to the driver, and creates the regulator_desc table. Changes in v2: - Re-ordered the sequence of makefile and Kconfig. - Specifying the regulator DT bindings by providing of_match and regulators_node in the regulator_desc and delete the DT handling code. Henry Chen (2): dt-bindings: regulator: mt6311: Add document for mt6311 regulator regulator: mt6311: Add support for mt6311 regulator .../bindings/regulator/mt6311-regulator.txt | 35 ++++ drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/mt6311-regulator.c | 206 +++++++++++++++++++++ drivers/regulator/mt6311-regulator.h | 65 +++++++ include/linux/regulator/mt6311.h | 29 +++ 6 files changed, 345 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6311-regulator.txt create mode 100644 drivers/regulator/mt6311-regulator.c create mode 100644 drivers/regulator/mt6311-regulator.h create mode 100644 include/linux/regulator/mt6311.h -- 1.8.1.1.dirty -- 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/
[toc] | [next] | [standalone]
| From | Henry Chen <henryc.chen@mediatek.com> |
|---|---|
| Date | 2015-07-22 14:10 +0200 |
| Subject | [PATCH v2 1/2] dt-bindings: regulator: mt6311: Add document for |
| Message-ID | <pP10u-6mP-35@gated-at.bofh.it> |
| In reply to | #1189850 |
This patch adds a list of supported regulator names to the devicetree
binding documentation for Mediatek MT6311 PMIC.
Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
---
.../bindings/regulator/mt6311-regulator.txt | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/mt6311-regulator.txt
diff --git a/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt
new file mode 100644
index 0000000..9387d6d
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt
@@ -0,0 +1,35 @@
+Mediatek MT6311 Regulator Driver
+
+Required properties:
+- compatible: "mediatek,mt6311-regulator"
+- reg: I2C slave address, usually 0x6b.
+- regulators: List of regulators provided by this controller. It is named
+ to VDVFS and VBIASN.
+ The definition for each of these nodes is defined using the standard binding
+ for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
+
+The valid names for regulators are:
+BUCK:
+ VDVFS
+LDO:
+ VBIASN
+
+Example:
+ pmic: mt6311@6B {
+ compatible = "mediatek,mt6311-regulator";
+ reg = <0x6B>;
+
+ regulators {
+ mt6311_vcpu_reg: VDVFS {
+ regulator-name = "VDVFS";
+ regulator-min-microvolt = < 600000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-ramp-delay = <10000>;
+ };
+ mt6311_ldo_reg: VBIASN {
+ regulator-name = "VBIASN";
+ regulator-min-microvolt = <200000>;
+ regulator-max-microvolt = <800000>;
+ };
+ };
+ };
--
1.8.1.1.dirty
--
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/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web