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

dt-bindings: Add bindings for peci-npcm

Add device tree bindings for the peci-npcm controller driver.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Tyrone Ting <warp5tw@gmail.com>
Co-developed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20230727202126.1477515-2-iwona.winiarska@intel.com

authored by

Tomer Maimon and committed by
Iwona Winiarska
c8955701 621995b6

+56
+56
Documentation/devicetree/bindings/peci/nuvoton,npcm-peci.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/peci/nuvoton,npcm-peci.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Nuvoton PECI Bus 8 + 9 + maintainers: 10 + - Tomer Maimon <tmaimon77@gmail.com> 11 + 12 + allOf: 13 + - $ref: peci-controller.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - nuvoton,npcm750-peci 19 + - nuvoton,npcm845-peci 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupts: 25 + maxItems: 1 26 + 27 + clocks: 28 + description: 29 + Clock source for PECI controller. Should reference the APB clock. 30 + maxItems: 1 31 + 32 + cmd-timeout-ms: 33 + minimum: 1 34 + maximum: 1000 35 + default: 1000 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - interrupts 41 + - clocks 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h> 48 + #include <dt-bindings/interrupt-controller/arm-gic.h> 49 + peci-controller@f0100000 { 50 + compatible = "nuvoton,npcm750-peci"; 51 + reg = <0xf0100000 0x200>; 52 + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 53 + clocks = <&clk NPCM7XX_CLK_APB3>; 54 + cmd-timeout-ms = <1000>; 55 + }; 56 + ...