[spi-devel-general] [PATCH] mpc52xx_psc_spi: enlarge clock range
Grant Likely
grant.likely at secretlab.ca
Fri Sep 18 00:13:29 EST 2009
On Thu, Sep 17, 2009 at 8:04 AM, Dragos Carp <dragos.carp at toptica.com> wrote:
> Hi,
>
> I wasn't aware that MPC5200 differ from MPC5200B in this regard. I also
> couldn't find any MPC5200 user manual on Freescale's webpage.
> Is there a #define that I can use to distinguish between the two
> processor variants? Querying the PVR register is not a nice solution
> because the chip-select activate function is called in some scenarios
> quite often.
Use the compatible value. That's what it is there for. Only use the
extended register format if "fsl,mpc5200b-psc-spi" is present in the
compatible list.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list