From mboxrd@z Thu Jan 1 00:00:00 1970 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 9F3ECC2BD05 for ; Mon, 24 Jun 2024 06:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AYdNd57iAuRtoezAk2Hw4WaTeN0KxsUMdYBv57EkAXM=; b=jvHfD0cQvxOfXyxk6KZEUbaSBd E3Q5Ze8M9R6OjQIqSPIjEcbE/pYznCwMQ/oaPjunN5iLtiX4iZAk39tYRAgeOuD7JsY5Boe52E6Wq n0CJksPF4J5r73kxFloPkMga1nka3/kdVNPtXOJRhHyvstVA5MXyN3BXo/9E92qja5zZpKuVxMGz1 tLCXEHDBwDSBjZL2fxtZrtxNfMy88gqMV5lb/IDDGjBUJ5unvI8uB+0bxT0qSNP5sD9aSUaLMjvEU NSm03W5Lu7nMX8FqvqeN0AddcwcFELZBZwWKyb9BNFLVTY2OhHNJ1+Elr4HGzmE+pyEnQUDNnbKGO tQjREsxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLdHe-0000000FkZI-11pw; Mon, 24 Jun 2024 06:34:34 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLdHY-0000000FkWd-1fjX for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2024 06:34:30 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45O2RW1Z023858; Mon, 24 Jun 2024 08:34:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= AYdNd57iAuRtoezAk2Hw4WaTeN0KxsUMdYBv57EkAXM=; b=562J2h7wZJ4LeIMR C3h7xoriDTH5zmwWtUtz4m68927A0dbGLaR/B/WVz7gRjdDZlJpx+8CpMKlP7EVS zBL/IRZRNWYyPz+WHHYWuUhIJNLHFTkGTy1+EfjhfE4lBRulGyf/FhRmWbT/8RJl yv23aeErmZBg+a7Xtxq4hOFRyNgvPb1Vkp1G+B3vv7grer9n0tD8p8JsmZ0XXmqf Cz3fQYHqBQUbFD363DmjUmbEuyqh7QTJXTovOJyUFL3BeQPGXyKUmXfJa44nzZP5 MM++5puibrzkYSkHawxmJztzKbT9/l1m9OykHs51AbeECS4DCRJV/ql9Nzu09uFb Z96O5A== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ywm1g5qbt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2024 08:34:21 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 1C32440044; Mon, 24 Jun 2024 08:34:16 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B07C82105AF; Mon, 24 Jun 2024 08:33:59 +0200 (CEST) Received: from [10.48.87.62] (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 24 Jun 2024 08:33:59 +0200 Message-ID: <00f3fe1f-1778-4b7d-b905-8a7017cc68ac@foss.st.com> Date: Mon, 24 Jun 2024 08:33:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] reset: sti: allow building under COMPILE_TEST To: Philipp Zabel CC: , , References: <20240621-reset-compile-sti-v1-1-b7a66ce29911@pengutronix.de> Content-Language: en-US From: Patrice CHOTARD In-Reply-To: <20240621-reset-compile-sti-v1-1-b7a66ce29911@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.87.62] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-24_06,2024-06-21_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240623_233429_249332_7D17C161 X-CRM114-Status: GOOD ( 11.92 ) 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 On 6/21/24 17:21, Philipp Zabel wrote: > The STIH407 reset driver can be compiled without ARCH_STI being > enabled. Allow it to be built under COMPILE_TEST. > > Signed-off-by: Philipp Zabel > --- > drivers/reset/Makefile | 2 +- > drivers/reset/sti/Kconfig | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile > index fd8b49fa46fc..ff716f9afc84 100644 > --- a/drivers/reset/Makefile > +++ b/drivers/reset/Makefile > @@ -2,7 +2,7 @@ > obj-y += core.o > obj-y += hisilicon/ > obj-y += starfive/ > -obj-$(CONFIG_ARCH_STI) += sti/ > +obj-y += sti/ > obj-$(CONFIG_ARCH_TEGRA) += tegra/ > obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o > obj-$(CONFIG_RESET_ATH79) += reset-ath79.o > diff --git a/drivers/reset/sti/Kconfig b/drivers/reset/sti/Kconfig > index a2622e146b8b..0b599f7cf6ed 100644 > --- a/drivers/reset/sti/Kconfig > +++ b/drivers/reset/sti/Kconfig > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > -if ARCH_STI > +if ARCH_STI || COMPILE_TEST > > config STIH407_RESET > - bool > + bool "STIH407 Reset Driver" if COMPILE_TEST > > endif > > --- > base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 > change-id: 20240621-reset-compile-sti-ca6c2ddd0c63 > > Best regards, Reviewed-by: Patrice Chotard Thanks Patrice