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=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 5EA49C433FE for ; Sun, 19 Sep 2021 09:31:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B6B2611C3 for ; Sun, 19 Sep 2021 09:31:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237794AbhISJc6 (ORCPT ); Sun, 19 Sep 2021 05:32:58 -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-Google-Smtp-Source: ABdhPJzEFAa7c6Av7U5U1PtRddqgYSD610UFSt0vKxt2koSA5G3bvhYKyXN1L5uDJ1+O+zIJYe7yrQ== 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 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 59033C433EF for ; Sun, 19 Sep 2021 09:33:38 +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 25FD060FE6 for ; Sun, 19 Sep 2021 09:33:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 25FD060FE6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uLf1jw/whaqo0fz7bb9kyglxfB1r7+FwmZPRnD25r24=; b=e2bi9WtGsI2Lgt CxWOezQsP9B6anBVqffYuMsevwlDHSNDOJxT/ZUq28wYVsunVHgiZ/i8nZSXZBdZLsLFnn+467FbT QqGTjDdIDdUMRZOxRixsQUtP6oNEfUy+PSZ1p1AdC/tL2wOmaR/DHpEBtPOI+rUsJgAg15/kxmQL5 /Kwoef41CmFQaj4yXHyoUvlm9J9eZ9dEDmYRpF5s4pTZpKdzgEVXVLR5+mqgVAiq3Iid2mi5VxuMY e9+lYfI4b4QVsmCLD47sUyR3hXgritC/tHWcYXQHWNZ+Ok5QgdgVHRIwxMJ3O+40CwAGLyrG1MORO Z4PnLqN2k7VLWna2Gx4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtB2-00H2Vs-Hs; Sun, 19 Sep 2021 09:32:00 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtAV-00H2OV-8u for linux-arm-kernel@lists.infradead.org; Sun, 19 Sep 2021 09:31:28 +0000 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (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 0BDED3F048 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-f72.google.com with SMTP id o18-20020a056402439200b003d2b11eb0a9so13063537edc.23 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=vvjGRB4aTfq1fPz+siQu8hNLXrgAoy01Duf1ZRDl7i7XOkuPeKPXHINCQCoj51gfdF 8MZMTnt5qAAnU8fdpfJt3t9F0j4QezeXlYe9ph7ZU5n73RQ4EtJ/CUbKCAwdl3bHTQoU BGhC3nXyN+7XwMmoK4si7NXrAYC9Wbbuy5HkG6epb3nw/8s96ICmmWqa37ke6lT0AT/w 4zcZ20yQilK/pb/R3s62C5xMbqyA/WU6cRfwRb6ZMYX5kqbK4raA8jYgcm+sEWYe+sPW GGozdiIsYeOs+rKMxbOv7N5qvtHcHrK3dCbcJq+KuEsA4jI13caTmCXhpbzaJjyztjGq hwrg== X-Gm-Message-State: AOAM533/Epr9zTuI1RIBKL7qPfWSHTb79yQ9QxXkngvnCkcWk3YflMLr +fPGTcR04rZ33d95TKH1BP4jE9TvBWvJ0C3lSaVI2H5q87NehE5xp3yVYnTrud9GJTi53n9leQ+ ZGEuLiMiwQRSIFNV/VZtW21lyK5z1jkAsqVxXW2caN5N2upFYpvIF X-Received: by 2002:a17:906:9742:: with SMTP id o2mr22771121ejy.532.1632043885749; Sun, 19 Sep 2021 02:31:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEFAa7c6Av7U5U1PtRddqgYSD610UFSt0vKxt2koSA5G3bvhYKyXN1L5uDJ1+O+zIJYe7yrQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210919_023127_500891_20BEBDBF X-CRM114-Status: GOOD ( 17.19 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel