Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10651503rwd; Thu, 22 Jun 2023 02:59:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4aPIXwjmLB9JkL2H3Px0Kfsi+pJRjepa8pg+H9cQcijo1BVbofd3s/ZZgVJKWmpbQKu1HL X-Received: by 2002:a17:902:ecc4:b0:1b5:4679:5699 with SMTP id a4-20020a170902ecc400b001b546795699mr12538069plh.35.1687427961860; Thu, 22 Jun 2023 02:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687427961; cv=none; d=google.com; s=arc-20160816; b=oKLkRe7F1RN9vq1xLp47pH9VwUFfPv+ADT+KZAR0M5iERedjmctLiH3PanFUZr/xHg 157muf/yFogGuPQvFKJghzTiyx7T9fLLMiakOy43BpgjSEzoad40YbTA2yZPV3oeZjAc mageqzuXuzWCrPaZQHPaCVUrpneWyJ7i/roeTpZcRbroXN2CQ64wzg1Iaq8hzuAYA7O5 zlwmVeuF8dPuc6FcZ1/B+tb0x2Dj0eIkMUYbCnn2GyVqIZoiXlZOhH0djvAlvOZI+2Ge SWjd9+W5BMIDVx9/ZQffxr5nOl58bUWzpoEEX3oFkxI8S51AdG1FTNkb5z62AEPkbK+s AcaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :organization:references:cc:to:content-language:reply-to:from :user-agent:mime-version:date:message-id:dkim-signature; bh=y1j31YwGJInJp0uzBca00KMvrBtU/vucRfvT/lc8M/k=; b=MvreKB9ZP8OsoO3wPI0z2/J1t7mUeqqVpWdphi4urubt8o6egamEhwqCXWs2n/UBYk CbyhgC9r8K2Z8T2XHbz4W3ALISvWp+h6ro0McpYFsQKiAO2EFUXxU/vB8WgUSC6k3N+E uA60V2+ZB4zFt9GkU/gTan/7Tkd5dQuJAJm0KcLBRfrdjKj4IXkcFAIFbf3a3HqP7YHB VCIokVW6veNGUJPjmxZvVgrU6/2dbjzmYH6eqBKmWv70pyRJcNr4ays7nqoEvWg7Ypxy TLKzFqXQ5BbaSK7NVU/H9Xl5ssYnGAGF9+YGs08LxI/+Zpe3m5zm41l7ODKdjy7J60TI 0s1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r31WHGpD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170903229200b001b049396666si6933764plh.601.2023.06.22.02.59.10; Thu, 22 Jun 2023 02:59:21 -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; dkim=pass header.i=@linaro.org header.s=google header.b=r31WHGpD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbjFVJt6 (ORCPT + 99 others); Thu, 22 Jun 2023 05:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231696AbjFVJtY (ORCPT ); Thu, 22 Jun 2023 05:49:24 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A65364209 for ; Thu, 22 Jun 2023 02:39:08 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f9bff0a543so16522675e9.3 for ; Thu, 22 Jun 2023 02:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687426731; x=1690018731; h=content-transfer-encoding:in-reply-to:subject:organization :references:cc:to:content-language:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=y1j31YwGJInJp0uzBca00KMvrBtU/vucRfvT/lc8M/k=; b=r31WHGpDwAnxyUVyweo5c3+lMARcpIsEl6qSJ0JpMHq68mEoGcJ2eEf9pqIPOWrPjF uPAhY9IbZC7NTawDk4C0h2B0lnMFNZnLfWVDQ7HMEm+0Kf5AdCUUGwlXOBxxBD3yhzbD hT1/aQg8RdtrLi0XNEU5f7uNLWbJeV19nO2KDyf5f+Oufd5SR+i2CEXXlt/eBk12yGpz U/OGVGV4DtpgrrWpw9K2TIUjlAcHkuLpmzBx/SmIevMGqbH9aDQ+xEH0WBoJ6P32b9VX e6hsxfhI7WgmronTZTpGimp52hUP4w1oCaODpbjeaU+qYmnDpCIXAQRS49lKFRmCUDKc eMnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687426731; x=1690018731; h=content-transfer-encoding:in-reply-to:subject:organization :references:cc:to:content-language:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=y1j31YwGJInJp0uzBca00KMvrBtU/vucRfvT/lc8M/k=; b=gZr5iC3cUG3h83ze83yOgvIsWgJoEy32g0Dd4+ZBSEFG+DoerE8+xeKRE+T357spQr SCtw2Q2imgImgZu1Jo0McOYP8v8/MgyLkhfvvLKlHd0BTRCi7oWB0nvl3QobSzbV0obO W+Pbp3SvN2SrHZsjfgiFtxnfpaoLly1z3asNMFI4ZcvkSWEtOWQkzCZanmJpZbvUr6zw /U/xV+nbyHAi4KaNexZFhGxhmS8N+PdJVBBdWvGaKdGRdeG/7ZIUgdg3WpF1sq6ML59I yq50m5etQErpgHwn4TlffR5kP1lVDIASAKZidyxS+4jfS4M1P6knfOYVplpgEQRUTIP9 qo2w== X-Gm-Message-State: AC+VfDxrFkcWOPaV53KP9Eksz9nPxf2+Jj5VHzRZuSMfJEwcA0jy60CT ik0hpmgAcJQXHp+0NbePhJ9pbA== X-Received: by 2002:a05:600c:2211:b0:3f7:e655:a498 with SMTP id z17-20020a05600c221100b003f7e655a498mr14748565wml.14.1687426731505; Thu, 22 Jun 2023 02:38:51 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:f692:a800:4794:385? ([2a01:e0a:982:cbb0:f692:a800:4794:385]) by smtp.gmail.com with ESMTPSA id 8-20020a05600c028800b003f9c8c6bf53sm3102092wmk.13.2023.06.22.02.38.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jun 2023 02:38:50 -0700 (PDT) Message-ID: <4a2a2f0c-f9dd-d5c4-1e7e-5852970f87a7@linaro.org> Date: Thu, 22 Jun 2023 11:38:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Content-Language: en-US To: Conor Dooley , Lucas Tanure Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jerome Brunet , Kevin Hilman , Nick , Artem , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Conor Dooley References: <20230622084045.519203-1-tanure@linux.com> <20230622084045.519203-3-tanure@linux.com> <20230622-unsent-willing-574906af5e1a@wendy> Organization: Linaro Developer Services Subject: Re: [PATCH v4 2/3] dt-bindings: serial: amlogic,meson-uart: Add compatible string for T7 In-Reply-To: <20230622-unsent-willing-574906af5e1a@wendy> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 22/06/2023 11:26, Conor Dooley wrote: > Hey Lucas, > > On Thu, Jun 22, 2023 at 09:40:44AM +0100, Lucas Tanure wrote: >> Amlogic T7 SoCs uses the same UART controller as S4 SoCs and G12A. >> There is no need for an extra compatible line in the driver, but >> add T7 compatible line for documentation. >> >> Co-developed-by: Conor Dooley > > You can delete this, I don't need a Co-developed-by tag for review > feedback. > >> Signed-off-by: Lucas Tanure >> --- >> .../devicetree/bindings/serial/amlogic,meson-uart.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml >> index 01ec45b3b406..4ca4673169aa 100644 >> --- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml >> +++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml >> @@ -46,6 +46,12 @@ properties: >> - amlogic,meson8b-uart >> - amlogic,meson-gx-uart >> - amlogic,meson-s4-uart >> + - description: Everything-Else power domain UART controller on G12A compatible SoCs > > s/Everything-Else/Always-on/ "Everything-Else" was the amlogic naming for the non-always-on power domain, but it seems it's no more something used on new SoCs like the T7 family. Anyway, the description is wrong, and it's a mess because we used "amlogic,meson-ao-uart" for uarts on the Always-On domain, but here it's described as Everything-Else... Lucas, is there AO_uarts on T7 ? if not drop this amlogic,meson-ao-uart for the T7 UARTs. But if there's no more AO uart controller, you'll need to change drivers/tty/serial/meson_uart.c and add a OF_EARLYCON_DECLARE() for amlogic,meson-t7-uart. But still, why don't you use the amlogic,meson-s4-uart as fallback instead ? + - description: UART controller on T7 compatible SoCs + items: + - const: amlogic,meson-t7-uart + - const: amlogic,meson-s4-uart and update meson_uart.c if there's no AO uarts anymore.... Neil > Otherwise, > Acked-by: Conor Dooley > > Perhaps it can be fixed on application, I don't know how the amlogic > maintainers operate. > > Cheers, > Conor. > >> + items: >> + - enum: >> + - amlogic,meson-t7-uart >> + - const: amlogic,meson-g12a-uart >> + - const: amlogic,meson-ao-uart >> - description: Everything-Else power domain UART controller on G12A SoCs >> items: >> - const: amlogic,meson-g12a-uart >> -- >> 2.41.0 >>