From: Alistair Francis <alistair@alistair23.me> To: lgirdwood@gmail.com, robh+dt@kernel.org, kernel@pengutronix.de, lee.jones@linaro.org, broonie@kernel.org Cc: linux-hwmon@vger.kernel.org, geert@linux-m68k.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, alistair23@gmail.com, s.hauer@pengutronix.de, andreas@kemnade.info, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, amitk@kernel.org, Alistair Francis <alistair@alistair23.me> Subject: [PATCH v20 1/4] mfd: silergy,sy7636a: Add config option Date: Wed, 30 Mar 2022 19:41:23 +1000 [thread overview] Message-ID: <20220330094126.30252-2-alistair@alistair23.me> (raw) In-Reply-To: <20220330094126.30252-1-alistair@alistair23.me> Add a specific MFD_SY7636A config option. As part of this change we can use MFD_SY7636A as a dependency for all SY7636a components and also remove the name from MFD_SIMPLE_MFD_I2C as it no longer needs to be selectable. Signed-off-by: Alistair Francis <alistair@alistair23.me> --- drivers/hwmon/Kconfig | 1 + drivers/mfd/Kconfig | 12 +++++++++++- drivers/regulator/Kconfig | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 68a8a27ab3b7..74b60d24e740 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1693,6 +1693,7 @@ config SENSORS_SIS5595 config SENSORS_SY7636A tristate "Silergy SY7636A" + depends on MFD_SY7636A help If you say yes here you get support for the thermistor readout of the Silergy SY7636A PMIC. diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 3b59456f5545..c47cb755757b 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1095,6 +1095,16 @@ config MFD_SPMI_PMIC Say M here if you want to include support for the SPMI PMIC series as a module. The module will be called "qcom-spmi-pmic". +config MFD_SY7636A + tristate "Silergy SY7636A voltage regulator" + depends on I2C + select MFD_SIMPLE_MFD_I2C + help + Enable support for Silergy SY7636A voltage regulator. + + To enable support for building sub-devices as modules, + choose M here. + config MFD_RDC321X tristate "RDC R-321x southbridge" select MFD_CORE @@ -1202,7 +1212,7 @@ config MFD_SI476X_CORE module will be called si476x-core. config MFD_SIMPLE_MFD_I2C - tristate "Simple Multi-Functional Device support (I2C)" + tristate depends on I2C select MFD_CORE select REGMAP_I2C diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 5ef2306fce04..c8ce6e5eea24 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1219,6 +1219,7 @@ config REGULATOR_STW481X_VMMC config REGULATOR_SY7636A tristate "Silergy SY7636A voltage regulator" + depends on MFD_SY7636A help This driver supports Silergy SY3686A voltage regulator. -- 2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: Alistair Francis <alistair@alistair23.me> To: lgirdwood@gmail.com, robh+dt@kernel.org, kernel@pengutronix.de, lee.jones@linaro.org, broonie@kernel.org Cc: linux-hwmon@vger.kernel.org, geert@linux-m68k.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, alistair23@gmail.com, s.hauer@pengutronix.de, andreas@kemnade.info, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, amitk@kernel.org, Alistair Francis <alistair@alistair23.me> Subject: [PATCH v20 1/4] mfd: silergy,sy7636a: Add config option Date: Wed, 30 Mar 2022 19:41:23 +1000 [thread overview] Message-ID: <20220330094126.30252-2-alistair@alistair23.me> (raw) In-Reply-To: <20220330094126.30252-1-alistair@alistair23.me> Add a specific MFD_SY7636A config option. As part of this change we can use MFD_SY7636A as a dependency for all SY7636a components and also remove the name from MFD_SIMPLE_MFD_I2C as it no longer needs to be selectable. Signed-off-by: Alistair Francis <alistair@alistair23.me> --- drivers/hwmon/Kconfig | 1 + drivers/mfd/Kconfig | 12 +++++++++++- drivers/regulator/Kconfig | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 68a8a27ab3b7..74b60d24e740 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1693,6 +1693,7 @@ config SENSORS_SIS5595 config SENSORS_SY7636A tristate "Silergy SY7636A" + depends on MFD_SY7636A help If you say yes here you get support for the thermistor readout of the Silergy SY7636A PMIC. diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 3b59456f5545..c47cb755757b 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1095,6 +1095,16 @@ config MFD_SPMI_PMIC Say M here if you want to include support for the SPMI PMIC series as a module. The module will be called "qcom-spmi-pmic". +config MFD_SY7636A + tristate "Silergy SY7636A voltage regulator" + depends on I2C + select MFD_SIMPLE_MFD_I2C + help + Enable support for Silergy SY7636A voltage regulator. + + To enable support for building sub-devices as modules, + choose M here. + config MFD_RDC321X tristate "RDC R-321x southbridge" select MFD_CORE @@ -1202,7 +1212,7 @@ config MFD_SI476X_CORE module will be called si476x-core. config MFD_SIMPLE_MFD_I2C - tristate "Simple Multi-Functional Device support (I2C)" + tristate depends on I2C select MFD_CORE select REGMAP_I2C diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 5ef2306fce04..c8ce6e5eea24 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1219,6 +1219,7 @@ config REGULATOR_STW481X_VMMC config REGULATOR_SY7636A tristate "Silergy SY7636A voltage regulator" + depends on MFD_SY7636A help This driver supports Silergy SY3686A voltage regulator. -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-03-30 9:41 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-30 9:41 [PATCH v20 0/4] Add support for the silergy,sy7636a Alistair Francis 2022-03-30 9:41 ` Alistair Francis 2022-03-30 9:41 ` Alistair Francis [this message] 2022-03-30 9:41 ` [PATCH v20 1/4] mfd: silergy,sy7636a: Add config option Alistair Francis 2022-03-30 20:02 ` Guenter Roeck 2022-03-30 20:02 ` Guenter Roeck 2022-04-20 12:21 ` Alistair Francis 2022-04-20 12:21 ` Alistair Francis 2022-04-21 8:07 ` Lee Jones 2022-04-21 8:07 ` Lee Jones 2022-05-24 11:55 ` Alistair Francis 2022-05-24 11:55 ` Alistair Francis 2022-05-24 12:42 ` Mark Brown 2022-05-24 12:42 ` Mark Brown 2022-03-30 9:41 ` [PATCH v20 2/4] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a Alistair Francis 2022-03-30 9:41 ` Alistair Francis 2022-03-30 9:41 ` [PATCH v20 3/4] ARM: dts: imx7d-remarkable2: " Alistair Francis 2022-03-30 9:41 ` Alistair Francis 2022-03-30 9:41 ` [PATCH v20 4/4] ARM: dts: imx7d-remarkable2: Enable lcdif Alistair Francis 2022-03-30 9:41 ` Alistair Francis
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=20220330094126.30252-2-alistair@alistair23.me \ --to=alistair@alistair23.me \ --cc=alistair23@gmail.com \ --cc=amitk@kernel.org \ --cc=andreas@kemnade.info \ --cc=broonie@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=geert@linux-m68k.org \ --cc=kernel@pengutronix.de \ --cc=lee.jones@linaro.org \ --cc=lgirdwood@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-hwmon@vger.kernel.org \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=robh+dt@kernel.org \ --cc=rui.zhang@intel.com \ --cc=s.hauer@pengutronix.de \ --cc=shawnguo@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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.