[PATCH v4] i2c: busses: i2c-bcm2835: limits cdiv to allowed values
Wolfram Sang
wsa at the-dreams.de
Sat Jun 6 14:55:49 PDT 2015
On Sat, Jun 06, 2015 at 08:18:46PM +0200, Silvan Wicki wrote:
> Adds: make sure bits 16-31 of DIV register are always 0
> Adds: assume minimal divider of 2 if divider resulted in 0
> (bcm2835 sets divider to 32768 if cdiv is set to 0)
>
> See page 33/34 of BCM2835-ARM-Peripherals.pdf for the DIV register.
> https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
>
> Signed-off-by: Silvan Wicki <linux_wi at tinag.ch>
> ---
Please provide a small changelog below the --- line, like:
Changes since V3: ...
I get so many patches and can't figure that out on my own.
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20150607/823effb7/attachment.sig>
More information about the linux-rpi-kernel
mailing list