Skip to contentSkip to conversation

spidev instantiated from DT

DISCUSSION Giuseppe Lippolis 2 participants 2 messages Dec 12, 2016 – Dec 13, 2016 SPI

lore
Share & tools
lore
#0 lore raw

Hi Geert,

Thanks for your clarification.

So the rationale is to keep fixed the HW description (that make sense). If a "generic" driver is required, the specific device compatible statement shall be added in spidev like:

	{ .compatible = "lineartechnology,ltc2488" },

And if later a more specific driver will be available, the previous line shall be removed.

Can you please confirm my understanding?

Bye.

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Hi Guiseppe,

Quoted 9 lines · Giuseppe Lippolis

So the rationale is to keep fixed the HW description (that make sense). If a "generic" driver is required, the specific device compatible statement shall be added in spidev like:

        { .compatible = "lineartechnology,ltc2488" },

And if later a more specific driver will be available, the previous line shall be removed.

Can you please confirm my understanding?

That's correct.

Of course we prefer having a specific driver ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html