Re: [PATCH v5 01/14] net: pch_gbe: Mark Minnow PHY reset GPIO active low

2018-02-17 Thread Andrew Lunn
> @@ -2700,10 +2701,10 @@ static int pch_gbe_minnow_platform_init(struct > pci_dev *pdev) > return ret; > } > > - gpio_set_value(gpio, 0); > - usleep_range(1250, 1500); > gpio_set_value(gpio, 1); > usleep_range(1250, 1500); > + gpio_set_value(gpio,

[PATCH v5 01/14] net: pch_gbe: Mark Minnow PHY reset GPIO active low

2018-02-17 Thread Paul Burton
The Minnow PHY reset GPIO is set to 0 to enter reset & 1 to leave reset - that is, it is an active low GPIO. In order to allow for the code to be made more generic by further patches, indicate to the GPIO subsystem that the GPIO is active low & invert the values it is set to such that they reflect