-
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.
spi: Convert bcm63xx-hsspi bindings to json-schema
This is the preparation for updates on the bcm63xx hsspi driver. Convert the text based bindings to json-schema per new dts requirement. Signed-off-by: William Zhang <william.zhang@broadcom.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230207065826.285013-2-william.zhang@broadcom.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
William Zhang
authored and
Mark Brown
committed
Feb 9, 2023
1 parent
7db738b
commit fff948a
Showing
2 changed files
with
55 additions
and
33 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
Documentation/devicetree/bindings/spi/brcm,bcm63xx-hsspi.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,55 @@ | ||
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/spi/brcm,bcm63xx-hsspi.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Broadcom BCM6328 High Speed SPI controller | ||
|
||
maintainers: | ||
- Jonas Gorski <jonas.gorski@gmail.com> | ||
|
||
properties: | ||
compatible: | ||
const: brcm,bcm6328-hsspi | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: SPI master reference clock | ||
- description: SPI master pll clock | ||
|
||
clock-names: | ||
items: | ||
- const: hsspi | ||
- const: pll | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- interrupts | ||
|
||
allOf: | ||
- $ref: spi-controller.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
spi@10001000 { | ||
compatible = "brcm,bcm6328-hsspi"; | ||
reg = <0x10001000 0x600>; | ||
interrupts = <29>; | ||
clocks = <&clkctl 9>, <&hsspi_pll>; | ||
clock-names = "hsspi", "pll"; | ||
num-cs = <2>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; |
33 changes: 0 additions & 33 deletions
33
Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt
This file was deleted.
Oops, something went wrong.