forked from raspberrypi/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/…
…linux into fixes Reset controller fixes for v4.14 - Remove misleading HSDK v1 suffix, as there is no v2 planned - Add missing DT binding documentation for HSDK reset driver - Fix HSDK reset driver dependencies * tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/linux: reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST ARC: reset: remove the misleading v1 suffix all over ARC: reset: add missing DT binding documentation for HSDKv1 reset driver ARC: reset: Only build on archs that have IOMEM Signed-off-by: Olof Johansson <olof@lixom.net>
- Loading branch information
Showing
7 changed files
with
76 additions
and
47 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Binding for the Synopsys HSDK reset controller | ||
|
||
This binding uses the common reset binding[1]. | ||
|
||
[1] Documentation/devicetree/bindings/reset/reset.txt | ||
|
||
Required properties: | ||
- compatible: should be "snps,hsdk-reset". | ||
- reg: should always contain 2 pairs address - length: first for reset | ||
configuration register and second for corresponding SW reset and status bits | ||
register. | ||
- #reset-cells: from common reset binding; Should always be set to 1. | ||
|
||
Example: | ||
reset: reset@880 { | ||
compatible = "snps,hsdk-reset"; | ||
#reset-cells = <1>; | ||
reg = <0x8A0 0x4>, <0xFF0 0x4>; | ||
}; | ||
|
||
Specifying reset lines connected to IP modules: | ||
ethernet@.... { | ||
.... | ||
resets = <&reset HSDK_V1_ETH_RESET>; | ||
.... | ||
}; | ||
|
||
The index could be found in <dt-bindings/reset/snps,hsdk-reset.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This header provides index for the HSDK reset controller. | ||
*/ | ||
#ifndef _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK | ||
#define _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK | ||
|
||
#define HSDK_APB_RESET 0 | ||
#define HSDK_AXI_RESET 1 | ||
#define HSDK_ETH_RESET 2 | ||
#define HSDK_USB_RESET 3 | ||
#define HSDK_SDIO_RESET 4 | ||
#define HSDK_HDMI_RESET 5 | ||
#define HSDK_GFX_RESET 6 | ||
#define HSDK_DMAC_RESET 7 | ||
#define HSDK_EBI_RESET 8 | ||
|
||
#endif /*_DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK*/ |
This file was deleted.
Oops, something went wrong.