[PATCH v2 1/4] mfd: pm8xxx-spmi: add support for Qualcomm SPMI PMICs
From: Lee Jones <hidden>
Date: 2014-07-22 11:03:52
Also in:
linux-arm-msm, linux-devicetree, lkml
On Thu, 17 Jul 2014, Stanimir Varbanov wrote:
From: Josh Cartwright <redacted> The Qualcomm SPMI PMIC chips are components used with the Snapdragon 800 series SoC family. This driver exists largely as a glue mfd component, it exists to be an owner of an SPMI regmap for children devices described in device tree. Signed-off-by: Stanimir Varbanov <redacted>
Needs to be signed off by the author.
--- drivers/mfd/Kconfig | 16 +++++++++++ drivers/mfd/Makefile | 1 + drivers/mfd/pm8xxx-spmi.c | 63 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/pm8xxx-spmi.c
[...]
quoted hunk ↗ jump to hunk
+++ b/drivers/mfd/pm8xxx-spmi.c@@ -0,0 +1,63 @@ +/* + * Copyright (c) 2014, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */
There should be a '\n' here.
+#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/spmi.h> +#include <linux/regmap.h> +#include <linux/of_platform.h>
[...]
+MODULE_DESCRIPTION("PM8XXX SPMI PMIC driver");
+MODULE_ALIAS("platform:" KBUILD_MODNAME);
+MODULE_AUTHOR("The Linux Foundation");The Linux Foundation did not write this patch.
+MODULE_LICENSE("GPL v2");Appart from that: Acked-by: Lee Jones <redacted> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog