* [PATCH 0/4][v4] dt-bindings: mtd-physmap: Add endianness supports
@ 2018-02-15 11:48 Prabhakar Kushwaha
0 siblings, 0 replies; only message in thread
From: Prabhakar Kushwaha @ 2018-02-15 11:48 UTC (permalink / raw)
To: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, robh-DgEjT+Ai2ygdnm+yROfE0A,
mark.rutland-5wv7dgnIgG8, shawnguo-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
cyrille.pitchen-yU5RGvR974pGWvitb5QawA,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w,
oss-fOR+EgIDQEHk1uMJSBkQmQ, leoyang.li-3arQi8VN3Tc,
Prabhakar Kushwaha
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
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-15 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15 11:48 [PATCH 0/4][v4] dt-bindings: mtd-physmap: Add endianness supports Prabhakar Kushwaha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).