RE: [PATCH] spi: rspi: Increase accuracy of bit rate for RZ

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

 



Hi Geert,

On Mon, Aug 29, 2016, Geert Uytterhoeven wrote:
> I believe this applies not only to RZ, but to all other supported RSPI variants?
> Hence I think it should be made common.

I would think it would be the same for all the other parts with RSPI.

Currently there are 3 separate config functions:
 - rspi_set_config_register
 - rspi_rz_set_config_register
 - qspi_set_config_register

By "common", do you mean:
A) add the same code to each of the other 2 functions?
     (ie, common functionality for all device)

B) make some new function/macro that all config functions call?
     (ie, same code for setting the register bits)


Note: I only really have a RZ/A platform, so I can't really test it on any other devices (other than just looking in the hardware manuals)

Chris


��.n��������+%������w��{.n�����{����)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux