From patchwork Sun Aug 25 18:05:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13776866 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 BC607C5321E for ; Sun, 25 Aug 2024 18:09:54 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2fDrWsY1iZgM+nyCAHabCHTNPvbQeS69ZzWK0rFucpI=; b=c66+nKtMuQjoNqMFj54R2bMkC6 K2YIxawZdoDqqcY4IB1c2HnqgxwqSkjbhQjARqeqH3U/2uf9UUmbFVjVsXehfFwleAsZ+Y8mxx6Si myOd/e0kUQ1/HMKPKWzx4GybgjjhzmKQNeBw0sH/3INVzbmIFa+cch/sFX6WIe/o6XpbYcYENnePW SeV0U0pYp32MbNwUy+PkYBSguzIAsUS+raLnTF7Q5NjfdZTQckgMPQX6I18a8roYjGG7k61jt05F0 Xz1cEpG/7L8Y0wDtREIuTQhe1O8DSUAqDWITm6Ch0YVko8ZwWkL13PZ5ApfefV8QpJhuHOyZhB6rm 9Tbq/rfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siHgM-00000004mPo-32qn; Sun, 25 Aug 2024 18:09:42 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siHcj-00000004lkc-3nin for linux-arm-kernel@lists.infradead.org; Sun, 25 Aug 2024 18:05:59 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4280ef642fbso4497035e9.1 for ; Sun, 25 Aug 2024 11:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724609156; x=1725213956; darn=lists.infradead.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=2fDrWsY1iZgM+nyCAHabCHTNPvbQeS69ZzWK0rFucpI=; b=qAcyDn/7dbgxKEicEF7/hRtoI3Tfp/ockMU1ZD/WyhYsYkS0K/3YwJge6himrVri8B hPpvvRF8bbL/QCIGRJYLMek9YOgguLkeOzAARtPTY2+rrUkHbxkVR9Wn1VaszGSPiJDW Xr6+KYWhq/wUSklUsxq7U77dO5wrHyl9iexD06TLvkC/m28DbWzdF1T4xLzOssL8kWgB Hewv1TYTAaFIlmeYCkyv6gzKXyZCT7usKQlMxzmSexc7ye7ppXhIayYOg6SjpEDA3lvz OCt93xK3sAbI8yFO+yq+rRrf9KuW/smHlM5MncQRBi/eq7lwH6nU1hxjZmv/mpHhdXmy tNTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724609156; x=1725213956; 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=2fDrWsY1iZgM+nyCAHabCHTNPvbQeS69ZzWK0rFucpI=; b=TJtZyLyV5xGNU/7QbGOnNbjZdgxlYkMIA4YghdN8gZdl/lJqI5MY6zVBPDs1QlhV51 ZAMwDY5Z3EhjtwXHgceU4VnQpVFDMDffw9P4CEgfKNgiveQJr3ZpnorYAxNz2yNIgz1m TLG+8VCoi+k5JJytEyJP/iwcrhTap7qPukMenuPKW4Lni3S5xBLbObiE67ChDyXngHDA 0ogoiuDTXZQCkGCiTW4H6FPLRPEaly87REoIKoGcNYr8Wo2D7MzPMLThiQGOXHeqeJdp +m59k/ciAEyGeeKDWmNQCT2JZRsaUf8hLAHi4cIwhXWcoYjTTQZvZe7akGHTUAEA1WR4 7tNQ== X-Gm-Message-State: AOJu0YzBetsOcPHs5Lv4UXNdr0s5j+iQoRaB90TVggl57A0ZGPNLRQia iC9jlAsn/3KmB840+UP9SrSkwCKyiwGv8jaAlDPis42lt2fk/FbF9vZZ7vGDVu8= X-Google-Smtp-Source: AGHT+IEDYNS7iJF8sbKwxKBJ35bmHiraIvVb0X9+WzzxjqXzAuTu70MfBmpEuyUqMcMxv7uaH6fBeQ== X-Received: by 2002:a05:600c:4445:b0:425:65b1:abb4 with SMTP id 5b1f17b1804b1-42acc8a7756mr33568245e9.0.1724609156014; Sun, 25 Aug 2024 11:05:56 -0700 (PDT) Received: from [127.0.1.1] ([178.197.222.82]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37311dca113sm6438736f8f.16.2024.08.25.11.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 11:05:55 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 25 Aug 2024 20:05:25 +0200 Subject: [PATCH 4/4] soc: versatile: enable compile testing MIME-Version: 1.0 Message-Id: <20240825-soc-dev-fixes-v1-4-ff4b35abed83@linaro.org> References: <20240825-soc-dev-fixes-v1-0-ff4b35abed83@linaro.org> In-Reply-To: <20240825-soc-dev-fixes-v1-0-ff4b35abed83@linaro.org> To: Linus Walleij , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1712; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/iX2lwrQe9MmqSKr9pDmH8EVTSENP3ZuL4P3UVBcTPw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmy3J6dz7Weq/ta3ekEdu3b9XYUa4uI5fiye4RS 6JUBZJSWqeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZstyegAKCRDBN2bmhouD 13hBD/wLP4PBvPVVbcABSQEE4DtJV2kF7Kk0LFiYeTx8O4xZb9nDIt/oQzKGYrwwIRBHmlvdSDv 9ZMctbNkN+ArrhA39bSQ1nNjIjymsEaZaSe0tLnWn0GKu/MDdtbQOzYhSl/a15/33JUJxdSB+b4 SIQNahan0N3O703qOJ5soQYAS5GCXop3nYfj1qniBwgllv9Le9dNRlTjjyWTltfWMxmqTncYvDI Xzgw8DkNi/q7SAqMm+HkcVVdxWl737M/XHsrFe1XSCqhmhf/RFf9dT2Pk7xj1lNZ6xig/f2YsIy nqb8yGZ0gseB07NjchxINBWOinC5WCJgp4vfnGwmaljn+y/JzUdcN6ELkgQR52Dp31uRDMkJ5rD fG3vT7pumB+Izu9zj5WVmZ301FrupehIXCRCg09ESXfXXjmov5VmBdO72RIUMznVxjgklW/keKd 8AT+yYJT1BSP15gK8eBGi0Lnu4LKcv1G37O89eAa+OkPJsno0ups0XFZtunmHolYf/JzzhHkVr4 oh+HqIZDDfWEV6Od2XXH0TMVzCh4b7/f745Epol8BsXbbq9y67hhX4Q02Il/oZJ7YibLtMWZVo6 mB/pFRaMA68NiqoNhDPVNgXPv8A/kqQnSMu9ApU73jEe3RVeop0Rgi79oTRn/kelkcjYdk+9nwk hgaYGzoyd2i6K3Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240825_110558_049575_20E5E270 X-CRM114-Status: GOOD ( 14.66 ) 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 Enable compile testing for broader build coverage. None of the drivers use anything from "asm", so code should build everywhere. CONFIG_PLAT_VERSATILE is being selected by driver dependencies (CONFIG_ARCH_INTEGRATOR and CONFIG_ARCH_REALVIEW), so directory can be always added to Makefile targets without impacting other configurations. Signed-off-by: Krzysztof Kozlowski --- drivers/soc/Makefile | 2 +- drivers/soc/versatile/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index fb2bd31387d0..56f476a12847 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -32,5 +32,5 @@ obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-y += ti/ obj-$(CONFIG_ARCH_U8500) += ux500/ -obj-$(CONFIG_PLAT_VERSATILE) += versatile/ +obj-y += versatile/ obj-y += xilinx/ diff --git a/drivers/soc/versatile/Kconfig b/drivers/soc/versatile/Kconfig index c3792c0a84ac..7bbf54a8d879 100644 --- a/drivers/soc/versatile/Kconfig +++ b/drivers/soc/versatile/Kconfig @@ -4,7 +4,7 @@ # config SOC_INTEGRATOR_CM bool "SoC bus device for the ARM Integrator platform core modules" - depends on ARCH_INTEGRATOR + depends on ARCH_INTEGRATOR || COMPILE_TEST select SOC_BUS help Include support for the SoC bus on the ARM Integrator platform @@ -13,7 +13,7 @@ config SOC_INTEGRATOR_CM config SOC_REALVIEW bool "SoC bus device for the ARM RealView platforms" - depends on ARCH_REALVIEW + depends on ARCH_REALVIEW || COMPILE_TEST select SOC_BUS help Include support for the SoC bus on the ARM RealView platforms