From patchwork Mon Nov 8 11:54:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12608319 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9769AC433EF for ; Mon, 8 Nov 2021 11:55:36 +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 53BC36125F for ; Mon, 8 Nov 2021 11:55:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 53BC36125F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ew.tq-group.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=yK71v8knOZp6XNAzunwBM/u9Uf++JNZ1VtmQn44WGVs=; b=I9cfmdLiSiRqHE U2kFgwJaTL7inRgXs0QwQO5DiKf2vaHVlJxhJ9wB49HRvCRPL+2dSByI6DYBjHnGwQR8oKRTII/W0 eoB9iNWUuZuZ8jeGjWEFSt5aYm3S6kAoKhrMWhTnd5JWzPfDzw1HoFRKjAoRqSGqu+q+lzI8+GOSd QgzXnxmSnADtEOTnl/RfgZYN/4/AtexMv+4ttWKVIbCU3krCaVWPXfErxWRH2hZEV2X/f04xWxUH6 Ga/O+pVc5tXNqPDt8qUGiY3PLSKDG4+MefpVg7TcHJ+aK8cX8hROjhTHg2kwQXDjqRrkeq2WI+BRS cGKC3aGDApphPtpOBKKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mk3EF-00GKwD-Qw; Mon, 08 Nov 2021 11:54:24 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mk3EB-00GKv1-CJ for linux-arm-kernel@lists.infradead.org; Mon, 08 Nov 2021 11:54:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1636372459; x=1667908459; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=d8OFqm98/Srngga10IVEXbeAi/xIv5s/AW1zhNAJCLU=; b=G1FyI7VD9T30bFIuTUoZQhkMJ//jTZyMJw7CB1eyyRnPVA3duVgf+OCS SO0PnQ0Easm/fREu+dIVNPmRsGQAHQdbQczJkr5br/UiEpLigroHE4uMu 0PwgvYuOe+XwKTCk9G8zM1csIQN7T1Gmdp1zHLvAP0vzz4k9df953o6cI wm5Qma6SbiblIzjF+w7caPziN4+g9TyTQ80QAsbAf2LMSYKjCtJL8Icm+ E77QYpTuwq9nwqQQy4wCBWjF76kfQ+X2ikCdnlrr51lABRxNWP5uVv0Lu xmsiJ4xtDdZqpqNTBVyyB0e2DWbAZpyYs/2DZUxJJCOCukh8AMeFj7X6U w==; X-IronPort-AV: E=Sophos;i="5.87,218,1631570400"; d="scan'208";a="20375001" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Nov 2021 12:54:14 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Mon, 08 Nov 2021 12:54:14 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Mon, 08 Nov 2021 12:54:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1636372454; x=1667908454; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=d8OFqm98/Srngga10IVEXbeAi/xIv5s/AW1zhNAJCLU=; b=IqgtmPqCuGCfsdb1LM6klQgaAmkzzVaB7e6B4XmXunKSp4rUFkp51nDV herm9BL/7KXpRpSKhFgvloHHNVd6/hCe7Zf/JAWSRP6OOwYwRvEetQoXX 2SoK5vkhbP4bbq7GFld7wRtB/BBpZLCAfX7aaui0JzGvW43N1ZGTqxzjH tbrkwEWQ3/KeZYuM9pYyKWeSGirbCR5x/8BsvHhXE57KJD+BfBIzaR3dK huoObU7OpQh7/QHwLMedReDpglk35DRJI3hwWvkokX3tEaL7SjpzEbmiS I51oCdHiT1op7SWVEglwToE2GaEL+mvWGSKAoZ3TR0lILMbxi1tk3kaTm w==; X-IronPort-AV: E=Sophos;i="5.87,218,1631570400"; d="scan'208";a="20375000" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Nov 2021 12:54:14 +0100 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 65EB8280065; Mon, 8 Nov 2021 12:54:14 +0100 (CET) From: Alexander Stein To: Rob Herring , Shawn Guo , Sascha Hauer , Peng Fan Cc: Alexander Stein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart compatible to lpuart Date: Mon, 8 Nov 2021 12:54:03 +0100 Message-Id: <20211108115403.1770393-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211108_035419_777132_B9F7B487 X-CRM114-Status: GOOD ( 12.55 ) 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 After commit b4b844930f27 ("tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP") earlycon support was essentially removed from imx8qm/imx8qxp due to missing compatible. The commit message says "i.MX8QXP lpuart is compatible with i.MX7ULP" so adding a fallback compatible should be fine. With this change early is supported again on imx8qm/imx8qxp. Signed-off-by: Alexander Stein Reviewed-by: Peng Fan --- I get the following lines in my 5.10 kernel (backported this change): [ 0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000 (options '') [ 0.000000] printk: bootconsole [lpuart32] enabled arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi index bbe5f5ecfb92..3486b99ab6eb 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi @@ -19,19 +19,19 @@ uart4_lpcg: clock-controller@5a4a0000 { }; &lpuart0 { - compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart"; + compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; }; &lpuart1 { - compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart"; + compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; }; &lpuart2 { - compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart"; + compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; }; &lpuart3 { - compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart"; + compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; }; &i2c0 {