Hi Marc,
Marc Zyngier arm.com> writes:
> > Both ethernet and sdhci driver call platform_get_irq(pdev, 0);
> > but the eth driver is DT, so calls of_irq_get() while sdhci is
> > legacy, so calls platform_get_resource() -- IIUC.
> >
> > How do I specify a "hwirq" instead of a "Linux index"? and wh
On Tuesday 10 November 2015 13:44:48 Mason wrote:
> On 09/11/2015 18:13, Måns Rullgård wrote:
>
> > Add something like this:
> >
> > static const struct of_device_id tangox_sdio_dt_ids[] = {
> > { .compatible = "sigma,tangox-sdio" },
> > { }
> > };
> >
> > static struct platform_driv
On 09/11/2015 18:13, Måns Rullgård wrote:
> Add something like this:
>
> static const struct of_device_id tangox_sdio_dt_ids[] = {
> { .compatible = "sigma,tangox-sdio" },
> { }
> };
>
> static struct platform_driver tangox_platform_sdio0 = {
> .probe = sdhci_tangox_pr
Mason writes:
> On 09/11/2015 17:12, Måns Rullgård wrote:
>
>> Mason writes:
>>
>>> On 09/11/2015 16:40, Måns Rullgård wrote:
>>>
The simplest solution for you is probably to add a quick and dirty DT
binding to the old driver. If it doesn't use any driver-specific
platform data s
On 09/11/2015 17:12, Måns Rullgård wrote:
> Mason writes:
>
>> On 09/11/2015 16:40, Måns Rullgård wrote:
>>
>>> The simplest solution for you is probably to add a quick and dirty DT
>>> binding to the old driver. If it doesn't use any driver-specific
>>> platform data struct, you only need to se
On Mon, Nov 09, 2015 at 04:15:03PM +0100, Mason wrote:
> I tried compiling an ancient SDHCI driver on a v4.2 system. It crashes
> all over init because several host->ops functions are required, but the
> old driver does not define them:
> .reset
> .set_clock
> .set_bus_width
> .set_uhs_signaling
>
Mason writes:
> On 09/11/2015 16:40, Måns Rullgård wrote:
>
>> The simplest solution for you is probably to add a quick and dirty DT
>> binding to the old driver. If it doesn't use any driver-specific
>> platform data struct, you only need to set .of_match_table in the
>> struct platform_driver.
On 09/11/2015 16:40, Måns Rullgård wrote:
> The simplest solution for you is probably to add a quick and dirty DT
> binding to the old driver. If it doesn't use any driver-specific
> platform data struct, you only need to set .of_match_table in the
> struct platform_driver. If there is a platfor
Mason writes:
> On 05/11/2015 16:42, Javier Martinez Canillas wrote:
>> Hello,
>>
>> On Thu, Nov 5, 2015 at 12:15 PM, Andrew Lunn wrote:
Since I don't have time to rewrite the drivers at the moment, I'm wondering
if it's possible to "graft" old drivers (they're using the platform API,
On 09/11/15 15:15, Mason wrote:
> On 05/11/2015 16:42, Javier Martinez Canillas wrote:
>> Hello,
>>
>> On Thu, Nov 5, 2015 at 12:15 PM, Andrew Lunn wrote:
Since I don't have time to rewrite the drivers at the moment, I'm wondering
if it's possible to "graft" old drivers (they're using th
On 05/11/2015 16:42, Javier Martinez Canillas wrote:
> Hello,
>
> On Thu, Nov 5, 2015 at 12:15 PM, Andrew Lunn wrote:
>>> Since I don't have time to rewrite the drivers at the moment, I'm wondering
>>> if it's possible to "graft" old drivers (they're using the platform API, no
>>> trace of DT sup
Hello,
On Thu, Nov 5, 2015 at 12:15 PM, Andrew Lunn wrote:
>> Since I don't have time to rewrite the drivers at the moment, I'm wondering
>> if it's possible to "graft" old drivers (they're using the platform API, no
>> trace of DT support) onto my small base?
>
> Platform drivers are still usabl
> Since I don't have time to rewrite the drivers at the moment, I'm wondering
> if it's possible to "graft" old drivers (they're using the platform API, no
> trace of DT support) onto my small base?
Platform drivers are still usable with DT systems. We used that fact
when converting platform based
13 matches
Mail list logo