From patchwork Wed Nov 10 12:29:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 12692161 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7F4AC433F5 for ; Wed, 10 Nov 2021 12:32:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 84EBF6102A for ; Wed, 10 Nov 2021 12:32:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 84EBF6102A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alistair23.me Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=rEtCluzZXftJv1Cx+pDrB8fXqD+A/9mVILi+fE0UwG4=; b=d6AABIR/2eAxHl CQyJUD+XWRs9TlJsZgALrnNQfjo1+kU1lroqcFJpl10LqJf7l6Ji60qP31aO8ls2SfivKSZjHSNzA gnNVvMaf1d8a2jjxig2DAHn8P5qLnJ8jRwltvnuBYZW9fCbpvJDEKOMDHJfkuO36jh4AC4klYtWFt JaDr82kh3uV1fbsNA3bycufchx0ESZkWfbYpUq5rC9JKw6Y1n3LQOA0RUcDcM5Kqp17h92DP57S0S DekPIZksC89snKplbZz4iYyzolQJ8QSAk0xe22dFHxUw7D+l+9rlkNjLoGUS94yXpVlY/QJ/wJ3rO 1O89pTYJQvrLrRPs346A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkmkj-005PDs-Q7; Wed, 10 Nov 2021 12:30:58 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkmkB-005P3H-SC for linux-arm-kernel@lists.infradead.org; Wed, 10 Nov 2021 12:30:25 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 2B1DA580869; Wed, 10 Nov 2021 07:30:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 10 Nov 2021 07:30:23 -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=gYLYvrAxI3X/3 c3mgOA/Ii05B95qk6fjjUUXWCEYze4=; b=pmP0n9tCtUd5+fmxb+wk4r2GCSahZ SQrrpwHfb3VmoZQ57cQB4s44KDOsWucev0maz7se0/iOJjVIipx33W42cAHKEo9B lnwT/Uh3Wfu4jsAh0Nre617VfL6nxvn4aF7kFwTLQKsot1JgbQm5zIiJGxI1PDdg e5/3gLCUWM9JzxLXrTAXDzBZsDGD8QS6/dBBHnl469V9K+55338CQCT2lHp6QQTc FhRyI14avHlAl8sS+U8mLxsN2ejvpA4QxAHeCy3umaR1lvejIVGhvj68Zjg1gJPY UPZnvhOVF1nUPmPQfzyfm9q21JHBpzhccNHf+Odpiodm0ZN3PPQ2JWsIw== 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=gYLYvrAxI3X/3c3mgOA/Ii05B95qk6fjjUUXWCEYze4=; b=eE6XjD0U Qmp6Jb9lg7cVtUSy649F7ycszzEbHpm1OviMPZQT59tAcpfTWabixqNdvxinI+sN h6W5DEXM2Mri11pEd/kWRgWz00/qjwCGHQqqmPfBgRfOCdNfqJuQSw4am1E1uRzx Inc/eeinJa08g0ixjbPgyLoeMvaLhQVE07PlhWoYVDnliWIZGYHVz3Pp2ppXJzeN v2fDpYApGlpSKSb3f8f3+dlrAXXH8FbvBcrpOfLoaVmTETArFdKXdnf/t0m5h4ir ILgfnZjj2oih24rQ+4HAfvYy0/XBrIoufAlEbISjaZdOVAlFiw3/6mg5Wmy+wrB7 JMamQRskMxCaPA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudejgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Nov 2021 07:30:17 -0500 (EST) From: Alistair Francis To: lee.jones@linaro.org, broonie@kernel.org, kernel@pengutronix.de, lgirdwood@gmail.com, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, s.hauer@pengutronix.de, linux-hwmon@vger.kernel.org, amitk@kernel.org, linux-pm@vger.kernel.org, linux-imx@nxp.com, alistair23@gmail.com, andreas@kemnade.info, shawnguo@kernel.org, Alistair Francis Subject: [PATCH v15 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Date: Wed, 10 Nov 2021 22:29:44 +1000 Message-Id: <20211110122948.188683-5-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211110122948.188683-1-alistair@alistair23.me> References: <20211110122948.188683-1-alistair@alistair23.me> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_043024_015576_7B59BA8A X-CRM114-Status: UNSURE ( 9.24 ) 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;