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


Groups > linux.kernel > #1613037 > unrolled thread

Re: [RESEND PATCH v2 1/2] mfd: retu: Add OF device ID table

Started byRob Herring <robh+dt@kernel.org>
First post2017-03-30 14:50 +0200
Last post2017-03-30 14:50 +0200
Articles 1 — 1 participant

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

  Re: [RESEND PATCH v2 1/2] mfd: retu: Add OF device ID table Rob Herring <robh+dt@kernel.org> - 2017-03-30 14:50 +0200

#1613037 — Re: [RESEND PATCH v2 1/2] mfd: retu: Add OF device ID table

FromRob Herring <robh+dt@kernel.org>
Date2017-03-30 14:50 +0200
SubjectRe: [RESEND PATCH v2 1/2] mfd: retu: Add OF device ID table
Message-ID<tqHGx-6sD-5@gated-at.bofh.it>
On Wed, Mar 15, 2017 at 5:49 AM, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:
> The driver doesn't have a struct of_device_id table but supported devices
> are registered via Device Trees. This is working on the assumption that a
> I2C device registered via OF will always match a legacy I2C device ID and
> that the MODALIAS reported will always be of the form i2c:<device>.

It should also have the OF MODALIAS.

> But this could change in the future so the correct approach is to have a
> OF device ID table if the devices are registered via OF.

I believe this is already the case.

> The compatible strings don't have a vendor prefix because that's how it's
> used currently, and changing this will be a Device Tree ABI break.

How so? These "compatible" strings are not documented, so there is no
ABI. You may have been lucky to get things working using the driver
name as the compatible string.

Rob

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web