[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6ecbe40dc234454b41bcbc0bf073084@sphcmbx02.sunplus.com.tw>
Date: Mon, 21 Mar 2022 04:55:11 +0000
From: Tony Huang 黃懷厚 <tony.huang@...plus.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Tony Huang <tonyhuang.sunplus@...il.com>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"lhjeff911@...il.com" <lhjeff911@...il.com>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"p.zabel@...gutronix.de" <p.zabel@...gutronix.de>
CC: Wells Lu 呂芳騰 <wells.lu@...plus.com>,
Lh Kuo 郭力豪 <lh.Kuo@...plus.com>
Subject: RE: [PATCH v4 2/2] mmc: Add mmc driver for Sunplus SP7021
Dear Krzysztof:
>
> > + int dma_int_threshold;
> > + struct sg_mapping_iter sg_miter; /* for pio mode to access sglist */
> > + int dma_use_int; /* should raise irq when dma done */
> > + struct spmmc_tuning_info emmc_tuning_info;
> > + struct spsdc_tuning_info sd_tuning_info;
> > + int restore_4bit_sdio_bus;
> > + const struct spmmc_compatible *dev_comp; };
> > +
> > +struct spsdc_host {
>
> Where is this used?
>
struct spmmc_host{} for emmc.
struct spsdc_host{} for SD card.
The register base address and offset address of emmc and sd cards are different.
eMMC and sdcard are their respective hardware settings.
Powered by blists - more mailing lists