Hi Masahiro,
On 23 January 2015 at 05:32, Masahiro Yamada wrote:
> Hi Simon,
>
>
>
> On Mon, 19 Jan 2015 20:12:48 -0700
> Simon Glass wrote:
>
>> if (offset_len > I2C_MAX_OFFSET_LEN)
>> return -EINVAL;
>> @@ -450,13 +448,26 @@ int i2c_post_bind(struct udevice *dev)
>> r
Hi Simon,
On Mon, 19 Jan 2015 20:12:48 -0700
Simon Glass wrote:
> if (offset_len > I2C_MAX_OFFSET_LEN)
> return -EINVAL;
> @@ -450,13 +448,26 @@ int i2c_post_bind(struct udevice *dev)
> return dm_scan_fdt_node(dev, gd->fdt_blob, dev->of_offset, false);
> }
>
> +int
At present we go through various contortions to store the I2C's chip
address in its private data. This only exists when the chip is active so
must be set up when it is probed. Until the device is probed we don't
actually record what address it will appear on.
However, now that we can support per-c
3 matches
Mail list logo