Skip to content

Patching lan78xx for SOF_TIMESTAMPING_TX_SOFTWARE support #4856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2022
Merged

Patching lan78xx for SOF_TIMESTAMPING_TX_SOFTWARE support #4856

merged 1 commit into from
Jan 31, 2022

Conversation

tiagofreire-pt
Copy link
Contributor

@tiagofreire-pt tiagofreire-pt commented Jan 29, 2022

This patch to the Raspberry 3B+ LAN78xx kernel driver enables the support for SOF_TIMESTAMPING_TX_SOFTWARE.

Aiming the software-transmit capability for PTP:

 ethtool -T eth0
Time stamping parameters for eth0:
Capabilities:
	software-transmit
	software-receive
	software-system-clock
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none

@pelwell
Copy link
Contributor

pelwell commented Jan 31, 2022

Any objections, @P33M ?

@P33M
Copy link
Contributor

P33M commented Jan 31, 2022

No, but I would be sceptical of enabling software timestamping on a network device connected via USB - there's no guarantee that bulk packets are sent at any consistent interval from when the URBs are submitted. You'd probably get performance better than NTP, but not by much.

@pelwell pelwell merged commit a3e73a9 into raspberrypi:rpi-5.10.y Jan 31, 2022
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 2, 2022
kernel: Patching lan78xx for SOF_TIMESTAMPING_TX_SOFTWARE support
See: raspberrypi/linux#4856

kernel: i2c: bcm2835: Make clock-stretch timeout configurable
See: raspberrypi/linux#4855

kernel: drm/vc4: Add DRM 210101010 RGB formats for hvs5.
See: raspberrypi/linux#4859

kernel: vc4-kms-dpi overlay updates
See: raspberrypi/linux#4860

kernel: Add Support for the Geekworm MZP280 DPI Display
See: raspberrypi/linux#4853

kernel: DRM: Clean up handling of panel orientation
See: raspberrypi/linux#4862

kernel: Add support for the MAX30102 heart rate and blood oxygen sensor
See: raspberrypi/linux#4535

firmware: mmal: Add mapping for IL OMX_IndexParamBrcmEnableIJGTableScaling param
See: raspberrypi/linux#4669

userland: Handle overlay parameters embedded in overlay_map.dtb
See: raspberrypi/linux#4860
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 2, 2022
kernel: Patching lan78xx for SOF_TIMESTAMPING_TX_SOFTWARE support
See: raspberrypi/linux#4856

kernel: i2c: bcm2835: Make clock-stretch timeout configurable
See: raspberrypi/linux#4855

kernel: drm/vc4: Add DRM 210101010 RGB formats for hvs5.
See: raspberrypi/linux#4859

kernel: vc4-kms-dpi overlay updates
See: raspberrypi/linux#4860

kernel: Add Support for the Geekworm MZP280 DPI Display
See: raspberrypi/linux#4853

kernel: DRM: Clean up handling of panel orientation
See: raspberrypi/linux#4862

kernel: Add support for the MAX30102 heart rate and blood oxygen sensor
See: raspberrypi/linux#4535

firmware: mmal: Add mapping for IL OMX_IndexParamBrcmEnableIJGTableScaling param
See: raspberrypi/linux#4669

userland: Handle overlay parameters embedded in overlay_map.dtb
See: raspberrypi/linux#4860
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants