]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: pse-pd: pd692x0: Separate configuration parsing from hardware setup
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>
Mon, 13 Oct 2025 14:05:32 +0000 (16:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Oct 2025 00:50:28 +0000 (17:50 -0700)
commit6fa1f8b64a47edd7d8420d8fd1008507aee2853e
tree670cfbe1acee6491f16af13b7e0c880543a85b5f
parentf197902cd21ae833850679b216bb62c0d056bbb3
net: pse-pd: pd692x0: Separate configuration parsing from hardware setup

Cache the port matrix configuration in driver private data to enable
PSE controller reconfiguration. This refactoring separates device tree
parsing from hardware configuration application, allowing settings to be
reapplied without reparsing the device tree.

This refactoring is a prerequisite for preserving PSE configuration
across reboots to prevent power disruption to connected devices.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251013-feature_pd692x0_reboot_keep_conf-v2-2-68ab082a93dd@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pse-pd/pd692x0.c