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: Add Cirrus EP93xx

Add YAML bindings for ep93xx SoC PWM.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Nikita Shubin and committed by
Arnd Bergmann
824ccabd 2e7f55ce

+53
+53
Documentation/devicetree/bindings/pwm/cirrus,ep9301-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/cirrus,ep9301-pwm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Cirrus Logic ep93xx PWM controller 8 + 9 + maintainers: 10 + - Alexander Sverdlin <alexander.sverdlin@gmail.com> 11 + - Nikita Shubin <nikita.shubin@maquefel.me> 12 + 13 + allOf: 14 + - $ref: pwm.yaml# 15 + 16 + properties: 17 + compatible: 18 + oneOf: 19 + - const: cirrus,ep9301-pwm 20 + - items: 21 + - enum: 22 + - cirrus,ep9302-pwm 23 + - cirrus,ep9307-pwm 24 + - cirrus,ep9312-pwm 25 + - cirrus,ep9315-pwm 26 + - const: cirrus,ep9301-pwm 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + clocks: 32 + items: 33 + - description: SoC PWM clock 34 + 35 + "#pwm-cells": 36 + const: 3 37 + 38 + required: 39 + - compatible 40 + - reg 41 + - clocks 42 + 43 + unevaluatedProperties: false 44 + 45 + examples: 46 + - | 47 + #include <dt-bindings/clock/cirrus,ep9301-syscon.h> 48 + pwm@80910000 { 49 + compatible = "cirrus,ep9301-pwm"; 50 + reg = <0x80910000 0x10>; 51 + clocks = <&syscon EP93XX_CLK_PWM>; 52 + #pwm-cells = <3>; 53 + };