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: 12506219 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=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, HK_RANDOM_FROM,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT 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 4973AC433F5 for ; Mon, 20 Sep 2021 19:06:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1811660F13 for ; Mon, 20 Sep 2021 19:06:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1811660F13 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:Cc:To:From:Subject:Mime-Version: Message-Id:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=/OICwTlBsqzaCbTLaKcns77bNk3UgUJCAdjzTJzimyo=; b=v5A DBtoSDw/UNExKtwy/jvAdYcxT2g6myYBOSGvMurGnNljVozrvIk4xz+SSV83SJ2UlQYMIdxG5Xi0g 7QsgudnTAab0cB4JKJNrqWDtxiXnUdWAJbbt9VLolaVgtNpPkBaHRxzrfNQC7SDKbyFKNfFYy3dPQ N2+UxAD7TNqg6QkeEyd8e65ds+bdLneakNsbZiCj7T/lh9BbcKzxsF/bvFugTXl/7V9IfRbj1ldJq 4dUFH06U45Nbh0XhoDDUoZj8Y5WwUCQ2BEsU4V5ifkKykgjBAPAseJAaMeAyPnyraZd9HgCzBsHzG /T/IFf66q6b8G67dcI6YJiAqEB4YfKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSOak-002rRK-L9; Mon, 20 Sep 2021 19:04:38 +0000 Received: from mail-pf1-x44a.google.com ([2607:f8b0:4864:20::44a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSOah-002rQJ-BW for linux-arm-kernel@lists.infradead.org; Mon, 20 Sep 2021 19:04:36 +0000 Received: by mail-pf1-x44a.google.com with SMTP id a188-20020a627fc5000000b004446be17615so8773365pfd.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=RC6r8rV3Gqadll8kyIcFVlqa+pAa3AdPE0rUOkAHpoOVj04l19jXiWRVBbX0w41rFr ixuluctuaBBm0JTND9MgUYvXAGgC0+lXGyZUuY+K8U6VDUVcvemToH3VPWD5uInYucOx oPP998qp8v5Mh9aF5qMfWB73OrAyLx2EGivhVdNY1NvEbbxivuCPD0KZlBrqTh81xpVF kbCcPjNursqOLBKKrXtacihZm+zCLYj6ndPH2Bp9cvDnCQLd/qrXhyFblz0D9ErY8BoU cNMYaeibUPQ0aoQl8q5T/yXYtfXnWrRTuQAzwEn25iuUij27mxYSEzdH6NdRRyyw8+Z6 Qp7Q== X-Gm-Message-State: AOAM532H9NxrDdFsBmPk6WdogSeKg/8t9T2Ui3R5CknINLXBhdnmt2xa ypRI++jbbG3trPPqN28FuPTYfwj2NIVDgCVXnMc= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210920_120435_457442_61C6B7FF X-CRM114-Status: GOOD ( 15.67 ) 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 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