From patchwork Mon Sep 20 19:03:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William McVicker X-Patchwork-Id: 12507075 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=-20.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, HK_RANDOM_FROM,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham 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 D3BE6C433FE for ; Tue, 21 Sep 2021 02:41:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C20B960ED5 for ; Tue, 21 Sep 2021 02:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242094AbhIUCnH (ORCPT ); Mon, 20 Sep 2021 22:43:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349431AbhIUC0f (ORCPT ); Mon, 20 Sep 2021 22:26:35 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42215C1E3278 for ; Mon, 20 Sep 2021 12:04:34 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id p2-20020a170902bd0200b0013da15f4ab0so2078319pls.7 for ; Mon, 20 Sep 2021 12:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=lAZa/uDHOuRnoNyLpi7ucyhYyEvosH1TAO5N4aOwUf4=; b=HJ4DeaiXQZr/enJuuumnzUVek0sze1KSs1HaUFw8WJ2QjKDgCJ+XwqlXtIKksEJTSB eJPNj0/XcdBMPeuj/YrtRk5F29cSqZe1dId4FqCoGZiNPBWzdFx30W5h/xLW26+BqvfX YIeVJtYvSn8/osqR/UC47hxNHlwd5CFw1g5I6G6laBbLs6IrsPItvBwZaz/M7ZiPDiGy G78/3CoaXwvo4Q1SP5Yu+8dr780ohJwW8zQxL4td/6hORnL6horUxhkDSRBN3XhngzAH yHZp4/yFk/1CZnhehuXJnoiXyp7lpCgiwKBWgqRESq/OukmKsnArNqqSOHl6+vmjMmvv SEag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=lAZa/uDHOuRnoNyLpi7ucyhYyEvosH1TAO5N4aOwUf4=; b=H+JWcS2DJNdXxegzIsmexPLK3/vtyKbmD/TPTzlAiUiFsSO1XCfD9ansmcxCUdDN1A C9R+IUvTL6fYYuBv53WxfUVgXnrOQ1uIf+PGHWu6QVehCoCsfaHxgge6jyCWg/JKm7c+ CKP5BSELWWh0BpPTXcZCoIS9s82/FivTZO20RQOgCJ+AlJcT35E+FPx2DUBbNZ9ftprL 7pOQ/xlNejv3P0ls9bW3wwnsVdrXpUZHAr5uUwo8DmAMeOmWUqv3vcMbDxAXBKS7lTgX 9xD3BhX6DADvxPEM5h06KH5Fy3RApX/CuhL4YIA/GkWbMBiezO2ym14lqZuaQLZ8Tznr cwvA== X-Gm-Message-State: AOAM533n+o7S6GQobNQ8lzMN2dn1g52T6Yme4LKLjkW9KD0g6q59sndE Fm9dOORzPxP7JBFlM/iuwpo60Hm94j4s/mKcHxg= X-Google-Smtp-Source: ABdhPJzUNF/PM6NP+/MIABOOlGQE6wEJIPyLI9894e884/ud4IKfYPTvMOuCyfQ8j6JThtSCqFknZPzuuWRs07ogzoQ= X-Received: from willmcvicker.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:2dd0]) (user=willmcvicker job=sendgmr) by 2002:a05:6a00:1c52:b0:443:41c3:1e51 with SMTP id s18-20020a056a001c5200b0044341c31e51mr23232314pfw.32.1632164673665; Mon, 20 Sep 2021 12:04:33 -0700 (PDT) Date: Mon, 20 Sep 2021 19:03:45 +0000 Message-Id: <20210920190350.3860821-1-willmcvicker@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.464.g1972c5931b-goog Subject: [PATCH v1 0/4] arm64: Kconfig: Update ARCH_EXYNOS select configs From: Will McVicker To: Catalin Marinas , Will Deacon , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Linus Walleij , Alessandro Zummo , Alexandre Belloni Cc: Lee Jones , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This patch series tries to address the issue of ARCH_EXYNOS force selecting a handful of drivers without allowing the vendor to override any of the default configs. This takes away from the flexibilty of compiling a generic kernel with exynos kernel modules. For example, it doesn't allow vendors to modularize these drivers out of the core kernel in order to share a generic kernel image across multiple devices that require device-specific kernel modules. To address this without impacting the existing behavior, this series switches the default config logic for the offending configs to use "default y if ARCH_EXYNOS" versus having ARCH_EXYNOS directly select them. I have verified that these patches do not impact the default aarch64 .config. Will McVicker (4): clk: samsung: change COMMON_CLK_SAMSUNG default config logic soc: samsung: change SOC_SAMSUNG default config logic pinctrl: samsung: change PINCTRL_EXYNOS default config logic rtc: change HAVE_S3C_RTC default config logic arch/arm64/Kconfig.platforms | 7 ------- drivers/clk/samsung/Kconfig | 1 + drivers/pinctrl/samsung/Kconfig | 1 + drivers/rtc/Kconfig | 1 + drivers/soc/samsung/Kconfig | 4 ++++ 5 files changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Lee Jones