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,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 AE01EC433EF for ; Fri, 24 Sep 2021 07:14:50 +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 6758E610CB for ; Fri, 24 Sep 2021 07:14:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6758E610CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be 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=5IDLOIkKpupybidyyRSfolHrYgFEAKm4mf+TDStoIQc=; b=s61whKaGHQGG+G Z8P+91byTCx7LQhmyrSJbOUPm981cJPVpPDk/X5jT8oqJ3Dohnl6KwtEQXrT73oIVirGMd9wK86aA Ara5XHh0AzdWiCd4drnbteGi/MMTB+YJxiuF5iF1a2my1gM9wLI5u3iMGgUhTfCKjz3TiHnErJZnb KFTi7sLWS3876BQm3X4XDLOI23qQcDKNIIRNFZh8YXuZGc12XRJ8zPqU1qxTubDpVkc4Nzx6dx9cc TJwB4aWWP/uf4qRjSJL+EB2HHLpVG1TR6ue7uM6liCAKPB4TWJfl9kWFwYr3VUXS4T/V1OvJt1l1c X09yA8E5jQzFB/mDkyEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTfO9-00DFcX-Nr; Fri, 24 Sep 2021 07:12:53 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTfNw-00DFan-Dk for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 07:12:41 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:5dd8:9bc4:3752:5710]) by michel.telenet-ops.be with bizsmtp id xjCa2500R2gynNa06jCbKk; Fri, 24 Sep 2021 09:12:36 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mTfNq-008Vby-Du; Fri, 24 Sep 2021 09:12:34 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mTfNp-007LME-W1; Fri, 24 Sep 2021 09:12:34 +0200 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Shawn Guo , Li Yang , Scott Wood Cc: linux-serial@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 2/2] serial: 8250: SERIAL_8250_FSL should depend on Freescale platforms Date: Fri, 24 Sep 2021 09:12:31 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: <6421f256407262afd658ffa74ec9430581528a7d.1632467477.git.geert+renesas@glider.be> References: <6421f256407262afd658ffa74ec9430581528a7d.1632467477.git.geert+renesas@glider.be> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_001240_620754_935D644C X-CRM114-Status: GOOD ( 12.48 ) 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 The Freescale 16550-style UART is only present on some Freescale SoCs. Hence tighten the dependencies to prevent asking the user about this driver, and possibly defaulting it to be enabled, when configuring a kernel without appropriate Freescale SoC or ACPI support. Signed-off-by: Geert Uytterhoeven --- v2: - Split in two parts. --- drivers/tty/serial/8250/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 0af96f3adab517f6..a2978b31144e94f2 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -363,7 +363,8 @@ config SERIAL_8250_BCM2835AUX config SERIAL_8250_FSL bool "Freescale 16550-style UART support (8250 based driver)" depends on SERIAL_8250_CONSOLE - default PPC || ARM || ARM64 + depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || (ARM64 && ACPI) || COMPILE_TEST + default FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || (ARM64 && ACPI) help Selecting this option will add support for the 16550-style serial port hardware found on Freescale SoCs. -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel