From patchwork Thu Jun 15 18:29:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Tanure X-Patchwork-Id: 108687 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp855845vqr; Thu, 15 Jun 2023 12:06:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DVw0BD9gNHEhfHquf+8gDf1AjxnQ9cWQs6HSO4+7Bxuqe8mQSdW/AFWKJUNLLri2WZi50 X-Received: by 2002:a17:907:da3:b0:982:cbfb:8c35 with SMTP id go35-20020a1709070da300b00982cbfb8c35mr1049896ejc.74.1686855985463; Thu, 15 Jun 2023 12:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686855985; cv=none; d=google.com; s=arc-20160816; b=EKgwBkCo28l2Qa+cyWop7PGEhVGFxiLmhze6FHMt7HhQGBpqRpKarqthXJ3kNL1Bss HhMH0DmnEhqGDAcq8KkLoGCDBmjbT6aOe/mxYyxaRdn0dIlKMf/HRgUDGfKYELhehB41 47sc+0QZJM7oNOw9GAg+xJ+XhIzODf94wbVnLNizeo4cKK2HQXJWzLqrQppdoIIfPWOY O3CRD1TMmuo68mcdGxtfCFmFXfCFF7VcKXbSn7nVv2xWMZpNe4uiZXJ6W7G6o0Ah3e5N pf9C7vCyTJhJ5Y4BEMK/eUhtqFh0KTJTampyAigtZEhospFhcmGcOJXj2lsms3FhRefO xBoA== 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=rljMIAz3eZzDzsPXsEwblV15FzZCxzBSB/L1bn8LJCA=; b=xbJm03ylSbDqG/AKaKUHzWWNb13VOS7F8zG+KlXcFZo0/NaoGnDfSpa6D25VGYRbqY zcGqhuAhMQiKA8JUgasjwCpqzoQUiF0dksXtTAHnnSZOaYwTVVEzUtIGYiaWxMbRPKZG d4yVWQsmL9bfR5bbd8OrCPnVg9lAAtH8UHnUbL/CFrBJOQBmDl0Ze6yRSx00D3vvFwya nr5fBfb4HR9Gt6UIrT0yyscfqolSlOob0d4kysGeaEdb2ChLdDJi5Fz7NOGMXMryY9GP OJU42Fk7ReHyswaWJk5jIE1LgxGz3s3LqiabDYTN4GrTnvusCV6wEHrHdgPS4XObtJNm k3hw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a17090654c800b00984f0afcc53si33713ejp.249.2023.06.15.12.06.00; Thu, 15 Jun 2023 12:06:25 -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 S237726AbjFOSaE (ORCPT + 99 others); Thu, 15 Jun 2023 14:30:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbjFOS3t (ORCPT ); Thu, 15 Jun 2023 14:29:49 -0400 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 787CCA7; Thu, 15 Jun 2023 11:29:48 -0700 (PDT) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-30e3caa6aa7so8061359f8f.1; Thu, 15 Jun 2023 11:29:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686853787; x=1689445787; 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=rljMIAz3eZzDzsPXsEwblV15FzZCxzBSB/L1bn8LJCA=; b=fO1Myd/HdZ+ggZT5dToJpZJEIKaFAs1TjwYz6WdTt9ObrDFrEVFtEPuGW0+Mnc/0q3 1vOFhVlTmrb29s02wnJmcHuvoFYkPPWDxUs5JvFto8dVJ3gLQ4WUTfc2kLwFpSWtrjeH BcU9K827jCKiNR1E4A1Zm6GWPQCcAnd8lh+onP4+ODzIAK+iFbj9+34qvCbFA5fFZLOx Lb3fXhb39UyQowAttnTvksT/ZIp08zOF00q6VRPlSGdK3Qxb/HcRVFe4nN5QgoUlSGMb +eI9LxtzIj82+k2fvGfTAOBGWZ8gX8SeUw902BjHSbJNT1/RNWqujLTPJ47JPSHU/CJz Ti4Q== X-Gm-Message-State: AC+VfDwH7Ce5t6QjBdKcum8roXZLmrrHob570CAsdtKIZ5YCkMTfbA98 EG9e/k+CYTeg+qLQ4DUlvWs= X-Received: by 2002:adf:eb92:0:b0:30a:e93e:82aa with SMTP id t18-20020adfeb92000000b0030ae93e82aamr11756161wrn.42.1686853786778; Thu, 15 Jun 2023 11:29:46 -0700 (PDT) Received: from ryzen.lan (cpc87451-finc19-2-0-cust61.4-2.cable.virginm.net. [82.11.51.62]) by smtp.gmail.com with ESMTPSA id c3-20020adffb03000000b0030ab5ebefa8sm21525887wrr.46.2023.06.15.11.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 11:29:46 -0700 (PDT) From: Lucas Tanure To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Greg Kroah-Hartman Cc: Nick , Artem , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Lucas Tanure Subject: [PATCH 5/6] tty: serial: meson: Added T7 SOC compatibility Date: Thu, 15 Jun 2023 19:29:37 +0100 Message-ID: <20230615182938.18487-6-tanure@linux.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230615182938.18487-1-tanure@linux.com> References: <20230615182938.18487-1-tanure@linux.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768796701577689684?= X-GMAIL-MSGID: =?utf-8?q?1768796701577689684?= Make UART driver compatible with T7 SOC UART. Signed-off-by: Lucas Tanure --- drivers/tty/serial/meson_uart.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.41.0 diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 2501db5a7aaf..0208f9a6ba7e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -796,6 +796,10 @@ static const struct of_device_id meson_uart_dt_match[] = { .compatible = "amlogic,meson-s4-uart", .data = (void *)&meson_g12a_uart_data, }, + { + .compatible = "amlogic,meson-t7-uart", + .data = (void *)&meson_g12a_uart_data, + }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, meson_uart_dt_match);