Message ID | 20240119104526.1221243-6-tudor.ambarus@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 1075AC47DD7 for <linux-arm-kernel@archiver.kernel.org>; Fri, 19 Jan 2024 10:46:21 +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=nhWa5ef+UIiIEiV6i33hUdmwuuT+uUuO098xwoMBqrI=; b=f7PZUtnPxRvBSp uUnQflMzilOaeDuuiyFFM+FAWhGRiJ9RLL5Z7Y2YefiJXDXlmLp3kBKLkxo67WwGDtYLmQwp5DXwc XiM609mGtGFQjvQaUKDaUVAzsjS2P7Snl2a9cCmYz2e50qexmrn8+ZxoyE6h4K/MQbmBcUJTN1AJk rkV2IgU2GY5vFDpAitileUHd9RU38ckfjI8zTdVLRB/nlb9OhdR/WTECNnDEnko30zkOEIaHxl7YF yqtMMrqxA0zrC3eaiXZ/TOJNf+Y9p3JWDFRqkQtpXPF0s4AFgf0F4k7vhWOGwxxno3SNpYbapRVYX AQILdkIATW3zhXV7soKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQmNe-0057PL-38; Fri, 19 Jan 2024 10:45:46 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQmNU-0057I4-1A for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2024 10:45:37 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e8fec0968so7818915e9.1 for <linux-arm-kernel@lists.infradead.org>; Fri, 19 Jan 2024 02:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705661133; x=1706265933; 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=2al3iBNQhWlEPx3zO71H97w87oPbBhC1wsAJyE/YV+Q=; b=tkcqB0+Ir7dPymfB+x+AwAM3gfF38Cqa1bzg//8l4oL0/jj/R3QRJ7vc8WYPm/R43q 6pquTBjsCAEbt4YSOuVHLGQNiaa0OC7cje1qw9me1VHysnvH9kn2pJVxv9c5u0VUHQOT rYIR9BwHiVuzhzCDaLhwgaq720mi+BJkglpQ2ATEPUY/K8lnGIUqrlZXWWb3aiDmTLuh 1mo17VZaIhMULyVUSGD9luTZgkIq+knJN9GjmRCKx6ugiVk2yA84MNxWInaNo56W8Ajj dDK1eo+RnoIWZDl+D2AYNI86MHCRc7AQ0E1g5QNZZKGuLC/e7Fql8MUJEhcTmzGj1Q2i JwzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705661133; x=1706265933; 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=2al3iBNQhWlEPx3zO71H97w87oPbBhC1wsAJyE/YV+Q=; b=LyHAYcsViAeu5lFqYBI+xOggk/c7uLWXHsrrAvm1MRkFvt1rXxBBtcggCTUiMmanUY 8nUm3wsAix38JPNkDqc3F2+4LAb04jwH8w7bWoGbxE/Nx0AgpCq6JTGiOTF/fhN6s4WW oguGW8FJ6eB7I4x8A1szynN3AE7O2iQB3SWqMaBMuP+/CeUpAZqo1U39HisRDONjBlgL T7RQD8wJHR3cJ4XPPh3SNznfA6zAYJ40niR3s5VG7z42Of+9PvA3si0UFA5GMGytWBBP iEfYQoYJtilPWJKf1TLIn8eGmWoLQmMSfKOpF1Vmbl+xkuadJJ/Oqg9PX46CukApZ7gF MVXA== X-Gm-Message-State: AOJu0YxjuSxLXzWyFVtdM7wF/OG+KuWbtCVsLdpkxDWGYRSH+B2kEYS+ bhT+Lx+NoZWvDzteIjRp8T3C6My3zYDSd3heA5BcuF8encht6J//B03L1gappaE= X-Google-Smtp-Source: AGHT+IHXRVDj6Z2rHedmVBuRLxryu4//t1M2OscXjxE5zCpuJxJ49smSeqRP5ESmOv4g6vvM9Ij/5Q== X-Received: by 2002:a7b:c412:0:b0:40d:7d62:80ab with SMTP id k18-20020a7bc412000000b0040d7d6280abmr1306238wmi.117.1705661133590; Fri, 19 Jan 2024 02:45:33 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id fm16-20020a05600c0c1000b0040ea10178f3sm77470wmb.21.2024.01.19.02.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 02:45:32 -0800 (PST) From: Tudor Ambarus <tudor.ambarus@linaro.org> To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: alim.akhtar@samsung.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, andre.draszik@linaro.org, kernel-team@android.com, peter.griffin@linaro.org, semen.protsenko@linaro.org, willmcvicker@google.com, Tudor Ambarus <tudor.ambarus@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v2 05/19] tty: serial: samsung: add gs101 earlycon support Date: Fri, 19 Jan 2024 10:45:12 +0000 Message-ID: <20240119104526.1221243-6-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240119104526.1221243-1-tudor.ambarus@linaro.org> References: <20240119104526.1221243-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240119_024536_398651_586899DD X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
serial: samsung: gs101 updates and winter cleanup
|
expand
|
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 7a1b1ca82511..80b8fcf9e025 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2809,6 +2809,17 @@ OF_EARLYCON_DECLARE(exynos4210, "samsung,exynos4210-uart", OF_EARLYCON_DECLARE(artpec8, "axis,artpec8-uart", s5pv210_early_console_setup); +static int __init gs101_early_console_setup(struct earlycon_device *device, + const char *opt) +{ + /* gs101 always expects MMIO32 register accesses. */ + device->port.iotype = UPIO_MEM32; + + return s5pv210_early_console_setup(device, opt); +} + +OF_EARLYCON_DECLARE(gs101, "google,gs101-uart", gs101_early_console_setup); + /* Apple S5L */ static int __init apple_s5l_early_console_setup(struct earlycon_device *device, const char *opt)