From patchwork Tue Sep 5 18:53:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13374939 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 DF303CA0FFB for ; Tue, 5 Sep 2023 18:54:14 +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=VEgaML3380mtHPh7/YntvpokaRNwAfnYdr5yApqRz3o=; b=chi3n/r88wZ5Va agGhMClP+R8OWDJsHY9vs3TbhIqgT89nYOJoLgVZTQeXRxANYxlbVjSbyxf6AqkBboNfWPb6zulIn jWWjgcNKnSRYj1cOG3ULD8B7V5BpMCeW/eBCymna2SDhzEK8Z6oH72/9kvTTP8d3vqQWjZTDTSJm1 PUG+XxjpG28Im12GHz6WUYnE1FFTbfXdv8osdwDlo5CVSgreMU3PY6c+owKEgpyrqwG3FRfAGbjfB DEm+8L52Psuo3R+sWNTMevUdTcl27E4aMKGwKJA1K08uKCtq6ZeLsKMR7uiqmsfiZ+nh+NrZaVFOu 2/7iQZk3Z8Kgt8ZiCvNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdbBP-006YbD-0S; Tue, 05 Sep 2023 18:53:51 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdbBI-006YTj-14 for linux-arm-kernel@lists.infradead.org; Tue, 05 Sep 2023 18:53:45 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4018af103bcso1013515e9.1 for ; Tue, 05 Sep 2023 11:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1693940020; x=1694544820; 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=c6tn4Tgcsi1O0hqP3FN/fJ4KrpHQM0EtczTKadJgTtw=; b=nzfVfedccFLfsc35Jyl6X5TFr2MmAwqthY0wpkkZEnec9xDAccuFQESqz5v79bsG9O ni2fTlQwV/CoZ5wbh2l4lIWukPlgrEqbvkij5NU6DAyhHBqBYOpmBWrmV4v2sTt7m3Cn YGjHaQrfH1WXFIMXLKDW7x1Hxuq91o0ydrR7HRACjuzI0kYyVGtCfG/7sZbG/iirLP3w jl9f86i0LvkMuxNo20ewSgA88UOm8fTO4M1X0DbFb59/qrkLeY2uQstm2oMtslwx9WH/ 3cIN3PHq0ttF9fa/5UxYew+TXrgHfsJKOhzMjEaLt36Q0RaPMHIoF8PK7KGPzypQKC+J 4eaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693940020; x=1694544820; 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=c6tn4Tgcsi1O0hqP3FN/fJ4KrpHQM0EtczTKadJgTtw=; b=UAamuIpHNvWjmqcXSWo3ebR79qv/O/ikNtLgmKTCIZ/ULd8C7RVIVVPMsK1sbIm8r2 q8Wsywu3m8f6T0iuY9fbI2xCmf/MZ9y7L2a6CNaVE2aTXW8dtxXqW2juYYCw+qJpg5RE kDDjtnPxyrvjcQ0iLABxfHQgbnEme5tCagnzBQz2cmLwFrRoQ04wQHxrukpVyE2d2Zv2 uKTXEsKq86L4y5h7CLLNyVBRHDqS4ego1kMC2X+JZYUYYQ47aB5XXzGgX1r7mw93Z2VZ 7ZmBB0/zTAbfrwuQY3eIUJPt3iojssG76VISWAdjFtxEzn+hku+L6vZJT8NY4PSTGm7i u/mA== X-Gm-Message-State: AOJu0YyzGyaEJ1+PDFW/+U/JYAHjjpHgF37wrEnHg4haA7EcdCQj6suC WLl6/RJ3k3QjYAd7cMkPaIrf0A== X-Google-Smtp-Source: AGHT+IHaOumSDU3nr/8PNaqRqHS3aAWO3c0eVyPkb5h63GCpGBG6kfLxrczPHvapwSdIRLtHe1YhsQ== X-Received: by 2002:a7b:ce90:0:b0:3fe:1b5e:82 with SMTP id q16-20020a7bce90000000b003fe1b5e0082mr547652wmj.20.1693940020693; Tue, 05 Sep 2023 11:53:40 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7a54:5dbc:6d09:48b7]) by smtp.gmail.com with ESMTPSA id 17-20020a05600c249100b003fbc30825fbsm17550010wms.39.2023.09.05.11.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 11:53:40 -0700 (PDT) From: Bartosz Golaszewski To: Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , Mika Westerberg , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , Dipen Patel , Thierry Reding , Jonathan Hunter , Hans de Goede , Mark Gross Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org, platform-driver-x86@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 12/21] hte: allow building modules with COMPILE_TEST enabled Date: Tue, 5 Sep 2023 20:53:00 +0200 Message-Id: <20230905185309.131295-13-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230905185309.131295-1-brgl@bgdev.pl> References: <20230905185309.131295-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230905_115344_369988_7ECFAB6F X-CRM114-Status: GOOD ( 13.58 ) 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 From: Bartosz Golaszewski Allow building all HTE modules with COMPILE_TEST Kconfig option enabled. Signed-off-by: Bartosz Golaszewski Acked-by: Linus Walleij --- drivers/hte/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hte/Kconfig b/drivers/hte/Kconfig index cf29e0218bae..083e67492bf2 100644 --- a/drivers/hte/Kconfig +++ b/drivers/hte/Kconfig @@ -16,7 +16,7 @@ if HTE config HTE_TEGRA194 tristate "NVIDIA Tegra194 HTE Support" - depends on ARCH_TEGRA_194_SOC + depends on (ARCH_TEGRA_194_SOC || COMPILE_TEST) help Enable this option for integrated hardware timestamping engine also known as generic timestamping engine (GTE) support on NVIDIA Tegra194 @@ -25,7 +25,7 @@ config HTE_TEGRA194 config HTE_TEGRA194_TEST tristate "NVIDIA Tegra194 HTE Test" - depends on HTE_TEGRA194 + depends on (HTE_TEGRA194 || COMPILE_TEST) help The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE framework to timestamp GPIO and LIC IRQ lines.