On Tue, 21 Nov 2017 15:49:39 +0000 Marco Franchi <marco.franchi@xxxxxxx> wrote: > On Ter, 2017-11-21 at 00:28 +0100, Davide Hug wrote: > > Sorry for the delayed question. > > > > On Mon, 11 Sep 2017 17:35:35 +0000 > > Marco Franchi <marco.franchi@xxxxxxx> wrote: > > > > > > > > I tested it using the i.MX 7D SABRE-SD and device tree support and > > > it works good. > > It would be great if you could tell me what GPIO driver this platform > > uses? > > I would like to check if I understand when the sht15 driver fails to > > load and > > when it loads. > Hi Davide, > > Please, check if this dts file can help you: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm > it/?h=v4.14&id=fd1eb46c382a69d0fbad85def3a2f3008a76efc1 Thanks. As I understand it imx7d-sdb-sht11.dts uses gpio4 specified in arch/arm/boot/dts/imx7s.dtsi, which has compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio". I don't find a driver compatible fsl,imx7d-gpio, so I guess it is the gpio/gpio-mxc.c driver compatible fsl,imx35-gpio. This driver doesn't use GPIOLIB_IRQCHIP, so I would understand why hwmon/sht15 loads here. Thanks, Davide -- 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