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

media: dt-bindings: aspeed,video-engine: Convert to json schema

Convert aspeed-video.txt to yaml format.
Update aspeed-video.txt to aspeed,video-engine.yaml in MAINTAINER file.

Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>

authored by

Jammy Huang and committed by
Hans Verkuil
5fae33f9 3a544a39

+71 -34
+70
Documentation/devicetree/bindings/media/aspeed,video-engine.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/media/aspeed,video-engine.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ASPEED Video Engine 8 + 9 + maintainers: 10 + - Eddie James <eajames@linux.ibm.com> 11 + 12 + description: 13 + The Video Engine (VE) embedded in the ASPEED SOCs can be configured to 14 + capture and compress video data from digital or analog sources. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - aspeed,ast2400-video-engine 20 + - aspeed,ast2500-video-engine 21 + - aspeed,ast2600-video-engine 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 2 28 + 29 + clock-names: 30 + items: 31 + - const: vclk 32 + - const: eclk 33 + 34 + resets: 35 + maxItems: 1 36 + 37 + interrupts: 38 + maxItems: 1 39 + 40 + memory-region: 41 + maxItems: 1 42 + description: | 43 + Phandle to the reserved memory nodes to be associated with the 44 + VE. VE will acquires memory space for 3 purposes: 45 + 1. JPEG header 46 + 2. Compressed result 47 + 3. Temporary transformed image data 48 + 49 + required: 50 + - compatible 51 + - reg 52 + - clocks 53 + - clock-names 54 + - interrupts 55 + 56 + additionalProperties: false 57 + 58 + examples: 59 + - | 60 + #include <dt-bindings/interrupt-controller/arm-gic.h> 61 + #include <dt-bindings/clock/ast2600-clock.h> 62 + 63 + video@1e700000 { 64 + compatible = "aspeed,ast2600-video-engine"; 65 + reg = <0x1e700000 0x1000>; 66 + clocks = <&syscon ASPEED_CLK_GATE_VCLK>, 67 + <&syscon ASPEED_CLK_GATE_ECLK>; 68 + clock-names = "vclk", "eclk"; 69 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 70 + };
-33
Documentation/devicetree/bindings/media/aspeed-video.txt
··· 1 - * Device tree bindings for Aspeed Video Engine 2 - 3 - The Video Engine (VE) embedded in the Aspeed AST2400/2500/2600 SOCs can 4 - capture and compress video data from digital or analog sources. 5 - 6 - Required properties: 7 - - compatible: "aspeed,ast2400-video-engine" or 8 - "aspeed,ast2500-video-engine" or 9 - "aspeed,ast2600-video-engine" 10 - - reg: contains the offset and length of the VE memory region 11 - - clocks: clock specifiers for the syscon clocks associated with 12 - the VE (ordering must match the clock-names property) 13 - - clock-names: "vclk" and "eclk" 14 - - resets: reset specifier for the syscon reset associated with 15 - the VE 16 - - interrupts: the interrupt associated with the VE on this platform 17 - 18 - Optional properties: 19 - - memory-region: 20 - phandle to a memory region to allocate from, as defined in 21 - Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt 22 - 23 - Example: 24 - 25 - video-engine@1e700000 { 26 - compatible = "aspeed,ast2500-video-engine"; 27 - reg = <0x1e700000 0x20000>; 28 - clocks = <&syscon ASPEED_CLK_GATE_VCLK>, <&syscon ASPEED_CLK_GATE_ECLK>; 29 - clock-names = "vclk", "eclk"; 30 - resets = <&syscon ASPEED_RESET_VIDEO>; 31 - interrupts = <7>; 32 - memory-region = <&video_engine_memory>; 33 - };
+1 -1
MAINTAINERS
··· 3549 3549 L: linux-media@vger.kernel.org 3550 3550 L: openbmc@lists.ozlabs.org (moderated for non-subscribers) 3551 3551 S: Maintained 3552 - F: Documentation/devicetree/bindings/media/aspeed-video.txt 3552 + F: Documentation/devicetree/bindings/media/aspeed,video-engine.yaml 3553 3553 F: drivers/media/platform/aspeed/ 3554 3554 3555 3555 ASUS EC HARDWARE MONITOR DRIVER