From patchwork Thu Mar 10 22:12:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12776978 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 52B05C433EF for ; Thu, 10 Mar 2022 22:14:15 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=eTIGGpQ2SIHduG1zzWS4vfXiULyRo99BkUd/vYtXdSE=; b=acRp2gKaz2cXQT 4cihE4a/ySPhGkS9AcyeXP4qEtyC8YRHS+5SPPOeYfb5bLbUdz0l5LOQSeA4F8OTaFryQBvpj2cFn TMa1zgTpwxbb8QlWnMTu7rXiARZceQceTj5opCaiMAdwNs2XMwozwnEcy1nQvi1ggP9Vb4hMcmoGi UzPDni2W/SNL/NEfoKz251Dy6ge7lmd+kOYx0TnondLKSu/w46l/+O1OAIcUaLS3uXkT9Z5tCwzYH +B/XSlM36WslonsZOBfZY2cc1bfzTUfvMO25oAYZ+gq5AXwNEA77eub11v2kYswKCSFa5PNnhIV1D g+HqAKSVyj2ebHTW3qcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSR1v-00EAeb-5u; Thu, 10 Mar 2022 22:13:07 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSR1p-00EAct-Ev for linux-arm-kernel@lists.infradead.org; Thu, 10 Mar 2022 22:13:02 +0000 Received: by mail-lf1-x12c.google.com with SMTP id l20so11842706lfg.12 for ; Thu, 10 Mar 2022 14:13:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0uUeeOtLtRATSMAA/PJZKMUOZ4L8d6PHmO/9x9ZaCqM=; b=A/tJcbHZDtbPu5MSQEhzXGbsQE3bFVecKhfSfEi64x/nG5hIv5mZsuB2sJqoL/AllB FtxqbHdqs2k1ziFxaeZjyitPE3LB3I3xn20kLn9fhGoLUFmtXP8ecet3TpjIH2WZeBCY g0viv9hmQOAhJUHpxRYiAfhiWM/+tEUET2XTDEwgZyROKR3t4rKiQKkoCAIp8LzFhC3r Ti7T2ksE5DrN85G9FO+R/N6XfSsYRWUOgX4ccmhgtUcNFJpPLVLy1uFgZ1jmAAddqFNZ +xRadblglm6u2dflIBZ1UZ6riJDv40DKgXxzMO2Hi1M5AHpGsvx8ZMoeUggYrWIdHhsu NLgg== 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:mime-version :content-transfer-encoding; bh=0uUeeOtLtRATSMAA/PJZKMUOZ4L8d6PHmO/9x9ZaCqM=; b=ZUoRV/29oC4Gc4QUy3Eyt9rTJJfwWDWi9wF4H6Kpw0S/VWbryoEUlpO1CoOJHx6wAn BLXZjz9zAKvYtM5zpQruCDs+ByI9mkclkeP+iXNgOmgVYT030cjTc+sFEAYpfylkWAam m9NPdcSWkXjuNft8JQqYqlMc44T7wR4anLZkqZPQZHf5iczXM0vU2giif3c6yvreJtja NYhVWzRkbyI/P6vXlBGih2eYGkaYF+RCtUdrbz/HMosrhCo0IhV70IoayrlUueh+M1tO vp3DKNH1dCrRwbc/l4znbMe6qmpc51BDGDb/4jZooiTfCrlYlolYcQIKG83lH5+hO5EI X4dg== X-Gm-Message-State: AOAM530S14AuQa7tBKL/utoGkEk/zF5epKyNsmBYjZQraj0um7IhDVpb EFpCtoFAdqg4BeDkGzi1xF5b1GS+m3o= X-Google-Smtp-Source: ABdhPJzlybEdm7oayZhC/wo2V53osIIlIRn9ru/Ui1pQEa0n5SmFccHaGYdJk/9SwvIXkFpFp+FLRg== X-Received: by 2002:a05:6512:3d05:b0:448:39b8:d5ef with SMTP id d5-20020a0565123d0500b0044839b8d5efmr4166323lfv.595.1646950379573; Thu, 10 Mar 2022 14:12:59 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id a16-20020a056512375000b004482040d7cdsm1206421lfs.267.2022.03.10.14.12.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 14:12:59 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Greg Kroah-Hartman Cc: Jiri Slaby , linux-serial@vger.kernel.org, Florian Fainelli , linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Geert Uytterhoeven Subject: [PATCH V2] tty: serial: bcm63xx: use more precise Kconfig symbol Date: Thu, 10 Mar 2022 23:12:46 +0100 Message-Id: <20220310221246.10009-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_141301_550462_7A10D34A X-CRM114-Status: GOOD ( 13.47 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Patches lowering SERIAL_BCM63XX dependencies led to a discussion and documentation change regarding "depends" usage. Adjust Kconfig entry to match current guidelines. Make this symbol available for relevant architectures only. Cc: Geert Uytterhoeven Ref: f35a07f92616 ("tty: serial: bcm63xx: lower driver dependencies") Ref: 18084e435ff6 ("Documentation/kbuild: Document platform dependency practises") Signed-off-by: Rafał Miłecki Acked-by: Florian Fainelli --- V2: Use precise "depends" (exact platforms) --- drivers/tty/serial/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index e952ec5c7a7c..46f3c7ca13e0 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1100,7 +1100,8 @@ config SERIAL_TIMBERDALE config SERIAL_BCM63XX tristate "Broadcom BCM63xx/BCM33xx UART support" select SERIAL_CORE - depends on COMMON_CLK + depends on ARCH_BCM4908 || ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC || COMPILE_TEST + default y help This enables the driver for the onchip UART core found on the following chipsets: