clk: ti: add support for register read-modify-write low-level operation
authorTero Kristo <t-kristo@ti.com>
Wed, 26 Jul 2017 13:47:27 +0000 (16:47 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 8 Mar 2018 09:42:04 +0000 (11:42 +0200)
commit4902c2025b8ade9c230d4bca25ec5f691e91cb1f
tree96ec1d931a1c4c67ea9a7e852d9db8b963e1be73
parentbe02637f6b741875aa0779c35f31591738aa2cd9
clk: ti: add support for register read-modify-write low-level operation

Useful for changing few bits on a register, this makes sure for example
that the operation is done atomically in case of syscon.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clk.c
include/linux/clk/ti.h