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


Groups > linux.kernel > #1623683

Re: [PATCH v3 03/21] ARM: dts: omap: Add generic compatible string for I2C EEPROM

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 03/21] ARM: dts: omap: Add generic compatible string for I2C EEPROM
Date 2017-04-14 16:20 +0200
Message-ID <twaeR-261-13@gated-at.bofh.it> (permalink)
References <tvXUl-2KN-5@gated-at.bofh.it> <tvXUn-2KN-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Javier Martinez Canillas <javier@osg.samsung.com> [170413 18:08]:
> The at24 driver allows to register I2C EEPROM chips using different vendor
> and devices, but the I2C subsystem does not take the vendor into account
> when matching using the I2C table since it only has device entries.
> 
> But when matching using an OF table, both the vendor and device has to be
> taken into account so the driver defines only a set of compatible strings
> using the "atmel" vendor as a generic fallback for compatible I2C devices.
> 
> So add this generic fallback to the device node compatible string to make
> the device to match the driver using the OF device ID table.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Looks good to me assuming this will get merged in a single series:

Acked-by: Tony Lindgren <tony@atomide.com>

Or if you want me to pick this patch separately, let me know.

Regards,

Tony

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 03/21] ARM: dts: omap: Add generic compatible string for I2C EEPROM Javier Martinez Canillas <javier@osg.samsung.com> - 2017-04-14 03:10 +0200
  Re: [PATCH v3 03/21] ARM: dts: omap: Add generic compatible string  for I2C EEPROM Tony Lindgren <tony@atomide.com> - 2017-04-14 16:20 +0200
  Re: [PATCH v3 03/21] ARM: dts: omap: Add generic compatible string  for I2C EEPROM Rob Herring <robh@kernel.org> - 2017-04-20 02:00 +0200

csiph-web