linux/drivers/clk/zynqmp
Michael Tretter 5852b1365d clk: zynqmp: use structs for clk query responses
The driver retrieves the clock tree by querying the ATF for the clock
names, the clock topology, the parents and other attributes. The driver
needs to unmarshal the responses.

The definition of the fields in the firmware responses to the queries is
inconsistent. Some are specified as a mask, some as a shift, and by the
length of the previous field.

Define C structs for the entire firmware responses to avoid passing
pointers to arrays of an implicit size and make the format of the
responses to the queries obvious.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Jolly Shah <jolly.shah@xilinx.com>
[sboyd@kernel.org: Drop 0 initializers because sparse complains]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-04-19 13:59:55 -07:00
..
clk-gate-zynqmp.c
clk-mux-zynqmp.c clk: zynqmp: do not export zynqmp_clk_register_* functions 2019-04-11 11:33:11 -07:00
clk-zynqmp.h clk: zynqmp: use structs for clk query responses 2019-04-19 13:59:55 -07:00
clkc.c clk: zynqmp: use structs for clk query responses 2019-04-19 13:59:55 -07:00
divider.c clk: zynqmp: fix check for fractional clock 2019-04-11 11:33:12 -07:00
Kconfig
Makefile
pll.c