diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2020-07-23 09:26:03 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-07-24 00:34:21 +0200 |
commit | 3bca66b08ec833c4506e97371f2c74e7de00792a (patch) | |
tree | a4f64ffa0e51d452280e67f55cdaf8dfcf087966 /include/dt-bindings/clock/agilex-clock.h | |
parent | dt-bindings: clk: versaclock5: convert to yaml (diff) | |
download | linux-3bca66b08ec833c4506e97371f2c74e7de00792a.tar.xz linux-3bca66b08ec833c4506e97371f2c74e7de00792a.zip |
clk: vc5: use a dedicated struct to describe the output drivers
Reusing the generic struct vc5_hw_data for all blocks is handy. However it
implies we allocate space the div_int and div_frc fields even for the
output drivers where they are unused, and the clk_output_cfg0 and
clk_output_cfg0_mask fields for all components even though they are used
only for the output drivers.
Use a dedicated struct for the output drivers so that each block uses
exactly the fields it needs, not more.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20200723072603.1795-1-luca@lucaceresoli.net
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings/clock/agilex-clock.h')
0 files changed, 0 insertions, 0 deletions