From patchwork Thu Dec 16 12:25:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12696463 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 E5EBAC4332F for ; Thu, 16 Dec 2021 12:56:23 +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=BXLaplGrHmLU3HVvlCgNkpW1cHBMDQ5T1ltPdHuH3dw=; b=YOISn7nYAL1Rtm Wxypi/d9xbZIwQYeXqGnaGv2LY2ik2U1Vvi7Yhen5l7LTVlAOH5zCq3jtbpY1EqhJwy7lYpdcrpje qel9wNIaEuA62UA//rs7PcTjfwDxvSguFRhx8qtxMrulu8q2kQ5Qo3kGtz6u8g3ONZXw5FvpFgyPK rHUf0V6Pec/YhaCIlFFNY266Ixz2CzYEP/KHhWFlbaRA0vm0oiwVEko9yug5AdB78ipJOIUQj54Bi sJv3FOfn2jTj4GznoqPdFm584oogJImwBu+bupINtSr/JmEJtsKFlo+5b4b3l7LQlHaDg+eST9/wI uJUtJZFWHSoxh7KW0Vbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxqHH-005YlJ-Em; Thu, 16 Dec 2021 12:54:32 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxppi-005Q5l-1Y for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 12:26:03 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 4AC925805C9; Thu, 16 Dec 2021 07:26:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 16 Dec 2021 07:26:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=gp4qntKo27gpb 4ncTJpcYD5+aSMDhGRkVYBCdPvwrYs=; b=ni/FssW9YPh/WaRsu6P9ocZhTsSNk im0s+qe3g6tQ3u2/ejXE5H/juFXEAb0N8jBdJbRtt5gS+NhvRnKneoL4jSH/5L59 lob/CWg7QPTDDFaIB4r+6G8e1zko12GXqXBeNhb32qjBEMQ8DkjkkdwmqdVOJR6+ qHcJY4URr+3lR8f3yhOxxXjoDMEzOoN4EdOc7aiPb5xrlH+AauP0sCbxFAPyn/Ie 3b6YPCvXjp4sXNO0brj+SFz7uMqqgxrndBERfgyRGUqK3AtMgsnoLPslSNA/dLip Ha0qQ0sOZSZp5kwZUNPnAB2YOAQc+ZtvVWIu9DT6Qh0WSeB4+9Fm4KoZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=gp4qntKo27gpb4ncTJpcYD5+aSMDhGRkVYBCdPvwrYs=; b=CKh7jhUg twm6fn/a4DaerJpOOflr1n80x/9eROOsGCFWfYog1rsZvmX40T5CgOvrF/thj72Z EQXUV7IfAblkYCfOJL00rsTjVxePCTYlPW3uEaBYbdBnDmbRkwmZpCME9BLzcUYE tluRdL5RzU+d7hq5fVxtJv8oraUg/0O171TBmkPeWgMcea/vvtKXXrRKsCIakgmu LElmv6QZx51BHyp+VmKO7nZxBQKJ8v0Rr6Jx6E3XYaVA//yHQVE3jhiPvf0y5vAj VAHKxhsq602zOqSFmlCTjGOG8UImQyUSggE0uBJyaSlk9OHIN21PaOANBjTXfrym MuzELQFQN314tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeggdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Dec 2021 07:25:55 -0500 (EST) From: Alistair Francis To: kernel@pengutronix.de, lgirdwood@gmail.com, robh+dt@kernel.org, lee.jones@linaro.org, broonie@kernel.org Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org, andreas@kemnade.info, linux-hwmon@vger.kernel.org, alistair23@gmail.com, amitk@kernel.org, shawnguo@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, rui.zhang@intel.com, Alistair Francis Subject: [PATCH v17 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Thu, 16 Dec 2021 22:25:21 +1000 Message-Id: <20211216122525.136139-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211216122525.136139-1-alistair@alistair23.me> References: <20211216122525.136139-1-alistair@alistair23.me> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_042602_206470_472C211A X-CRM114-Status: UNSURE ( 8.49 ) 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 6be9b1c8a615..3e515a3fae73 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1199,7 +1199,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;