[PATCH] i2c: busses: i2c-bcm2835: S-Register clear reserved bits

Stephen Warren swarren at wwwdotorg.org
Tue Jun 16 18:34:36 PDT 2015


On 06/16/2015 09:40 AM, Silvan Wicki wrote:
> The Datasheet mentions on page 31 that the bits 10-31 must be read as
> don't care and written as 0.
> https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
> 
> We cannot guarantee that we reed bits 10-31 as always 0 (becuase the
> datasheet says read as don't care). We clear the bits with a bitmask to
> prevent writing back unknown data at the reserved bits.

I guess that's true.
Acked-by: Stephen Warren <swarren at wwwdotorg.org>



More information about the linux-rpi-kernel mailing list