Rockchip HDMI PHY with Innosilicon IP block
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3228-hdmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3228-hdmi-phy", "rockchip,rk3328-hdmi-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sysclk"
Item 2
Exact value (
const):"refoclk"
Item 3
Exact value (
const):"refpclk"
clock-output-names — required here #
The hdmiphy output clock name, that gets fed back to the CRU.
#clock-cells — required here #
Exact value (const): 0
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle + nvmem specifier for the cpu-version efuse for adjustment to some frequency settings, depending on cpu-version
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-version"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "clock-output-names", "#clock-cells", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3228-hdmi-phy"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3328-hdmi-phy"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3228-cru.h>
hdmi_phy: phy@12030000 {
compatible = "rockchip,rk3228-hdmi-phy";
reg = <0x12030000 0x10000>;
#phy-cells = <0>;
clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMI_PHY>;
clock-names = "sysclk", "refoclk", "refpclk";
#clock-cells = <0>;
clock-output-names = "hdmi_phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)