On Sun, 11 Nov 2018 15:15:36 +0100 Lorenzo Bianconi <lorenzo.bianconi@xxxxxxxxxx> wrote: > Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@xxxxxxxxxx> There seems to be some precedents in tree for this, so fair enough. It's one of those things that almost seems worth standardising, but it's not totally apparent where it would be done as it can apply to any bus or gpio. Anyhow, applied this as is (Rob / Mark input of course welcome) to my togreg branch which will be pushed out in a few mins as testing for the autobuilders to play with it. Thanks, Jonathan > --- > Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt b/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt > index 879322ad50fd..69d53d98d0f0 100644 > --- a/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt > +++ b/Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt > @@ -13,6 +13,7 @@ Required properties: > Optional properties: > - st,drdy-int-pin: the pin on the package that will be used to signal > "data ready" (valid values: 1 or 2). > +- st,pullups : enable/disable internal i2c controller pullup resistors. > - drive-open-drain: the interrupt/data ready line will be configured > as open drain, which is useful if several sensors share the same > interrupt line. This is a boolean property.