Skip to content

Commit 4bf8b46

Browse files
RayyanAnsarivinodkoul
authored andcommitted
dt-bindings: phy: qcom,sata-phy: convert to dtschema
Convert the bindings for the SATA PHY on both apq8064 and ipq806x from the old text format to yaml. Signed-off-by: Rayyan Ansari <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 8400291 commit 4bf8b46

File tree

3 files changed

+55
-47
lines changed

3 files changed

+55
-47
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/phy/qcom,sata-phy.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm SATA PHY Controller
8+
9+
maintainers:
10+
- Bjorn Andersson <[email protected]>
11+
- Konrad Dybcio <[email protected]>
12+
13+
description:
14+
The Qualcomm SATA PHY describes on-chip SATA Physical layer controllers.
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- qcom,ipq806x-sata-phy
20+
- qcom,apq8064-sata-phy
21+
22+
reg:
23+
maxItems: 1
24+
25+
clocks:
26+
maxItems: 1
27+
28+
clock-names:
29+
const: cfg
30+
31+
'#phy-cells':
32+
const: 0
33+
34+
required:
35+
- compatible
36+
- reg
37+
- clocks
38+
- clock-names
39+
- '#phy-cells'
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
46+
sata_phy: sata-phy@1b400000 {
47+
compatible = "qcom,ipq806x-sata-phy";
48+
reg = <0x1b400000 0x200>;
49+
50+
clocks = <&gcc SATA_PHY_CFG_CLK>;
51+
clock-names = "cfg";
52+
53+
#phy-cells = <0>;
54+
};
55+

Documentation/devicetree/bindings/phy/qcom-apq8064-sata-phy.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

Documentation/devicetree/bindings/phy/qcom-ipq806x-sata-phy.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)