]> 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)
commite4929ce21b17d6ba928c1cfb694f64e44d696841
tree654ca5a29e993efe5c95b3f7d587f4d4c6f3d0f9
parente1e2df02ee381a7e8c76ce7fb90d4c127812e23d
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