clk: Extend struct clk to provide clock type agnostic flags
authorLukasz Majewski <lukma@denx.de>
Mon, 24 Jun 2019 13:50:39 +0000 (15:50 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 12:50:30 +0000 (14:50 +0200)
commita8592cdd5150ad3766db9e2d738db53a4422bc4e
tree56f988a98889e07eb08cd047d07d00d70b907200
parent105db9593eb53ab85a48bcc2187ff8770b7958ec
clk: Extend struct clk to provide clock type agnostic flags

This commit extends the struct clk to provide information regarding the
flags related to this devices.

Those flags are clk device agnostic and indicate generic features
(like e.g. CLK_GET_RATE_NOCACHE - the need to always recalculate the rate).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
include/clk.h