Message ID | 20200911093927.608024-2-hsinyi@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=rhu3=CU=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 62F6E59D for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Sep 2020 09:41:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 2C5B921D40 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Sep 2020 09:41:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fILdfCGs"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="KfefxcN2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C5B921D40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=97QcFu7CyHX0KJe020t+BZx7mz7+L50GpjGY7A9/q28=; b=fILdfCGsh8z3vcPBT0q3vG6LT 5lNfeIRvSnMqE803duRvf6IrztF1abh+ET8XuksnLSiVLuQg0vkihgHEbntBZYZN33+sznmJwejyt 6z2msVVca6BrlWFv7Qt+7JhiIs6LJkMw9wnF8FnkNNQXNxoKxycx4d5KE536H08iK1TtZr6Brq0oR Xm2BxchrlminHdZiq9L7GCSSfi2nDUw+ZFM0uuUnov3Nop0ZYUn+X16J0w1eVxPcg+yCEIMP3HKUw SxOTLr7uHR3W+IPoOzv/l+ToHJC7vbnlt9i3pZTL0BVfN3zsZpRDovkc2stZ0zecpnPZHO1UBjkI4 YCvfPhLhQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGfX9-0004ZZ-3d; Fri, 11 Sep 2020 09:39:55 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGfX3-0004WV-4X for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2020 09:39:51 +0000 Received: by mail-pj1-x1041.google.com with SMTP id v14so111602pjd.4 for <linux-arm-kernel@lists.infradead.org>; Fri, 11 Sep 2020 02:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KlLBYhev4Wfr30ELlYvsH52U84dkhIKc99s8OuU9b24=; b=KfefxcN2qmiKm7hShLw/DbW+tGavlLL9yPgswsVnIa1mZF/9xadoxJtaLstqBG2QQI 2iFp2DEEFEOgr8UqwKZiS5kZav4nfauaqhjHUupxkrZEWPSo9XbX0QeAuvFGhY9v6k2O 1c5fG89iT8bZxJpCepC3R2wbgtrXNTUGFSGhU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KlLBYhev4Wfr30ELlYvsH52U84dkhIKc99s8OuU9b24=; b=S4hQTWfZfjrOz1Yvf+v0GtFNmRyMJ2GoCUPy06hLEvILRlyFhGeqHlFOOOL3+IzBry g7ne7/TdliyCxJ2hWL0M/BRauojOVCWh8ly1yGshJ778R/utBDJgSWsiXMielCMShuaZ jr64RksWHdFDTy1uXHW3/oy0vClP17zCoFZtq7FABKVWxyMBwpfAeOcgpd3A5SgHylPH yLmcNreBRwljl/ZoqMNN1IxFKMXRKWjift0ZoSjThzqY5sxtdaaPMlQ0UJt7nyN/Hz+D AIaSM66nrWO3RB/FQIDUMfVOCNXVD2l7IoFq+RVeAkcsYSIVtF2HDG+PvT0F+Xwjllej IVzg== X-Gm-Message-State: AOAM531WNkFBjNQVQnp3ZESmyhlhD6JeLE0GHyAQcdAMTcDLw5ZlKkdI QPy2chOCUV2bZ6PbLSpEpkAS/g== X-Google-Smtp-Source: ABdhPJwI8ziC5/OM7tf5UKEvZbcS15PybCTYMTPLwIM6mRVaAnhqXfsGqJWqnsxQyXN/ZYuTJY7BoA== X-Received: by 2002:a17:90a:184:: with SMTP id 4mr1482988pjc.148.1599817186148; Fri, 11 Sep 2020 02:39:46 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:1a60:24ff:fe89:3e93]) by smtp.gmail.com with ESMTPSA id v1sm1433465pjh.16.2020.09.11.02.39.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 02:39:45 -0700 (PDT) From: Hsin-Yi Wang <hsinyi@chromium.org> To: linux-serial@vger.kernel.org Subject: [PATCH 2/2] tty: serial: 8250_mtk: set regshift for mmio32 Date: Fri, 11 Sep 2020 17:39:28 +0800 Message-Id: <20200911093927.608024-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog In-Reply-To: <20200911093927.608024-1-hsinyi@chromium.org> References: <20200911093927.608024-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200911_053949_275719_18A47119 X-CRM114-Status: GOOD ( 13.93 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1041 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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> Cc: Changqi Hu <changqi.hu@mediatek.com>, Frank Wunderlich <frank-w@public-files.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, Serge Semin <Sergey.Semin@baikalelectronics.ru>, Enric Balletbo i Serra <enric.balletbo@collabora.com>, linux-mediatek@lists.infradead.org, Hsin-Yi Wang <hsinyi@chromium.org>, Matthias Brugger <matthias.bgg@gmail.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Jiri Slaby <jirislaby@kernel.org>, linux-arm-kernel@lists.infradead.org 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
[1/2] tty: serial: print earlycon info after match->setup
|
expand
|
diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 7b0dec14c8b80..41f4120abdf29 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -669,6 +669,7 @@ static int __init early_mtk8250_setup(struct earlycon_device *device, return -ENODEV; device->port.iotype = UPIO_MEM32; + device->port.regshift = 2; return early_serial8250_setup(device, NULL); }
To use mmio32, we also need to set regshift. Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org> --- drivers/tty/serial/8250/8250_mtk.c | 1 + 1 file changed, 1 insertion(+)