linux_dsm_epyc7002/drivers/clk/sprd
Chunyan Zhang ea8ca3109d clk: sprd: Add macros for referencing parents without strings
With the new clk parenting code, clk_init_data was expanded to include
.parent_hws and .parent_data, for clk drivers to specify parents without
name strings of clocks.

Also some macros were added for using these two items to reference
clock parents. Based on that to expand macros for sprd clocks:

- SPRD_*_DATA, take an array of struct clk_parent_data * as its parents
  which should be a combination of .fw_name (devicetree clock-names),
  .hw (pointers to a local struct clk_hw).

- SPRD_*_HW, take a local struct clk_hw pointer, instead of a string, as
  its parent.

- SPRD_*_FW_NAME, take a string of clock-names decleared in the device
  tree as the clock parent.

Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lkml.kernel.org/r/20200304072730.9193-6-zhang.lyra@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2020-03-24 19:03:57 -07:00
..
common.c Merge branches 'clk-gpio-flags', 'clk-tegra', 'clk-rockchip', 'clk-sprd' and 'clk-pxa' into clk-next 2019-11-27 08:15:00 -08:00
common.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
composite.c
composite.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
div.c
div.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
gate.c clk: sprd: add gate for pll clocks 2020-03-24 19:03:56 -07:00
gate.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
Kconfig clk: sprd: Select REGMAP_MMIO to avoid compile errors 2019-07-22 14:54:26 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mux.c
mux.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
pll.c clk: sprd: add missing kfree 2019-09-17 22:01:02 -07:00
pll.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
sc9860-clk.c clk: sprd: Add check for return value of sprd_clk_regmap_init() 2019-06-27 15:08:29 -07:00