> From: Ming Yu <[email protected]>
>
> Sub-device drivers call into the USB transport directly, so a second
> transport cannot be added without touching all of them.
>
> Wrap the transport behind a regmap bus and let the sub-device drivers
> reach the firmware only through nct6694_{read,write}_msg(). The command
> header maps onto the regmap bulk accessors by packing the host control
> byte, the module id and the 16-bit offset into a single 32-bit register.
>
> Add nct6694_write_read_msg() for the commands that transmit a request
> and read the reply back within the same firmware message, and use it for
> the I2C deliver command.
>
> Signed-off-by: Ming Yu <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=9
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.