public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* regmap: mmio: regression in pre-v4.6-rc1
@ 2016-03-23  8:48 Alexander Stein
  2016-03-23  9:43 ` Alexander Stein
  2016-03-23 10:34 ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Stein @ 2016-03-23  8:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mark Brown

Hi,

I'm currently trying to get PCIe working on LS1021A (little-endian ARM). For link-detection I need access to a syscon perpheral (SCFG) which is attched to CPU as big-endian.
The corresponding DT part is:

		scfg: scfg@1570000 {
			compatible = "fsl,ls1021a-scfg", "syscon";
			reg = <0x0 0x1570000 0x0 0x10000>;
			big-endian;
		};

Based on current linus's master (a24e3d414e59ac765, "Merge branch 'akpm' (patches from Andrew)") I noticed the access is actually done as little-endian.
I could track it down to commit 922a9f936e40001f ("regmap: mmio: Convert to regmap_bus and fix accessor usage"). Reverting it, the access is fine now and I get my PCIe link.

Best regards,
Alexander

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-23 12:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23  8:48 regmap: mmio: regression in pre-v4.6-rc1 Alexander Stein
2016-03-23  9:43 ` Alexander Stein
2016-03-23 10:34 ` Mark Brown
2016-03-23 11:16   ` Alexander Stein
2016-03-23 11:39     ` Mark Brown
2016-03-23 11:50       ` Alexander Stein
2016-03-23 12:05         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox