linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Anders Roxell <anders.roxell@linaro.org>,
	Mark Brown <broonie@kernel.org>
Subject: [PATCH 5.2 001/215] regulator: 88pm800: fix warning same module names
Date: Mon, 29 Jul 2019 21:19:57 +0200	[thread overview]
Message-ID: <20190729190740.157816607@linuxfoundation.org> (raw)
In-Reply-To: <20190729190739.971253303@linuxfoundation.org>

From: Anders Roxell <anders.roxell@linaro.org>

commit 6f10419187d0d5fe395e2a2f2a64370961bf02a3 upstream.

When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800
enabled as loadable modules, we see the following warning:

warning: same module names found:
  drivers/regulator/88pm800.ko
  drivers/mfd/88pm800.ko

Rework so that the file is named 88pm800-regulator.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/regulator/88pm800-regulator.c |  286 ++++++++++++++++++++++++++++++++++
 drivers/regulator/88pm800.c           |  286 ----------------------------------
 drivers/regulator/Makefile            |    2 
 3 files changed, 287 insertions(+), 287 deletions(-)

--- /dev/null
+++ b/drivers/regulator/88pm800-regulator.c
@@ -0,0 +1,286 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Regulators driver for Marvell 88PM800
+ *
+ * Copyright (C) 2012 Marvell International Ltd.
+ * Joseph(Yossi) Hanin <yhanin@marvell.com>
+ * Yi Zhang <yizhang@marvell.com>
+ */
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/init.h>
+#include <linux/err.h>
+#include <linux/regmap.h>
+#include <linux/regulator/driver.h>
+#include <linux/regulator/machine.h>
+#include <linux/mfd/88pm80x.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+#include <linux/of.h>
+#include <linux/regulator/of_regulator.h>
+
+/* LDO1 with DVC[0..3] */
+#define PM800_LDO1_VOUT		(0x08) /* VOUT1 */
+#define PM800_LDO1_VOUT_2	(0x09)
+#define PM800_LDO1_VOUT_3	(0x0A)
+#define PM800_LDO2_VOUT		(0x0B)
+#define PM800_LDO3_VOUT		(0x0C)
+#define PM800_LDO4_VOUT		(0x0D)
+#define PM800_LDO5_VOUT		(0x0E)
+#define PM800_LDO6_VOUT		(0x0F)
+#define PM800_LDO7_VOUT		(0x10)
+#define PM800_LDO8_VOUT		(0x11)
+#define PM800_LDO9_VOUT		(0x12)
+#define PM800_LDO10_VOUT	(0x13)
+#define PM800_LDO11_VOUT	(0x14)
+#define PM800_LDO12_VOUT	(0x15)
+#define PM800_LDO13_VOUT	(0x16)
+#define PM800_LDO14_VOUT	(0x17)
+#define PM800_LDO15_VOUT	(0x18)
+#define PM800_LDO16_VOUT	(0x19)
+#define PM800_LDO17_VOUT	(0x1A)
+#define PM800_LDO18_VOUT	(0x1B)
+#define PM800_LDO19_VOUT	(0x1C)
+
+/* BUCK1 with DVC[0..3] */
+#define PM800_BUCK1		(0x3C)
+#define PM800_BUCK1_1		(0x3D)
+#define PM800_BUCK1_2		(0x3E)
+#define PM800_BUCK1_3		(0x3F)
+#define PM800_BUCK2		(0x40)
+#define PM800_BUCK3		(0x41)
+#define PM800_BUCK4		(0x42)
+#define PM800_BUCK4_1		(0x43)
+#define PM800_BUCK4_2		(0x44)
+#define PM800_BUCK4_3		(0x45)
+#define PM800_BUCK5		(0x46)
+
+#define PM800_BUCK_ENA		(0x50)
+#define PM800_LDO_ENA1_1	(0x51)
+#define PM800_LDO_ENA1_2	(0x52)
+#define PM800_LDO_ENA1_3	(0x53)
+
+#define PM800_LDO_ENA2_1	(0x56)
+#define PM800_LDO_ENA2_2	(0x57)
+#define PM800_LDO_ENA2_3	(0x58)
+
+#define PM800_BUCK1_MISC1	(0x78)
+#define PM800_BUCK3_MISC1	(0x7E)
+#define PM800_BUCK4_MISC1	(0x81)
+#define PM800_BUCK5_MISC1	(0x84)
+
+struct pm800_regulator_info {
+	struct regulator_desc desc;
+	int max_ua;
+};
+
+/*
+ * vreg - the buck regs string.
+ * ereg - the string for the enable register.
+ * ebit - the bit number in the enable register.
+ * amax - the current
+ * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges,
+ * not the constant voltage table.
+ * n_volt - Number of available selectors
+ */
+#define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt)	\
+{									\
+	.desc	= {							\
+		.name			= #vreg,			\
+		.of_match		= of_match_ptr(#match),		\
+		.regulators_node	= of_match_ptr("regulators"),	\
+		.ops			= &pm800_volt_range_ops,	\
+		.type			= REGULATOR_VOLTAGE,		\
+		.id			= PM800_ID_##vreg,		\
+		.owner			= THIS_MODULE,			\
+		.n_voltages		= n_volt,			\
+		.linear_ranges		= volt_ranges,			\
+		.n_linear_ranges	= ARRAY_SIZE(volt_ranges),	\
+		.vsel_reg		= PM800_##vreg,			\
+		.vsel_mask		= 0x7f,				\
+		.enable_reg		= PM800_##ereg,			\
+		.enable_mask		= 1 << (ebit),			\
+	},								\
+	.max_ua	= (amax),						\
+}
+
+/*
+ * vreg - the LDO regs string
+ * ereg -  the string for the enable register.
+ * ebit - the bit number in the enable register.
+ * amax - the current
+ * volt_table - the LDO voltage table
+ * For all the LDOes, there are too many ranges. Using volt_table will be
+ * simpler and faster.
+ */
+#define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table)	\
+{									\
+	.desc	= {							\
+		.name			= #vreg,			\
+		.of_match		= of_match_ptr(#match),		\
+		.regulators_node	= of_match_ptr("regulators"),	\
+		.ops			= &pm800_volt_table_ops,	\
+		.type			= REGULATOR_VOLTAGE,		\
+		.id			= PM800_ID_##vreg,		\
+		.owner			= THIS_MODULE,			\
+		.n_voltages		= ARRAY_SIZE(ldo_volt_table),	\
+		.vsel_reg		= PM800_##vreg##_VOUT,		\
+		.vsel_mask		= 0xf,				\
+		.enable_reg		= PM800_##ereg,			\
+		.enable_mask		= 1 << (ebit),			\
+		.volt_table		= ldo_volt_table,		\
+	},								\
+	.max_ua	= (amax),						\
+}
+
+/* Ranges are sorted in ascending order. */
+static const struct regulator_linear_range buck1_volt_range[] = {
+	REGULATOR_LINEAR_RANGE(600000, 0, 0x4f, 12500),
+	REGULATOR_LINEAR_RANGE(1600000, 0x50, 0x54, 50000),
+};
+
+/* BUCK 2~5 have same ranges. */
+static const struct regulator_linear_range buck2_5_volt_range[] = {
+	REGULATOR_LINEAR_RANGE(600000, 0, 0x4f, 12500),
+	REGULATOR_LINEAR_RANGE(1600000, 0x50, 0x72, 50000),
+};
+
+static const unsigned int ldo1_volt_table[] = {
+	600000,  650000,  700000,  750000,  800000,  850000,  900000,  950000,
+	1000000, 1050000, 1100000, 1150000, 1200000, 1300000, 1400000, 1500000,
+};
+
+static const unsigned int ldo2_volt_table[] = {
+	1700000, 1800000, 1900000, 2000000, 2100000, 2500000, 2700000, 2800000,
+};
+
+/* LDO 3~17 have same voltage table. */
+static const unsigned int ldo3_17_volt_table[] = {
+	1200000, 1250000, 1700000, 1800000, 1850000, 1900000, 2500000, 2600000,
+	2700000, 2750000, 2800000, 2850000, 2900000, 3000000, 3100000, 3300000,
+};
+
+/* LDO 18~19 have same voltage table. */
+static const unsigned int ldo18_19_volt_table[] = {
+	1700000, 1800000, 1900000, 2500000, 2800000, 2900000, 3100000, 3300000,
+};
+
+static int pm800_get_current_limit(struct regulator_dev *rdev)
+{
+	struct pm800_regulator_info *info = rdev_get_drvdata(rdev);
+
+	return info->max_ua;
+}
+
+static const struct regulator_ops pm800_volt_range_ops = {
+	.list_voltage		= regulator_list_voltage_linear_range,
+	.map_voltage		= regulator_map_voltage_linear_range,
+	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
+	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
+	.enable			= regulator_enable_regmap,
+	.disable		= regulator_disable_regmap,
+	.is_enabled		= regulator_is_enabled_regmap,
+	.get_current_limit	= pm800_get_current_limit,
+};
+
+static const struct regulator_ops pm800_volt_table_ops = {
+	.list_voltage		= regulator_list_voltage_table,
+	.map_voltage		= regulator_map_voltage_iterate,
+	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
+	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
+	.enable			= regulator_enable_regmap,
+	.disable		= regulator_disable_regmap,
+	.is_enabled		= regulator_is_enabled_regmap,
+	.get_current_limit	= pm800_get_current_limit,
+};
+
+/* The array is indexed by id(PM800_ID_XXX) */
+static struct pm800_regulator_info pm800_regulator_info[] = {
+	PM800_BUCK(buck1, BUCK1, BUCK_ENA, 0, 3000000, buck1_volt_range, 0x55),
+	PM800_BUCK(buck2, BUCK2, BUCK_ENA, 1, 1200000, buck2_5_volt_range, 0x73),
+	PM800_BUCK(buck3, BUCK3, BUCK_ENA, 2, 1200000, buck2_5_volt_range, 0x73),
+	PM800_BUCK(buck4, BUCK4, BUCK_ENA, 3, 1200000, buck2_5_volt_range, 0x73),
+	PM800_BUCK(buck5, BUCK5, BUCK_ENA, 4, 1200000, buck2_5_volt_range, 0x73),
+
+	PM800_LDO(ldo1, LDO1, LDO_ENA1_1, 0, 200000, ldo1_volt_table),
+	PM800_LDO(ldo2, LDO2, LDO_ENA1_1, 1, 10000, ldo2_volt_table),
+	PM800_LDO(ldo3, LDO3, LDO_ENA1_1, 2, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo4, LDO4, LDO_ENA1_1, 3, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo5, LDO5, LDO_ENA1_1, 4, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo6, LDO6, LDO_ENA1_1, 5, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo7, LDO7, LDO_ENA1_1, 6, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo8, LDO8, LDO_ENA1_1, 7, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo9, LDO9, LDO_ENA1_2, 0, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo10, LDO10, LDO_ENA1_2, 1, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo11, LDO11, LDO_ENA1_2, 2, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo12, LDO12, LDO_ENA1_2, 3, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo13, LDO13, LDO_ENA1_2, 4, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo14, LDO14, LDO_ENA1_2, 5, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo15, LDO15, LDO_ENA1_2, 6, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo16, LDO16, LDO_ENA1_2, 7, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo17, LDO17, LDO_ENA1_3, 0, 300000, ldo3_17_volt_table),
+	PM800_LDO(ldo18, LDO18, LDO_ENA1_3, 1, 200000, ldo18_19_volt_table),
+	PM800_LDO(ldo19, LDO19, LDO_ENA1_3, 2, 200000, ldo18_19_volt_table),
+};
+
+static int pm800_regulator_probe(struct platform_device *pdev)
+{
+	struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent);
+	struct pm80x_platform_data *pdata = dev_get_platdata(pdev->dev.parent);
+	struct regulator_config config = { };
+	struct regulator_init_data *init_data;
+	int i, ret;
+
+	if (pdata && pdata->num_regulators) {
+		unsigned int count = 0;
+
+		/* Check whether num_regulator is valid. */
+		for (i = 0; i < ARRAY_SIZE(pdata->regulators); i++) {
+			if (pdata->regulators[i])
+				count++;
+		}
+		if (count != pdata->num_regulators)
+			return -EINVAL;
+	}
+
+	config.dev = chip->dev;
+	config.regmap = chip->subchip->regmap_power;
+	for (i = 0; i < PM800_ID_RG_MAX; i++) {
+		struct regulator_dev *regulator;
+
+		if (pdata && pdata->num_regulators) {
+			init_data = pdata->regulators[i];
+			if (!init_data)
+				continue;
+
+			config.init_data = init_data;
+		}
+
+		config.driver_data = &pm800_regulator_info[i];
+
+		regulator = devm_regulator_register(&pdev->dev,
+				&pm800_regulator_info[i].desc, &config);
+		if (IS_ERR(regulator)) {
+			ret = PTR_ERR(regulator);
+			dev_err(&pdev->dev, "Failed to register %s\n",
+					pm800_regulator_info[i].desc.name);
+			return ret;
+		}
+	}
+
+	return 0;
+}
+
+static struct platform_driver pm800_regulator_driver = {
+	.driver		= {
+		.name	= "88pm80x-regulator",
+	},
+	.probe		= pm800_regulator_probe,
+};
+
+module_platform_driver(pm800_regulator_driver);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Joseph(Yossi) Hanin <yhanin@marvell.com>");
+MODULE_DESCRIPTION("Regulator Driver for Marvell 88PM800 PMIC");
+MODULE_ALIAS("platform:88pm800-regulator");
--- a/drivers/regulator/88pm800.c
+++ /dev/null
@@ -1,286 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Regulators driver for Marvell 88PM800
- *
- * Copyright (C) 2012 Marvell International Ltd.
- * Joseph(Yossi) Hanin <yhanin@marvell.com>
- * Yi Zhang <yizhang@marvell.com>
- */
-#include <linux/module.h>
-#include <linux/moduleparam.h>
-#include <linux/init.h>
-#include <linux/err.h>
-#include <linux/regmap.h>
-#include <linux/regulator/driver.h>
-#include <linux/regulator/machine.h>
-#include <linux/mfd/88pm80x.h>
-#include <linux/delay.h>
-#include <linux/io.h>
-#include <linux/of.h>
-#include <linux/regulator/of_regulator.h>
-
-/* LDO1 with DVC[0..3] */
-#define PM800_LDO1_VOUT		(0x08) /* VOUT1 */
-#define PM800_LDO1_VOUT_2	(0x09)
-#define PM800_LDO1_VOUT_3	(0x0A)
-#define PM800_LDO2_VOUT		(0x0B)
-#define PM800_LDO3_VOUT		(0x0C)
-#define PM800_LDO4_VOUT		(0x0D)
-#define PM800_LDO5_VOUT		(0x0E)
-#define PM800_LDO6_VOUT		(0x0F)
-#define PM800_LDO7_VOUT		(0x10)
-#define PM800_LDO8_VOUT		(0x11)
-#define PM800_LDO9_VOUT		(0x12)
-#define PM800_LDO10_VOUT	(0x13)
-#define PM800_LDO11_VOUT	(0x14)
-#define PM800_LDO12_VOUT	(0x15)
-#define PM800_LDO13_VOUT	(0x16)
-#define PM800_LDO14_VOUT	(0x17)
-#define PM800_LDO15_VOUT	(0x18)
-#define PM800_LDO16_VOUT	(0x19)
-#define PM800_LDO17_VOUT	(0x1A)
-#define PM800_LDO18_VOUT	(0x1B)
-#define PM800_LDO19_VOUT	(0x1C)
-
-/* BUCK1 with DVC[0..3] */
-#define PM800_BUCK1		(0x3C)
-#define PM800_BUCK1_1		(0x3D)
-#define PM800_BUCK1_2		(0x3E)
-#define PM800_BUCK1_3		(0x3F)
-#define PM800_BUCK2		(0x40)
-#define PM800_BUCK3		(0x41)
-#define PM800_BUCK4		(0x42)
-#define PM800_BUCK4_1		(0x43)
-#define PM800_BUCK4_2		(0x44)
-#define PM800_BUCK4_3		(0x45)
-#define PM800_BUCK5		(0x46)
-
-#define PM800_BUCK_ENA		(0x50)
-#define PM800_LDO_ENA1_1	(0x51)
-#define PM800_LDO_ENA1_2	(0x52)
-#define PM800_LDO_ENA1_3	(0x53)
-
-#define PM800_LDO_ENA2_1	(0x56)
-#define PM800_LDO_ENA2_2	(0x57)
-#define PM800_LDO_ENA2_3	(0x58)
-
-#define PM800_BUCK1_MISC1	(0x78)
-#define PM800_BUCK3_MISC1	(0x7E)
-#define PM800_BUCK4_MISC1	(0x81)
-#define PM800_BUCK5_MISC1	(0x84)
-
-struct pm800_regulator_info {
-	struct regulator_desc desc;
-	int max_ua;
-};
-
-/*
- * vreg - the buck regs string.
- * ereg - the string for the enable register.
- * ebit - the bit number in the enable register.
- * amax - the current
- * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges,
- * not the constant voltage table.
- * n_volt - Number of available selectors
- */
-#define PM800_BUCK(match, vreg, ereg, ebit, amax, volt_ranges, n_volt)	\
-{									\
-	.desc	= {							\
-		.name			= #vreg,			\
-		.of_match		= of_match_ptr(#match),		\
-		.regulators_node	= of_match_ptr("regulators"),	\
-		.ops			= &pm800_volt_range_ops,	\
-		.type			= REGULATOR_VOLTAGE,		\
-		.id			= PM800_ID_##vreg,		\
-		.owner			= THIS_MODULE,			\
-		.n_voltages		= n_volt,			\
-		.linear_ranges		= volt_ranges,			\
-		.n_linear_ranges	= ARRAY_SIZE(volt_ranges),	\
-		.vsel_reg		= PM800_##vreg,			\
-		.vsel_mask		= 0x7f,				\
-		.enable_reg		= PM800_##ereg,			\
-		.enable_mask		= 1 << (ebit),			\
-	},								\
-	.max_ua	= (amax),						\
-}
-
-/*
- * vreg - the LDO regs string
- * ereg -  the string for the enable register.
- * ebit - the bit number in the enable register.
- * amax - the current
- * volt_table - the LDO voltage table
- * For all the LDOes, there are too many ranges. Using volt_table will be
- * simpler and faster.
- */
-#define PM800_LDO(match, vreg, ereg, ebit, amax, ldo_volt_table)	\
-{									\
-	.desc	= {							\
-		.name			= #vreg,			\
-		.of_match		= of_match_ptr(#match),		\
-		.regulators_node	= of_match_ptr("regulators"),	\
-		.ops			= &pm800_volt_table_ops,	\
-		.type			= REGULATOR_VOLTAGE,		\
-		.id			= PM800_ID_##vreg,		\
-		.owner			= THIS_MODULE,			\
-		.n_voltages		= ARRAY_SIZE(ldo_volt_table),	\
-		.vsel_reg		= PM800_##vreg##_VOUT,		\
-		.vsel_mask		= 0xf,				\
-		.enable_reg		= PM800_##ereg,			\
-		.enable_mask		= 1 << (ebit),			\
-		.volt_table		= ldo_volt_table,		\
-	},								\
-	.max_ua	= (amax),						\
-}
-
-/* Ranges are sorted in ascending order. */
-static const struct regulator_linear_range buck1_volt_range[] = {
-	REGULATOR_LINEAR_RANGE(600000, 0, 0x4f, 12500),
-	REGULATOR_LINEAR_RANGE(1600000, 0x50, 0x54, 50000),
-};
-
-/* BUCK 2~5 have same ranges. */
-static const struct regulator_linear_range buck2_5_volt_range[] = {
-	REGULATOR_LINEAR_RANGE(600000, 0, 0x4f, 12500),
-	REGULATOR_LINEAR_RANGE(1600000, 0x50, 0x72, 50000),
-};
-
-static const unsigned int ldo1_volt_table[] = {
-	600000,  650000,  700000,  750000,  800000,  850000,  900000,  950000,
-	1000000, 1050000, 1100000, 1150000, 1200000, 1300000, 1400000, 1500000,
-};
-
-static const unsigned int ldo2_volt_table[] = {
-	1700000, 1800000, 1900000, 2000000, 2100000, 2500000, 2700000, 2800000,
-};
-
-/* LDO 3~17 have same voltage table. */
-static const unsigned int ldo3_17_volt_table[] = {
-	1200000, 1250000, 1700000, 1800000, 1850000, 1900000, 2500000, 2600000,
-	2700000, 2750000, 2800000, 2850000, 2900000, 3000000, 3100000, 3300000,
-};
-
-/* LDO 18~19 have same voltage table. */
-static const unsigned int ldo18_19_volt_table[] = {
-	1700000, 1800000, 1900000, 2500000, 2800000, 2900000, 3100000, 3300000,
-};
-
-static int pm800_get_current_limit(struct regulator_dev *rdev)
-{
-	struct pm800_regulator_info *info = rdev_get_drvdata(rdev);
-
-	return info->max_ua;
-}
-
-static const struct regulator_ops pm800_volt_range_ops = {
-	.list_voltage		= regulator_list_voltage_linear_range,
-	.map_voltage		= regulator_map_voltage_linear_range,
-	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
-	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
-	.enable			= regulator_enable_regmap,
-	.disable		= regulator_disable_regmap,
-	.is_enabled		= regulator_is_enabled_regmap,
-	.get_current_limit	= pm800_get_current_limit,
-};
-
-static const struct regulator_ops pm800_volt_table_ops = {
-	.list_voltage		= regulator_list_voltage_table,
-	.map_voltage		= regulator_map_voltage_iterate,
-	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
-	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
-	.enable			= regulator_enable_regmap,
-	.disable		= regulator_disable_regmap,
-	.is_enabled		= regulator_is_enabled_regmap,
-	.get_current_limit	= pm800_get_current_limit,
-};
-
-/* The array is indexed by id(PM800_ID_XXX) */
-static struct pm800_regulator_info pm800_regulator_info[] = {
-	PM800_BUCK(buck1, BUCK1, BUCK_ENA, 0, 3000000, buck1_volt_range, 0x55),
-	PM800_BUCK(buck2, BUCK2, BUCK_ENA, 1, 1200000, buck2_5_volt_range, 0x73),
-	PM800_BUCK(buck3, BUCK3, BUCK_ENA, 2, 1200000, buck2_5_volt_range, 0x73),
-	PM800_BUCK(buck4, BUCK4, BUCK_ENA, 3, 1200000, buck2_5_volt_range, 0x73),
-	PM800_BUCK(buck5, BUCK5, BUCK_ENA, 4, 1200000, buck2_5_volt_range, 0x73),
-
-	PM800_LDO(ldo1, LDO1, LDO_ENA1_1, 0, 200000, ldo1_volt_table),
-	PM800_LDO(ldo2, LDO2, LDO_ENA1_1, 1, 10000, ldo2_volt_table),
-	PM800_LDO(ldo3, LDO3, LDO_ENA1_1, 2, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo4, LDO4, LDO_ENA1_1, 3, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo5, LDO5, LDO_ENA1_1, 4, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo6, LDO6, LDO_ENA1_1, 5, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo7, LDO7, LDO_ENA1_1, 6, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo8, LDO8, LDO_ENA1_1, 7, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo9, LDO9, LDO_ENA1_2, 0, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo10, LDO10, LDO_ENA1_2, 1, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo11, LDO11, LDO_ENA1_2, 2, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo12, LDO12, LDO_ENA1_2, 3, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo13, LDO13, LDO_ENA1_2, 4, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo14, LDO14, LDO_ENA1_2, 5, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo15, LDO15, LDO_ENA1_2, 6, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo16, LDO16, LDO_ENA1_2, 7, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo17, LDO17, LDO_ENA1_3, 0, 300000, ldo3_17_volt_table),
-	PM800_LDO(ldo18, LDO18, LDO_ENA1_3, 1, 200000, ldo18_19_volt_table),
-	PM800_LDO(ldo19, LDO19, LDO_ENA1_3, 2, 200000, ldo18_19_volt_table),
-};
-
-static int pm800_regulator_probe(struct platform_device *pdev)
-{
-	struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent);
-	struct pm80x_platform_data *pdata = dev_get_platdata(pdev->dev.parent);
-	struct regulator_config config = { };
-	struct regulator_init_data *init_data;
-	int i, ret;
-
-	if (pdata && pdata->num_regulators) {
-		unsigned int count = 0;
-
-		/* Check whether num_regulator is valid. */
-		for (i = 0; i < ARRAY_SIZE(pdata->regulators); i++) {
-			if (pdata->regulators[i])
-				count++;
-		}
-		if (count != pdata->num_regulators)
-			return -EINVAL;
-	}
-
-	config.dev = chip->dev;
-	config.regmap = chip->subchip->regmap_power;
-	for (i = 0; i < PM800_ID_RG_MAX; i++) {
-		struct regulator_dev *regulator;
-
-		if (pdata && pdata->num_regulators) {
-			init_data = pdata->regulators[i];
-			if (!init_data)
-				continue;
-
-			config.init_data = init_data;
-		}
-
-		config.driver_data = &pm800_regulator_info[i];
-
-		regulator = devm_regulator_register(&pdev->dev,
-				&pm800_regulator_info[i].desc, &config);
-		if (IS_ERR(regulator)) {
-			ret = PTR_ERR(regulator);
-			dev_err(&pdev->dev, "Failed to register %s\n",
-					pm800_regulator_info[i].desc.name);
-			return ret;
-		}
-	}
-
-	return 0;
-}
-
-static struct platform_driver pm800_regulator_driver = {
-	.driver		= {
-		.name	= "88pm80x-regulator",
-	},
-	.probe		= pm800_regulator_probe,
-};
-
-module_platform_driver(pm800_regulator_driver);
-
-MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Joseph(Yossi) Hanin <yhanin@marvell.com>");
-MODULE_DESCRIPTION("Regulator Driver for Marvell 88PM800 PMIC");
-MODULE_ALIAS("platform:88pm800-regulator");
--- a/drivers/regulator/Makefile
+++ b/drivers/regulator/Makefile
@@ -11,7 +11,7 @@ obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER)
 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
 
 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o
-obj-$(CONFIG_REGULATOR_88PM800) += 88pm800.o
+obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o
 obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o
 obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o
 obj-$(CONFIG_REGULATOR_AAT2870) += aat2870-regulator.o



  reply	other threads:[~2019-07-29 20:04 UTC|newest]

Thread overview: 232+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 19:19 [PATCH 5.2 000/215] 5.2.5-stable review Greg Kroah-Hartman
2019-07-29 19:19 ` Greg Kroah-Hartman [this message]
2019-07-29 19:19 ` [PATCH 5.2 002/215] media: drivers: media: coda: fix warning same module names Greg Kroah-Hartman
2019-07-29 19:19 ` [PATCH 5.2 003/215] btrfs: shut up bogus -Wmaybe-uninitialized warning Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 004/215] drm/lima: handle shared irq case for lima_pp_bcast_irq_handler Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 005/215] drm/panel: simple: Fix panel_simple_dsi_probe Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 006/215] iio: adc: stm32-dfsdm: manage the get_irq error case Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 007/215] iio: adc: stm32-dfsdm: missing error case during probe Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 008/215] drm/virtio: set seqno for dma-fence Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 009/215] staging: kpc2000: added missing clean-up to probe_core_uio Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 010/215] ipmi_si: fix unexpected driver unregister warning Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 011/215] staging: vt6656: use meaningful error code during buffer allocation Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 012/215] drm/bochs: Fix connector leak during driver unload Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 013/215] usb: core: hub: Disable hub-initiated U1/U2 Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 014/215] tty: max310x: Fix invalid baudrate divisors calculator Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 015/215] pinctrl: rockchip: fix leaked of_node references Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 016/215] tty: serial: cpm_uart - fix init when SMC is relocated Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 017/215] f2fs: fix to check layout on last valid checkpoint park Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 018/215] drm/msm/a6xx: Check for ERR or NULL before iounmap Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 019/215] ipmi_ssif: fix unexpected driver unregister warning Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 020/215] drm/amd/display: Fill prescale_params->scale for RGB565 Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 021/215] drm/amd/display: fix multi display seamless boot case Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 022/215] drm/msm/a6xx: Avoid freeing gmu resources multiple times Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 023/215] drm/amd/display: Disable cursor when offscreen in negative direction Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 024/215] drm/amd/display: Fill plane attrs only for valid pxl format Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 025/215] drm/amdgpu: Reserve shared fence for eviction fence Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 026/215] f2fs: fix to avoid deadloop if data_flush is on Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 027/215] drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 028/215] drm/amd/display: Disable ABM before destroy ABM struct Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 029/215] drm/amdkfd: Fix a potential memory leak Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 030/215] drm/amdkfd: Fix sdma queue map issue Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 031/215] drm/edid: Fix a missing-check bug in drm_load_edid_firmware() Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 032/215] tools: PCI: Fix broken pcitest compilation Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 033/215] PCI: Return error if cannot probe VF Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 034/215] staging: kpc2000: report error status to spi core Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 035/215] drm/bridge: tc358767: read display_props in get_modes() Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 036/215] drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 037/215] drm/amd/display: Reset planes for color management changes Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 038/215] drm/amd/display: CS_TFM_1D only applied post EOTF Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 039/215] drm/amd/display: Increase Backlight Gain Step Size Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 040/215] f2fs: Fix accounting for unusable blocks Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 041/215] f2fs: Lower threshold for disable_cp_again Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 042/215] gpu: host1x: Increase maximum DMA segment size Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 043/215] drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 044/215] drm/crc-debugfs: Also sprinkle irqrestore over early exits Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 045/215] drm/vkms: Forward timer right after drm_crtc_handle_vblank Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 046/215] i2c: nvidia-gpu: resume ccgx i2c client Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 047/215] mm/hmm: fix use after free with struct hmm in the mmu notifiers Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 048/215] drm/omap: dont check dispc timings for DSI Greg Kroah-Hartman
2019-07-30 11:37   ` Pavel Machek
2019-07-30 14:14     ` Sebastian Reichel
2019-07-29 19:20 ` [PATCH 5.2 049/215] memstick: Fix error cleanup path of memstick_init Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 050/215] tty/serial: digicolor: Fix digicolor-usart already registered warning Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 051/215] tty: serial: msm_serial: avoid system lockup condition Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 052/215] serial: 8250: Fix TX interrupt handling condition Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 053/215] PCI: endpoint: Allocate enough space for fixed size BAR Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 054/215] drm/amd/display: Always allocate initial connector state state Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 055/215] drm/amd/display: Update link rate from DPCD 10 Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 056/215] drm/virtio: Add memory barriers for capset cache Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 057/215] drm/amd/display: set link->dongle_max_pix_clk to 0 on a disconnect Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 058/215] phy: renesas: rcar-gen2: Fix memory leak at error paths Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 059/215] drm/amd/display: fix compilation error Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 060/215] sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 061/215] drm/bridge: tfp410: fix use of cancel_delayed_work_sync Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 062/215] powerpc/pseries/mobility: prevent cpu hotplug during DT update Greg Kroah-Hartman
2019-07-29 19:20 ` [PATCH 5.2 063/215] dma-remap: Avoid de-referencing NULL atomic_pool Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 064/215] drm/rockchip: Properly adjust to a true clock in adjusted_mode Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 065/215] platform/x86: asus-wmi: Increase input buffer size of WMI methods Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 066/215] iio: adxl372: fix iio_triggered_buffer_{pre,post}enable positions Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 067/215] serial: imx: fix locking in set_termios() Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 068/215] serial: uartps: Use the same dynamic major number for all ports Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 069/215] tty: serial_core: Set port active bit in uart_port_activate Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 070/215] usb: gadget: Zero ffs_io_data Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 071/215] usb: dwc3: Fix core validation in probe, move after clocks are enabled Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 072/215] kvm: vmx: fix limit checking in get_vmx_mem_address() Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 073/215] mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 074/215] KVM: nVMX: Intercept VMWRITEs to GUEST_{CS,SS}_AR_BYTES Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 075/215] kvm: vmx: segment limit check: use access length Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 076/215] drm/msm/adreno: Ensure that the zap shader region is big enough Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 077/215] powerpc/pci/of: Fix OF flags parsing for 64bit BARs Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 078/215] drm/msm: Depopulate platform on probe failure Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 079/215] serial: mctrl_gpio: Check if GPIO property exisits before requesting it Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 080/215] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 081/215] PCI: sysfs: Ignore lockdep for remove attribute Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 082/215] i2c: stm32f7: fix the get_irq error cases Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 083/215] net/ipv4: fib_trie: Avoid cryptic ternary expressions Greg Kroah-Hartman
2019-07-29 20:54   ` Matthias Kaehlcke
2019-07-29 20:57     ` Matthias Kaehlcke
2019-07-29 21:01       ` Nick Desaulniers
2019-07-30 17:59         ` Sasha Levin
2019-07-29 19:21 ` [PATCH 5.2 084/215] kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 085/215] genksyms: Teach parser about 128-bit built-in types Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 086/215] phy: meson-g12a-usb3-pcie: disable locking for cr_regmap Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 087/215] PCI: xilinx-nwl: Fix Multi MSI data programming Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 088/215] iio: iio-utils: Fix possible incorrect mask calculation Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 089/215] dt-bindings: backlight: lm3630a: correct schema validation Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 090/215] powerpc/cacheflush: fix variable set but not used Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 091/215] powerpc/xmon: Fix disabling tracing while in xmon Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 092/215] powerpc/rtas: retry when cpu offline races with suspend/migration Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 093/215] fixdep: check return value of printf() and putchar() Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 094/215] recordmcount: Fix spurious mcount entries on powerpc Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 095/215] mfd: cros_ec: Register cros_ec_lid_angle driver when presented Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 096/215] mfd: madera: Add missing of table registration Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 097/215] mfd: core: Set fwnode for created devices Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 098/215] mfd: arizona: Fix undefined behavior Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 099/215] mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 100/215] mm/swap: fix release_pages() when releasing devmap pages Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 101/215] um: Silence lockdep complaint about mmap_sem Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 102/215] f2fs: fix is_idle() check for discard type Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 103/215] powerpc: silence a -Wcast-function-type warning in dawr_write_file_bool Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 104/215] powerpc/4xx/uic: clear pending interrupt after irq type/pol change Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 105/215] powerpc/mm: mark more tlb functions as __always_inline Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 106/215] RDMA/i40iw: Set queue pair state when being queried Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 107/215] serial: sh-sci: Terminate TX DMA during buffer flushing Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 108/215] serial: sh-sci: Fix TX DMA buffer flushing and workqueue races Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 109/215] IB/mlx5: Fixed reporting counters on 2nd port for Dual port RoCE Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 110/215] powerpc/mm: Handle page table allocation failures Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 111/215] IB/ipoib: Add child to parent list only if device initialized Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 112/215] arm64: assembler: Switch ESB-instruction with a vanilla nop if !ARM64_HAS_RAS Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 113/215] KVM: nVMX: Stash L1s CR3 in vmcs01.GUEST_CR3 on nested entry w/o EPT Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 114/215] PCI: mobiveil: Fix PCI base address in MEM/IO outbound windows Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 115/215] PCI: mobiveil: Fix the Class Code field Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 116/215] kallsyms: exclude kasan local symbols on s390 Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 117/215] PCI: mobiveil: Initialize Primary/Secondary/Subordinate bus numbers Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 118/215] PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 119/215] perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 120/215] perf stat: Fix use-after-freed pointer detected by the smatch tool Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 121/215] rseq/selftests: Fix Thumb mode build failure on arm32 Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 122/215] perf top: Fix potential NULL pointer dereference detected by the smatch tool Greg Kroah-Hartman
2019-07-29 19:21 ` [PATCH 5.2 123/215] perf trace: Fix potential NULL pointer dereference found " Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 124/215] perf session: " Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 125/215] perf map: Fix potential NULL pointer dereference found by " Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 126/215] perf annotate: Fix dereferencing freed memory found by the " Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 127/215] perf hists browser: Fix potential NULL pointer dereference " Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 128/215] RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 129/215] PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 130/215] perf intel-bts: Fix potential NULL pointer dereference found by the smatch tool Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 131/215] RDMA/core: Fix race when resolving IP address Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 132/215] nvme-pci: check for NULL return from pci_alloc_p2pmem() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 133/215] nvme-pci: limit max_hw_sectors based on the DMA max mapping size Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 134/215] nvme-tcp: dont use sendpage for SLAB pages Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 135/215] io_uring: fix io_sq_thread_stop running in front of io_sq_thread Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 136/215] nvme-tcp: set the STABLE_WRITES flag when data digests are enabled Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 137/215] powerpc/irq: Dont WARN continuously in arch_local_irq_restore() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 138/215] powerpc/boot: add {get, put}_unaligned_be32 to xz_config.h Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 139/215] block: init flush rq ref count to 1 Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 140/215] rds: Accept peer connection reject messages due to incompatible version Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 141/215] f2fs: fix to avoid long latency during umount Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 142/215] f2fs: avoid out-of-range memory access Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 143/215] mailbox: handle failed named mailbox channel request Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 144/215] dlm: check if workqueues are NULL before flushing/destroying Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 145/215] powerpc/eeh: Handle hugepages in ioremap space Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 146/215] platform/x86: Fix PCENGINES_APU2 Kconfig warning Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 147/215] block/bio-integrity: fix a memory leak bug Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 148/215] nvme: fix NULL deref for fabrics options Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 149/215] sh: prevent warnings when using iounmap Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 150/215] mm/kmemleak.c: fix check for softirq context Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 151/215] 9p: pass the correct prototype to read_cache_page Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 152/215] mm/mincore.c: fix race between swapoff and mincore Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 153/215] mm/gup.c: mark undo_dev_pagemap as __maybe_unused Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 154/215] mm/gup.c: remove some BUG_ONs from get_gate_page() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 155/215] memcg, fsnotify: no oom-kill for remote memcg charging Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 156/215] mm/mmu_notifier: use hlist_add_head_rcu() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 157/215] proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 158/215] proc: use down_read_killable mmap_sem for /proc/pid/pagemap Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 159/215] proc: use down_read_killable mmap_sem for /proc/pid/clear_refs Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 160/215] proc: use down_read_killable mmap_sem for /proc/pid/map_files Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 161/215] cxgb4: reduce kernel stack usage in cudbg_collect_mem_region() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 162/215] proc: use down_read_killable mmap_sem for /proc/pid/maps Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 163/215] locking/lockdep: Fix lock used or unused stats error Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 164/215] mm: use down_read_killable for locking mmap_sem in access_remote_vm Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 165/215] mm, swap: fix race between swapoff and some swap operations Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 166/215] locking/lockdep: Hide unused class variable Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 167/215] xhci: Fix crash if scatter gather is used with Immediate Data Transfer (IDT) Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 168/215] usb-storage: Add a limitation for blk_queue_max_hw_sectors() Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 169/215] usb: wusbcore: fix unbalanced get/put cluster_id Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 170/215] usb: pci-quirks: Correct AMD PLL quirk detection Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 171/215] Revert "usb: usb251xb: Add US lanes inversion dts-bindings" Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 172/215] Revert "usb: usb251xb: Add US port lanes inversion property" Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 173/215] usb: usb251xb: Reallow swap-dx-lanes to apply to the upstream port Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 174/215] KVM: X86: Fix fpu state crash in kvm guest Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 175/215] KVM: PPC: Book3S HV: Always save guest pmu for guest capable of nesting Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 176/215] KVM: PPC: Book3S HV: Save and restore guest visible PSSCR bits on pseries Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 177/215] KVM: PPC: Book3S HV: XIVE: fix rollback when kvmppc_xive_create fails Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 178/215] media: videodev2.h: change V4L2_PIX_FMT_BGRA444 define: fourcc was already in use Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 179/215] btrfs: inode: Dont compress if NODATASUM or NODATACOW set Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 180/215] selinux: check sidtab limit before adding a new entry Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 181/215] x86/sysfb_efi: Add quirks for some devices with swapped width and height Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 182/215] x86/speculation/mds: Apply more accurate check on hypervisor platform Greg Kroah-Hartman
2019-07-29 19:22 ` [PATCH 5.2 183/215] x86/stacktrace: Prevent access_ok() warnings in arch_stack_walk_user() Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 184/215] binder: Set end of SG buffer area properly Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 185/215] binder: prevent transactions to context manager from its own process Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 186/215] fpga-manager: altera-ps-spi: Fix build error Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 187/215] mei: me: add mule creek canyon (EHL) device ids Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 188/215] eeprom: make older eeprom drivers select NVMEM_SYSFS Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 189/215] hpet: Fix division by zero in hpet_time_div() Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 190/215] drm/panel: Add support for Armadeus ST0700 Adapt Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 191/215] ALSA: ac97: Fix double free of ac97_codec_device Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 192/215] ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1 Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 193/215] ALSA: pcm: Fix refcount_inc() on zero usage Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 194/215] ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 195/215] ALSA: hda - Add a conexant codec entry to let mute led work Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 196/215] powerpc/dma: Fix invalid DMA mmap behavior Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 197/215] powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask() Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 198/215] powerpc/mm: Limit rma_size to 1TB when running without HV mode Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 199/215] powerpc/tm: Fix oops on sigreturn on systems without TM Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 200/215] powerpc/pmu: Set pmcregs_in_use in paca when running as LPAR Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 201/215] io_uring: fix the sequence comparison in io_sequence_defer Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 202/215] iommu/vt-d: Dont queue_iova() if there is no flush queue Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 203/215] iommu/iova: Remove stale cached32_node Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 204/215] iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 205/215] drivers/base: Introduce kill_device() Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 206/215] libnvdimm/bus: Prevent duplicate device_unregister() calls Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 207/215] libnvdimm/region: Register badblocks before namespaces Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 208/215] libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl() Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 209/215] structleak: disable STRUCTLEAK_BYREF in combination with KASAN_STACK Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 210/215] drm/i915: Make the semaphore saturation mask global Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 211/215] access: avoid the RCU grace period for the temporary subjective credentials Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 212/215] io_uring: add a memory barrier before atomic_read Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 213/215] io_uring: ensure ->list is initialized for poll commands Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 214/215] io_uring: fix counter inc/dec mismatch in async_list Greg Kroah-Hartman
2019-07-29 19:23 ` [PATCH 5.2 215/215] io_uring: dont use iov_iter_advance() for fixed buffers Greg Kroah-Hartman
2019-07-30  3:34 ` [PATCH 5.2 000/215] 5.2.5-stable review kernelci.org bot
2019-07-30  9:18 ` Naresh Kamboju
2019-07-30  9:25   ` Greg Kroah-Hartman
2019-07-30 14:01 ` shuah
2019-07-30 14:06   ` Greg Kroah-Hartman
2019-07-30 18:43 ` Guenter Roeck
2019-07-30 18:49   ` Greg Kroah-Hartman
2019-07-31  5:30 ` Kelsey Skunberg
2019-07-31  9:36 ` Jon Hunter
2019-07-31  9:50   ` Greg Kroah-Hartman

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=20190729190740.157816607@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=anders.roxell@linaro.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).