From d67b98ed4790a30da9bdd337cfb76b03aac993e3 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Mon, 20 Jan 2020 14:20:06 +0200 Subject: ddr: marvell: a38x: allow board specific clock out setup DDR clock out might be unrelated to the number of active chip-select. For example, the board might have two DDR components, but only one chip-select. The clk_enable mask allows the board to enable DDR clocks regardless of active chip-selects. Reviewed-by: Stefan Roese Signed-off-by: Baruch Siach --- drivers/ddr/marvell/a38x/ddr_topology_def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/ddr/marvell/a38x/ddr_topology_def.h') diff --git a/drivers/ddr/marvell/a38x/ddr_topology_def.h b/drivers/ddr/marvell/a38x/ddr_topology_def.h index e6fe8a04289..950f296ff98 100644 --- a/drivers/ddr/marvell/a38x/ddr_topology_def.h +++ b/drivers/ddr/marvell/a38x/ddr_topology_def.h @@ -124,6 +124,9 @@ struct mv_ddr_topology_map { /* electrical parameters */ unsigned int electrical_data[MV_DDR_EDATA_LAST]; + + /* Clock enable mask */ + u32 clk_enable; }; enum mv_ddr_iface_mode { -- cgit v1.2.3