It seems like it should go in to me, in lieu of a set of platform data
for device tree, which is where we should be headed.
To push patches into the BeagleBone kernel, start with applying them
to the Angstrom repo via the instructions in the README [2]. Of
course, you'll want to push this into the mainline as well.
linux-omap on vger.kernel.org is one place to find information on the
various ways to push code into the mainline.
I did a quick patch [3] to meta-ti for you that is like what you'd
submit to met...@yoctoproject.org. Once I have some confirmation
from users that this patch works, I'll submit it. Can you try it out?
The prebuilt binaries are at [4].
A quick glance at an earlier source tree [1] at line 517 shows how the
pin muxes will be enabled, though it doesn't show which of d0/d1 is
MOSI/MISO.
{"mcasp0_aclkx.spi1_sclk", OMAP_MUX_MODE3 | AM33XX_PULL_ENBL
| AM33XX_INPUT_EN},
{"mcasp0_fsx.spi1_d0", OMAP_MUX_MODE3 | AM33XX_PULL_ENBL
| AM33XX_PULL_UP | AM33XX_INPUT_EN},
{"mcasp0_axr0.spi1_d1", OMAP_MUX_MODE3 | AM33XX_PULL_ENBL
| AM33XX_INPUT_EN},
{"mcasp0_ahclkr.spi1_cs0", OMAP_MUX_MODE3 | AM33XX_PULL_ENBL
| AM33XX_PULL_UP | AM33XX_INPUT_EN},
[1] https://github.com/beagleboard/linux/blob/v3.1-meta-ti-r2f+gitr1d84d8853fa30cf3db2571a5aec572accca4e29d/arch/arm/mach-omap2/board-am335xevm.c#L517
[2] git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/README
[3] https://github.com/jadonk/meta-texasinstruments/commit/655e2c8dab0b97c7ba2513d2bbcfc3d2a40dc7fa
[4] http://www.beagleboard.org/~share/beaglebone-debug-20120110/
A quick glance at an earlier source tree [1] at line 517 shows how the
pin muxes will be enabled, though it doesn't show which of d0/d1 is
MOSI/MISO
MOSI <-> SPIx_D0
MISO <-> SPIx_D1