Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4765244rdb; Tue, 12 Dec 2023 08:43:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDpwreI76wBEIitWKIg+a8uLjwzVKABoxMsfJn6TGm09I2JPLgk6hf/9WjMJIr9c8lsU0r X-Received: by 2002:a17:90a:dc02:b0:286:6cc1:866a with SMTP id i2-20020a17090adc0200b002866cc1866amr3448904pjv.79.1702399406691; Tue, 12 Dec 2023 08:43:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702399406; cv=none; d=google.com; s=arc-20160816; b=wbZGWS/IAZ6JGCPlQ3B+9X7f2x1ecPEqeGGMQJKRgUNIxnP9X8/INsV2Sp0RujGNBU 14AIzzYVkaeSj7lNxGUaPmzRWxjIgJ8ucEPj6zV6dX4A7dX+NxVa+lueQpHgN9VdqU8S I7jLfm0RPbpdM7No1pw3pdt3FgNqkMQkBBlphZO1BHpbjk+9I3XIEFldRHMyBwc/VHWN +JR4quX7zu8RoYXTzvUcZZCWfwV1LszEVXPiro655Y888wNX7u/ha1IoDfoocqiJJEXr HhLOhVL5evIljSdKK8ttRsJiBsHszznyOV8j0sHzauR/HZwO843fUGHOYE6Tc/jZhY1s mY4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=be0bmc0qDbPJgcGpivpMTTnpWddAUuUOZ13O+p7Tz2o=; fh=tBFAy+Zg00508xDyNqjgYQKdMMTE7iucEJGutktmq6Q=; b=XFiYpDl01UU9w5GYBB7tbF8mjlwWN5kSsyXJWllcj0ylPJdBfbzuOuf3FRsIkqyggZ Jicf4unRsrgpHdhrjytJoyd2WJ3HY9J+wZDocH6AwWLE6DS4vT72EAe08Ao5z6lQEm9J OcViYwWnoIwfhHlyvw9yNWxGeTUuigCy/mtZfKZXR6ReLbIet/aKYMauUEaXNURL6ruk 0m5hV9iZkyNnUCAUewmJUbqLRWUVg6i0n1z1Gq/HeCg0cliRYZ+eppZfcBYF8j/Cyo06 IRde8WUrjy21GhV9IcuAHIMG2bd8KTiG952d3cuyjGJ2f97qthxJsC3UPJaxk/sNu4uR Th4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z15-20020a17090ad78f00b0028659a5d68fsi9194969pju.48.2023.12.12.08.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:43:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2F15380A9160; Tue, 12 Dec 2023 08:43:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232779AbjLLQnK convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Dec 2023 11:43:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232565AbjLLQnI (ORCPT ); Tue, 12 Dec 2023 11:43:08 -0500 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17F39E3; Tue, 12 Dec 2023 08:43:14 -0800 (PST) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rD5qP-0006en-2c; Tue, 12 Dec 2023 16:42:55 +0000 Date: Tue, 12 Dec 2023 16:42:45 +0000 From: Daniel Golle To: Conor Dooley Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Heiner Kallweit , Russell King , Alexander Couzens , Qingfang Deng , SkyLake Huang , Philipp Zabel , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org Subject: Re: [RFC PATCH net-next v3 1/8] dt-bindings: phy: mediatek,xfi-pextp: add new bindings Message-ID: References: <20231212-renderer-strobe-2b46652cd6e7@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20231212-renderer-strobe-2b46652cd6e7@spud> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:43:24 -0800 (PST) On Tue, Dec 12, 2023 at 04:21:38PM +0000, Conor Dooley wrote: > On Tue, Dec 12, 2023 at 03:46:26AM +0000, Daniel Golle wrote: > > > + mediatek,usxgmii-performance-errata: > > + $ref: /schemas/types.yaml#/definitions/flag > > + description: > > + USXGMII0 on MT7988 suffers from a performance problem in 10GBase-R > > + mode which needs a work-around in the driver. The work-around is > > + enabled using this flag. > > Why do you need a property for this if you know that it is present on > the MT7988? Because it is only present in one of the two SerDes channels. Channel 0 needs the work-around, Channel 1 doesn't. See also this commit in the vendor driver for reference[1]. We previously discussed that[2] and it was decided that a property would be the prefered way to represent this as there aren't any other per-instance differences which would justify another compatible. [1]: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/a500d94cd47e279015ce22947e1ce396a7516598%5E%21/#F0 [2]: https://patchwork.kernel.org/comment/25592845/