From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7C4C2797AC for ; Fri, 12 Dec 2025 14:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765550241; cv=none; b=BnN6R3gnhoYc7FIPNPwBD5p1+nAfWzwdyndcoPiKMZ2qMADZKe73foQxqASW0RQwdLz9MYwpfkEC4Pug8jszw0hF9TBH+3SIm85IBc4M3eRxVHP+Y2xRxMp6kylmdLH1wdISz8AfV0oA3I95DsrxWklxu77egOYpmDrenopH6Yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765550241; c=relaxed/simple; bh=BEuOR57ra8QxE8enSXRE/aXckFSpn5PIMtijn0uq8JI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=iMZ00P9WpYXL6Ac5S6eAJ9RYNrEQpoD+fO0ndYqlHexpqrqvfbtlt4qU55OaL7nxW3Lbt37hnLWckeQdmC2BTavIcAJF0Mx4EkHt3sYSMHY3VDRZRkJ/JpgIW5gto7ISE+u3f+IAFKGJqjshmVprKbgF+EywsiYIRhML5M4UzoU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dejHGpDF; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dejHGpDF" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-477b5e0323bso5829665e9.0 for ; Fri, 12 Dec 2025 06:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765550238; x=1766155038; darn=vger.kernel.org; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=k0GBz8/j9DlWrMYbOr5c+NaYxYOwd63zY44waRkSHjE=; b=dejHGpDFxGTnJgujE6FBxWiOH3tabKYf4c99+xEXVLtWA+10GNfR8Ar+hxXr2wWwOk di7l5MbffXptUWGvpw8tZCkodqB4i5oiw/mvdwtJuc9iO6oDzeMwXC2fU9yowmFd4JMe LvQ0NPPq5lHLmjv13RWJ7r6/6VYi9zOOldW9sUAYJ3A0hBWBTVXRuLHnNLGmXqNHnlio wvEfQJCLhsz/ZF+ufzG1C3sQcaxeFEJa8rKSWa1abZeOIdZlRsh6fI6teMmgDG1+vUVG /0VS0wBGLc0UGoPS1cXpp3hXXvG1dLCstJrbDr9vGi3nrvGfK1vcNMWC9Eeuq/xzKC5X ecgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765550238; x=1766155038; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=k0GBz8/j9DlWrMYbOr5c+NaYxYOwd63zY44waRkSHjE=; b=T6MY2NmX0fsb0oW4W8rbstmlmyAIy8t2I64zKbxHdHZIQo9Jx7ZKaU5rhfNYGQmpOs TuvpF4IoaIVTpQSGOp6M5jLLtPdnwueh2OvIQcfHM0sUM8WLDqyN+iULba8wks8nmvgF n2vpZC554cJFgQ6ufZPlOfBXXb6twBhkABpnaNfappuGpIxhbl1G+tI2rDzKiTgDD6Cp KBYN4+mR+kVyG9w2Z4XrmjGb7xqkkwfL6psN637Id2t5G34D0faV60AtNlRQ9VOCUV2T B4xBQz8Qpelh04ud1v1kSiYrwEXlGjfeLKOfObwbiupddPvubX216CxcTXWIjZ7JHve5 8RBw== X-Forwarded-Encrypted: i=1; AJvYcCU4JXxC7HnVw/yndODK9j7e4mQKBHDprrJAYClM62rg+tk/+Coj+ELdpMr43sJ5iRASfJZrc0DgGOAZjjQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9HZ9VGtZqcntqAk+VunxZtZPjMEFWakAp7aq3x2lWP14pgJb2 TrpvfvwfMok0kDeMfyaQ5i76p0RCW5h7/unqoORakG0HKE2NPKuP5I0F X-Gm-Gg: AY/fxX60rPkP0+aW7BzDpMjaVKs4YamhWO5jtg0KoRFY9yqiC5rcB1knVc1uMTD2xqt 8Gi0KDwcXmVxty65YJHZ9pKWrrJaEmaNmiAB7yX40Y2NTOgvjjv8sKr44BUNHTtJcvH4xue4WCH 6bmpdmOwSNN0YEdT1TIsyAgxCyOhjK6NTHy4EHq9qS8SBLJtyJHVh68uksEA+fDYtXDR+iYw/U4 6EZX4zgG8V1c5mqDEjGuVtuW2Qp7OlP11afxMyaQg8W2TDus2HRX1LYLu4gawogzzhWuR3VlIwY C7rWBkkpyAAmUGzm9ZycE9j2gyAvLliS2UdrODgxV2mPgww4IVV2KsKSc7/kqq8BfQ1uc2Rks0s u028ygKJElRR3jey+B5BjxdImahFDOqO3LUXBulJT+k5Ij+isAdcvT43KVNqsQjqxc9FbC6H6ZY alRcando4L51VLjfd7gPy7Lxy0CHWFQbnh3TjGuYLOL8H6fTJm1rd5U9VOaJX8LhAf/PEgZi0Bx f+js8YnW1XNldEErkpKTA== X-Google-Smtp-Source: AGHT+IEOSbUGrSFS0GuiJrOeO9rCZnGOFAyBgKfUXKIm0Ranzw4GNzZNoflyUP40GEp26hUsMN5Ubw== X-Received: by 2002:a05:600c:64cf:b0:479:255f:8805 with SMTP id 5b1f17b1804b1-47a8f094212mr25922505e9.4.1765550237905; Fri, 12 Dec 2025 06:37:17 -0800 (PST) Received: from Lord-Beerus.station (net-5-94-28-5.cust.vodafonedsl.it. [5.94.28.5]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a8f38a455sm34280515e9.1.2025.12.12.06.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Dec 2025 06:37:17 -0800 (PST) Date: Fri, 12 Dec 2025 15:37:15 +0100 From: Stefano Radaelli To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn Cc: Xu Liang , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [RFC] net: phy: mxl-86110: Manage broadcast configuration Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi all, I am working with the MaxLinear MxL86110 PHY and I noticed that the current driver only disables broadcast access inside mxl86110_broadcast_cfg(). However, according to the datasheet (Register A005h – RGMII In-Band Status and MDIO Configuration Register), the PHY actually supports multiple broadcast configuration modes: - EPA0 (bit 6): enable/disable responding to broadcasts sent to PHY address 0. - EBA (bit 5): enable/disable responding to broadcasts sent to an alternate broadcast address defined in BA. - BA (bits 4:0): configurable broadcast address (0–31). Given this, I would like to expose these capabilities to users. Before implementing anything, I would like to ask for guidance on the preferred way to expose these PHY settings to users. Specifically, I’m uncertain whether such configuration should be handled through device tree properties, PHY tunables, or any other mechanism considered more appropriate within phylib. Is there a recommended or established approach for enabling user-configurable broadcast behaviour in PHY drivers? Any feedback would be greatly appreciated. Once the preferred direction is clear, I will prepare and submit a proper patch. Thanks, Stefano Radaelli