Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1280056 > unrolled thread
| Started by | Paul Burton <paul.burton@imgtec.com> |
|---|---|
| First post | 2015-11-30 17:30 +0100 |
| Last post | 2015-12-03 22:10 +0100 |
| Articles | 2 — 2 participants |
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.
[PATCH 15/28] i2c: eg20t: set i2c_adapter->dev.of_node Paul Burton <paul.burton@imgtec.com> - 2015-11-30 17:30 +0100
Re: [PATCH 15/28] i2c: eg20t: set i2c_adapter->dev.of_node Wolfram Sang <wsa@the-dreams.de> - 2015-12-03 22:10 +0100
| From | Paul Burton <paul.burton@imgtec.com> |
|---|---|
| Date | 2015-11-30 17:30 +0100 |
| Subject | [PATCH 15/28] i2c: eg20t: set i2c_adapter->dev.of_node |
| Message-ID | <qAzuW-5YC-9@gated-at.bofh.it> |
Set the I2C adapter devices of_node to that of the PCI device, such that I2C clients may be instantiated via device tree. Signed-off-by: Paul Burton <paul.burton@imgtec.com> --- drivers/i2c/busses/i2c-eg20t.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c index 76e699f..137125b 100644 --- a/drivers/i2c/busses/i2c-eg20t.c +++ b/drivers/i2c/busses/i2c-eg20t.c @@ -795,6 +795,7 @@ static int pch_i2c_probe(struct pci_dev *pdev, /* base_addr + offset; */ adap_info->pch_data[i].pch_base_address = base_addr + 0x100 * i; + pch_adap->dev.of_node = pdev->dev.of_node; pch_adap->dev.parent = &pdev->dev; pch_i2c_init(&adap_info->pch_data[i]); -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2015-12-03 22:10 +0100 |
| Message-ID | <qBJiz-1Vy-45@gated-at.bofh.it> |
| In reply to | #1280056 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Nov 30, 2015 at 04:21:40PM +0000, Paul Burton wrote: > Set the I2C adapter devices of_node to that of the PCI device, such that > I2C clients may be instantiated via device tree. > > Signed-off-by: Paul Burton <paul.burton@imgtec.com> Applied to for-next, thanks!
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web