Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1038151lqj; Mon, 3 Jun 2024 08:26:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqmsP4y6nSG1vRDvY3f+ehg5YE2841vwCeetToO7Txz5ahr/wJd6cU/mIAI0R7AOfXn7XiywfCgIkUdJBbeDlMriX44hJj0RF3JS+ykQ== X-Google-Smtp-Source: AGHT+IH0LsCGx3JJWLc1vPasz578Qxys103kmzl3J4ZIr44bbjUNrG6OqPMYaHM8GF6guFVU8ajX X-Received: by 2002:a05:622a:12:b0:440:c6c:c6f3 with SMTP id d75a77b69052e-4400c6ccbf9mr65752091cf.31.1717428408693; Mon, 03 Jun 2024 08:26:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717428408; cv=pass; d=google.com; s=arc-20160816; b=NtVdsEPEmiJCA4nLnYvnhSeb7AzQezP23kDTbHh9zf2p2Bhdp7KUYhY9nXSLY9x2VD gYyukVb54S8TiM5n2VSH/x5jMboDGNvj60Mficuv/H17icoqpQH3DG+Uy/d+sg8s0XPt QngWJkZaCJFv+knJ3jhoUZtfMunvhvgczh6r0Nplv9c1qcwEGU2U5Z/UXSnb6Zy0X2wg 6QdAW4U/HotnK+tCxau5twhQkQld1W6NuN+FbUckGYqq5mjb5+3RCVAICsZLmWpSXURC HsUR+XOZMPwGyrx31vDwzIXgd5r9q8eJPOZHBgeqcHdZ0xzfpdlGLqXENEwyupH61ALB MU6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=YERgIKa31OwTvOw6ExZsKEEYGREdgNimEx5DJ4xhUrQ=; fh=4metLbS23Z31wT10ilw/hIcGEnRu1ScIaccdnW5sCD4=; b=cLulPjSECOmnArW9YrItQY+83J9KYJuMhxRsANfP0daN6GXnnksmwa2Vostyv4fsvc 23FJM+Vf6lc8yUIhW/VVipxayQrhBQ45bwjjYpmkKLbUZEAbqP4IrlkYoPZhPmdRO5/c pfkl1Hu5LIiz49TrqcWPtNmh3fpYo/2++GBnYFAeOb04DM2wDzalOS+Pq7W6AEd2WR+k dm6pQ6Cn1VCFoNoe5blOxi7LOELI7yfpF90VMmZAFlCUWN9Jth3X31UyEaR5SOZnZp1p SMszloe9NWAJFknmMMgFIxiidBOoEgMXsnhP6lgesDZ5fYTDWDS2Fl7WcbTr6FR/yqwP jSlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=KKY604Bd; arc=pass (i=1 spf=pass spfdomain=hugovil.com dkim=pass dkdomain=hugovil.com); spf=pass (google.com: domain of linux-kernel+bounces-199360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199360-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f4f8b5c5si916147685a.225.2024.06.03.08.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 08:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=KKY604Bd; arc=pass (i=1 spf=pass spfdomain=hugovil.com dkim=pass dkdomain=hugovil.com); spf=pass (google.com: domain of linux-kernel+bounces-199360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199360-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 575D31C21D6C for ; Mon, 3 Jun 2024 15:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED24F130E4A; Mon, 3 Jun 2024 15:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="KKY604Bd" Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49E6312FF8B; Mon, 3 Jun 2024 15:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.243.120.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717428396; cv=none; b=lo6gjX0yLb/p/WSlExGiQvaT4fGIwMSJZwi7ztG9X0b5BP3uMxdnXP/UeZ96+0wL0P0JdMFIB+7sdhAAyuhULEB1+2YpW+TlThZYQTQhpbp3okRWOJp/mzAxXmGWnWXhSUE6+O1bzKDkIyZUNQM75/ABIGmhJBQe2G78+TofFA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717428396; c=relaxed/simple; bh=hemM1xK4V65JYXlqaL6Dvmk7jlD7S8+rGTEbYCdC8wA=; h=From:To:Cc:Date:Message-Id:In-Reply-To:References:MIME-Version: Subject; b=Cc2ZuyxgjavKInmMd2H62Qu42lDMsr9Ntqmvo6YGwBhP/nnkrnVlE4lP28GW5a1fu+an9VL9V1Yd4Pnm65B8Fsrx4yor19O9s7xle1iPB6pYo1OMMy8QS6B8E8+A1YRqtL9qV387mzmvME1vzzcQjlLLmY844QqcEXEL4ObEx2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com; spf=pass smtp.mailfrom=hugovil.com; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b=KKY604Bd; arc=none smtp.client-ip=162.243.120.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=YERgIKa31OwTvOw6ExZsKEEYGREdgNimEx5DJ4xhUrQ=; b=KKY604Bd+2ixESfpBD0iXSnd+7 0NwbZUZR3pSG62D8ZdKqB/1FbknxE+F9gRa3FI0cnr999yQIla2Odz7tayM23XXVKkpZk1Y0qV6C+ jhZ6DCyo64+c8d5rBNDN/jGQOoyw/tq6pdCTUYYtnHMjmi9uCLi+p+dM15D00wzI2dvo=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:34112 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1sE9Zv-0000dO-Gr; Mon, 03 Jun 2024 11:26:31 -0400 From: Hugo Villeneuve To: gregkh@linuxfoundation.org, jirislaby@kernel.org, hvilleneuve@dimonoff.com Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, hugo@hugovil.com, Geert Uytterhoeven , Andy Shevchenko Date: Mon, 3 Jun 2024 11:26:01 -0400 Message-Id: <20240603152601.3689319-3-hugo@hugovil.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240603152601.3689319-1-hugo@hugovil.com> References: <20240603152601.3689319-1-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_SCC_BODY_TEXT_LINE No description available. Subject: [PATCH 2/2] serial: sc16is7xx: re-add Kconfig SPI or I2C dependency X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) From: Hugo Villeneuve Commit d49216438139 ("serial: sc16is7xx: split into core and I2C/SPI parts (core)") removed Kconfig SPI_MASTER or I2C dependency for SERIAL_SC16IS7XX (core). This removal was done because I inadvertently misinterpreted some review comments. Because of that, the driver question now pops up if both I2C and SPI_MASTER are disabled. Re-add Kconfig SPI_MASTER or I2C dependency to fix the problem. Suggested-by: Geert Uytterhoeven Fixes: d49216438139 ("serial: sc16is7xx: split into core and I2C/SPI parts (core)") Signed-off-by: Hugo Villeneuve --- Cc: Andy Shevchenko --- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 2a0da35c0ef8..28e4beeabf8f 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1025,6 +1025,7 @@ config SERIAL_SCCNXP_CONSOLE config SERIAL_SC16IS7XX tristate "NXP SC16IS7xx UART support" + depends on SPI_MASTER || I2C select SERIAL_CORE select SERIAL_SC16IS7XX_SPI if SPI_MASTER select SERIAL_SC16IS7XX_I2C if I2C -- 2.39.2