Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp432124rwo; Fri, 21 Jul 2023 14:26:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGdeSpaEA908lsAXdEMrs5RRh4kNCFgIObWW7uDaoazUjYuVKRLD7HHSAubBNjIu+Pk16II X-Received: by 2002:aa7:dccd:0:b0:51b:fa0a:dc37 with SMTP id w13-20020aa7dccd000000b0051bfa0adc37mr2349716edu.10.1689974806326; Fri, 21 Jul 2023 14:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689974806; cv=none; d=google.com; s=arc-20160816; b=QlEScYM26tDHzh3jucpPw3DS7dhdVGc1QVXQ85Tqt5SLNZ1qGkqTwybjlDAP9cisSZ vYFT1ttITdrQNAQz8kQc8lOPeOyL1vvCNLAyiNx2OPoZzUoTMG9Z4Ian2HMpGwTjDo5X vDVGdEury8E41/o1Jqn1LbQiBXsH6LYrVZRyRUICTvrmh2/efh5rq/R1/C3o1tka9IWk uKEheLpNh/H8G0twBDQeB+DCpNWzTx1SuEmqID/VVL5kE1jiABn47jfIDkQaeumnEZmQ LT4Qle3QWtqYapr32n1zT97SyM/GqbFw6aRR7ks8LXi5l2ETHODSqfYWmbpwGpog8pBG fB+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4Xb24WjxKX1Ozqynt2UuER9M6qlxHUWuQqYJl6g7ERk=; fh=OzHIctYqDeRZupNbeZWnNf2hiiJ82jdaKAZ1rnMDFrc=; b=CVbLDPD9PvdzQltqJ99qzekcJ1XQIdUddtZ9lUa5mxZ7mdMTbfuhp0HIZZO8O8g26u sn3qMtjv5Hnid5aPdreRr2oIiATbnShXxbS9KO08rR3wTcyMvxhgii9U+apK6DzO3R9K DYPwES0RhR2F3ZWuK3xTqHGMPIWR7/vaFyFK9pFCBwVBjB8zrnuHOWeV7Mz/J4WfLz8U vojo0+ip/qfDX0tBRzr2FJsNNbqjLb6Z9LIFkfj2KjvRKdcfER6UPnpqx+oBqAfBGJn2 H4ndxW8SD9BXlF7PfJXzM54X34egbyIlvj0Lka3ry+J6e8WqkiaOtb0jBP+sEJsneLEa mOWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020aa7d416000000b0051e1654f831si2801752edq.453.2023.07.21.14.26.22; Fri, 21 Jul 2023 14:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbjGUVMG (ORCPT + 99 others); Fri, 21 Jul 2023 17:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbjGUVMD (ORCPT ); Fri, 21 Jul 2023 17:12:03 -0400 X-Greylist: delayed 344 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 21 Jul 2023 14:11:57 PDT Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D39E359D; Fri, 21 Jul 2023 14:11:57 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 80C4986D18; Fri, 21 Jul 2023 23:06:10 +0200 (CEST) From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= To: Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com, =?UTF-8?q?Duje=20Mihanovi=C4=87?= Subject: [PATCH 01/10] tty: serial: 8250: Define earlycon for mrvl,mmp-uart Date: Fri, 21 Jul 2023 22:37:43 +0200 Message-ID: <20230721210042.21535-2-duje.mihanovic@skole.hr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230721210042.21535-1-duje.mihanovic@skole.hr> References: <20230721210042.21535-1-duje.mihanovic@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mrvl,pxa-uart already supports earlycon and both compatible strings use the same driver, so there's no reason for mmp-uart to not have earlycon as well. Signed-off-by: Duje Mihanović --- drivers/tty/serial/8250/8250_pxa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 28b341f602c6..a5b3ea27fc90 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -183,6 +183,7 @@ static int __init early_serial_pxa_setup(struct earlycon_device *device, return early_serial8250_setup(device, NULL); } OF_EARLYCON_DECLARE(early_pxa, "mrvl,pxa-uart", early_serial_pxa_setup); +OF_EARLYCON_DECLARE(mmp, "mrvl,mmp-uart", early_serial_pxa_setup); #endif MODULE_AUTHOR("Sergei Ianovich"); -- 2.41.0