commit | 5f89a15e1630e9050c8b1b5307ccd800e4596ce5 | [log] [tgz] |
---|---|---|
author | Martin Hejnfelt <mh@newtec.dk> | Thu May 19 09:11:58 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 23 11:50:22 2016 -0400 |
tree | 0ed66e15e194a8fd48a0743457873235cffaefa5 | |
parent | c1420f8b2b0f3c833c024979495ab22db34a5dbe [diff] |
omap3: Fix SPI registers on am33xx and am43xx When the base registers are read from device tree the base is not 0x48030100 as the driver expects, but 0x48030000, resulting in non functioning SPI. To deal with this, use same idea as how this is done in the linux kernel (drivers/spi/spi-omap2-mcspi.c) and add a structure with a field that is used to shift the registers on these systems. v2: Fixed commit subject line to correct cpu Signed-off-by: Martin Hejnfelt <mh@newtec.dk>