From: Youngmin Nam <youngmin.nam@samsung.com> To: krzysztof.kozlowski@canonical.com Cc: daniel.lezcano@linaro.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, pullip.cho@samsung.com, hoony.yu@samsung.com, hajun.sung@samsung.com, myung-su.cha@samsung.com, Youngmin Nam <youngmin.nam@samsung.com> Subject: [PATCH v1 2/2] dt-bindings: timer: samsung,s5e99xx-mct: Document s5e99xx-mct bindings Date: Thu, 21 Oct 2021 15:18:04 +0900 [thread overview] Message-ID: <20211021061804.39118-3-youngmin.nam@samsung.com> (raw) In-Reply-To: <20211021061804.39118-1-youngmin.nam@samsung.com> Add the MCT version 2 bindings for the s5e99xx SoC from samsung. Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com> --- .../bindings/timer/samsung,s5e99xx-mct.yaml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml diff --git a/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml new file mode 100644 index 000000000000..c887c7797ca8 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/samsung,s5e99xx-mct.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Multi Core Timer (MCT) + +maintainers: + - Krzysztof Kozlowski <krzk@kernel.org> + +description: |+ + The Samsung's Multi Core Timer (MCT) version 2 module includes + one 64-bit FRC(Free Running Counter) and 12 comparators. + The FRC serves up-counter and starts running at power-on. + The 12 comparators use the FRC value to produce interrupts. + They will produce interrupts when their internal value is matched with the FRC value. + Theses interrupts can be used as local timer interrupt of each CPU. + +properties: + compatible: + enum: + - samsung,s5e99xx-mct + + clocks: + items: + - description: OSC clock + - description: PCLK clock + - description: RTC clock(optional) + minItems: 2 + + clock-names: + items: + - const: fin_pll + - const: mct + - const: rtc + minItems: 2 + + reg: + maxItems: 1 + + interrupts: + description: | + Interrupts should be put in specific order. + 0: Local Timer Interrupt 0 + 1: Local Timer Interrupt 1 + 2: Local Timer Interrupt 2 + 3: .. + 4: .. + i: Local Timer Interrupt n + minItems: 1 # 1 local timer interrupts + maxItems: 12 # 12 local timer interrupts + + div: + description: If present, OSC clock freqency will be divided with this value. + And the divided value will be provided to MCT module. + +required: + - compatible + - clock-names + - clocks + - interrupts + - reg + +additionalProperties: false + +examples: + - | + // In this example, the IP contains 12 local timers, using separate interrupts, + // so 12 local timer interrupts have been specified, + #include <dt-bindings/interrupt-controller/arm-gic.h> + + timer@10050000 { + compatible = "samsung,s5e99xx-mct"; + reg = <0x10050000 0x800>; + clocks = <&clock 1>, <&clock 10>; + clock-names = "fin_pll", "mct"; + + interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.33.0
WARNING: multiple messages have this Message-ID (diff)
From: Youngmin Nam <youngmin.nam@samsung.com> To: krzysztof.kozlowski@canonical.com Cc: daniel.lezcano@linaro.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, pullip.cho@samsung.com, hoony.yu@samsung.com, hajun.sung@samsung.com, myung-su.cha@samsung.com, Youngmin Nam <youngmin.nam@samsung.com> Subject: [PATCH v1 2/2] dt-bindings: timer: samsung,s5e99xx-mct: Document s5e99xx-mct bindings Date: Thu, 21 Oct 2021 15:18:04 +0900 [thread overview] Message-ID: <20211021061804.39118-3-youngmin.nam@samsung.com> (raw) In-Reply-To: <20211021061804.39118-1-youngmin.nam@samsung.com> Add the MCT version 2 bindings for the s5e99xx SoC from samsung. Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com> --- .../bindings/timer/samsung,s5e99xx-mct.yaml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml diff --git a/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml new file mode 100644 index 000000000000..c887c7797ca8 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/samsung,s5e99xx-mct.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/samsung,s5e99xx-mct.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Multi Core Timer (MCT) + +maintainers: + - Krzysztof Kozlowski <krzk@kernel.org> + +description: |+ + The Samsung's Multi Core Timer (MCT) version 2 module includes + one 64-bit FRC(Free Running Counter) and 12 comparators. + The FRC serves up-counter and starts running at power-on. + The 12 comparators use the FRC value to produce interrupts. + They will produce interrupts when their internal value is matched with the FRC value. + Theses interrupts can be used as local timer interrupt of each CPU. + +properties: + compatible: + enum: + - samsung,s5e99xx-mct + + clocks: + items: + - description: OSC clock + - description: PCLK clock + - description: RTC clock(optional) + minItems: 2 + + clock-names: + items: + - const: fin_pll + - const: mct + - const: rtc + minItems: 2 + + reg: + maxItems: 1 + + interrupts: + description: | + Interrupts should be put in specific order. + 0: Local Timer Interrupt 0 + 1: Local Timer Interrupt 1 + 2: Local Timer Interrupt 2 + 3: .. + 4: .. + i: Local Timer Interrupt n + minItems: 1 # 1 local timer interrupts + maxItems: 12 # 12 local timer interrupts + + div: + description: If present, OSC clock freqency will be divided with this value. + And the divided value will be provided to MCT module. + +required: + - compatible + - clock-names + - clocks + - interrupts + - reg + +additionalProperties: false + +examples: + - | + // In this example, the IP contains 12 local timers, using separate interrupts, + // so 12 local timer interrupts have been specified, + #include <dt-bindings/interrupt-controller/arm-gic.h> + + timer@10050000 { + compatible = "samsung,s5e99xx-mct"; + reg = <0x10050000 0x800>; + clocks = <&clock 1>, <&clock 10>; + clock-names = "fin_pll", "mct"; + + interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.33.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-10-21 5:51 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <CGME20211021055104epcas2p4bd5278e58860af8c136a850c0f080087@epcas2p4.samsung.com> 2021-10-21 6:18 ` [PATCH v1 0/2] Indroduce Exynos Multi Core Timer version 2 Youngmin Nam 2021-10-21 6:18 ` Youngmin Nam [not found] ` <CGME20211021055112epcas2p278145beb21cd6cc4217813a41c1e1407@epcas2p2.samsung.com> 2021-10-21 6:18 ` [PATCH v1 1/2] clocksource/drivers/exynos_mct_v2: introduce Exynos MCT version 2 driver for next Exynos SoC Youngmin Nam 2021-10-21 6:18 ` Youngmin Nam 2021-10-21 6:18 ` Krzysztof Kozlowski 2021-10-21 6:18 ` Krzysztof Kozlowski 2021-10-21 8:26 ` Youngmin Nam 2021-10-21 8:26 ` Youngmin Nam 2021-10-21 8:07 ` Krzysztof Kozlowski 2021-10-21 8:07 ` Krzysztof Kozlowski 2021-10-22 4:21 ` Youngmin Nam 2021-10-22 4:21 ` Youngmin Nam 2021-10-25 8:18 ` Krzysztof Kozlowski 2021-10-25 8:18 ` Krzysztof Kozlowski 2021-10-26 1:47 ` Youngmin Nam 2021-10-26 1:47 ` Youngmin Nam 2021-10-26 7:10 ` Krzysztof Kozlowski 2021-10-26 7:10 ` Krzysztof Kozlowski 2021-10-26 10:45 ` Youngmin Nam 2021-10-26 10:45 ` Youngmin Nam 2021-10-26 11:00 ` Krzysztof Kozlowski 2021-10-26 11:00 ` Krzysztof Kozlowski [not found] ` <CGME20211027011125epcas2p2916524051416ede854b750c91a19073b@epcas2p2.samsung.com> 2021-10-27 1:38 ` Youngmin Nam 2021-10-27 1:38 ` Youngmin Nam 2021-10-27 6:39 ` Krzysztof Kozlowski 2021-10-27 6:39 ` Krzysztof Kozlowski 2021-11-01 6:04 ` Youngmin Nam 2021-11-01 6:04 ` Youngmin Nam 2021-10-27 7:34 ` Will Deacon 2021-10-27 7:34 ` Will Deacon 2021-10-29 3:54 ` Youngmin Nam 2021-10-29 3:54 ` Youngmin Nam 2021-10-26 11:00 ` Krzysztof Kozlowski 2021-10-26 11:00 ` Krzysztof Kozlowski 2021-10-27 8:38 ` Krzysztof Kozlowski 2021-10-27 8:38 ` Krzysztof Kozlowski 2021-11-01 5:25 ` Youngmin Nam 2021-11-01 5:25 ` Youngmin Nam [not found] ` <CGME20211021055115epcas2p158fbf3ac61d3deeb5995bd100d7edef1@epcas2p1.samsung.com> 2021-10-21 6:18 ` Youngmin Nam [this message] 2021-10-21 6:18 ` [PATCH v1 2/2] dt-bindings: timer: samsung,s5e99xx-mct: Document s5e99xx-mct bindings Youngmin Nam
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211021061804.39118-3-youngmin.nam@samsung.com \ --to=youngmin.nam@samsung.com \ --cc=daniel.lezcano@linaro.org \ --cc=hajun.sung@samsung.com \ --cc=hoony.yu@samsung.com \ --cc=krzysztof.kozlowski@canonical.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=myung-su.cha@samsung.com \ --cc=pullip.cho@samsung.com \ --cc=tglx@linutronix.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.