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






[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux