RE: [PATCH 2/2] McSPI Slave and DMA,FIFO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +
> > +	/* SPI2 Pin MUX */
> > +	omap_cfg_reg(AA3_3430_McSPI2_CLK);
> > +	omap_cfg_reg(Y2_3430_McSPI2_SIMO);
> > +	omap_cfg_reg(Y3_3430_McSPI2_SOMI);
> > +	omap_cfg_reg(Y4_3430_McSPI2_CS0);
> > +
> 
> This will still change the padconf for this port unconditionally.
> 
> How do we handle the case where the same platform (SDP in this case)
> could have different configurations McSPI2 vs USBHOST2, etc? Is there
> a clean way, or do we have no option but to use a CONFIG option?

How about boot_arg or in case usb is a loadable module then module argument ?--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux