stm32cube: stm32h5:  ethernet: PTP clock doesn’t works

fix to the HAL_API_V2 to get PTP to work
In the HAL_ETH_ReadData function where it checks for the
last descriptor, I added a checked if the TSA bit was set
in DESC1
If the TSA bit is set then have a peak at the context
descriptor which should be the one after the last
descriptor
If the CTXT bit is set in the context descriptor then
extract the timestamps

update README to fix to the V2 HAL API to get PTP to work

(cherry picked from commit 89ef0a3383edebf661073073bcdf6e2836fe90ee)

Original-Signed-off-by: blackhelicopters <mm@blackhelicopters.net>
Original-Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
GitOrigin-RevId: 89ef0a3383edebf661073073bcdf6e2836fe90ee
Change-Id: Ie0469d067efbb624db1641a2442a3fccee466823
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/hal_stm32/+/4900077
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
2 files changed