From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2978A188587 for ; Tue, 24 Dec 2024 19:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735069027; cv=none; b=aIdIH7UTiwTL3B+gxhD0ejGCLwGKtQPSm9GVEty5odlvQKgTJWpX/KuOA6z5wKEvsQTAi1TKCSBf7XIShEZmBwHyA8G9vUVe4Av7MKBujIqilcaOdgkX4FtiUpLFcfu0dySM8E3LpLv6O7M69JmJDnBA+CcL307DjXvhc41qq3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735069027; c=relaxed/simple; bh=znlEzJiqbH6f1z0afGWK9NHDxeX3XXdxwdHncGM6gHg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=etRpppqG8z/2NlqzhxJd5ROyeBtlnl/9fzCrEeU5L53bM8adT326iAKRx3LI/T4V8xgRZkFurh1OLRlb/W+HNtISr40GNV4zy9ukgQ+x36TIBfwjqj6kO1BME0fYvypvnOhE7gNrC0H6yPYLHjtJOlO8AwtEruak5+ydP7L+U38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=BSbFXC0J; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="BSbFXC0J" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-385dece873cso2071200f8f.0 for ; Tue, 24 Dec 2024 11:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1735069023; x=1735673823; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6AhTF16+4GHJDcmn7BNcQctD3GIASyb4i+W0iJLxljo=; b=BSbFXC0JeC1lGCaKtxB0uVR5H19ErW+KS0DYceZW3BDpzxz+RTpDzhO3KVoYzYNdBu CDvUap4i9Ucyxa7fhOsowATSgP8nVa4caat8ByZZAszKhZWfI5hRseTh0Nxa273WFUr0 AamBDVsQagsiOxLtAKzeHoehqFJufLe1RM/ziNYH09gqIZCsCVSCrMLOYyzoh2+pn1bJ PumaBLXeed0dxocqUZOvmMEp1NB8M9o97PNbU50o5lAgrwTTqj3Tbtesswrqlz8zX9To l0wdvx28lhljMTqQC0BJBD35tija9XfZmLRVUrsD+JVDFCfN4987H/SWo7cli9o/3d3H A8+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735069023; x=1735673823; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6AhTF16+4GHJDcmn7BNcQctD3GIASyb4i+W0iJLxljo=; b=FxRogDTdhnYa548SASnYV8fhmBK4vC2TisMiU7e6pzM6QcrsIT/KfupKcIsfZTKiKc r/XnxTE6zEVk9e2nxf+6P9LIhUVU3jzrj6dFowPYLWvwl8VDyOz0xW/Fn/Y+HCaMkaAx HbbGEjNpWLZQPNpROLAY02CJp+h8kI7rei6WL/WQE+Hf69bTZfFZhIcS5e4ObCsrEYcY sKq/XJ99O/7aBjbvx58OEp1W/zXrTtPwttJmeWY5/3TrYjTjn5vuWTNH1eo1YkgeIpwW dUTQuQi9W4AjqYm/n1onPG6Nc655TXqr1DCIYvBIyvfJVZgKcFnByXgSChl7a37Jj46S XGFw== X-Forwarded-Encrypted: i=1; AJvYcCURWQQa8hVSaK1PDydEMD97xSbJQq27uXuHYJsw7NnDW/57eMqAazKdKxPtL02ADVkP1zGizXQjmBjOvos=@vger.kernel.org X-Gm-Message-State: AOJu0YzT9vlvYbw2EAbwb9NUEROMfH4DQIm9cBolmOwJ8DlfaY5PwQjZ 5Or3MNhuMx1NrRG0pwi4apnL9C2hPZS//PBTYToh3Gj6rPrb+VOKkcGx2wfUo4w= X-Gm-Gg: ASbGncvTRSQBdWcsX/aVa7N2Yp2rBzdVskOzIOje21l+2Toeg+Cahx3L/TElNidu/Z6 SYCxlzCkKlCKhpJLu6sNOt33GVLW/1WNUHtAq8VXrxi3VZ6uCZ84eypn9q8jjI3LhJlzUpfFsyr nlH0/gkwSH//yMXSyAoAMJaObU/hWRNrcS9gpuqD55jkM8u+x9UoPVbSidfiYLf4dWc8yVEECoo CHN69zf+yK6qVWS1JzoAT2IdEVmMiaDuYJHixejPMP5QJCfZUzU61f4hF3R X-Google-Smtp-Source: AGHT+IEt0LJOQXRwGbvhcle4dDMlKJ6orsA2KJRSaLZN9Bii2DRSRLvn0wQ3gl/SeJ8Wdz74pHSfKQ== X-Received: by 2002:a05:6000:1fad:b0:385:ec89:2f07 with SMTP id ffacd0b85a97d-38a222001b1mr12297303f8f.32.1735069023273; Tue, 24 Dec 2024 11:37:03 -0800 (PST) Received: from [127.0.1.1] ([2001:861:d40:ed60:c48a:f4b0:6773:1823]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea4a7sm175691355e9.3.2024.12.24.11.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 11:37:02 -0800 (PST) From: Guillaume La Roque Date: Tue, 24 Dec 2024 20:36:42 +0100 Subject: [PATCH v4 1/2] irqchip/ti-sci-intr: add module build support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20241224-timodules-v4-1-c5e010f58e2c@baylibre.com> References: <20241224-timodules-v4-0-c5e010f58e2c@baylibre.com> In-Reply-To: <20241224-timodules-v4-0-c5e010f58e2c@baylibre.com> To: Catalin Marinas , Will Deacon , Thomas Gleixner , Nishanth Menon , Tero Kristo , Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, vishalm@ti.com, Mattijs Korpershoek , Kevin Hilman , Guillaume La Roque , Nicolas Frayer X-Mailer: b4 0.14.1 From: Nicolas Frayer Add module build support in Kconfig for the TI SCI interrupt router driver.This driver depends on TI sci firmware driver which are aready support module build. Add MODULE_LICENSE which is mandatory to support module build. Signed-off-by: Nicolas Frayer Signed-off-by: Guillaume La Roque --- arch/arm64/Kconfig.platforms | 1 - drivers/irqchip/Kconfig | 3 ++- drivers/irqchip/irq-ti-sci-intr.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 370a9d2b6919..eda592ac9c8d 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -135,7 +135,6 @@ config ARCH_K3 select SOC_TI select TI_MESSAGE_MANAGER select TI_SCI_PROTOCOL - select TI_SCI_INTR_IRQCHIP select TI_SCI_INTA_IRQCHIP select TI_K3_SOCINFO help diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 9bee02db1643..1099691c45d5 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -534,8 +534,9 @@ config LS1X_IRQ Support for the Loongson-1 platform Interrupt Controller. config TI_SCI_INTR_IRQCHIP - bool + tristate "TI SCI INTR Interrupt Controller" depends on TI_SCI_PROTOCOL + depends on ARCH_K3 || COMPILE_TEST select IRQ_DOMAIN_HIERARCHY help This enables the irqchip driver support for K3 Interrupt router diff --git a/drivers/irqchip/irq-ti-sci-intr.c b/drivers/irqchip/irq-ti-sci-intr.c index c027cd9e4a69..b49a73106c69 100644 --- a/drivers/irqchip/irq-ti-sci-intr.c +++ b/drivers/irqchip/irq-ti-sci-intr.c @@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver); MODULE_AUTHOR("Lokesh Vutla "); MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol"); +MODULE_LICENSE("GPL"); -- 2.34.1