From patchwork Thu Dec 2 12:07:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12694513 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 C7EFAC433EF for ; Thu, 2 Dec 2021 12:14:41 +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=nWsRBH1P5z/cll D2VKd9CAp8hTXBhgG4AHY5LXHT4gRAvKqA0sUM39N7neiixUTHe9odIKjUHdWglaBIeJlOS3HWBFP Np4qz4D2JVNQ2P+ZYxzHpRLkDMRwtvOb9e4Y31SnMR6L7w9b8zTq5QOb+Jd+3ga7acq9bAZE/Nykh eTws5NBLPDMYPy+DUNuhnEawCRX6coY9hg3t/OiOpacMgrFpQNl7hO70lvD6wHA/AsDCG1cXPW4k3 klsUyQvRaQg7TXYim2UhwESH+cCyC13pxvdhaH+iHxBYwc6xGRfUnxRn9VTKdxK1FNJ4pnc9I2ps0 K+100K/nBYiUvKXqyMnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mskxE-00CCLC-VU; Thu, 02 Dec 2021 12:12:51 +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 1msktA-00CAl6-Vc for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 12:08:38 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 392D1580337; Thu, 2 Dec 2021 07:08:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 02 Dec 2021 07:08:36 -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=cxT3cWkS4BBDHHStro6DyzZmBnvaw Ex6s9FadPrpBaCpP2DrvDjq/54QJtMafiRDFpjh9bDY6C9X5CQRLMzDZ3GkfliPV xDeRBT1nKw/MOST2CzpstZzLpuGPkM+Xmqligrz8OEYqF5ByRDM5fApdJ6MQx04q BC26gw6V1gRP2xJXI7XYcSgHltawbRvoToWAo4SavJevJpWRsJzPOGuYpxS2XSDz Xjb5eAs6z5sdIz/v/ovwR/jlyHEJVaudXolg1cg443W2UnFPtEEad7PeU80cFTRC ZdukK39Om+jcNmDnM4LwfztaeI6wbHo+Xgo1+pzcvSsQ9eMfroTIPoLYQ== 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=Z9SPO82Q FtRUDOypvZPynhYZPqA7BY2yEIhbbL1KlSutQlLhXfxUV0+cIgK9Zz5DKVovohrP 25mja0XRYK+uleJICNTRSQotZaf8hCCyyMS/R5x3i+At5F6ci7MyTy0mcm9EkvHc KvkNNbpmRv5DbQaXN8WINBgJ4adrRw6rnVRv1YVpjB8sdr2Cz6pLf+2CoIt7UPRV W9M1z2Q+xKAo5BKiPeaTAfeoLnSC4VyLNpglT79ujHuz73GL5htEjwgZYub8jifa 7FQ2qgUHy7lUj87ainnmCPoVJ13CvuRE0Gl2gHEtAlPjMa9KbV9JDm+DO2wJ9TEb tMajDyYzgrGowg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieehgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Dec 2021 07:08:29 -0500 (EST) From: Alistair Francis To: kernel@pengutronix.de, robh+dt@kernel.org, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, alistair23@gmail.com, linux-hwmon@vger.kernel.org, andreas@kemnade.info, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, linux-imx@nxp.com, devicetree@vger.kernel.org, amitk@kernel.org, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v16 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Thu, 2 Dec 2021 22:07:54 +1000 Message-Id: <20211202120758.41478-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211202120758.41478-1-alistair@alistair23.me> References: <20211202120758.41478-1-alistair@alistair23.me> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211202_040837_144933_0156E051 X-CRM114-Status: UNSURE ( 8.91 ) 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;