Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4172060ioo; Wed, 25 May 2022 17:17:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrbjQ+YPH4sX/vcfKIa3RnBqoZJO9Ury96Q+M8JqcrN25B0Et5bkpl3EhUIvmyzk8zG5GW X-Received: by 2002:a05:6402:84a:b0:426:262d:967e with SMTP id b10-20020a056402084a00b00426262d967emr37883650edz.286.1653524250201; Wed, 25 May 2022 17:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524250; cv=none; d=google.com; s=arc-20160816; b=cddRZGSqVAPGX9L/4BRIDttXhIjcbx5SJUZ0vCtUUqlGP5GY+Ddj3zvqdMAW7HNxg/ 1LuxMgWW2UWSJCKEAGIBUkOsEbzpmluuy0i4h/CjLRUAHz8CR6++U/dUR2NvmxnfSTzS 5MCQYTG8gK4jAgYnxRatPqRJMsnECvLAV+cIpAoi+mmfrmQJZ2VnPD9bIuv2Zt8FiR2q yoBm3Z8xBUwG2WFPF4j1kTUet8TJvs0B4W83ZOA62jFiVuDWNK1rwPrnKH43HiM80jkb UITUXCvNOi4fKu7B0+zGGbMZhiHFJzsuZXQhSASXB8rmvgfBrVcGu3jeZdP4K+dYOcv5 CWMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=kt7gBjbCcDTHFl2EAtfoonuQ7hMGpdwGw7NIY5UTUX0=; b=pLWJJkkb3C12GObMlNL/MwouLDDFMwrarnIezgVSMSKrgThd5md3fYkY/OsUHeqhsH MWSD0RkXmxw5z5sc7VNbv7eI5OSAh4Vhe7y4jZzCuhyOiwcjoQjOzTedu6SCyGy7VTZa EnhWNeH3ciVLAT+0wRLyKC9f+mtLztVskfVU+wQNiTy8W2hVSThw+XnFiJkh5huIltNY TJFDuYKmPHZBJWqi5ZGhXyWpHMamk8NG1L24jgf3r/eegsDnY+iHcJKKwuZM6ul4RN5F wBN+lkc0x6/y2bX6xVtvXIJ4RX605EnrsXZxO0RDP6OE7LyCakZIcJvSpzIi3jDTIZcN 24Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=Pyj2o+6t; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KrBhGVYz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id by8-20020a170906a2c800b006f38383ef23si80291ejb.318.2022.05.25.17.17.03; Wed, 25 May 2022 17:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=Pyj2o+6t; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KrBhGVYz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234989AbiEYL4Q (ORCPT + 99 others); Wed, 25 May 2022 07:56:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243040AbiEYL4L (ORCPT ); Wed, 25 May 2022 07:56:11 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C03EB; Wed, 25 May 2022 04:56:09 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 447E75C0271; Wed, 25 May 2022 07:56:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 25 May 2022 07:56:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1653479769; x= 1653566169; bh=kt7gBjbCcDTHFl2EAtfoonuQ7hMGpdwGw7NIY5UTUX0=; b=P yj2o+6t+1UKDCLtYYzx8uXvGamhGWb4KoqYy52GkDPUGg7Fh0DU6gpBeFfGMs641 cSNjqo+cztjOhHcRexdwLDecionZNxsJIIo8GzmqXGcLAESancAjbyU1sfDOMuy4 C3H632lmMudoHag9yzVxa6bGhpchLBuh4kk71hc8YSVOfPI4h5qLJdcXeWmtzvQt l81iLHJhzzuP5Hj4y4vu6dszJvJNtfBOtTw2EgYTFSxT4JVwXnPIoOxjiAWDheSt G9mfEPOXn76rxCFHDYxgvttr2epCs+HkbZVlALyvxUlkm2RUHRD4T9cQ41qebD5s 74sEaTXBPQcoK4X4CrWHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1653479769; x=1653566169; bh=kt7gBjbCcDTHF l2EAtfoonuQ7hMGpdwGw7NIY5UTUX0=; b=KrBhGVYz9uY+QEIb6uoN45eNRQGby i9VtYizyswbGnz6xENeCJ+2EL5gYimGQKbI3L+FNlLQTQZ4G8t4e0uZxbLL9ierg vg2Q9ez1W/dQ0YjVfRvhR5piZhDM3Z1P3Ap2FNiXlXLw+2I8Ke2EGeSNLm3YLc0a cgGao8kzSV9BoxokBgLpC5ioIw40fLOeCUafEjjhmI6J+6W4GN3iExrtBTZ8Mi5F jDC3DKyp/q1q+9wgITME7ynh6zgBj2CfPcl9xP0jpxfalgnCRXdAUMbBtJ39vzCR sSMvpTUY2b1Vr7tlYGsYrxXXE3DgPrrAGVIvNTk+ysp2zRv17DSUemLHw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjeehgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeeitdefkeetle dvleevveeuueejffeugfeuvdetkeevjeejueetudeftefhgfehheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlih hsthgrihhrvdefrdhmvg X-ME-Proxy: Feedback-ID: ifd214418:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 May 2022 07:56:03 -0400 (EDT) From: Alistair Francis To: lgirdwood@gmail.com, lee.jones@linaro.org, broonie@kernel.org, robh+dt@kernel.org, kernel@pengutronix.de Cc: s.hauer@pengutronix.de, alistair23@gmail.com, linux-arm-kernel@lists.infradead.org, andreas@kemnade.info, amitk@kernel.org, shawnguo@kernel.org, linux-kernel@vger.kernel.org, geert@linux-m68k.org, linux-hwmon@vger.kernel.org, linux-imx@nxp.com, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alistair Francis Subject: [PATCH v21 1/4] mfd: silergy,sy7636a: Add config option Date: Wed, 25 May 2022 21:55:51 +1000 Message-Id: <20220525115554.430971-2-alistair@alistair23.me> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220525115554.430971-1-alistair@alistair23.me> References: <20220525115554.430971-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Guenter Roeck --- 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