From patchwork Thu Oct 19 10:06:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13428542 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 28E6DCDB482 for ; Thu, 19 Oct 2023 10:07:20 +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=zfL/nkajXANvkSTcTQt49fdaNxpTeLyEvnuhC13LMEQ=; b=m0EoUzNv38Ilmo ME0/AYhPIeKYVMCa8Y/751i4dz43NqU2iBazOiZP7bFi+aABqsMfpu4K4Jpf2urv8n5NI+isr4lOH LTdeRbmaP4duPZIEwobLP85By4xmJ6UwxYXN14goVB0MQtmeDpTp+aoaPvOB8IQU0MotyqY3PHoe3 hQmyA5Tl9fq1KGEghuL2+QxGGG4+kqKoCFEWDRIBGsUzLFgIVlhCkfm/nPf8iywzdPmAH4tf0m4LO T5MRSebroJBDgxu5BSiXeOga3pMYeUGgchqy7MDxhlNugxN14A/8+RB6vuBjPXj9tOzjDxg2Fs0Fy 1+p2NwYXGTkiHYXx3M0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtPvZ-00GuJD-1X; Thu, 19 Oct 2023 10:06:53 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtPvW-00GuI0-0O for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 10:06:51 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-323168869daso6855496f8f.2 for ; Thu, 19 Oct 2023 03:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697710007; x=1698314807; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aNH+cUkvJq9kPceEcJ89sVVgm6IQTkIk2n1XM45Z5uk=; b=JW+Y1kFnk5CAY5blgh1vCxTwcSrIcsEBkJJFWikgawkiYWEJuZ0vGIWs8g5WwfPzwr sr/7QgM9iV0aJg9nGyugOwPSArDg9L0VsWT/c9EOvMlVfv4EiZk5XvG6WfLzPeFuqrDp VcoiU/7jCG0MF99YdQnCMlHbrisYvniJlbE0QTAWJL34Qdra3RaEy/AXwmfEotej5cie w5n0onkeODpqVeODLUuDHPe/h+fne8w/AG/k0duq41OMcRaDGUDKVitmDYfxe9K0ou4Z hZBFI8/xkAqnRQ9fE5hF5BX3X4p6DDEkFKEhbxYgf+kd8kdB54T8JSiv5oWYlX8htGN9 PuwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697710007; x=1698314807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aNH+cUkvJq9kPceEcJ89sVVgm6IQTkIk2n1XM45Z5uk=; b=BMo24VLHbYgwQuc6N1eGFUXSRUJuIMIkdnGnTlLI0GjGOSTlKKwq/sL9SGBELVDH+N 37C2Ip7YokVDpc3DOONGHUloSWeJ4jeRn9oIhejEa5paXBA/7d11WD73ScQi1HrqikHF CS1kqZOPEAyjUWwaevsb3Z5JViwN0b3x4ik84HYBTBs3lqilKLMRSa2jmF3G8DE9Ka/k EwShnmKd65TbKX4F122ck51wt99IAhqlGwAWBOIACx0J4pan3ap6nthNCj70xf8eKDDu /kVBAKaj8x/zHFExYiLBllgHHfjWek1HeiALYmAJHqasQOFjo55o7NDIiIhLMIPF8Veq OMqw== X-Gm-Message-State: AOJu0Yz/7nm0vpfSI9CirNuTW+zn7gPlaPzSxezuoKhJOskcyLkvEM2Z ahc0/VKEDHmHu//GbFI7R3kKYA== X-Google-Smtp-Source: AGHT+IF0lSU8RSwWRVtoHZMhIoGDLuCWoohmt6sdGSIxzJpSj25BOHDGAY3DaA75D7bseTADxZLBWw== X-Received: by 2002:adf:e80f:0:b0:32d:8872:aac8 with SMTP id o15-20020adfe80f000000b0032d8872aac8mr1164054wrm.31.1697710007466; Thu, 19 Oct 2023 03:06:47 -0700 (PDT) Received: from salami.lan ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id f14-20020a5d664e000000b0032d687fd9d0sm4169035wrw.19.2023.10.19.03.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:06:46 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH 1/2] tty: serial: samsung: drop earlycon support for unsupported platforms Date: Thu, 19 Oct 2023 11:06:38 +0100 Message-Id: <20231019100639.4026283-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_030650_157142_6B1E655C X-CRM114-Status: GOOD ( 12.63 ) 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 Commit 1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks") removed support here for several old platforms, but kept support for earlycon for those same platforms. As earlycon support for otherwise unsupported platforms doesn't seem to be useful, just drop it as well. Suggested-by: Krzysztof Kozlowski Signed-off-by: André Draszik Reviewed-by: Krzysztof Kozlowski Reviewed-by: Sam Protsenko --- drivers/tty/serial/samsung_tty.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 6b8d4b4402e9..a74ecc78f4e0 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2735,17 +2735,7 @@ static struct samsung_early_console_data s3c2410_early_console_data = { .rxfifo_mask = S3C2410_UFSTAT_RXFULL | S3C2410_UFSTAT_RXMASK, }; -static int __init s3c2410_early_console_setup(struct earlycon_device *device, - const char *opt) -{ - device->port.private_data = &s3c2410_early_console_data; - return samsung_early_console_setup(device, opt); -} - -OF_EARLYCON_DECLARE(s3c2410, "samsung,s3c2410-uart", - s3c2410_early_console_setup); - -/* S3C2412, S3C2440, S3C64xx */ +/* S3C64xx */ static struct samsung_early_console_data s3c2440_early_console_data = { .txfull_mask = S3C2440_UFSTAT_TXFULL, .rxfifo_mask = S3C2440_UFSTAT_RXFULL | S3C2440_UFSTAT_RXMASK, @@ -2758,10 +2748,6 @@ static int __init s3c2440_early_console_setup(struct earlycon_device *device, return samsung_early_console_setup(device, opt); } -OF_EARLYCON_DECLARE(s3c2412, "samsung,s3c2412-uart", - s3c2440_early_console_setup); -OF_EARLYCON_DECLARE(s3c2440, "samsung,s3c2440-uart", - s3c2440_early_console_setup); OF_EARLYCON_DECLARE(s3c6400, "samsung,s3c6400-uart", s3c2440_early_console_setup); From patchwork Thu Oct 19 10:06:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13428543 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 1B88BC41513 for ; Thu, 19 Oct 2023 10:07:24 +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: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=oOltDVQ3Ax3vYiPLXZrJvbArPv8h1R4/02RZSQeKAcA=; b=Q7AL0KNrP+pgmS FWd148Ci6mSHhJeJK8pBUbxdyilliEBMS28i2eY6LFARxoesafcBxcbL6afZ4DvUp75AJW529j2tR CSQwHg0SYAIgfb65JlkatDucTGNWnBwQR2MFpSNSMcNTcXXHM/7gouqLjbzT73O/IQ7BFhYdPhYN6 4cVmgmjtwyfK7l+odQXPS9qrzYsb3L5ab18mF6r2Z9bo9qFVGM2mZf711xCLCZOSbzODsoSlVVIDW e5UkS8waz03S5MSoU3fFcE4yQleYWrgMMrJWMsFRc1jGw/mCfnG9KUuOeUjAORpem1nY6xPJqioim je+qrSFTnQ+XetztVxzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtPva-00GuJj-01; Thu, 19 Oct 2023 10:06:54 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtPvW-00GuI9-1c for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 10:06:51 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32da4ffd7e5so350796f8f.0 for ; Thu, 19 Oct 2023 03:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697710008; x=1698314808; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WoHbbCT5Q2YnMBHSSHndfYfjoqOXcMkJzKxQOn/3xRA=; b=TxM8tF8Df2qp2Nu8gGbgSIkZKWRaa0mKyPdmvGZxiuUx29qFSHF3GF/ZnLFh50IMDa IkC9ycBdoLYZPiMEeMZA5+jPVuMP4R7ciTySXCHo4O1CT/QCesnehFipoaw/Iy9pFUUj 7wldaGZVGXh0QB0/82vVd01in/mGEf7WGF99qhUt/UImKKIO5czeKan5Jub6VTYP/P8B rCuEhZbwfIDHdHPlfEQF6u6D3CrBJtbKM+XUQVkcnqPt8c4cKnE0HPFeqZJRpNuGk+Ya D0qJvbyxFopT9+qpNL8b/pisRqIRzMNDbUh6qhhLiAC7Y+za8+42D7n4YCiqyuF055MX 53hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697710008; x=1698314808; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WoHbbCT5Q2YnMBHSSHndfYfjoqOXcMkJzKxQOn/3xRA=; b=rTbyjWWRodv/JSmHfpWe3QHEL4qCuFpMM1yGvz6yon0XW+5XjzFK9+F+vEWQZamdHb eFpzUa/UUOgkj/vf0m/8M4DTjvatvl1BvXqw2aZpk8YfUQlpN46wUJutCJNS7Aa1Hkp2 5T0VHJ6iYPvXwO2qbwfqThpw50XWpFm4OYugr+C2Lg8v6GgE/adPfi8QOhjaAzgmAhsa sQWeUJ17HMYQBejp2LI0e0/Ts03L51VpQP5Eorlz4/Wa8e8AVGLWNza1XevBtJRoGmZt m8Ya0/wPRN5MHCgPVz/SuIsawFdW6O7/mW7kbod5U8s+HtX1asuiFqeWZTcZeDcJj88e D4Jw== X-Gm-Message-State: AOJu0YxdXDc4DoRqTcn21vBF7Tz1JRW4SXbHAqL715M1wtVZ60M0ziud i6/F2XI5VGL6OZtthtcHQEQOSA== X-Google-Smtp-Source: AGHT+IEfXFBWcICclgq5d25qXX2874TWMOZrlbxekqA4ORYxEx8VBvpzwo4h+e4GbPTKtVhUnU3Rrg== X-Received: by 2002:a5d:4ed0:0:b0:317:6579:2b9f with SMTP id s16-20020a5d4ed0000000b0031765792b9fmr1138930wrv.30.1697710008730; Thu, 19 Oct 2023 03:06:48 -0700 (PDT) Received: from salami.lan ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id f14-20020a5d664e000000b0032d687fd9d0sm4169035wrw.19.2023.10.19.03.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:06:48 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: serial: drop unsupported samsung bindings Date: Thu, 19 Oct 2023 11:06:39 +0100 Message-Id: <20231019100639.4026283-2-andre.draszik@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231019100639.4026283-1-andre.draszik@linaro.org> References: <20231019100639.4026283-1-andre.draszik@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_030650_536064_A188817B X-CRM114-Status: GOOD ( 10.33 ) 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 Now that no implementation exists anymore for samsung,s3c24(1[02]|40)-uart, remove those bindings from here as well. Signed-off-by: André Draszik Reviewed-by: Krzysztof Kozlowski Reviewed-by: Sam Protsenko --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 8bd88d5cbb11..d45079ef7bd9 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -24,9 +24,6 @@ properties: - enum: - apple,s5l-uart - axis,artpec8-uart - - samsung,s3c2410-uart - - samsung,s3c2412-uart - - samsung,s3c2440-uart - samsung,s3c6400-uart - samsung,s5pv210-uart - samsung,exynos4210-uart @@ -96,7 +93,6 @@ allOf: compatible: contains: enum: - - samsung,s3c2410-uart - samsung,s5pv210-uart then: properties: