From patchwork Mon Oct 9 13:58:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13413770 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 BFAB7E95A91 for ; Mon, 9 Oct 2023 13:59:20 +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=6sw0xazWL1ml/cAbTmGAc+NUGQ3xnBKOy31DI5qzT5k=; b=VAi1CKvJugYLzD admPBn8H/YGIbim7TU4ONYTcccZvRa0DHlDdAAPsWHDnum2g+ifUk6amM9q81+xGbb83w/rf3hI1n p779P2gT2a3HTWTWVK2QeP6wFxLHb/FQxfRzU2/xpsoyWvG3Vvk+LujQZijxdj613jMCwlpOwxr54 0Wu3DGL0IUaUvXkWKt6lSFvgQlZMeKBGRY8iEw/IPJzJVUdXzePRogW1AAkVQwG/hFDtluqg+fXRu 9lUAida+KQGcth0EG4Io0PfIFnyqbeD+PLIYjtUC8/pDeVVV0Ib9yQCOs8zGz/ulKuY+MB5o6VFZH L9nPmx0jeyqmM1aAEYng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpqmW-00As7N-1T; Mon, 09 Oct 2023 13:58:48 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpqmP-00As53-02 for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2023 13:58:43 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4054496bde3so42313535e9.1 for ; Mon, 09 Oct 2023 06:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696859919; x=1697464719; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J7aAFQmtFZngidEZ+zvaFbvJXqmGzVQdu9SnwN3LMKA=; b=hYnGDRRFgFasZt8PvV6GRra+Tt+IgYi9wkWbbB41CU2IMkw70pTUWaM3QNA21Cd1pf dOMDzvptdssaACv+7Rx869SXAlhEB81lG5c6t4CAubaw5reTqFnOb4YPjebAHYVFkm6n hZ6NSxtBOPAV1WQYXbZbCvJsSDnIKvnavGlgBTzgx7DwqVyR/nXooWWhrGQYSZfgBJdm rI1w2TLX9wUstzfCk6i1dqY4CqpfAC4SSGSTzEm7RTGrIv7Y/078zcmHu+QspCX7s5gN BRMrWzdSUnnAa2weggx9qbC7JeYKSnsszR0RUdEtCKBwlDH3iNZQ6fs6/22jnTIbQfiA oOGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696859919; x=1697464719; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J7aAFQmtFZngidEZ+zvaFbvJXqmGzVQdu9SnwN3LMKA=; b=PcoMzCNeZhBkBTAtQvQG6D38KkZKOwcNN3i/g+2yxaQ6iBrrqocsBzGd4w+X/iw6To zapKHMHaFvHGkr2KAQtVsy7VoU7N3Xw80Hkb7adHQmqSjGxqTweOpp3YGqTfUK9ohAfK taLlQXW2T6sQRk5MgOkXdi6vMmM+hOsyE5PzyDYzYyUVAc6mJqScMkbEteJ+dQ0EbpxM 8JEewGqyRtKRam30ayeYYb7TMHiwIOxMuYY//hTHdsyAuJCHU49SKbCyCd+x0l3ha+1p guHiOJmrxU610z0hiDLk1GvmD3Oy0We8WxE5f+TBCYALXiK45CqAcRP/QlHANjOOuwgn 3jyA== X-Gm-Message-State: AOJu0YxL44HbjekmrDjDajTMYqrna+uSlTaOkM4//Ty//Ghx/TsHp028 /CUY8IrPXpDfTuFh7PAOKVI= X-Google-Smtp-Source: AGHT+IFafcmJH4Bnizt1oeh38NpJli8wyUInMQou89EMLcODMJkK95CzypgH0HoqqiErHwCe5BTudA== X-Received: by 2002:a7b:cc8f:0:b0:401:dc7e:b688 with SMTP id p15-20020a7bcc8f000000b00401dc7eb688mr13471200wma.6.1696859918633; Mon, 09 Oct 2023 06:58:38 -0700 (PDT) Received: from morpheus.home.roving-it.com.com (8.c.1.0.0.0.0.0.0.0.0.0.0.0.0.0.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681::1c8]) by smtp.googlemail.com with ESMTPSA id l34-20020a05600c1d2200b003fef5e76f2csm6756826wms.0.2023.10.09.06.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:58:38 -0700 (PDT) From: Peter Robinson To: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Arnd Bergmann , Ulf Hansson , linux-arm-kernel@lists.infradead.org Cc: Peter Robinson , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 2/3] power: reset: brcmstb: Depend on actual SoC dependencies Date: Mon, 9 Oct 2023 14:58:18 +0100 Message-ID: <20231009135833.17880-3-pbrobinson@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231009135833.17880-1-pbrobinson@gmail.com> References: <20231009135833.17880-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_065841_045574_E76895AF X-CRM114-Status: GOOD ( 13.75 ) 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 Depend on the explicit SoC defines rather than generic architectures like most of the rest of the HW drivers do. This makes the drivers only available for the HW and for compile testing. Signed-off-by: Peter Robinson Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org Acked-by: Florian Fainelli --- drivers/power/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 411e00b255d6..fece990af4a7 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -66,7 +66,7 @@ config POWER_RESET_BRCMKONA config POWER_RESET_BRCMSTB bool "Broadcom STB reset driver" - depends on ARM || ARM64 || MIPS || COMPILE_TEST + depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST depends on MFD_SYSCON default ARCH_BRCMSTB || BMIPS_GENERIC help