diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-11-12 18:06:52 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-13 18:52:13 -0800 |
commit | 8e7620726beb800d6806dbe7bf0b8cc13c1feb97 (patch) | |
tree | 999a125e23c3811c395b39d8362fa735809fe9ce /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 0bfd0afc746c3531c5ac716edca3899e907e54df (diff) | |
download | linux-8e7620726beb800d6806dbe7bf0b8cc13c1feb97.tar.gz linux-8e7620726beb800d6806dbe7bf0b8cc13c1feb97.tar.bz2 linux-8e7620726beb800d6806dbe7bf0b8cc13c1feb97.zip |
net: stmmac: Introduce dwmac1000 ptp_clock_info and operations
The PTP configuration for GMAC3_X differs from the other implementations
in several ways :
- There's only one external snapshot trigger
- The snapshot configuration is done through the PTP_TCR register,
whereas the other dwmac variants have a dedicated ACR (auxiliary
control reg) for that purpose
- The layout for the PTP_TCR register also differs, as bits 24/25 are
used for the snapshot configuration. These bits are reserved on other
variants.
On GMAC3_X, we also can't discover the number of snapshot triggers
automatically.
The GMAC3_X has one PPS output, however it's configuration isn't
supported yet so report 0 n_per_out for now.
Introduce a dedicated set of ptp_clock_info ops and configuration
parameters to reflect these differences specific to GMAC3_X.
This was tested on dwmac_socfpga.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20241112170658.2388529-5-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions