Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1272401pxb; Fri, 24 Sep 2021 00:14:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7YTmFHJY5AuwNYI9etXDFWvy7KJleviHU4uY+PZCPFaiRhtVkRZ3NyxIulwcQQw6MdYSH X-Received: by 2002:a05:6402:28ad:: with SMTP id eg45mr3370541edb.226.1632467674612; Fri, 24 Sep 2021 00:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632467674; cv=none; d=google.com; s=arc-20160816; b=iGQNkIicxl0huHhN+GzjrWVZ+7LyOd6ilOzNcPRFlJ60I/F7YYzxyHXIMFQMMfR2xc H/f7z8/Fq7zB5jUH9OYUNmJLwjIGEwTQl8/P+cPHd/zvfjuXJm1I6sYw2LFmItH6f76Y jcRUUFnq5udGQy+uKy0RxSj+0ZDJfHh7YL612hAv+qAoVNmEXkNvcckpXxZWDXfnTDUd 1DpPYNGbleXAxUVk5+BDhjTUlh8OW60tYAjA2hc/PDunKjRjl/uzrVNcbtRZYWot7e1c KZ4lO2id7AgV6L/dNYgQVIyMudA7pfDpicMXmNhvmKT5RxITiVN0nFOaS7AB6QoaWpk1 1vrg== 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; bh=lhnOWALNWLlWjRJJuwoEeAXWZ6rwKnTh2ByLy4pZlEM=; b=BiQMZo/FLmxzkUyzYEDMQ7TzuO6eHNwpPr2Tm19UuZFhD3qIEMDxd4b7xlEQBziy6m KjOEJsIRYULsXVqxvOxjEHkxEIuVySo8mY1ANntemml1H8tqt8ebWOXrOhifOmRsD+KD SmU5s4d5TYei/WLFyuwBXzzV4HrDVifFH7agwK1QvQwSfylbVWzJBqeYmQqovQO0Upnn nHUY71ufbu19i7oLI9AFGyl9WZ69BfM/04oJgAeJdTzY8XRfNozTvlsuLzCVIW9aJHYF RT5LZmXy7K7FeZnsN9/ARhHPC5RS4r07WTLvkhdd8lb8bjLd61vTem7nnZc7ZP0xZdfH ovQg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh6si8284131ejb.691.2021.09.24.00.14.07; Fri, 24 Sep 2021 00:14:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244332AbhIXHON (ORCPT + 99 others); Fri, 24 Sep 2021 03:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231415AbhIXHOL (ORCPT ); Fri, 24 Sep 2021 03:14:11 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71277C06175F for ; Fri, 24 Sep 2021 00:12:38 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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