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)
commitf038ddf25b80be90e1af9439935bdb66fdbf5e28
tree654ca5a29e993efe5c95b3f7d587f4d4c6f3d0f9
parentff54571a747bc1fc8e132ef9c512451ec6de3336
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