Hi, I am trying to add support of adjusting IR led current in vcnl4000 driver (has IR led current register for doing the same). Below is what I have done till now: 1) Added Current channel in the vcnl4000_channels structure with separate mask IIO_CHAN_INFO_RAW 2) Reading the LED current register inside IIO_CURRENT case in vcnl4010_read_raw 3) Writing to LED current register inside IIO_CURRENT case in vcnl4010_write_raw Is this the correct way of setting Current register in IIO subsystem? Best Regards, Pratik Prajapati -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html