From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.white.stw.pengutronix.de (mx1.white.stw.pengutronix.de [185.203.200.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91CAA379C35; Thu, 6 Aug 2026 14:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.200.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786024968; cv=none; b=MsTepsydVda8ST7wB06WwAjm4wLQ3NPKGAv1vk0ikuQL9UdxYwB+pC1hjB4lVYheq78u7p1z8cr+rEDiqq6BpvwGQlh2/ox8yZcPnos76BpineT3tUFe2MQxFLXp8r53fRJTdn4AdHYoLCu5NXgMYbV6VOMjB5jdps+4RFDsz7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786024968; c=relaxed/simple; bh=RQVdj+wSCMYghdmC/wfOqRAbHgpvgfeGxKQU87EOQUY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iOBhxQh81VIV57qjHz+Hb4K3ucaN5IrUYdeVgBHaodC+LklQs/LCHckvneNED97liJZrqJclFPWa/qXMuoVmk+Mw6wC5+d6ml4dcIOTeSUJbTdqzzAid45LIT4dl7mdBWdK4lxZKOhTgRqzJaH/L04ckix2m01oMk4sRH9AT3iE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.200.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 82EFD201FA9; Thu, 06 Aug 2026 16:02:40 +0200 (CEST) Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac] helo=dude04) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wrygC-0006Rz-1J; Thu, 06 Aug 2026 16:02:40 +0200 Received: from ore by dude04 with local (Exim 4.98.2) (envelope-from ) id 1wrygC-0000000ElRC-1IUi; Thu, 06 Aug 2026 16:02:40 +0200 From: Oleksij Rempel To: Linus Walleij , Luiz Angelo Daros de Luca , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Ahmad Fatoum , =?UTF-8?q?Alvin=20=C5=A0ipraga?= , netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH net-next v1 0/2] net: dsa: realtek: enable RTL8365MB power supplies Date: Thu, 6 Aug 2026 16:02:37 +0200 Message-ID: <20260806140239.3518906-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RTL8365MB family has several external power rails (analog, digital I/O and PLL supplies) that on some boards are gated by regulators. Until now the driver assumed they were always on, so it could not be used on designs that keep these rails software-controlled. This series adds a device-tree description for those supplies and enables them in the driver before the chip is accessed: The supplies are optional: boards that hard-wire the rails work unchanged Ahmad Fatoum (1): net: dsa: realtek: rtl83xx: add support for enabling supplies Oleksij Rempel (1): dt-bindings: net: dsa: realtek: add RTL8365MB power supplies .../devicetree/bindings/net/dsa/realtek.yaml | 25 ++++++++++++ drivers/net/dsa/realtek/realtek.h | 2 + drivers/net/dsa/realtek/rtl8365mb_main.c | 5 +++ drivers/net/dsa/realtek/rtl83xx.c | 40 ++++++++++++++++--- 4 files changed, 66 insertions(+), 6 deletions(-) -- 2.47.3