Re: Regarding to force bus id for channels of pca954x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

For some reasons, we need to assign bus id for the channels of I2c mux pca9548.

>From the code, it seems we can use "adap_id" of

struct pca954x_platform_mode {
  int             adap_id;
  unsigned int    deselect_on_exit:1;
  unsigned int    class;
};

But my questions is, can we assign bus id through device tree and modprobe?

Thanks.

On Thu, May 7, 2015 at 12:33 AM, os user <gnusercn@xxxxxxxxx> wrote:
> Hi there,
>
> For some reasons, we need to assign bus id for the channels of I2c mux
> pca9548.
>
> From the code, it seems we can use "adap_id" of
>
> struct pca954x_platform_mode {
>   int             adap_id;
>   unsigned int    deselect_on_exit:1;
>   unsigned int    class;
> };
>
> But my questions is, can we assign bus id through device tree and modprobe?
>
> Thanks.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux