[PATCH] ARM: imx: Explicitly pass the active level of the PHY reset
Shawn Guo
shawn.guo at linaro.org
Mon Jan 6 07:43:00 EST 2014
On Mon, Jan 06, 2014 at 11:14:28AM +0000, Russell King - ARM Linux wrote:
> On Mon, Jan 06, 2014 at 10:24:23AM +0800, Shawn Guo wrote:
> > This is a typical example that we did not implement device tree
> > bindings perfectly right in the first place, and we have to live with it
> > forever. If someday there is board design using an active high PHY
> > reset, we basically have to introduce another property for it.
>
> Yes and no. That third number in the property is always zero at present,
> right? If so, just define zero to mean "the default level of reset"
> which would be the -rc6 behaviour.
>
> Then you can define non-zero values to mean "explicitly state the level".
This is not nice either, because the third number in *-gpios property is
already defined by gpio bindings:
Documentation/devicetree/bindings/gpio/gpio.txt
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
Shawn
More information about the linux-arm-kernel
mailing list