mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
yamllint has gained a new check which checks for inconsistent quoting (mixed " and ' quotes within a file). Fix all the cases yamllint found so we can enable the check (once the check is in a release). As single quotes are (slightly) preferred, use them throughout the modified files even if double quotes are mostly used. Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> Acked-by: Jassi Brar <jassisinghbrar@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Lee Jones <lee@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://patch.msgid.link/20251015232015.846282-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
134 lines
2.9 KiB
YAML
134 lines
2.9 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Altera SOCFPGA Clock Manager
|
|
|
|
maintainers:
|
|
- Dinh Nguyen <dinguyen@kernel.org>
|
|
|
|
description:
|
|
This binding describes the Altera SOCFGPA Clock Manager and its associated
|
|
tree of clocks, pll's, and clock gates for the Cyclone5, Arria5 and Arria10
|
|
chip families.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: altr,clk-mgr
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
type: object
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
'#address-cells':
|
|
const: 1
|
|
|
|
'#size-cells':
|
|
const: 0
|
|
|
|
patternProperties:
|
|
'^osc[0-9]$':
|
|
type: object
|
|
|
|
'^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$':
|
|
type: object
|
|
$ref: '#/$defs/clock-props'
|
|
unevaluatedProperties: false
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- altr,socfpga-pll-clock
|
|
- altr,socfpga-perip-clk
|
|
- altr,socfpga-gate-clk
|
|
- altr,socfpga-a10-pll-clock
|
|
- altr,socfpga-a10-perip-clk
|
|
- altr,socfpga-a10-gate-clk
|
|
- fixed-clock
|
|
|
|
clocks:
|
|
description: one or more phandles to input clock
|
|
minItems: 1
|
|
maxItems: 5
|
|
|
|
'#address-cells':
|
|
const: 1
|
|
|
|
'#size-cells':
|
|
const: 0
|
|
|
|
patternProperties:
|
|
'^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$':
|
|
type: object
|
|
$ref: '#/$defs/clock-props'
|
|
unevaluatedProperties: false
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- altr,socfpga-perip-clk
|
|
- altr,socfpga-gate-clk
|
|
- altr,socfpga-a10-perip-clk
|
|
- altr,socfpga-a10-gate-clk
|
|
|
|
clocks:
|
|
description: one or more phandles to input clock
|
|
minItems: 1
|
|
maxItems: 4
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
- '#clock-cells'
|
|
|
|
required:
|
|
- compatible
|
|
- '#clock-cells'
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
$defs:
|
|
clock-props:
|
|
properties:
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#clock-cells':
|
|
const: 0
|
|
|
|
clk-gate:
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
items:
|
|
- description: gating register offset
|
|
- description: bit index
|
|
|
|
div-reg:
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
items:
|
|
- description: divider register offset
|
|
- description: bit shift
|
|
- description: bit width
|
|
|
|
fixed-divider:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
|
|
examples:
|
|
- |
|
|
clkmgr@ffd04000 {
|
|
compatible = "altr,clk-mgr";
|
|
reg = <0xffd04000 0x1000>;
|
|
};
|
|
|
|
...
|