Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5405657rwd; Sun, 18 Jun 2023 10:45:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4H7P14UBJofvH3d1pZYcNw6fInaSnTjC7uCcnuxyT+c15TfmOhBl5Bjt/RNk9OZ6wmbgL4 X-Received: by 2002:a05:6a00:2ea9:b0:64c:b45f:fc86 with SMTP id fd41-20020a056a002ea900b0064cb45ffc86mr6263239pfb.17.1687110317047; Sun, 18 Jun 2023 10:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687110317; cv=none; d=google.com; s=arc-20160816; b=SYO/uxRHuSJPXglNvEe95ywG8lM6E/Q/e1Vz7RFPCRXkx3i/I0AlhWCol/ER5/Htuk h9qliiccX8+xwEk2T+HLaAm/j+CJ24icsgTjrnMW6spBMANXS1tfyZe/BJY7l0swn+Ak EucXg4L0ZRQ1Lz+v8Qm/bQgkyR9Aae/Kp0YURucE+HQ8dsgeVULMDIkgsXSOcU8kziad PNOjST26g+1M7NA6pU+pNV+blmwB1QmOcf9xJCDEnafDHb0xIB+4JT3SkDe+prt8mU1O HC8ykvxYkdzIPlfmF5jBzdJkIHzdqucQIL4/52k+P/mBC/qKoIBloaTyB9g/7EkyZCr9 fpTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version; bh=4+ZUO9p8uUmfFGlVtWmVvA7+pL2vFU2zA2IoKCjaNFU=; b=ced3E4/YMcojWNm6eREkHyXNXabpWXsUZmrT48Cwy5NvT4w8cRhK62RKeYgG/TGot+ H05qFNGDOPW2mL8Li6bfZT+hWhBvjmi4ZbSr6hCgLP+DOkwXy2G0KEtxWzcVSbngNFTd 6yVlkeZezzBBS3KlmBnMB1d7ZqGWmi9McHK26BgoB4RlXFhla7ocEI+kL5syCdjkk8Us Wh06ok6cVvp1+h/vcKvuF7+PSYwWT74LBJOHNqMHrXWpINgJmeCLgIm6uQZwkbWm1t35 zz/olvZVOwaqzbPStXPcMy2ofxnRbDNT945GP6sl87iHV+WyO/hwuWsgv5n1v9vVZsLR 7UMw== 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 t14-20020a63780e000000b0054869ad741fsi15711745pgc.877.2023.06.18.10.45.03; Sun, 18 Jun 2023 10:45:17 -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 S229567AbjFRRk2 convert rfc822-to-8bit (ORCPT + 99 others); Sun, 18 Jun 2023 13:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjFRRk0 (ORCPT ); Sun, 18 Jun 2023 13:40:26 -0400 Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AD0F1B5; Sun, 18 Jun 2023 10:40:25 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-5702116762fso32614927b3.3; Sun, 18 Jun 2023 10:40:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687110024; x=1689702024; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=amJGUKjp5oGz/tKayl+1XivBm6hIlBGrgnz6eQlEOCU=; b=l+TCmmkO4J+03JZl2w0pAPYlP5a7UCZpW6mFdIeA3RWukkS1zPlVM2n9gRbuNVl2cS dF8hStAkaKMzBoj4AGOYaowx7I3ge6Anz7bHAtb9DRVgImkpXtdK+LujK9+sAMqrad48 aXvh+APIEZlVJehx21CnpTnWqWzb7Iz4H01cNi/iokn6B7rYQgWbi15Oes8VYD4cgjkp jYB/G6ugEPZHrw4w5Ct6pzWTZemHPQ3GFqmfuc1e0jR6yJLz4cQIzzy/IeX8oIGrpPMN aXlNXeVkuSQwu7BW0gcaaUsCDTHkxC2tBUkUztMpU7uGBiLeYL3ON3dTWAt5t/Gvg0YC aKbA== X-Gm-Message-State: AC+VfDwbfa/9NYFC0M67e/EbHHaM+Np3kFAiJXaU/8b/wOyh1+7zSzkM ezmDtRDP+R7Mv9pJUiaqg1uLaZ6x/GzDJdBa X-Received: by 2002:a0d:c845:0:b0:570:a6b:fefc with SMTP id k66-20020a0dc845000000b005700a6bfefcmr8016744ywd.21.1687110024575; Sun, 18 Jun 2023 10:40:24 -0700 (PDT) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id j1-20020a0de001000000b0057042405e2csm1816724ywe.71.2023.06.18.10.40.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Jun 2023 10:40:23 -0700 (PDT) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5701e8f2b79so32807367b3.0; Sun, 18 Jun 2023 10:40:23 -0700 (PDT) X-Received: by 2002:a81:bf46:0:b0:56f:f890:3149 with SMTP id s6-20020a81bf46000000b0056ff8903149mr9364206ywk.16.1687110023119; Sun, 18 Jun 2023 10:40:23 -0700 (PDT) MIME-Version: 1.0 References: <20230615182938.18487-1-tanure@linux.com> <20230615182938.18487-6-tanure@linux.com> In-Reply-To: Reply-To: tanure@linux.com From: Lucas Tanure Date: Sun, 18 Jun 2023 18:40:12 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/6] tty: serial: meson: Added T7 SOC compatibility To: Yixun Lan Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Greg Kroah-Hartman , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT 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 On Fri, Jun 16, 2023 at 12:31 AM Yixun Lan wrote: > > Hi Lucas: > > On 19:29 Thu 15 Jun , Lucas Tanure wrote: > > 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(+) > > > > 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, > I think you are trying to follow previous s4 scheme - to introduce a new > compatible string, while I think it's not necessary or even wrong, this will just > make the dt_match_list longer but without obvious benefits.. > > as Conor already raised this question in previous dt-binding patch[4/6], > how about just using 'amlogic,meson-g12a-uart' which is the first compatible > introduced. > > if people agree, we could also drop 'amlogic,meson-s4-uart' since it use same > compatible data as gl12a, anyway it should be separated into another patch.. > > > + }, > > { /* sentinel */ }, > > > > }; > > MODULE_DEVICE_TABLE(of, meson_uart_dt_match); > > -- > > 2.41.0 > > > > > > _______________________________________________ > > linux-amlogic mailing list > > linux-amlogic@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-amlogic > > -- > Yixun Lan (dlan) > Gentoo Linux Developer > GPG Key ID AABEFD55 Yes, I am dropping this patch and using s4 and g12a compatible lines.