]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_qoriq: add little enadian support
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 12 Feb 2019 04:23:59 +0000 (12:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:58:48 +0000 (12:58 -0500)
commit2fef2de87dfa63a464c1cb008610340718f9ed0a
tree654ca5a29e993efe5c95b3f7d587f4d4c6f3d0f9
parentd51cb9b6bf7fd7656b661e10652905cf18330cae
ptp_qoriq: add little enadian support

There is QorIQ 1588 timer IP block on the new ENETC Ethernet
controller. However it uses little endian mode which is different
with before. This patch is to add little endian support for the
driver by using "little-endian" dts node property.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_qoriq.c
drivers/ptp/ptp_qoriq_debugfs.c
include/linux/fsl/ptp_qoriq.h