-
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: phy: Add Rockchip HDMI/eDP Combo PHY schema
Add dt-binding schema for the HDMI/eDP Transmitter Combo PHY found on Rockchip RK3588 SoC. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20240214-phy-hdptx-v4-1-e7974f46c1a7@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
- Loading branch information
Cristian Ciocaltea
authored and
Vinod Koul
committed
Feb 16, 2024
1 parent
bc25f0b
commit 3312a0e
Showing
1 changed file
with
91 additions
and
0 deletions.
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.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,91 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/phy/rockchip,rk3588-hdptx-phy.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Rockchip SoC HDMI/eDP Transmitter Combo PHY | ||
|
||
maintainers: | ||
- Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- rockchip,rk3588-hdptx-phy | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: Reference clock | ||
- description: APB clock | ||
|
||
clock-names: | ||
items: | ||
- const: ref | ||
- const: apb | ||
|
||
"#phy-cells": | ||
const: 0 | ||
|
||
resets: | ||
items: | ||
- description: PHY reset line | ||
- description: APB reset line | ||
- description: INIT reset line | ||
- description: CMN reset line | ||
- description: LANE reset line | ||
- description: ROPLL reset line | ||
- description: LCPLL reset line | ||
|
||
reset-names: | ||
items: | ||
- const: phy | ||
- const: apb | ||
- const: init | ||
- const: cmn | ||
- const: lane | ||
- const: ropll | ||
- const: lcpll | ||
|
||
rockchip,grf: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: Some PHY related data is accessed through GRF regs. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- "#phy-cells" | ||
- resets | ||
- reset-names | ||
- rockchip,grf | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/rockchip,rk3588-cru.h> | ||
#include <dt-bindings/reset/rockchip,rk3588-cru.h> | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
phy@fed60000 { | ||
compatible = "rockchip,rk3588-hdptx-phy"; | ||
reg = <0x0 0xfed60000 0x0 0x2000>; | ||
clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>; | ||
clock-names = "ref", "apb"; | ||
#phy-cells = <0>; | ||
resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>, | ||
<&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>, | ||
<&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>, | ||
<&cru SRST_HDPTX0_LCPLL>; | ||
reset-names = "phy", "apb", "init", "cmn", "lane", "ropll", "lcpll"; | ||
rockchip,grf = <&hdptxphy_grf>; | ||
}; | ||
}; |