[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191024214746.88431-1-tmaimon77@gmail.com>
Date: Fri, 25 Oct 2019 00:47:43 +0300
From: Tomer Maimon <tmaimon77@...il.com>
To: p.zabel@...gutronix.de, robh+dt@...nel.org, mark.rutland@....com,
yuenn@...gle.com, venture@...gle.com, benjaminfair@...gle.com,
avifishman70@...il.com, joel@....id.au
Cc: openbmc@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Tomer Maimon <tmaimon77@...il.com>
Subject: [PATCH v1 0/3] reset: npcm: add NPCM reset driver support
This patch set adds reset controller support
for the Nuvoton NPCM Baseboard Management Controller (BMC).
Apart of controlling all NPCM BMC reset module lines the NPCM reset driver
support NPCM BMC software reset to restarting the NPCM BMC.
Supporting NPCM USB-PHY reset as follow:
NPCM BMC USB-PHY connected to two modules USB device (UDC) and USB host.
If we will restart the USB-PHY at the UDC probe and later the
USB host probe will restart USB-PHY again it will disable the UDC
and vice versa.
The solution is to reset the USB-PHY at the reset probe stage before
the UDC and the USB host are initializing.
NPCM reset driver tested on NPCM750 evaluation board.
Tomer Maimon (3):
dt-binding: reset: add NPCM reset controller documentation
dt-bindings: reset: Add binding constants for NPCM7xx reset controller
reset: npcm: add NPCM reset controller driver
.../bindings/reset/nuvoton,npcm-reset.txt | 35 +++
drivers/reset/Kconfig | 7 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-npcm.c | 273 ++++++++++++++++++
.../dt-bindings/reset/nuvoton,npcm7xx-reset.h | 82 ++++++
5 files changed, 398 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt
create mode 100644 drivers/reset/reset-npcm.c
create mode 100644 include/dt-bindings/reset/nuvoton,npcm7xx-reset.h
--
2.22.0
Powered by blists - more mailing lists