Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1197338pxb; Sun, 19 Sep 2021 09:06:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuNuXWuu8zmWTOCisuU9gNBwGp1oKnj8uh/jEVM8xi8a3d/G+8IuHIZqm5uuimP8cVK5GC X-Received: by 2002:a17:906:1557:: with SMTP id c23mr22748056ejd.371.1632067583358; Sun, 19 Sep 2021 09:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632067583; cv=none; d=google.com; s=arc-20160816; b=ekDD9x4GgtSDmyaI40UNLEJV8yU8vgpT8y6Ufe4bqCkpnIJpWUBjwOMkIlM04Kion+ DAI5nwd56u+a9bASUUJ0yBDDym65ptK2ddbylITi1fP/OKqBlYME2MCn5s14c5k70vrL qBsK1n9Wm1XxIE6YpRugnwWo9YTeoyWgIv3tx8bUNORq5TSJOvmmJcvdodaeZkIzMxxU SnNJG6/TldSQ/0dW+H5zbJoEn4IZX4DBt6o8xnUv+ArMBIMIfKzPKvqh6bEq3xrdaU51 d74pMJIwYFwlmMel4wZgizx3u0iTMpZQo1Nfnq4Lpf4CvisqnDj18bYKcBb++DKj5Tqa daxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kQQ3DII0goGULsKC3IpaIdAzj47jj9Kr+j3EHg4ikV4=; b=F7Cgs9CbRapkLp60yvcIcDMZ6f3NaKMhsurpGMvgZIeypRGBI+OTy7jYG3YMQSN167 +V/WIlkYypTME1z+UHXfXZs3yCtlZPhhAsoghDie0lSDiMn5C/RU4UHjK7ywKQzbqyng Y9scCx9EmmDovOOwQ3eqOoNW+RY8C5gdZJx/SRlxfo+G8wxuvtHznhXNGxIG7uIr89Ev m/jCgfZysEnL9QpAioMScIYU1iKiR9TRisQyECOzy6Yzb/rU4lj9LPSTDmfH3eX7/mwb KdYQtNBOqTOP+6UPDBm0k60N5XlRkq5en+OZqXdRbLGGpSwwEyzlrcS4skstU6n37j5z Fm+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="na/6ARgK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 26si13148549ejr.558.2021.09.19.09.05.18; Sun, 19 Sep 2021 09:06:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="na/6ARgK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237733AbhISJc5 (ORCPT + 99 others); Sun, 19 Sep 2021 05:32:57 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36466 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237648AbhISJcw (ORCPT ); Sun, 19 Sep 2021 05:32:52 -0400 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-1.canonical.com (Postfix) with ESMTPS id 7713440268 for ; Sun, 19 Sep 2021 09:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632043886; bh=kQQ3DII0goGULsKC3IpaIdAzj47jj9Kr+j3EHg4ikV4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=na/6ARgKSk4/gNsBLxTVV1GLpyaJDj6P6Z8Z3qM4BF0i81EiHJIPji7GHgLIDAPPC oimtHcGxbtykZ8xeNzO1APDOHWXgpvOUR+kMJTEVb3UoBc8KP8BS3HoM4PoNz9YnD+ ng0FKOyMEdeC2RU64GZuSTgNzxcISM7vHmaFV60RNWV94c78p0BYIxHjNfhKLcAauZ bMTX/IcdiJPD1ZVIE0M//YoAu2HnYPW9N/IRZwsQT32QVCr9isDBf29TXbtn4qSz6Q EmpWVrUH6kLTXIGgflZ2JovkGMHTVd4o8EAiUbgwpqB6bK4NmcqREJrX72Pd8QuSed CgKcWSlw3GWfQ== Received: by mail-ed1-f69.google.com with SMTP id n5-20020a05640206c500b003cf53f7cef2so10363873edy.12 for ; Sun, 19 Sep 2021 02:31:26 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=kQQ3DII0goGULsKC3IpaIdAzj47jj9Kr+j3EHg4ikV4=; b=ynDgEf94OhnKU9kplkqTbS5401xZv+POdaEpnyAJm7ZSOPLiTXV/50jm9uV1YeRKGa hHM+YKRL5qCM78JPdyTOkGgWYwZkOah0UZgNl2kJN0EM9MPzrZqvVCCCGdlrhmhQxqIR YDx0Comfxzxt5aHfJp6xE2krvDeLcTNbPYdW5vWrJepYGgcivnie/+IwfWdppHe9VcDi RgNu0/S3CSDqXvlaM1q5eG2hjkMshXVP2+OG4OKfVuL7Aa6jtKUePNyqYyX3I2kgEdpl 4bOPW3HYNAjT9H8mJna2YBWiLWp94ej1a/ChjOY1d+pKNZ6f7h8gicw1HzolioxIcQVD QhJQ== X-Gm-Message-State: AOAM530tg/VqxyEouc7XT8kMZIVNYaYskKqqZjd0VXYt+1ep6/aySlQe KnZ22Mh1dJzFBoJe83Db7Zev4X0TIaucEAGY8gSElBbmJSWZl+xR203tlQ/j1zVv8GbB1HGGNfR xSJ6mUy7H89fudTAxYaEe1thDMFCyxkb5jvqyKOCnbg== X-Received: by 2002:a17:906:9742:: with SMTP id o2mr22771109ejy.532.1632043885746; Sun, 19 Sep 2021 02:31:25 -0700 (PDT) X-Received: by 2002:a17:906:9742:: with SMTP id o2mr22771093ejy.532.1632043885610; Sun, 19 Sep 2021 02:31:25 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id p24sm514111edq.27.2021.09.19.02.31.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 02:31:25 -0700 (PDT) From: Krzysztof Kozlowski To: Russell King , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Subject: [PATCH v2 3/3] soc: samsung: exynos-chipid: do not enforce built-in Date: Sun, 19 Sep 2021 11:31:14 +0200 Message-Id: <20210919093114.35987-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> References: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After converting the Exynos ChipID and ASV driver to a module, allow to actually choose it to be a module, while being a default built-in. The side effect is that driver could be now entirely disabled even for kernel with ARCH_EXYNOS, but this is not a critical issue because driver is not necessary for the proper platform boot. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 1 - drivers/soc/samsung/Kconfig | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 5a48abac6af4..30f930e20599 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -13,7 +13,6 @@ menuconfig ARCH_EXYNOS select ARM_GIC select EXYNOS_IRQ_COMBINER select COMMON_CLK_SAMSUNG - select EXYNOS_CHIPID select EXYNOS_THERMAL select EXYNOS_PMU select EXYNOS_SROM diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig index fe139f26d093..e2cedef1e8d1 100644 --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig @@ -13,8 +13,9 @@ config EXYNOS_ASV_ARM depends on EXYNOS_CHIPID config EXYNOS_CHIPID - tristate "Exynos ChipID controller and ASV driver" if COMPILE_TEST + tristate "Exynos ChipID controller and ASV driver" depends on ARCH_EXYNOS || COMPILE_TEST + default ARCH_EXYNOS select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS select MFD_SYSCON select SOC_BUS -- 2.30.2