diff options
author | Ashok Reddy Soma <ashok.reddy.soma@amd.com> | 2022-09-30 03:25:47 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-10-05 11:36:54 +0200 |
commit | aba0e6510f8fb4166179cc6d486abd6bb6b7b7e8 (patch) | |
tree | abd8c91d78eef62ebdb24372572acb22dfe231dd /drivers/fpga/altera.c | |
parent | cbdee4d5e88c8509a3491f8784be42841466cb6c (diff) |
mmc: zynq_sdhci: Read power-domains id from DT and use
Firmware calls need node_id which is basically "power-domains" id.
At present static values are used based on the "device_id" property of
dt.
Instead of this, read "power-domains" id from dt and use it. Add a
element called node_id in priv structure and read it from dt. Replace
static node_id with this priv->node_id across the driver.
Since "device_id" is not used anywhere else simply remove it.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20220930092548.18453-3-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/altera.c')
0 files changed, 0 insertions, 0 deletions