From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9134C433E6 for ; Wed, 10 Mar 2021 08:34:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B38D164FFA for ; Wed, 10 Mar 2021 08:34:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231718AbhCJIeD (ORCPT ); Wed, 10 Mar 2021 03:34:03 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:41011 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231934AbhCJIdd (ORCPT ); Wed, 10 Mar 2021 03:33:33 -0500 Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJuHb-0003GX-L9 for linux-edac@vger.kernel.org; Wed, 10 Mar 2021 08:33:31 +0000 Received: by mail-wm1-f69.google.com with SMTP id o9so853692wmq.9 for ; Wed, 10 Mar 2021 00:33:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RZxvgYZhRwx3vtBKrExOY7yB1Rao/D3y6ddDmt53T8k=; b=KZDxxhBAPk0YKjxbFHT4BIM0Km/4IgyThtxB79+x0nat/fkyBpAaFY5myJwmDtS2Cj sxyK+jcWUlXN1FYAWAGFy0FU22XixOtETI8HjhRxlvn3dKsbZ7l3gdLrzI9cXv7G71e4 qSVmm9gTiJ+HNApiCvf9eudj/eFUkaaq6ZRFeSL8OIdixABdRbMkN9apIROUePSIMosM xxMWjAHZytTm4hdmfXuF42ha30ziO1HQ/zi5lB1/OsnEomeRQuE+/XpmDLhcJolp2X8W WdmkiKIMqwkFH5Iks9HN9KrzEzHdPbTqgQR3hzJNhlZ8a8g6lVevKZiEjr6hwOKL2T0d cixA== X-Gm-Message-State: AOAM530INgPcG+VWE78n9eANggFmMaFEbKaw72vflSXNVZIm613Zmctg 76dggcthwCUcV4DJatgwybjwW3ODplMps/w12nkGOzYznf1R3qF7ZPlkcGRucGWBrHGNo00fI17 Kr86eM9iEkfyHmaG6B4vL3/rd1CATMUryhMOpROE= X-Received: by 2002:a1c:f406:: with SMTP id z6mr2225382wma.24.1615365211049; Wed, 10 Mar 2021 00:33:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+uPRMBgFfoVCHx5kur24yVECBMZDDtyDQfyluEn8gAohH3gku3X1wAI4MIWrYIO0FNDk1jQ== X-Received: by 2002:a1c:f406:: with SMTP id z6mr2225348wma.24.1615365210807; Wed, 10 Mar 2021 00:33:30 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id m17sm28675495wrx.92.2021.03.10.00.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 00:33:30 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: Catalin Marinas , Will Deacon , Dinh Nguyen , Rob Herring , Michael Turquette , Stephen Boyd , Moritz Fischer , Tom Rix , Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-edac@vger.kernel.org, linux-fpga@vger.kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RFC v2 0/5] arm64 / clk: socfpga: simplifying, cleanups and compile testing Date: Wed, 10 Mar 2021 09:33:22 +0100 Message-Id: <20210310083327.480837-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org Hi, All three Intel arm64 SoCFPGA architectures (Agilex, N5X and Stratix 10) are basically flavors/platforms of the same architecture. At least from the Linux point of view. Up to a point that N5X and Agilex share DTSI. Having three top-level architectures for the same one barely makes sense and complicates driver selection. Try to unify them. Changes since v1: ================= 1. New patch 3/5: arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64 2. New patch 4/5: arm64: intel: merge Agilex and N5X into ARCH_SOCFPGA64 3. Fix build issue reported by kernel test robot (with ARCH_STRATIX10 and COMPILE_TEST but without selecting some of the clocks). I tested compile builds on few configurations, so I hope kbuild 0-day will check more options (please give it few days on the lists). Best regards, Krzysztof Krzysztof Kozlowski (5): clk: socfpga: allow building N5X clocks with ARCH_N5X clk: socfpga: build together Stratix 10, Agilex and N5X clock drivers arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64 arm64: intel: merge Agilex and N5X into ARCH_SOCFPGA64 clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks arch/arm64/Kconfig.platforms | 17 ++++------------- arch/arm64/boot/dts/altera/Makefile | 2 +- arch/arm64/boot/dts/intel/Makefile | 6 +++--- arch/arm64/configs/defconfig | 3 +-- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 4 +--- drivers/clk/socfpga/Kconfig | 17 +++++++++++++++++ drivers/clk/socfpga/Makefile | 7 +++---- drivers/edac/Kconfig | 2 +- drivers/edac/altera_edac.c | 10 +++++----- drivers/firmware/Kconfig | 2 +- drivers/fpga/Kconfig | 2 +- drivers/mfd/Kconfig | 2 +- drivers/net/ethernet/stmicro/stmmac/Kconfig | 4 ++-- drivers/reset/Kconfig | 2 +- 15 files changed, 43 insertions(+), 38 deletions(-) create mode 100644 drivers/clk/socfpga/Kconfig -- 2.25.1