Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux_grx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Intel
linux_grx
Commits
ccbd0f84
Commit
ccbd0f84
authored
8 years ago
by
leichuan
Committed by
Kenneth Johansson
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reorganize GPTC and wdt framework support
parent
58591dae
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/mips/boot/dts/lantiq/xrx500.dtsi
+6
-5
6 additions, 5 deletions
arch/mips/boot/dts/lantiq/xrx500.dtsi
drivers/clocksource/intel-gptc-timer.c
+422
-217
422 additions, 217 deletions
drivers/clocksource/intel-gptc-timer.c
with
428 additions
and
222 deletions
arch/mips/boot/dts/lantiq/xrx500.dtsi
+
6
−
5
View file @
ccbd0f84
...
...
@@ -685,6 +685,10 @@
clocks = <&i2cclk>;
};
clocksource: gptc-phandle {
#gptc-cells = <3>;
};
gptc0: gptc@b00000 {
compatible = "intel,gptc", "lantiq,gptc";
reg = <0xb00000 0x400>;
...
...
@@ -693,9 +697,7 @@
<GIC_SHARED 120 IRQ_TYPE_EDGE_RISING>,
<GIC_SHARED 122 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "tc1a", "tc2a", "tc3a";
intel,clkevt = <0>;
intel,cpuid = <1>;
intel,clksrc = <2>;
intel,clk = <&clocksource 1 0 1>, <&clocksource 0 2 0>;
clocks = <&pll0aclk SSX4_CLK>, <&clkgate1 GATE_GPTC0_CLK>;
clock-names = "fpi", "gptc";
};
...
...
@@ -708,8 +710,7 @@
<GIC_SHARED 162 IRQ_TYPE_EDGE_RISING>,
<GIC_SHARED 164 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "tc1a", "tc2a", "tc3a";
intel,clkevt = <0 1 2>;
intel,cpuid = <0 2 3>;
intel,clk = <&clocksource 1 0 0>, <&clocksource 1 1 2>, <&clocksource 1 2 3>;
clocks =<&pll0aclk SSX4_CLK>, <&clkgate1 GATE_GPTC1_CLK>;
clock-names = "fpi", "gptc";
};
...
...
This diff is collapsed.
Click to expand it.
drivers/clocksource/intel-gptc-timer.c
+
422
−
217
View file @
ccbd0f84
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment