From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932613AbcFJMHJ (ORCPT ); Fri, 10 Jun 2016 08:07:09 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:32853 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932224AbcFJMHH (ORCPT ); Fri, 10 Jun 2016 08:07:07 -0400 Subject: Re: [PATCHv5 0/8] 2c: Relax mandatory I2C ID table passing To: Wolfram Sang References: <1462374888-22888-1-git-send-email-kieran@bingham.xyz> <20160609191513.GB23522@katana> <20160609200405.GE23522@katana> <575A9082.9060804@bingham.xyz> <20160610110027.GA1626@katana> Cc: Javier Martinez Canillas , Lee Jones , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, grant.likely@linaro.org, sameo@linux.intel.com From: Kieran Bingham Message-ID: <575AAD67.5070804@bingham.xyz> Date: Fri, 10 Jun 2016 13:07:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160610110027.GA1626@katana> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wolfram, On 10/06/16 12:00, Wolfram Sang wrote: > >> Is this what you were looking for? > > Mostly, thanks. This verifies that the old way still works. Good! > > The new way (no i2c_device_ids, just compatibles) will need Javier's > patch to work with module auto loading, I know. But what about userspace > instantiation with built-in driver? I didn't understand if this was > tested using the new way. And do you need then the full-compatible or > the vendor-stripped string? When I reported : > * new_device (built-in, and external module) > echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-2/new_device > cat /sys/class/rtc/rtc0/date > > - Both of those worked fine. That was *without* Javier's patch, but hopefully obviously *with* Lee's patchset. Do you need this testing *with* Javiers patch as well? I have not tested this combination. I've already switched my dev board environment back to the Salvator-X for $DAYJOB and switching back now will have to wait to the weekend. > Thanks, > > Wolfram > -- Regards Kieran Bingham