Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348991

Re: [RFC PATCH 4/4] mmc: sdhci-of-arasan: overwrite enhanced strobe callback

From Michal Simek <michal.simek@xilinx.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 4/4] mmc: sdhci-of-arasan: overwrite enhanced strobe callback
Date 2016-03-03 12:10 +0100
Message-ID <r8ziO-6bR-11@gated-at.bofh.it> (permalink)
References <r8ruV-ms-3@gated-at.bofh.it> <r8ruV-ms-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3.3.2016 03:36, Shawn Lin wrote:
> Currently sdhci-arasan 5.1 can support enhanced strobe function,
> but considering the potential requirement in the future for other
> version IP, we don't limit it just for "arasan,sdhci-5.1". Add
> cap-enhanced-strobe in DT to enable the function if we'r sure our
> controller can support it.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
> 
>  drivers/mmc/host/sdhci-of-arasan.c | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
> index 1e4b5e0..31f3494 100644
> --- a/drivers/mmc/host/sdhci-of-arasan.c
> +++ b/drivers/mmc/host/sdhci-of-arasan.c
> @@ -24,7 +24,9 @@
>  #include "sdhci-pltfm.h"
>  
>  #define SDHCI_ARASAN_CLK_CTRL_OFFSET	0x2c
> +#define SDHCI_ARASAN_VENDOR_REGISTER	0x78

I was checking our register map and we even don't have this register
listed as reserved.
It looks like that this will be related to certain SoC and different SoC
can use it different location.
That's why I think this feature and setup should be related to certain
SoC specific compatible string.

Thanks,
Michal

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 4/4] mmc: sdhci-of-arasan: overwrite enhanced strobe callback Shawn Lin <shawn.lin@rock-chips.com> - 2016-03-03 03:50 +0100
  Re: [RFC PATCH 4/4] mmc: sdhci-of-arasan: overwrite enhanced strobe  callback Michal Simek <michal.simek@xilinx.com> - 2016-03-03 12:10 +0100
    Re: [RFC PATCH 4/4] mmc: sdhci-of-arasan: overwrite enhanced strobe  callback Shawn Lin <shawn.lin@rock-chips.com> - 2016-03-03 12:40 +0100

csiph-web