Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-25 Thread Marek Vasut
On 01/25/2018 11:22 AM, Masahiro Yamada wrote:
> 2018-01-25 9:58 GMT+09:00 Jaehoon Chung :
>> On 01/25/2018 07:19 AM, Marek Vasut wrote:
>>> Add DT compatible strings for RCar Gen2 SoCs, so that this driver
>>> can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2
>>> uses 16bit FIFO.
>>>
>>> Signed-off-by: Marek Vasut 
>>> Cc: Jaehoon Chung 
>>> Cc: Masahiro Yamada 
>>
>> Reviewed-by: Jaehoon Chung 
>>
>>> ---
>>>  drivers/mmc/uniphier-sd.c | 5 +
>>>  1 file changed, 5 insertions(+)
>>>
>>> diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
>>> index 741f9dfd9c..a080674c8a 100644
>>> --- a/drivers/mmc/uniphier-sd.c
>>> +++ b/drivers/mmc/uniphier-sd.c
>>> @@ -847,6 +847,11 @@ static int uniphier_sd_probe(struct udevice *dev)
>>>  }
>>>
>>>  static const struct udevice_id uniphier_sd_match[] = {
>>> + { .compatible = "renesas,sdhi-r8a7790", .data = 0 },
>>> + { .compatible = "renesas,sdhi-r8a7791", .data = 0 },
>>> + { .compatible = "renesas,sdhi-r8a7792", .data = 0 },
>>> + { .compatible = "renesas,sdhi-r8a7793", .data = 0 },
>>> + { .compatible = "renesas,sdhi-r8a7794", .data = 0 },
>>>   { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT 
>>> },
>>>   { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT 
>>> },
>>>   { .compatible = "renesas,sdhi-r8a77970", .data = 
>>> UNIPHIER_SD_CAP_64BIT },
>>>
>>
> 
> 
> Nit:
> You can omit ".data = 0 " if you want.
> 
> Otherwise,
> 
> Acked-by: Masahiro Yamada 

I don't want to remove the data = , because I'll be adding more of those
cap flags there in the next round . In particular, the Gen2 cannot use
that internal DMA controller while Gen3 can and a few other quirks. Oh,
and support for 16bit SD controller is coming too ;-)

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-25 Thread Masahiro Yamada
2018-01-25 9:58 GMT+09:00 Jaehoon Chung :
> On 01/25/2018 07:19 AM, Marek Vasut wrote:
>> Add DT compatible strings for RCar Gen2 SoCs, so that this driver
>> can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2
>> uses 16bit FIFO.
>>
>> Signed-off-by: Marek Vasut 
>> Cc: Jaehoon Chung 
>> Cc: Masahiro Yamada 
>
> Reviewed-by: Jaehoon Chung 
>
>> ---
>>  drivers/mmc/uniphier-sd.c | 5 +
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
>> index 741f9dfd9c..a080674c8a 100644
>> --- a/drivers/mmc/uniphier-sd.c
>> +++ b/drivers/mmc/uniphier-sd.c
>> @@ -847,6 +847,11 @@ static int uniphier_sd_probe(struct udevice *dev)
>>  }
>>
>>  static const struct udevice_id uniphier_sd_match[] = {
>> + { .compatible = "renesas,sdhi-r8a7790", .data = 0 },
>> + { .compatible = "renesas,sdhi-r8a7791", .data = 0 },
>> + { .compatible = "renesas,sdhi-r8a7792", .data = 0 },
>> + { .compatible = "renesas,sdhi-r8a7793", .data = 0 },
>> + { .compatible = "renesas,sdhi-r8a7794", .data = 0 },
>>   { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT 
>> },
>>   { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT 
>> },
>>   { .compatible = "renesas,sdhi-r8a77970", .data = UNIPHIER_SD_CAP_64BIT 
>> },
>>
>


Nit:
You can omit ".data = 0 " if you want.

Otherwise,

Acked-by: Masahiro Yamada 





-- 
Best Regards
Masahiro Yamada
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-24 Thread Jaehoon Chung
On 01/25/2018 07:19 AM, Marek Vasut wrote:
> Add DT compatible strings for RCar Gen2 SoCs, so that this driver
> can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2
> uses 16bit FIFO.
> 
> Signed-off-by: Marek Vasut 
> Cc: Jaehoon Chung 
> Cc: Masahiro Yamada 

Reviewed-by: Jaehoon Chung 

> ---
>  drivers/mmc/uniphier-sd.c | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
> index 741f9dfd9c..a080674c8a 100644
> --- a/drivers/mmc/uniphier-sd.c
> +++ b/drivers/mmc/uniphier-sd.c
> @@ -847,6 +847,11 @@ static int uniphier_sd_probe(struct udevice *dev)
>  }
>  
>  static const struct udevice_id uniphier_sd_match[] = {
> + { .compatible = "renesas,sdhi-r8a7790", .data = 0 },
> + { .compatible = "renesas,sdhi-r8a7791", .data = 0 },
> + { .compatible = "renesas,sdhi-r8a7792", .data = 0 },
> + { .compatible = "renesas,sdhi-r8a7793", .data = 0 },
> + { .compatible = "renesas,sdhi-r8a7794", .data = 0 },
>   { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT },
>   { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT },
>   { .compatible = "renesas,sdhi-r8a77970", .data = UNIPHIER_SD_CAP_64BIT 
> },
> 

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-24 Thread Marek Vasut
Add DT compatible strings for RCar Gen2 SoCs, so that this driver
can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2
uses 16bit FIFO.

Signed-off-by: Marek Vasut 
Cc: Jaehoon Chung 
Cc: Masahiro Yamada 
---
 drivers/mmc/uniphier-sd.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
index 741f9dfd9c..a080674c8a 100644
--- a/drivers/mmc/uniphier-sd.c
+++ b/drivers/mmc/uniphier-sd.c
@@ -847,6 +847,11 @@ static int uniphier_sd_probe(struct udevice *dev)
 }
 
 static const struct udevice_id uniphier_sd_match[] = {
+   { .compatible = "renesas,sdhi-r8a7790", .data = 0 },
+   { .compatible = "renesas,sdhi-r8a7791", .data = 0 },
+   { .compatible = "renesas,sdhi-r8a7792", .data = 0 },
+   { .compatible = "renesas,sdhi-r8a7793", .data = 0 },
+   { .compatible = "renesas,sdhi-r8a7794", .data = 0 },
{ .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT },
{ .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT },
{ .compatible = "renesas,sdhi-r8a77970", .data = UNIPHIER_SD_CAP_64BIT 
},
-- 
2.15.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot