On Wed, Apr 13, 2016 at 07:03:22PM +0800, Po Liu wrote: > When kernel config with big endian mode, spi master need > to config regmap data value to be little endian mode. Or else, > the kernel boot will hang. > +#ifdef CONFIG_CPU_BIG_ENDIAN > + .val_format_endian = REGMAP_ENDIAN_LITTLE, > +#endif This should be unconditionally set to native endian if the IP changes endianness along with the CPU.