Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pwm: thead: Add T-HEAD TH1520 PWM controller

Add the Device Tree binding documentation for the T-HEAD
TH1520 SoC PWM controller.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Drew Fustini <fustini@kernel.org>
Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Link: https://patch.msgid.link/20251016-rust-next-pwm-working-fan-for-sending-v16-5-a5df2405d2bd@samsung.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Michal Wilczynski and committed by
Uwe Kleine-König
a367b64b e03724aa

+49
+48
Documentation/devicetree/bindings/pwm/thead,th1520-pwm.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/pwm/thead,th1520-pwm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: T-HEAD TH1520 PWM controller 8 + 9 + maintainers: 10 + - Michal Wilczynski <m.wilczynski@samsung.com> 11 + 12 + allOf: 13 + - $ref: pwm.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: thead,th1520-pwm 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + clocks: 23 + items: 24 + - description: SoC PWM clock 25 + 26 + "#pwm-cells": 27 + const: 3 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - clocks 33 + 34 + unevaluatedProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/clock/thead,th1520-clk-ap.h> 39 + soc { 40 + #address-cells = <2>; 41 + #size-cells = <2>; 42 + pwm@ffec01c000 { 43 + compatible = "thead,th1520-pwm"; 44 + reg = <0xff 0xec01c000 0x0 0x4000>; 45 + clocks = <&clk CLK_PWM>; 46 + #pwm-cells = <3>; 47 + }; 48 + };
+1
MAINTAINERS
··· 22179 22179 F: Documentation/devicetree/bindings/mailbox/thead,th1520-mbox.yaml 22180 22180 F: Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml 22181 22181 F: Documentation/devicetree/bindings/pinctrl/thead,th1520-pinctrl.yaml 22182 + F: Documentation/devicetree/bindings/pwm/thead,th1520-pwm.yaml 22182 22183 F: Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml 22183 22184 F: arch/riscv/boot/dts/thead/ 22184 22185 F: drivers/clk/thead/clk-th1520-ap.c