mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
43ded59106
Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
46 lines
849 B
YAML
46 lines
849 B
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Toshiba Visconti PWM Controller
|
|
|
|
maintainers:
|
|
- Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
|
|
|
|
allOf:
|
|
- $ref: pwm.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: toshiba,visconti-pwm
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#pwm-cells':
|
|
const: 2
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
soc {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
pwm: pwm@241c0000 {
|
|
compatible = "toshiba,visconti-pwm";
|
|
reg = <0 0x241c0000 0 0x1000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pwm_mux>;
|
|
#pwm-cells = <2>;
|
|
};
|
|
};
|