On Tue, Nov 15, 2016 at 05:00:06PM +1300, Mahoda Ratnayaka wrote: > + if (of_property_read_bool(of_node, "vcc-supply")) > + val |= CHAN_VCC_5V; vcc-supply is a phandle not a bool, you need to use the regulator api to learn the voltage. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html