On Wed, Jun 1, 2016 at 11:43 PM, Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote: > +#define FXL6408_OUTPUT 0x05 > +/* Bits here make the output High-Z, instead of the OUTPUT value. */ > +#define FXL6408_OUTPUT_HIGH_Z 0x07 (...) > + /* Disable High-Z of outputs, so that our OUTPUT updates > + * actually take effect. > + */ > + i2c_smbus_write_byte_data(client, FXL6408_OUTPUT_HIGH_Z, 0); High-Z is probably the same as open drain right? And if not open drain, it is push-pull. So you want to implement .set_single_ended() for configuring the lines in "high-z", i.e. open drain output mode. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html