Hi Philip,

On Sun, Jan 02, 2011 at 08:43:29AM -0800, Philip Rakity wrote:
> 
> Signed-off-by: Philip Rakity <[email protected]>
> Signed-off-by: Mark F. Brown <[email protected]>
> ---
>  drivers/mmc/host/sdhci.h |   17 ++++++++++++++++-
>  1 files changed, 16 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
> index 6e0969e..36f3861 100644
> --- a/drivers/mmc/host/sdhci.h
> +++ b/drivers/mmc/host/sdhci.h
> @@ -145,7 +145,22 @@
>  
>  #define SDHCI_ACMD12_ERR     0x3C
>  
> -/* 3E-3F reserved */
> +#define SDHCI_HOST_CONTROL_2             0x3E
> +#define SDCTRL_2_UHS_MODE_SEL_SDR12          0x0000
> +#define SDCTRL_2_UHS_MODE_SEL_SDR25          0x0001
> +#define SDCTRL_2_UHS_MODE_SEL_SDR50          0x0002
> +#define SDCTRL_2_UHS_MODE_SEL_SDR104         0x0003
> +#define SDCTRL_2_UHS_MODE_SEL_DDR50          0x0004
> +#define SDCTRL_2_UHS_MODE_MASK                       7

0x0007 for consistency?

> +#define SDCTRL_2_SDH_V18_EN                  0x0008
> +#define SDCTRL_2_DRV_STRENGTH_SEL_B          0x0000

Is this really 0?

> +#define SDCTRL_2_DRV_STRENGTH_SEL_A          0x0010

Is A really after B?

> +#define SDCTRL_2_DRV_STRENGTH_SEL_C          0x0020
> +#define SDCTRL_2_DRV_STRENGTH_SEL_D          0x0030
> +#define SDCTRL_2_EXE_TUNING                  0x0040
> +#define SDCTRL_2_SAMPLING_CLK_SEL            0x0080
> +#define SDCTRL_2_ASYNC_INT_EN                        0x4000
> +#define SDCTRL_2_PRESET_VAL_EN                       0x8000
>  
>  #define SDHCI_CAPABILITIES   0x40
>  #define  SDHCI_TIMEOUT_CLK_MASK      0x0000003F

Thanks,

-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to