From: David S. Miller Date: Fri, 14 Jun 2019 05:34:55 +0000 (-0700) Subject: Merge branch 'mlxsw-Add-support-for-physical-hardware-clock' X-Git-Tag: v5.3-rc1~140^2~264 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11817aa69bf32410ab014f77f7ed1fd307aa26c4;p=thirdparty%2Flinux.git Merge branch 'mlxsw-Add-support-for-physical-hardware-clock' Ido Schimmel says: ==================== mlxsw: Add support for physical hardware clock Shalom says: This patchset adds support for physical hardware clock for Spectrum-1 ASIC only. Patches #1, #2 and #3 add the ability to query the free running clock PCI address. Patches #4 and #5 add two new register, the Management UTC Register and the Management Pulse Per Second Register. Patch #6 publishes scaled_ppm_to_ppb() to allow drivers to use it. Patch #7 adds the physical hardware clock operations. Patch #8 initializes the physical hardware clock. Patch #9 adds a selftest for testing the PTP physical hardware clock. v2 (Richard): * s/ptp_clock_scaled_ppm_to_ppb/scaled_ppm_to_ppb/ * imply PTP_1588_CLOCK in mlxsw Kconfig * s/mlxsw_sp1_ptp_update_phc_settime/mlxsw_sp1_ptp_phc_settime/ * s/mlxsw_sp1_ptp_update_phc_adjfreq/mlxsw_sp1_ptp_phc_adjfreq/ ==================== Signed-off-by: David S. Miller --- 11817aa69bf32410ab014f77f7ed1fd307aa26c4