-
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 tag 'timers-v5.15' of https://git.linaro.org/people/daniel.lezc…
…ano/linux into timers/core Pull timer driver updates from Daniel Lezcano: - Prioritize the ARM architected timer on Exynos platform when the architecture is ARM64 (Will Deacon) - Mark the Exynos timer as a per CPU timer (Will Deacon) - DT conversion to yaml for the rockchip platform (Ezequiel Garcia) - Fix IRQ setup if there are two channels on the sh_cmt timer (Phong Hoang) - Use bitfield helper macros in the Ingenic timer (Zhou Yanjie) - Clear any pending interrupt to prevent an abort of the suspend on the Mediatek platform (Fengquan Chen) - Add DT bindings for new Ingenic SoCs (Zhou Yanjie) Link: https://lore.kernel.org/r/c14ad27a-b1c6-6043-0f5e-71dd984bb4ba@linaro.org
- Loading branch information
Showing
8 changed files
with
143 additions
and
66 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
This file was deleted.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml
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,64 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Rockchip Timer Device Tree Bindings | ||
|
||
maintainers: | ||
- Daniel Lezcano <daniel.lezcano@linaro.org> | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- const: rockchip,rk3288-timer | ||
- const: rockchip,rk3399-timer | ||
- items: | ||
- enum: | ||
- rockchip,rv1108-timer | ||
- rockchip,rk3036-timer | ||
- rockchip,rk3066-timer | ||
- rockchip,rk3188-timer | ||
- rockchip,rk3228-timer | ||
- rockchip,rk3229-timer | ||
- rockchip,rk3288-timer | ||
- rockchip,rk3368-timer | ||
- rockchip,px30-timer | ||
- const: rockchip,rk3288-timer | ||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 2 | ||
maxItems: 2 | ||
|
||
clock-names: | ||
items: | ||
- const: pclk | ||
- const: timer | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- clock-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/clock/rk3288-cru.h> | ||
timer: timer@ff810000 { | ||
compatible = "rockchip,rk3288-timer"; | ||
reg = <0xff810000 0x20>; | ||
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&cru PCLK_TIMER>, <&xin24m>; | ||
clock-names = "pclk", "timer"; | ||
}; |
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
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