commit | 36844bdf651a2ae2d35ae4b11337671905b67bff | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Wed Jun 17 14:40:39 2015 +0200 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Oct 01 12:39:43 2015 -0700 |
tree | 8f0b69cce35a77befce1fec3c0c7d0c027e63978 | |
parent | 96ef36e9c424b7a66413bb9229ef5afcddf4fef4 [diff] |
clk: at91: modify PMC peripheral clock to deal with newer register layout As some more information is added to the PCR register, we'd better use a copy of its content and modify just the peripheral-related bits. Implement a read-modify-write for the enable() and disable() callbacks. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>