From patchwork Fri Sep 24 13:30:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12515555 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 D8AE4C433EF for ; Fri, 24 Sep 2021 13:38:15 +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 98A7F60F4C for ; Fri, 24 Sep 2021 13:38:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 98A7F60F4C 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: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=1s4ovMZIsG7pdDrw6fnA3fUeskW+z0vzKgzZuMci/Rg=; b=ypm0qJhK/WZ5gE ITEUvLp7IjzrvIQAMcsS6L3GEr+y33W/os3J3Vz8FTrDIFcNvljT0oU54vmseo85J5q4LZn73L62P uWFId5s8lI8Q1xrWwmFiMk+ZGPk66QKSgS/B4Dqx/H3EzpSjESELRzM+4lmZUUdxcfaKxAi7dAxKT 1Ch2lV5T7aDyMhtCfJd3L0vgdxR2KcbaEAS+odoMyw9Rs69MHB0BxIf7g92A51BV5P4EutcGa2eDn wIjUYk92Ksv1B9M3nfqv2SAtrLdg5jQX9TOBu/KAbI+u77ZwSyTsYywgovBtLaHmuiTfIfTr5Lgt9 ebhykSAsLmb6f/QURpVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlND-00EdVk-So; Fri, 24 Sep 2021 13:36:20 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlIK-00EbUL-C1 for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 13:31:17 +0000 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (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-0.canonical.com (Postfix) with ESMTPS id 10D2A402CF for ; Fri, 24 Sep 2021 13:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632490275; bh=7+KXOT92gYpnQNddSURkQHCHQzdadUuSju5IBYQg/jM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=QB3tQGRzda9NWsLO1GtcEU8kLLkc/GDNxZyg2tniWbJ3btC0+Ve4PBme8idyusia5 VyebZ3MXbJ2wfYDJaDiLqmb6K+vV6Dvw+7mHGFAY25prRK0KfdqEvY2yzVpT6yqPFC ewGkgHZIrhuGKb+AzqZnqakxrV97iFQ0pPIzqSOWBvV0t+PTsXkVUKi4YezJrkEhXo dyTXP0laBhsymve1EmyV7znOoPw96RDuUiAATnhFNtmQYyoLKfw77ogEFS4wiYPiNa VhDE4S7jrVBkfJJt/sKiaB08CRCAMOhjqxvz96WYHuy0qJbS3reC00qMLYvnzJ2E13 RPhYk+N1Pc1eg== Received: by mail-wr1-f71.google.com with SMTP id u10-20020adfae4a000000b0016022cb0d2bso8049068wrd.19 for ; Fri, 24 Sep 2021 06:31:15 -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:mime-version :content-transfer-encoding; bh=7+KXOT92gYpnQNddSURkQHCHQzdadUuSju5IBYQg/jM=; b=UoXLkjwlHJCC7uLvlLBgqMERUqAz97iPozaMnXYsSd6rqqgskMMCpAYEdBX1KnwVfI iRlWya8sYTtJ2TdS/WNCGsd0fNTf+xuYTY72b3CeugaVnvfEs9wZfktSRCLyzUUHmnL3 cKtGm80BgYYCCR+AoKKafMTMNqAkBlDT3tPF850K0FPILWLfdFyDzbRYVUUuvKvQPbrT hgSKWzl6PcohhyB/zpvQp9SBpPrcwrWuwumdQUi9V3cqlNGJCBUwLL19xwwQ6UxQAGDX iJMu1/tSJ2Zg8SrwhhX9T8kn3nGpzXXww0Af5577FaFWxK2jhrHe77WqU350YOho3oct o1fQ== X-Gm-Message-State: AOAM532xN8ZTXO2wUMJBqizyAGuqSYaaPuoN7BeSUtJhZy/yRTiIDFX7 PDjYLrnokpdIkUqidtMzptMiFelxFJ47pWmhVm//4UA5AaKeqyWXEZw/CZr+BpR1cMkzYTsr2tH Gwi0Y0567mK3xpIDfzZZSODt0yCkWXZXkeK/hHUZLvWmf6r3wk2Rb X-Received: by 2002:a5d:6ad1:: with SMTP id u17mr11690053wrw.204.1632490274240; Fri, 24 Sep 2021 06:31:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYckO6AhgoRej7g84y99iwDf/PCFMj3wlTxVqGTic4nAdGVQ1B/693JNp0/Os6wI7jAGiLug== X-Received: by 2002:a5d:6ad1:: with SMTP id u17mr11690031wrw.204.1632490274096; Fri, 24 Sep 2021 06:31:14 -0700 (PDT) Received: from localhost.localdomain (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id j27sm8003049wms.6.2021.09.24.06.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 06:31:13 -0700 (PDT) From: Krzysztof Kozlowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org Subject: [PATCH] tty: serial: samsung: describe driver in KConfig Date: Fri, 24 Sep 2021 15:30:40 +0200 Message-Id: <20210924133040.111706-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_063116_581065_D7409697 X-CRM114-Status: GOOD ( 13.64 ) 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 Describe better which driver applies to which SoC, to make configuring kernel for Samsung SoC easier. Signed-off-by: Krzysztof Kozlowski --- drivers/tty/serial/Kconfig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 131a6a587acd..6ff94cfcd9db 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -239,10 +239,11 @@ config SERIAL_SAMSUNG depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || COMPILE_TEST select SERIAL_CORE help - Support for the on-chip UARTs on the Samsung S3C24XX series CPUs, - providing /dev/ttySAC0, 1 and 2 (note, some machines may not - provide all of these ports, depending on how the serial port - pins are configured. + Support for the on-chip UARTs on the Samsung + S3C24xx/S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing + /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of + these ports, depending on how the serial port pins are configured. + Choose Y/M here only if you build for such SoC. config SERIAL_SAMSUNG_UARTS_4 bool