[PATCH 0/4][v4][RESEND] dt-bindings: mtd-physmap: Add endianness supports
Prabhakar Kushwaha
prabhakar.kushwaha at nxp.com
Thu Feb 22 02:15:05 PST 2018
Connection between flash and controller is not necessary to be always
of same type. It may varies from platform to platform.
Adding endianness (optional) property to provide connection type
information. This endianness property is checked in physmap_of_core.c
to decide swap type.
This patch also set "big-endian" property for ls1021a, ls1043a
and ls1046a device tree. here connection between IFC controller
and NOR flash is big-endian.
Prabhakar Kushwaha (4):
dt-bindings: mtd-physmap: Add endianness supports
driver: mtd: update struct map_info's swap as per map requirement
ARM: dts: Add NOR connection type with IFC
ARM64: dts: Add NOR connection type with IFC
Resending as all patches of patchset never reaches to patchwork.
Documentation/devicetree/bindings/mtd/mtd-physmap.txt | 5 +++++
arch/arm/boot/dts/ls1021a-qds.dts | 1 +
arch/arm/boot/dts/ls1021a-twr.dts | 1 +
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 1 +
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 1 +
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 1 +
drivers/mtd/maps/physmap_of_core.c | 8 ++++++++
7 files changed, 18 insertions(+)
--
2.14.1
More information about the linux-arm-kernel
mailing list