lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 25 May 2022 21:55:51 +1000 From: Alistair Francis <alistair@...stair23.me> To: lgirdwood@...il.com, lee.jones@...aro.org, broonie@...nel.org, robh+dt@...nel.org, kernel@...gutronix.de Cc: s.hauer@...gutronix.de, alistair23@...il.com, linux-arm-kernel@...ts.infradead.org, andreas@...nade.info, amitk@...nel.org, shawnguo@...nel.org, linux-kernel@...r.kernel.org, geert@...ux-m68k.org, linux-hwmon@...r.kernel.org, linux-imx@....com, linux@...ck-us.net, rui.zhang@...el.com, devicetree@...r.kernel.org, linux-pm@...r.kernel.org, Alistair Francis <alistair@...stair23.me> Subject: [PATCH v21 1/4] mfd: silergy,sy7636a: Add config option 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@...stair23.me> Reviewed-by: Guenter Roeck <linux@...ck-us.net> --- 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 590d3d550acb..a3a3b73b0a87 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1740,6 +1740,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 cbe0f96ca342..25041cc2f605 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1236,6 +1236,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.3
Powered by blists - more mailing lists