usb: phy: tegra: Use device-tree notion of reset-GPIO's active-state
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jan 2020 01:34:09 +0000 (04:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 15:21:58 +0000 (16:21 +0100)
commit06e60e5038fa432900ffa956307459a1aabee1db
treea652f2cdacb5000ff5da3fcb52ff3b7052bd6021
parent01d6ea31db65257cc6d121b957516940a65e92fe
usb: phy: tegra: Use device-tree notion of reset-GPIO's active-state

It is much more intuitive if reset is treated as asserted when GPIO value
is set to 1. All NVIDIA Tegra device-trees are properly specifying active
state of the reset-GPIO since 2013, let's clean up that part of the code.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200106013416.9604-14-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-tegra-usb.c
include/linux/usb/tegra_usb_phy.h