From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796354845; b=1c/iQf04WZ2DvqEZx/p+MK8QJ+3M3PC7WmNCbyIZQv6PBAQfVUhy7gvfZVIrHRfZH+LZ BJWqmDDVKIY9qNVbCDmukGAbeXz1sAw2lfTUTc76mOqDsQPqSA/a283rLBMrLtC3L1gMr x4uK/zSzPwP5q591xRWYiN2CLt4q1/3ePMOhdPT6Bi4Ij/pjzh4Yykm54G4UXHn3yCCrF qTw4gZfM5x2d2gCuduzR8YykNpPWbq3A3RcQiyUB03L7It63TZhpY/7Rl3zpf3PFh708r udD3xJgTkGyekDwx3wjr8b/edzzi95eMqDaZvfVHhxfm1bb4cWGVoyQlsRYmzs1bzzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796354845; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Gm-Message-State: X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=7jAK6EQcLGdhR3ZECqWFzCgUqudbcVUK3syOPYVIgP0=; b=viJLG42p4o1jzz1BUbKHpI9/WnhHDbH2MpZfcuIZ576L4ZdrCHCbSmNkzTP+EEocK0dm Gefjj+Tk6qnYx1vpSifcAC6pQMt7ke0vIygYYRMOh6wH7IDnsSlNus6J7SK1QNxs8RH6D Ui4P3yageKJLdBtRe9wjZN+rfd15dA39pwJJYwx8DrE4CLYXNoAfnBsGEDbYAQJsI+gE4 VYXqIrGy8XvWmJLl3NXQeoVf2V78TRpKhlYmEBUaBOFKV/BQ5Xx8sezNbvZOguhj70mKh DK7eBxcpfwpA9ZnqNwajkPfMu3LakjmUgts3XoNrDgghsyld+LoWx862epcWDILA+6g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=telaak.dev; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.remote-ip=74.125.224.47 Received: from mail-yx1-f47.google.com (mail-yx1-f47.google.com [74.125.224.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B1F5606A32D for ; Fri, 4 Dec 2026 03:27:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B1F5606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yx1-f47.google.com with SMTP id 956f58d0204a3-67c6a0abc2eso565620d50.0 for ; Thu, 03 Dec 2026 19:27:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796354845; x=1796959645; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=7jAK6EQcLGdhR3ZECqWFzCgUqudbcVUK3syOPYVIgP0=; b=u7TrAS2MZm/pZEZ+vvDm6kwvt0amnIDs+V3w85oL7VR/5SKibIaDPFAh6hP030WgMH XwLvw5pl3O3C+DvojFyiXdrNrAa0NHoIFSafF4WdPrEEPWeDwqhedsCFvm4FNm8q973C eh7kCeQ9j3WZHQxQVzHPABxRPF49VuVDACOyhaCVso0JDxviODQgdrSPTwDQnge/wVDX HZSUGugbLgDshZI/FuQjHMYkwD47Zpy7UVnJzm/RrZo2uQKuovi4GvwhBYxx+fO6YJSg 4Zsd+RSnedCSpbwGWwJXgaiVwMbfnf6RTrhHlX/xAqZ9zZIGr/A6iDk7LF5VlQ1bGNXu hdMA== X-Gm-Message-State: APuU4Z/40SUidkRYFEcP/mJIO7xJOr8RI6/9t+RWcxNy529Rp5FAMhjr EE+CsERGcZ9s59OsKjn0Ul7T2uf/vV6kLht0sX7LrKnFrmXCMXhNeAADNsW9QoYD9X0= X-Gm-Gg: AZFdTZf0r4CCXVmEaQ7/IWFPlABiyEDMhdbLdmrcOb3nyNuZi5fZJKqycHStbL7UTnG 7noFn6nOiplJz3S2yhlJBVG+BkaKanidoBC+zyJWKClkHAEUg4+1FUIl1dRB4XvafstF37zPxeh poyw9lMKyb/yVSvKfNCzZEmxRyQwv0CQrT2iqQw4kVFQ7ArGNVibk8TdJPv/CmuO/zQ27FI8Smx yatwlSxKAEBnhkA7mwjjXJQ7GglFyEoJzTjeMGsiI4ZzZ4bwOnyXTuE8NxuZcmq+x8bmhcPT/EI cRnb/ogouzrU+m4DckiIPkbSbyG5H42EF/ySnz5R28sjuk4gNdna8QZZ7xecPnqnJs6N3N2vDso N35vReqA/mUNMTczfqY57XyYgGi13bv/BwZbxexjBPfmSkPVGVK1xtg38HY/Vv61BmCLNEar6rG GbYzM8qn4+v+dW1IVma8TepLdCZhyAGolLUaDxvPGwc8P459Z/pD3bR+vH5teV/sYiucl1rtrrK mAuf6/7iVoBRGniR/mwax46lu5SsB8BezO0na12BHpvZ7DPm5AjBjo+MMhwaJnNNQUE68oZJJ1k TBixsn3Db3HBXNyp7IQJTGqj5GiK33FX+L4qrYveP7of0o25HeivTfg+W/5DxCMAHaGW6BnQJT1 ZKbIkueBcwpYcCyjxsUtqa/hak5Mxx6XQ+C16rA78hEgbWPJDj9iQ X-Received: by 2002:a05:690e:140b:b0:67d:c165:7f0c with SMTP id 956f58d0204a3-67f6f54751bmr398685d50.54.1796354844547; Thu, 03 Dec 2026 19:27:24 -0800 (PST) Received: from localhost.localdomain ([71.68.170.161]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67f0cd0779asm502370d50.13.2026.12.03.19.27.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Dec 2026 19:27:23 -0800 (PST) From: Joseph Telaak To: netdev@vger.kernel.org Cc: Andrew Lunn , Maxime Chevallier Subject: Re: [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue Date: Thu, 3 Dec 2026 22:27:22 -0500 Message-ID: <20261204032722.559-1-joseph@telaak.dev> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev> References: <20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The netdev-ai review of this patch [1] raised two points beyond what I answered on the sashiko.dev review (NVMEM=n, and the delay flags where the lines are left alone), which v3 will fix as said there. I tested both on a GL-SFT1200, changing its device tree for each case. > These flags are set whenever the calibration parses, and > plat_dat->phy_interface is never checked. Does this make probe fail for > any phy-mode other than rgmii-id? Yes. v3 will leave the delay lines alone for modes other than RGMII, and bypass the RX line unless phy-mode asks for an RX delay. With that, rgmii-txid passes traffic with the calibration given. rgmii and rgmii-rxid cannot work, since the TX line has no bypass, and the binding will limit phy-mode to gmii, mii, rgmii-id, rgmii-txid and rmii. > The binding describes byp_ref as the "RGMII transmit reference clock". > Here the clock is enabled, but the handle is dropped and never stored > in plat_dat->clk_tx_i. No set_clk_tx_rate or fix_mac_speed hook is > installed either. The SoC divides it itself. With the link to the switch forced to 100 and 10 Mb/s, both run at line rate (93 and 9.3 Mb/s) with byp_ref at 125 MHz. Setting byp_ref to 25 MHz stops the 100 Mb/s link, so v3 will keep leaving its rate alone, and the commit message will say why. [1] https://netdev-ai.bots.linux.dev/sashiko/#/message/20261201-sf19a2890-gmac-v2-3-8d2c513db496%40telaak.dev Thanks, Joseph