From patchwork Mon Apr 4 09:45:00 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 12800066
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 42A54C433F5
for ;
Mon, 4 Apr 2022 09:46:17 +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: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:In-Reply-To:References:
List-Owner; bh=6KpOBkRx2kcu+LOlpXT8Ap5U/06DT2Q2kegysEFyz18=; b=qGCnt0unelgGsZ
rQsQ9Tv4GH7N265u7DIRNwUax+u1Bl25ts3Hag+qlDnsf4pvN1/S+2+2IfTq5GKfgcGj9WCEf0qZW
e0k4h1W936od2QrGY5Y2TgejfUy/ajhSu5W+9d+toZ4JTdk5BQKWS/FQwd1Y0LBuiSY61WB3EDciv
mZDH/4Au4k1QYReY6IQPujWzISdCY5QkcvpvDQCYbH+oFlnftq4sFElBHYmgZthYD5qbTWVNd7BbS
BNOoRiOBkY2GUGzcw+YF80WM9YyIk46VCM9Z+vxReBoqAmf33yCt0Jb2FpMWaHaHuBrtdlGqfk4he
UBOUb3M2Q3rXAQtSLHSg==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux))
id 1nbJGt-00EGHZ-Gw; Mon, 04 Apr 2022 09:45:15 +0000
Received: from metis.ext.pengutronix.de
([2001:67c:670:201:290:27ff:fe1d:cc33])
by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux))
id 1nbJGr-00EGEh-8n
for linux-arm-kernel@lists.infradead.org; Mon, 04 Apr 2022 09:45:14 +0000
Received: from dude03.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::39])
by metis.ext.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1nbJGj-0007M5-Tr; Mon, 04 Apr 2022 11:45:05 +0200
From: Philipp Zabel
To: linux-kernel@vger.kernel.org
Cc: Nishanth Menon , Tero Kristo ,
Santosh Shilimkar ,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH] reset: ti-sci: allow building under COMPILE_TEST
Date: Mon, 4 Apr 2022 11:45:00 +0200
Message-Id: <20220404094500.2708816-1-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.30.2
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::39
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20220404_024513_348395_030ABF97
X-CRM114-Status: GOOD ( 12.54 )
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
Since commit 043cfff99a18 ("firmware: ti_sci: Fix compilation failure
when CONFIG_TI_SCI_PROTOCOL is not defined") it is possible to build
reset-ti-sci under CONFIG_COMPILE_TEST.
Signed-off-by: Philipp Zabel
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index b496028b6bfa..d6cb52a1dce7 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -240,7 +240,7 @@ config RESET_SUNXI
config RESET_TI_SCI
tristate "TI System Control Interface (TI-SCI) reset driver"
- depends on TI_SCI_PROTOCOL
+ depends on TI_SCI_PROTOCOL || COMPILE_TEST
help
This enables the reset driver support over TI System Control Interface
available on some new TI's SoCs. If you wish to use reset resources