[RFC net-next 15/15] net: lora: Add Semtech SX1301
From: broonie@kernel.org (Mark Brown)
Date: 2018-07-04 14:32:49
Also in:
linux-spi, lkml, netdev
From: broonie@kernel.org (Mark Brown)
Date: 2018-07-04 14:32:49
Also in:
linux-spi, lkml, netdev
On Wed, Jul 04, 2018 at 01:41:42PM +0000, Ben Whitten wrote: Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to.
In my SX1257 driver currently the regmap is backed via SPI with devm_regmap_init_spi, please correct me if I am wrong but if I understand correctly this could be split out to regmap backed by SPI in the case of a direct host connection, and a regmap backed by the SX1301's regmapped strobing register interface, regmap_bus?
Yes.
Is there a precedent to this I can examine?
There's lots of devices that provide both SPI and I2C, you'd just be using a regmap_bus instead of the I2C one. I can't recall an example of the specific combination you're looking for though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180704/9142e5f2/attachment.sig>