lkml.org 
[lkml]   [2016]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ARC dw-mshc binding compat string
From
Date
On 26.03.2016 12:14, Marek Vasut wrote:
> Hi!
>
> I noticed that arch/arc/boot/dts/axs10x_mb.dtsi uses "altr," prefix in
> the DT compatible string:
>
> mmc@0x15000 {
> compatible = "altr,socfpga-dw-mshc";
> reg = < 0x15000 0x400 >;
> num-slots = < 1 >;
> fifo-depth = < 16 >;
> card-detect-delay = < 200 >;
> clocks = <&apbclk>, <&mmcclk>;
> clock-names = "biu", "ciu";
> interrupts = < 7 >;
> bus-width = < 4 >;
> };
>
> I don't think this is OK, since ARC is unrelated to Altera, which is
> what the "altr," prefix stands for. I think the socfpga-dw-mshc shim
> should be extended with another compatibility string, something like
> "snps,arc-dw-mshc" and the axs10x_mb.dtsi should be adjusted
> accordingly. What do you think ?
>

There is "snps,dw-mshc" described in
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt and supported by
dw_mmc host controller driver.

--
With best wishes,
Vladimir

\
 
 \ /
  Last update: 2016-03-26 18:41    [W:1.559 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site