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: serio: add Arm PL050 DT schema

The Arm PL050 "Keyboard/Mouse Interface" is an Arm system IP providing a
PS/2 compatible serial interface.

Add a simple DT schema binding, based on the TRM[1], the existing DTs and
the Linux driver.

[1] https://developer.arm.com/documentation/ddi0143/latest

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220506140533.3566431-6-andre.przywara@arm.com

authored by

Andre Przywara and committed by
Rob Herring
97ef3551 b8559347

+67
+67
Documentation/devicetree/bindings/serio/arm,pl050.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serio/arm,pl050.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Arm Ltd. PrimeCell PL050 PS/2 Keyboard/Mouse Interface 8 + 9 + maintainers: 10 + - Andre Przywara <andre.przywara@arm.com> 11 + 12 + description: 13 + The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant 14 + peripheral that can be used to implement a keyboard or mouse interface that 15 + is IBM PS2 or AT compatible. 16 + 17 + # We need a select here so we don't match all nodes with 'arm,primecell' 18 + select: 19 + properties: 20 + compatible: 21 + contains: 22 + const: arm,pl050 23 + required: 24 + - compatible 25 + 26 + properties: 27 + compatible: 28 + items: 29 + - const: arm,pl050 30 + - const: arm,primecell 31 + 32 + reg: 33 + maxItems: 1 34 + 35 + interrupts: 36 + maxItems: 1 37 + 38 + clocks: 39 + items: 40 + - description: KMI reference clock, used to generate the bus timing 41 + - description: APB register access clock 42 + 43 + clock-names: 44 + items: 45 + - const: KMIREFCLK 46 + - const: apb_pclk 47 + 48 + required: 49 + - compatible 50 + - reg 51 + - interrupts 52 + - clocks 53 + - clock-names 54 + 55 + additionalProperties: false 56 + 57 + examples: 58 + - | 59 + serio@70000 { 60 + compatible = "arm,pl050", "arm,primecell"; 61 + reg = <0x070000 0x1000>; 62 + interrupts = <8>; 63 + clocks = <&mb_clk24mhz>, <&soc_smc50mhz>; 64 + clock-names = "KMIREFCLK", "apb_pclk"; 65 + }; 66 + 67 + ...