diff options
| author | Xuanqiang Luo <luoxuanqiang@kylinos.cn> | 2026-08-11 23:13:43 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-13 17:29:55 -0700 |
| commit | 20663d78f1a1c242ad865967a31ee716dd1e52a1 (patch) | |
| tree | f8a95249e5c1c093cffd71c72bbaf55e14a923c5 /tools/perf/scripts/python/bin | |
| parent | ebb16fca011ce08fa710cec42ee43a33bf331893 (diff) | |
net: phy: dp83640: embed pin configuration in clock
The DP83640 has a fixed number of PTP pins, and its pin configuration
has the same lifetime as the per-bus clock. Allocating the configuration
separately adds an allocation failure path and requires a separate free.
Embed the pin configuration in struct dp83640_clock and point the PTP
clock information at the embedded array. This changes only the storage;
the pin functions remain configurable at runtime. It also allows all
per-bus clock storage to be managed as one allocation.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
Link: https://patch.msgid.link/20260811151345.73582-3-xuanqiang.luo@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
