Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1223816lqe; Mon, 8 Apr 2024 02:32:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQZLxo5hlZ3LEezjI6BXAcdPfWrwM05bKF1Eo9vWJ0W3dVJ/6B7TRqVyVSYwjLPvRDqacm7r/easHA/SScXn34PKo37H68YiPKmnP+0g== X-Google-Smtp-Source: AGHT+IH0tEgvxjnEoalOoro6LKkYrEiwQoRXzF+Oei2ThbArTCAsNY6X2ooqiikSgVXwLlNNCCqX X-Received: by 2002:a05:6a00:2d2a:b0:6ed:4aaa:3cbd with SMTP id fa42-20020a056a002d2a00b006ed4aaa3cbdmr895170pfb.14.1712568743818; Mon, 08 Apr 2024 02:32:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712568743; cv=pass; d=google.com; s=arc-20160816; b=mavI4iL2GCuP98KaluWs1JTWgfPfEwvZ/UKSJ6Jl1dQoS02N45Fi006gFhtM+8XBi4 cwzMnKXUcVJGR2nddL0wcEYXbGnu5h/hNLF/3Atj9vFLl8MhjaJ++Nfica0ZPdoW018q BTNmDiqbT1ZNe3pWPnaBqg3Z3rnvgHNK3oilJ9uwfuWFpsnqhbATaSCKqt6dGdeQpytW zLMG1aUz7PGnpD6L7jt5Z0xE4QpaYjNHNVck0PaLPqnbzyFQYZUvXt3mPgyopaPvfvxq tAXOQYI64AB+arbJLY1JJ/xWLlP1qkAY17SfnSMJkxqyKqcC+JgGR+K8ZLrmqRj0c+/s 8wdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=CpeA1r65avgQIl08L0F1HfAKVQzLwAzVGadWJ7aS8E8=; fh=GqOhiowDDqW4xX8OXyRm0mz8WpCbNz+OuVzx1T0BWS8=; b=x35+0XEpoxhh9Wot0eVdVTmWhLAMp36Rs5Qp+EpEiyvpSiuaXmHA26HQCTRB6yDzW4 nrJpqpFDE467nKxA4wMKQx+xSRoopp7uSt816XiOHP6VIF43Tmq40BVwWAbkWgyfGTjN 6aVZ102zDLM/kCSQ6QMvk2fdt3YOKDOOaRyNTXPtvxc4rK6fzvzDVDDTj+u/YbGT9jqi uw8me7LGdkdlRuyLJNphkXDJeBDh7nAQIwmXDULnqQDuTf0mO+J8FRNkAXAugmApn3xG lNK3QuQkezx8Mp9Q37hu1EAagekwZCfRRxX1xWszU9XuLrYyZ+WxN8juXJKNWLSzChBB 3Vmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-135152-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135152-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f8-20020a056a001ac800b006e749161d4bsi6030664pfv.397.2024.04.08.02.32.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 02:32:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135152-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-135152-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135152-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 61722282A42 for ; Mon, 8 Apr 2024 09:32:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AAFF4CB30; Mon, 8 Apr 2024 09:31:57 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87D7248CCD for ; Mon, 8 Apr 2024 09:31:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712568717; cv=none; b=mw/bN8xtYV2qJGOU5dDzNdh4nfQdUqZ5Dq+LewfQLOuOl8H0yE0UTUtBf9nByg6GsyXvv4OKnVKfjXwLykWRYJGhFV/mObOBUPktcZKJQg/eUBHuaymkPpOxq7kFVmTXun6aYiFQ23UO3RSNiLLm/zCiiOEmnWKG7411UWQNzew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712568717; c=relaxed/simple; bh=NsGjx/jomoCy4xShRYD7a+fxBdFl3tLSSNdfPyeTJyU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rp+iy4X3k7xTWypozCdDR1q5xmu7LlKWAjsS7dPiVGGoG6oByfB/DBwmSMisC4fehNElxsz8exyLzAgiLaAMVw6O0QME3yABfWpEAG+CqfZz2YRx3oohE1j3dZ5ou95x6FK/BbauNgp8d6nurABabE4iEgYhwtruPJujRbFM8rM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 421041682; Mon, 8 Apr 2024 02:32:25 -0700 (PDT) Received: from pluto.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 200873F766; Mon, 8 Apr 2024 02:31:53 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, konrad.dybcio@linaro.org, souvik.chakravarty@arm.com, Cristian Marussi Subject: [PATCH v2 2/2] firmware: arm_scmi: Add dedicated vendor protocols submenu Date: Mon, 8 Apr 2024 10:30:52 +0100 Message-ID: <20240408093052.3801576-3-cristian.marussi@arm.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240408093052.3801576-1-cristian.marussi@arm.com> References: <20240408093052.3801576-1-cristian.marussi@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a dedicated Kconfig submenu and directory where to collect SCMI vendor protocols implementations. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/Kconfig | 2 ++ drivers/firmware/arm_scmi/Makefile | 1 + drivers/firmware/arm_scmi/vendors/Kconfig | 4 ++++ drivers/firmware/arm_scmi/vendors/Makefile | 2 ++ 4 files changed, 9 insertions(+) create mode 100644 drivers/firmware/arm_scmi/vendors/Kconfig create mode 100644 drivers/firmware/arm_scmi/vendors/Makefile diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig index aa5842be19b2..db9166e99177 100644 --- a/drivers/firmware/arm_scmi/Kconfig +++ b/drivers/firmware/arm_scmi/Kconfig @@ -180,4 +180,6 @@ config ARM_SCMI_POWER_CONTROL called scmi_power_control. Note this may needed early in boot to catch early shutdown/reboot SCMI requests. +source "drivers/firmware/arm_scmi/vendors/Kconfig" + endmenu diff --git a/drivers/firmware/arm_scmi/Makefile b/drivers/firmware/arm_scmi/Makefile index a7bc4796519c..1316892a230d 100644 --- a/drivers/firmware/arm_scmi/Makefile +++ b/drivers/firmware/arm_scmi/Makefile @@ -15,6 +15,7 @@ scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y) obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-core.o obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o +obj-$(CONFIG_ARM_SCMI_PROTOCOL) += vendors/ obj-$(CONFIG_ARM_SCMI_POWER_CONTROL) += scmi_power_control.o diff --git a/drivers/firmware/arm_scmi/vendors/Kconfig b/drivers/firmware/arm_scmi/vendors/Kconfig new file mode 100644 index 000000000000..7c1ca7a12603 --- /dev/null +++ b/drivers/firmware/arm_scmi/vendors/Kconfig @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only +menu "ARM SCMI Vendor Protocols" + +endmenu diff --git a/drivers/firmware/arm_scmi/vendors/Makefile b/drivers/firmware/arm_scmi/vendors/Makefile new file mode 100644 index 000000000000..c6c214158dd8 --- /dev/null +++ b/drivers/firmware/arm_scmi/vendors/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# obj-$(CONFIG_ARM_SCMI_PROTOCOL_) += .o -- 2.44.0