Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: Add rk3576 hdptx phy

Add compatible for the HDPTX PHY on rk3576, which is compatible with
rk3588, but without rst_phy/rst_ropll/rst_lcpll.

In fact, these three reset lines are also optional on the rk3588,
they just used for debug, then they were removed on the rk3576 IC
design.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20241231092721.252405-1-andyshrk@163.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Andy Yan and committed by
Vinod Koul
ad205ffc f08d1c08

+44 -18
+44 -18
Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml
··· 11 11 12 12 properties: 13 13 compatible: 14 - enum: 15 - - rockchip,rk3588-hdptx-phy 14 + oneOf: 15 + - enum: 16 + - rockchip,rk3588-hdptx-phy 17 + - items: 18 + - enum: 19 + - rockchip,rk3576-hdptx-phy 20 + - const: rockchip,rk3588-hdptx-phy 16 21 17 22 reg: 18 23 maxItems: 1 ··· 39 34 const: 0 40 35 41 36 resets: 42 - items: 43 - - description: PHY reset line 44 - - description: APB reset line 45 - - description: INIT reset line 46 - - description: CMN reset line 47 - - description: LANE reset line 48 - - description: ROPLL reset line 49 - - description: LCPLL reset line 37 + minItems: 4 38 + maxItems: 7 50 39 51 40 reset-names: 52 - items: 53 - - const: phy 54 - - const: apb 55 - - const: init 56 - - const: cmn 57 - - const: lane 58 - - const: ropll 59 - - const: lcpll 41 + minItems: 4 42 + maxItems: 7 60 43 61 44 rockchip,grf: 62 45 $ref: /schemas/types.yaml#/definitions/phandle ··· 59 66 - resets 60 67 - reset-names 61 68 - rockchip,grf 69 + 70 + allOf: 71 + - if: 72 + properties: 73 + compatible: 74 + contains: 75 + enum: 76 + - rockchip,rk3576-hdptx-phy 77 + then: 78 + properties: 79 + resets: 80 + minItems: 4 81 + maxItems: 4 82 + reset-names: 83 + items: 84 + - const: apb 85 + - const: init 86 + - const: cmn 87 + - const: lane 88 + else: 89 + properties: 90 + resets: 91 + minItems: 7 92 + maxItems: 7 93 + reset-names: 94 + items: 95 + - const: phy 96 + - const: apb 97 + - const: init 98 + - const: cmn 99 + - const: lane 100 + - const: ropll 101 + - const: lcpll 62 102 63 103 additionalProperties: false 64 104