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


Groups > linux.kernel > #1451851 > unrolled thread

[PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property

Started byJaehoon Chung <jh80.chung@samsung.com>
First post2016-07-28 12:00 +0200
Last post2016-07-29 05:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed"  property Jaehoon Chung <jh80.chung@samsung.com> - 2016-07-28 12:00 +0200
    Re: [PATCH 2/2] mmc: dw_mmc: remove the deprecated  "supports-highspeed" property Shawn Lin <shawn.lin@rock-chips.com> - 2016-07-29 04:50 +0200
      Re: [PATCH 2/2] mmc: dw_mmc: remove the deprecated  "supports-highspeed" property Jaehoon Chung <jh80.chung@samsung.com> - 2016-07-29 05:40 +0200

#1451851 — [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property

FromJaehoon Chung <jh80.chung@samsung.com>
Date2016-07-28 12:00 +0200
Subject[PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property
Message-ID<rZQgG-4ts-25@gated-at.bofh.it>
Remvoe the deprecated "supports-highspeed" property.
DWMMC controller will not use this property anymore.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/host/dw_mmc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 1b719a6..e9faedd 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -2890,11 +2890,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
 			return ERR_PTR(ret);
 	}
 
-	if (of_find_property(np, "supports-highspeed", NULL)) {
-		dev_info(dev, "supports-highspeed property is deprecated.\n");
-		pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
-	}
-
 	return pdata;
 }
 
-- 
1.9.1

[toc] | [next] | [standalone]


#1452226 — Re: [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property

FromShawn Lin <shawn.lin@rock-chips.com>
Date2016-07-29 04:50 +0200
SubjectRe: [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property
Message-ID<s0625-6UB-5@gated-at.bofh.it>
In reply to#1451851
在 2016/7/28 17:55, Jaehoon Chung 写道:
> Remvoe the deprecated "supports-highspeed" property.
> DWMMC controller will not use this property anymore.
>

We had set up a flag day to remove these deprecated property
long time agao.

It doesn't *break* old dtb which may(not ?) still boot up new
kernel code as we just make it suffer from lower speed, then
I think it's time for them to migrate to the new property anyway.

So,

Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>

> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> ---
>  drivers/mmc/host/dw_mmc.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 1b719a6..e9faedd 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -2890,11 +2890,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
>  			return ERR_PTR(ret);
>  	}
>
> -	if (of_find_property(np, "supports-highspeed", NULL)) {
> -		dev_info(dev, "supports-highspeed property is deprecated.\n");
> -		pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
> -	}
> -
>  	return pdata;
>  }
>
>


-- 
Best Regards
Shawn Lin

[toc] | [prev] | [next] | [standalone]


#1452237 — Re: [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property

FromJaehoon Chung <jh80.chung@samsung.com>
Date2016-07-29 05:40 +0200
SubjectRe: [PATCH 2/2] mmc: dw_mmc: remove the deprecated "supports-highspeed" property
Message-ID<s06Ot-7wH-1@gated-at.bofh.it>
In reply to#1452226
Hi Shawn,

On 07/29/2016 11:44 AM, Shawn Lin wrote:
> 在 2016/7/28 17:55, Jaehoon Chung 写道:
>> Remvoe the deprecated "supports-highspeed" property.
>> DWMMC controller will not use this property anymore.
>>
> 
> We had set up a flag day to remove these deprecated property
> long time agao.
> 
> It doesn't *break* old dtb which may(not ?) still boot up new
> kernel code as we just make it suffer from lower speed, then
> I think it's time for them to migrate to the new property anyway.

Thanks for reviewing!

Best Regards,
Jaehoon Chung

> 
> So,
> 
> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
> 
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>> ---
>>  drivers/mmc/host/dw_mmc.c | 5 -----
>>  1 file changed, 5 deletions(-)
>>
>> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
>> index 1b719a6..e9faedd 100644
>> --- a/drivers/mmc/host/dw_mmc.c
>> +++ b/drivers/mmc/host/dw_mmc.c
>> @@ -2890,11 +2890,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
>>              return ERR_PTR(ret);
>>      }
>>
>> -    if (of_find_property(np, "supports-highspeed", NULL)) {
>> -        dev_info(dev, "supports-highspeed property is deprecated.\n");
>> -        pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
>> -    }
>> -
>>      return pdata;
>>  }
>>
>>
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web