[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240510124838.GA3916816-robh@kernel.org>
Date: Fri, 10 May 2024 07:48:38 -0500
From: Rob Herring <robh@...nel.org>
To: Liankun Yang <liankun.yang@...iatek.com>
Cc: chunkuang.hu@...nel.org, p.zabel@...gutronix.de, airlied@...il.com,
daniel@...ll.ch, maarten.lankhorst@...ux.intel.com,
mripard@...nel.org, tzimmermann@...e.de,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
chunfeng.yun@...iatek.com, vkoul@...nel.org, kishon@...nel.org,
matthias.bgg@...il.com, angelogioacchino.delregno@...labora.com,
jitao.shi@...iatek.com, mac.shen@...iatek.com,
Project_Global_Chrome_Upstream_Group@...iatek.com,
dri-devel@...ts.freedesktop.org, linux-mediatek@...ts.infradead.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-phy@...ts.infradead.org
Subject: Re: [PATCH v2 2/2] Add dp PHY dt-bindings
On Fri, May 10, 2024 at 07:04:15PM +0800, Liankun Yang wrote:
> Add dp PHY dt-bindings.
>
> Changeds in v2:
> - Add dp PHY dt-bindings.
> https://patchwork.kernel.org/project/linux-mediatek/patch/
> 20240403040517.3279-1-liankun.yang@...iatek.com/
>
> Signed-off-by: Liankun Yang <liankun.yang@...iatek.com>
> ---
> .../display/mediatek/mediatek.phy-dp.yaml | 45 +++++++++++++++++++
> 1 file changed, 45 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml
git refuses to apply your patch because 'new file mode 100644' is
missing. You must have edited the patch or something.
If it did apply, you'd notice it fails testing.
> index 000000000000..476bc329363f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/mediatek/mediatek,phy-dp.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: MediaTek Display Port Controller
> +
> +maintainers:
> + - Mac shen <mac.shen@...iatek.com>
> + - Liankun yang <Liankun.yang@...iatek.com>
> +
> +description: |
> + Special settings need to be configured by MediaTek DP based on the actual
> + hardware situation. For example, when using a certain brand's docking
> + station for display projection, garbage may appear. Adjusting the specific
> + ssc value can resolve this issue.
> +
> +properties:
> + status: disabled
> + description: |
> + Since the DP driver has already registered the DP PHY device
> + through mtk_dp_register_phy(), so the status is disabled.
What!? Please show me any other binding that has 'status' in it. Go read
up on how to write bindings and what goes in them.
> +
> + dp-ssc-setting:
> + - ssc-delta-hbr
> + description: Specific values are set based on the actual HW situation.
> +
> +required:
> + - status
> + - dp-ssc-setting
> +
> +examples:
> + - |
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + phy-dp@...00000 {
> + status = "disabled";
> + dp-ssc-setting {
> + ssc-delta-hbr = <0x01fe>;
> + }
> + };
> + };
> --
> 2.18.0
>
Powered by blists - more mailing lists