forked from shenki/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next/drivers' into next/late
Merge in a few missing patches from the pull request (my copy of the branch was behind the staged version in linux-next). * next/drivers: memory: pl353: Add driver for arm pl353 static memory controller dt-bindings: memory: Add pl353 smc controller devicetree binding information firmware: qcom: scm: fix compilation error when disabled Signed-off-by: Olof Johansson <[email protected]>
- Loading branch information
Showing
79 changed files
with
5,116 additions
and
1,249 deletions.
There are no files selected for viewing
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
47 changes: 47 additions & 0 deletions
47
Documentation/devicetree/bindings/memory-controllers/pl353-smc.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,47 @@ | ||
Device tree bindings for ARM PL353 static memory controller | ||
|
||
PL353 static memory controller supports two kinds of memory | ||
interfaces.i.e NAND and SRAM/NOR interfaces. | ||
The actual devices are instantiated from the child nodes of pl353 smc node. | ||
|
||
Required properties: | ||
- compatible : Should be "arm,pl353-smc-r2p1", "arm,primecell". | ||
- reg : Controller registers map and length. | ||
- clock-names : List of input clock names - "memclk", "apb_pclk" | ||
(See clock bindings for details). | ||
- clocks : Clock phandles (see clock bindings for details). | ||
- address-cells : Must be 2. | ||
- size-cells : Must be 1. | ||
|
||
Child nodes: | ||
For NAND the "arm,pl353-nand-r2p1" and for NOR the "cfi-flash" drivers are | ||
supported as child nodes. | ||
|
||
for NAND partition information please refer the below file | ||
Documentation/devicetree/bindings/mtd/partition.txt | ||
|
||
Example: | ||
smcc: memory-controller@e000e000 | ||
compatible = "arm,pl353-smc-r2p1", "arm,primecell"; | ||
clock-names = "memclk", "apb_pclk"; | ||
clocks = <&clkc 11>, <&clkc 44>; | ||
reg = <0xe000e000 0x1000>; | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x0 0xe1000000 0x1000000 //Nand CS Region | ||
0x1 0x0 0xe2000000 0x2000000 //SRAM/NOR CS Region | ||
0x2 0x0 0xe4000000 0x2000000>; //SRAM/NOR CS Region | ||
nand_0: flash@e1000000 { | ||
compatible = "arm,pl353-nand-r2p1" | ||
reg = <0 0 0x1000000>; | ||
(...) | ||
}; | ||
nor0: flash@e2000000 { | ||
compatible = "cfi-flash"; | ||
reg = <1 0 0x2000000>; | ||
}; | ||
nor1: flash@e4000000 { | ||
compatible = "cfi-flash"; | ||
reg = <2 0 0x2000000>; | ||
}; | ||
}; |
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
18 changes: 18 additions & 0 deletions
18
Documentation/devicetree/bindings/soc/amlogic/clk-measure.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,18 @@ | ||
Amlogic Internal Clock Measurer | ||
=============================== | ||
|
||
The Amlogic SoCs contains an IP to measure the internal clocks. | ||
The precision is multiple of MHz, useful to debug the clock states. | ||
|
||
Required properties: | ||
- compatible: Shall contain one of the following : | ||
"amlogic,meson-gx-clk-measure" for GX SoCs | ||
"amlogic,meson8-clk-measure" for Meson8 SoCs | ||
"amlogic,meson8b-clk-measure" for Meson8b SoCs | ||
- reg: base address and size of the Clock Measurer register space. | ||
|
||
Example: | ||
clock-measure@8758 { | ||
compatible = "amlogic,meson-gx-clk-measure"; | ||
reg = <0x0 0x8758 0x0 0x10>; | ||
}; |
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
Oops, something went wrong.