forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller
Add bindings for the Toshiba Visconti PWM Controller. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information
1 parent
ba0d527
commit b0221e7
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 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 <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: toshiba,visconti-pwm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#pwm-cells': | ||
const: 2 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#pwm-cells' | ||
|
||
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>; | ||
}; | ||
}; |