dt-bindings: phy: hisilicon,hi3798cv200-combphy: Convert to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: phy: hisilicon,hi3798cv200-combphy: Convert to DT schema
Convert the hisilicon,hi3798cv200-combphy binding to DT schema format.
Drop the example as arm/hisilicon/controller/hi3798cv200-perictrl.yaml already contains an example of this binding.
--- .../phy/hisilicon,hi3798cv200-combphy.yaml | 57 ++++++++++++++++++ .../bindings/phy/phy-hi3798cv200-combphy.txt | 59 ------------------- 2 files changed, 57 insertions(+), 59 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/phy-hi3798cv200-combphy.txt
Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml new file +57 -0
@@ -0,0 +1,57 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/hisilicon,hi3798cv200-combphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HiSilicon STB PCIE/SATA/USB3 PHY + +maintainers: + - Shawn Guo <[email protected]> + - Jianguo Sun <[email protected]> + +properties: + compatible: + const: hisilicon,hi3798cv200-combphy + + reg: + maxItems: 1 + + '#phy-cells': + description: The cell contains the PHY mode + const: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + hisilicon,fixed-mode: + description: If the phy device doesn't support mode select but a fixed mode + setting, the property should be present to specify the particular mode. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 1, 2, 4] # SATA, PCIE, USB3 + + hisilicon,mode-select-bits: + description: If the phy device support mode select, this property should be + present to specify the register bits in peripheral controller. + items: + - description: register_offset + - description: bit shift + - description: bit mask + +required: + - compatible + - reg + - '#phy-cells' + - clocks + - resets + +oneOf: + - required: ['hisilicon,fixed-mode'] + - required: ['hisilicon,mode-select-bits'] + +additionalProperties: false + +...
Documentation/devicetree/bindings/phy/phy-hi3798cv200-combphy.txt deleted +0 -59
59 lines not on this page · raw message
Signature · 1 line
2.43.0
Rob Herring
maintainerQuoted 21 lines · Rob Herring (Arm)
Convert the hisilicon,hi3798cv200-combphy binding to DT schema format.
Drop the example as
arm/hisilicon/controller/hi3798cv200-perictrl.yamlalready contains an example of this binding.Signed-off-by Rob Herring (Arm) <[email protected]>--- .../phy/hisilicon,hi3798cv200-combphy.yaml | 57 ++++++++++++++++++ .../bindings/phy/phy-hi3798cv200-combphy.txt | 59 ------------------- 2 files changed, 57 insertions(+), 59 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/phy-hi3798cv200-combphy.txtDocumentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml new file +1
-0@@ -0,0 +1,57 @@ +# SPDX-License-Identifier: GPL-2.0
Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml line 11
Quoted 10 lines
Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml new file +10
-0+%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/hisilicon,hi3798cv200-combphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HiSilicon STB PCIE/SATA/USB3 PHY + +maintainers: + - Shawn Guo <[email protected]> + - Jianguo Sun <[email protected]>
And this bounces, so I guess Shawn is stuck with it...
Rob
Quoted 7 lines · Rob Herring (Arm)
Convert the hisilicon,hi3798cv200-combphy binding to DT schema format.
Drop the example as
arm/hisilicon/controller/hi3798cv200-perictrl.yamlalready contains an example of this binding.Signed-off-by Rob Herring (Arm) <[email protected]>
Quoted 6 lines · Rob Herring (Arm)
Convert the hisilicon,hi3798cv200-combphy binding to DT schema format.
Drop the example as
arm/hisilicon/controller/hi3798cv200-perictrl.yamlalready contains an example of this binding.
Applied, thanks!
[1/1] dt-bindings: phy: hisilicon,hi3798cv200-combphy: Convert to DT schema
commit: dd1051f9329880a0749954e601a5ece9a07f8685
Best regards,
Signature · 1 line
Vinod Koul <[email protected]>