From patchwork Sat Jan 29 17:34:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12729568 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68A45C433FE for ; Sat, 29 Jan 2022 17:34:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244452AbiA2ReP (ORCPT ); Sat, 29 Jan 2022 12:34:15 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:58492 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244373AbiA2ReO (ORCPT ); Sat, 29 Jan 2022 12:34:14 -0500 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 370893FFFC for ; Sat, 29 Jan 2022 17:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643477652; bh=ZuEiDOWhV4/MXvSraxhDORfUTCUItaxIltcgFzmODQE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=OsaYhI0gc6zmL8d5whKQhGM88RTgDF7yXiBeQGoJuU+K1Kzkq9eA0LkK73H7cpLn7 eZf4wX0HydSC3cJAF0+OBJxqtb4bKGuY2n0+jgtL2GGAObP/fnZSh7B+qyJVMBlqqw 4y7j7kkPyTzP0EqMeP2rZQWIB4XsvKDSPtwY2viY1UX3X86m0fbc7+ZDH+5FZ9OMN6 nzjTzZSJ7umgMBHV22wiP0WXeppw1avQwftEkvrfS+pFh+xQIQP+wbhZW3Q6YUR+wA nNgQEKBcG2Cy5TOqMvrFguf0Ec93E5SGwUihfmcgQr3GIe1FDIwwe5H/zk9AR98Ako lsScWgIhM2fdQ== Received: by mail-ed1-f69.google.com with SMTP id b26-20020a056402139a00b004094fddbbdfso4689521edv.12 for ; Sat, 29 Jan 2022 09:34:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZuEiDOWhV4/MXvSraxhDORfUTCUItaxIltcgFzmODQE=; b=JrKmkNW+FNqwLt7oVEkUc8VjTAWiaKJZmq4UR6iBKcG9wVAvybCrp3njYwQP9UStp7 7CTYdqWVeKewHtkeO7dYr3VA4w2/Llm1vlXdBQHdfo3yQaPUZxsDlU2LUPDrxydfZA1G RSuUTYTS+VwQCfzUFANa+TkNThpt0N4RGvZDvqq+78EBSySIlap283UnSd5A0HxiUd8P qXgAVin0e3k+tRGNknJWfX/L0pCGO85L7DChS9A7Vsmrc3rjpX9SXTNUVaTa12cwuNez Ttp6QEY4zcecRWmlNE47CURS9Q9bYKJlWF7KOYQ/NJBJRzprRU1Vkx59o5blrqbhTIlj XFMw== X-Gm-Message-State: AOAM532FF1lgIYGih1AuePZJwxMAXNFZgy52gmvBcgeUOss0yEj22pNl jY1wwKqT1dpllWgXUJmH7748WTbzddvwvMNfYjlp06Lk9dygHqnvTOcRJVR6J66aqYm+a4bTTAD 3YKR9Qmm419gHqxwp5tiXvNIXMpMZwK88fMgBTA== X-Received: by 2002:a17:907:2cc7:: with SMTP id hg7mr5203865ejc.288.1643477651658; Sat, 29 Jan 2022 09:34:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiwyRKb0YWVvVPEq/FWwv5yWs8r/pn2KnZovPieiPe70Duqq+TiEIpanQItvzLIpNIJNkH6w== X-Received: by 2002:a17:907:2cc7:: with SMTP id hg7mr5203843ejc.288.1643477651452; Sat, 29 Jan 2022 09:34:11 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id e18sm14886981edj.85.2022.01.29.09.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:34:11 -0800 (PST) From: Krzysztof Kozlowski To: Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel test robot Subject: [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos Date: Sat, 29 Jan 2022 18:34:07 +0100 Message-Id: <20220129173407.278591-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The Tesla FSD clock controller driver uses shared parts from Exynos ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build errors like: /usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function `fsd_cmu_probe': clk-fsd.c:(.init.text+0x9c): undefined reference to `exynos_arm64_register_cmu' Reported-by: kernel test robot Fixes: e3f3dc3810d3 ("clk: samsung: fsd: Add cmu_peric block clock information") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- drivers/clk/samsung/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig index 5f64c58f120f..8e8245ab3fd1 100644 --- a/drivers/clk/samsung/Kconfig +++ b/drivers/clk/samsung/Kconfig @@ -129,6 +129,7 @@ config S3C2443_COMMON_CLK config TESLA_FSD_COMMON_CLK bool "Tesla FSD clock controller support" if COMPILE_TEST depends on COMMON_CLK_SAMSUNG + depends on EXYNOS_ARM64_COMMON_CLK help Support for the clock controller present on the Tesla FSD SoC. Choose Y here only if you build for this SoC.