Fwd: Initializing drivers for i2c devices that use reserved i2c addresses ( as1115 default i2c address of 0x00)

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

 



I am writing a device driver for the as1115.  It is the only device on
the bus I am using. The part powers up with a default address of 0x00.
I've added the as1115 into the device tree.

Due to i2c_check_addr_validity checking and seeing that the as1115's
boot address is invalid when it's running the probe.  The
i2c_check_addr_validity function states that parts that use reserved
addresses shouldn't be probed.

I was wondering how I would be able to initialize the device without
using the probe function which provides the i2c_client pointer that
that I need and actually write to the device, and also I can use to
setup the irq.

Link to part info:
http://ams.com/eng/Products/Lighting-Management/LED-Driver-ICs/AS1115

Many 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