From patchwork Mon Jan 24 12:10:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12721980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 074A6C43217 for ; Mon, 24 Jan 2022 12:13:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M1WBrxXf+/NEIPB80bFuEkAMHL+q4i37oMCqsAd4fcQ=; b=C0ICRPKCCA1N/9 7Fp1oZ4cWiKq6CZSFaJQyRmHdbsNSNFjMOqvbn5hgSkbiYwbjMMyjqCWddU33g/nxudM6WTfGJzrq P9ZiCaqqf9yX6dWDo+I0F71CJGVG0cJdfIkYu36Lx91U/nX24GtsstE1ODfkO26YEjKqgOruJfTnB jWqO12/mZMLgEQ805QtLpKsOt8O4GzHYwP5rF1cxk7mzg712g7fEJIBNLUvFCV383RUQlkOX9+8/9 dL1xDIv01f0JSsLPeabEoE3xZFmg/M1MwFfsYs366n3zm7EIz9E+G8ojwAaVy4cexa8elequVI26j H8ujJRztFOj7w9nxL7zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nByCl-003At3-I4; Mon, 24 Jan 2022 12:12:16 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nByBI-003A5c-D5 for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 12:10:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id B93F158035C; Mon, 24 Jan 2022 07:10:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 24 Jan 2022 07:10:43 -0500 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=fm3; bh=2vNSWDzHD+EnJU o4FEA3VIpc1U/nFYsPa1ZA7cxtu88=; b=i2PzK9/i2SitTFv6E0z3aBq22vgSfy QL6pmz3mzaYdK0JVbeUKrPQJtxsUVjqTjf+BHv6P9l30KuP0ZCtcKxe5CggA1/cr nn0taX5gx1cgVELGBHsXwqBT7eRz2VbHIUJAR+nAStkZXiVarpYtsRYo5GCbkM5X gAsmS86pJjmUN1rIA6mLa6kQHwF3Q1x33HDzRzxGwrFCbhGXksQ1HoJriUsQboQt eqW8j6l5Ks4IQz7ejjrDReozzP6MLeEQV6LPP7uLHTdC1OTe3TZ0vQ09gt6dw4Gh SaCjqNEQRcFsui9d7GCb5DHUt9OvdrD5tVLNENrld6MNreGrTIiaVcEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=2vNSWD zHD+EnJUo4FEA3VIpc1U/nFYsPa1ZA7cxtu88=; b=A0WqUx8993EeYj9IVN0ETV nArUMGFnS9KkWvAxw718Vy69EwXKRtBNW+QZMgpTOfW7ypZs7PzzF8n2JJryARpz kmElmzpUmqhLNivs8Ms/Pi7NwBZcWvqFwatFdYFEnyNiion4M9V2uvTZbTGO8wHS bO/AWJ8umOjowikJhubGi+CuyqKvx5oEFNKbRASkk8Sju+9T5yHiY2NV1z4yvBlE YncURa1/yUnq7JqWX9nipd3oYe5BhDQB9sQrGOHuiCqrXe4TqYVAe1Si5fEpTfxd 9sks6FYNf/icKzZS4qERAWV1KgP8r9K8Cc2MIEMzYHwI4xw9ES4fhFwRML8TGYZQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvdeigdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Jan 2022 07:10:37 -0500 (EST) From: Alistair Francis To: broonie@kernel.org, robh+dt@kernel.org, kernel@pengutronix.de, lgirdwood@gmail.com, lee.jones@linaro.org Cc: linux-pm@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-imx@nxp.com, rui.zhang@intel.com, alistair23@gmail.com, amitk@kernel.org, linux-arm-kernel@lists.infradead.org, andreas@kemnade.info, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v18 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Mon, 24 Jan 2022 22:10:05 +1000 Message-Id: <20220124121009.108649-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220124121009.108649-1-alistair@alistair23.me> References: <20220124121009.108649-1-alistair@alistair23.me> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_041044_557638_43F89010 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Signed-off-by: Alistair Francis Acked-by: Mark Brown --- drivers/regulator/Kconfig | 1 - drivers/regulator/sy7636a-regulator.c | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 1c35fed20d34..25ae5f087ff9 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1208,7 +1208,6 @@ config REGULATOR_STW481X_VMMC config REGULATOR_SY7636A tristate "Silergy SY7636A voltage regulator" - depends on MFD_SY7636A help This driver supports Silergy SY3686A voltage regulator. diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c index 22fddf868e4c..29fc27c2cda0 100644 --- a/drivers/regulator/sy7636a-regulator.c +++ b/drivers/regulator/sy7636a-regulator.c @@ -7,11 +7,14 @@ // Authors: Lars Ivar Miljeteig // Alistair Francis +#include +#include +#include #include #include +#include +#include #include -#include -#include struct sy7636a_data { struct regmap *regmap;