-
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 the Amlogic Meson8 HDMI TX PHY bindings
Amlogic Meson8, Meson8b and Meson8m2 all include an identical (or at least very similar) HDMI TX PHY. The PHY registers are part of the HHI register area. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211020195107.1564533-2-martin.blumenstingl@googlemail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
- Loading branch information
Martin Blumenstingl
authored and
Vinod Koul
committed
Nov 23, 2021
1 parent
f199223
commit 3870a48
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
Documentation/devicetree/bindings/phy/amlogic,meson8-hdmi-tx-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,65 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY | ||
|
||
maintainers: | ||
- Martin Blumenstingl <martin.blumenstingl@googlemail.com> | ||
|
||
description: |+ | ||
The HDMI TX PHY node should be the child of a syscon node with the | ||
required property: | ||
compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon" | ||
Refer to the bindings described in | ||
Documentation/devicetree/bindings/mfd/syscon.yaml | ||
properties: | ||
$nodename: | ||
pattern: "^hdmi-phy@[0-9a-f]+$" | ||
|
||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- amlogic,meson8b-hdmi-tx-phy | ||
- amlogic,meson8m2-hdmi-tx-phy | ||
- const: amlogic,meson8-hdmi-tx-phy | ||
- const: amlogic,meson8-hdmi-tx-phy | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
description: | ||
HDMI TMDS clock | ||
|
||
"#phy-cells": | ||
const: 0 | ||
|
||
required: | ||
- compatible | ||
- "#phy-cells" | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
hdmi-phy@3a0 { | ||
compatible = "amlogic,meson8-hdmi-tx-phy"; | ||
reg = <0x3a0 0xc>; | ||
clocks = <&tmds_clock>; | ||
#phy-cells = <0>; | ||
}; | ||
- | | ||
hdmi-phy@3a0 { | ||
compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy"; | ||
reg = <0x3a0 0xc>; | ||
clocks = <&tmds_clock>; | ||
#phy-cells = <0>; | ||
}; |