All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices
Date: Sat, 31 May 2014 15:48:06 +0200	[thread overview]
Message-ID: <20140531134805.GA3287@katana> (raw)
In-Reply-To: <20140530192516.GA4319@lee--X1>

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]


> Right, I read the function which provides the functionality, but my
> point is; I don't think my patch changes the semantics in a way which
> would adversely affect this option.  If you think that it does, can you
> specify how please?

Currently, if a driver would be DT only and does not provide a seperate
i2c_device_id table, then the driver is unusable with method 4. I don't
like to have some drivers being capable of it and some not.

> Does the sysfs method create a i2c_device_id table?  If not, how does
> it probe successfully pre-patch?

The sysfs method creates a device. Its name is matched against
i2c_device_ids only since it does not have a node pointer for DT to be
matched against.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: wsa@the-dreams.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices
Date: Sat, 31 May 2014 15:48:06 +0200	[thread overview]
Message-ID: <20140531134805.GA3287@katana> (raw)
In-Reply-To: <20140530192516.GA4319@lee--X1>


> Right, I read the function which provides the functionality, but my
> point is; I don't think my patch changes the semantics in a way which
> would adversely affect this option.  If you think that it does, can you
> specify how please?

Currently, if a driver would be DT only and does not provide a seperate
i2c_device_id table, then the driver is unusable with method 4. I don't
like to have some drivers being capable of it and some not.

> Does the sysfs method create a i2c_device_id table?  If not, how does
> it probe successfully pre-patch?

The sysfs method creates a device. Its name is matched against
i2c_device_ids only since it does not have a node pointer for DT to be
matched against.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140531/ed161c08/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Lee Jones <lee.jones@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, grant.likely@linaro.org,
	linus.walleij@linaro.org, linux-i2c@vger.kernel.org
Subject: Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices
Date: Sat, 31 May 2014 15:48:06 +0200	[thread overview]
Message-ID: <20140531134805.GA3287@katana> (raw)
In-Reply-To: <20140530192516.GA4319@lee--X1>

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]


> Right, I read the function which provides the functionality, but my
> point is; I don't think my patch changes the semantics in a way which
> would adversely affect this option.  If you think that it does, can you
> specify how please?

Currently, if a driver would be DT only and does not provide a seperate
i2c_device_id table, then the driver is unusable with method 4. I don't
like to have some drivers being capable of it and some not.

> Does the sysfs method create a i2c_device_id table?  If not, how does
> it probe successfully pre-patch?

The sysfs method creates a device. Its name is matched against
i2c_device_ids only since it does not have a node pointer for DT to be
matched against.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-05-31 13:48 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 12:26 [PATCH 0/{1,1}] i2c: Make I2C ID tables non-mandatory for DT/ACPI Lee Jones
2014-05-30 12:26 ` Lee Jones
2014-05-30 12:26 ` Lee Jones
2014-05-30 12:26 ` [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices Lee Jones
2014-05-30 12:26   ` Lee Jones
2014-05-30 12:36   ` Wolfram Sang
2014-05-30 12:36     ` Wolfram Sang
2014-05-30 12:55     ` Lee Jones
2014-05-30 12:55       ` Lee Jones
2014-05-30 12:55       ` Lee Jones
2014-05-30 13:34     ` Lee Jones
2014-05-30 13:34       ` Lee Jones
2014-05-30 13:34       ` Lee Jones
2014-05-30 17:48       ` Wolfram Sang
2014-05-30 17:48         ` Wolfram Sang
2014-05-30 17:48         ` Wolfram Sang
2014-05-30 19:25         ` Lee Jones
2014-05-30 19:25           ` Lee Jones
2014-05-31 13:48           ` Wolfram Sang [this message]
2014-05-31 13:48             ` Wolfram Sang
2014-05-31 13:48             ` Wolfram Sang
2014-06-02 12:16             ` Linus Walleij
2014-06-02 12:16               ` Linus Walleij
     [not found]               ` <CACRpkdZvyfA0aaJe3YuevXfA2pTZLRPZ3mQpitL6qD7=qE0Xyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-02 12:38                 ` Wolfram Sang
2014-06-02 12:38                   ` Wolfram Sang
2014-06-02 12:38                   ` Wolfram Sang
2014-06-02 13:26                   ` Linus Walleij
2014-06-02 13:26                     ` Linus Walleij
2014-06-02 13:26                   ` Lee Jones
2014-06-02 13:26                     ` Lee Jones
2014-06-02 14:29                 ` Michael Lawnick
2014-06-02 14:29                   ` Michael Lawnick
2014-06-02 14:29                   ` Michael Lawnick
2014-06-03 11:18                   ` Linus Walleij
2014-06-03 11:18                     ` Linus Walleij
2014-06-04  6:09                     ` Michael Lawnick
2014-06-04  6:09                       ` Michael Lawnick
     [not found]                       ` <538EB81B.3090807-Mmb7MZpHnFY@public.gmane.org>
2014-06-12  7:55                         ` Linus Walleij
2014-06-12  7:55                           ` Linus Walleij
2014-06-12  7:55                           ` Linus Walleij
     [not found]                           ` <CACRpkda3bL=y3Dmkf59LT97Liep=XEzgE3P-YngLeD_w1qcAzQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-12  9:28                             ` Michael Lawnick
2014-06-12  9:28                               ` Michael Lawnick
2014-06-12  9:28                               ` Michael Lawnick
2014-05-30 12:26 ` Lee Jones
2014-05-30 12:26   ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140531134805.GA3287@katana \
    --to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.