Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1856918lqo; Sun, 12 May 2024 23:37:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMfDmXP0ioSbrqEZQCWgYMfH/hQZwhm5zmHuzFq0fEnHI9mElcC2c/VDw0+nbQpnjK8vORyQoy9WBzqDH/4WqrZve0fMoamaLT7Ro55Q== X-Google-Smtp-Source: AGHT+IFMQYD55nZa00raHa5ZlKGob6FI+P6DqxlxeGQcnqvEUgyiNKkvD3+QFCMJDQFdbFlquFhy X-Received: by 2002:a05:6214:54c2:b0:6a0:73a1:b471 with SMTP id 6a1803df08f44-6a168206a32mr133124436d6.41.1715582265565; Sun, 12 May 2024 23:37:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715582265; cv=pass; d=google.com; s=arc-20160816; b=uU3PAyuJXj849+mK9ypC5OexthPNhK+bfDktGoWB1qJUFV9xg1NkmstJSE1AophaEU UPS/jH63KdsKtl0QbbquAn4vVB0mPYM+D6vyd08Lpl2NTbz4UUDMf/apQhbnpAK9x62o 4+g7thO6vcdx6kgJMV7tlFAWnjfFAXi10SOIi0z/qTnh6jx5xTSk5G7ln+uDwlyqp6Lg PnVJKRTBPVcrG/QbrKqjA6L4cYs2h8Kfc1ylbTI2VtKHIci6HyUbP26AjJskYYZeZYX/ RtlMq1XHg9hqPbualv3UMgp73gMPnWUSebp9AuvKgkoiOX24hu0PxXc0daTTxfOgnLxD zpmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=EH1aWNZYWYKcOEz7JbjwgSQKzZB/5HfPJVu+GKQUtig=; fh=J7JpNUOcOaFVy7YfL5YTN325sob1BDZnFGqrn4SPAXQ=; b=cJ6rYpWlUMNvXssco91jsU4a6uXcR5LiOJ3iHdCKU+K+OQsjU+ysfvwx2A8cfxDjyO w1kUC/XewU8xbCTPjI76cGVHn29hSmypCf7MddYp8l83qqCQXXqWg8Dy7Qf++b4Ec3k0 2sY0EfYBQrSp/pHfGx75BK+2XVgfKAcCSDYy2egcwD+lLdJplqJHQfxch3gMbW9I0+Rw FaladzFgSDYSDeSvtKbSh2pm2877P5+WsUUmvgzaLKgpsZnoCj4JGkXtO9PS0M69C55m DSzDBoFrW30RsfIIpI7GKWhMGUBKQWG+bwfgN4e3175fWwtXnT4gkidd6h4tRsBirdDA ja3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pD/Np6Po"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f303039si94154166d6.542.2024.05.12.23.37.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 23:37:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pD/Np6Po"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 41CB81C20DB0 for ; Mon, 13 May 2024 06:37:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 949AE145FEB; Mon, 13 May 2024 06:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pD/Np6Po" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B36F14265; Mon, 13 May 2024 06:37:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715582257; cv=none; b=Y32chRT0yhwGPbPCa5nyzJk2ESnq5qHHJDECSi9Njlte8D9D9TtmJXlNW2Bb+BnSN2EBaEY8q3ovMbl3Jp/sBYxllA6jxjEuPHrOqKijmXKjii0LtsAAALt/eWfeXwH8ZUFWIG0jX6XOAeJahFEI4JMbjX6oFERy2IBATKa02kw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715582257; c=relaxed/simple; bh=S52a+RqrGVrObrUsSMPbS/sGgUDY4gm9+SbH53KZ9OI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ELIvR2eGrYnYg0QwKDUWPSo4NDKFMOpjMkrBEygTxJ7KpWXm9mJqFbLtqvgn3CisMXXHeSQXk1RVuS/YOTyQU7nBUssFC7DKAONp0mPMSkKBtXZgfoWqne+24DVW9rd+JSQXPt/j7q0PDitF6OvO3qc+WTwAWuvTF2B8CGcllsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pD/Np6Po; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1CBEC113CC; Mon, 13 May 2024 06:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715582257; bh=S52a+RqrGVrObrUsSMPbS/sGgUDY4gm9+SbH53KZ9OI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pD/Np6Pocn3xRzPS6Dfcg1ZtVYUoCC+tlMDa4x6CinzBOGJbhENxMkiHxjuzS2K1Z xb6puXRvuBzhyWMoxsVdWg72dI1Lt00hQelKOL6+sp2p7I9oz44kJCvVYyN8JzAixI HDp3h4kh8WNRS+Y+RKSbq4cGjrSDakPwILvoY8WUZ772KewHzkLHWT8Xw58+Sb/+Y5 2wUD5cmOaIPvHyvtO0NR5ETh92Y7YATvfHzRkhBD5oxzfTq+i23S2dFE66TvrgsFg3 L3qxBjqU+l6IxKMm3lk0BdSFyJxDvBG0KrfSVqNjXCRFtmzVU4hgv9hlxDDwA1dH04 4UiSXu8D3TM2A== Message-ID: Date: Mon, 13 May 2024 08:37:29 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] Add dp PHY dt-bindings To: Liankun Yang , chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jitao.shi@mediatek.com, mac.shen@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org References: <20240510110523.12524-1-liankun.yang@mediatek.com> <20240510110523.12524-3-liankun.yang@mediatek.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMB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L6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240510110523.12524-3-liankun.yang@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/05/2024 13:04, Liankun Yang wrote: > Add dp PHY dt-bindings. This tells me nothing. Read submitting patches. > > Changeds in v2: This does goes to changelog, not commit log. > - Add dp PHY dt-bindings. > https://patchwork.kernel.org/project/linux-mediatek/patch/ > 20240403040517.3279-1-liankun.yang@mediatek.com/ > > Signed-off-by: Liankun Yang This patch looks terrible... there's so many wrong things I don't even know where to start. Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters Please run scripts/checkpatch.pl and fix reported warnings. Then please run `scripts/checkpatch.pl --strict` and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. > --- > .../display/mediatek/mediatek.phy-dp.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml Wrong filename > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek.phy-dp.yaml > 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 > + - Liankun yang > + > +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 I think you nicely shocked Rob already. Please reach internally to Mediatek or collaborating companies to get basic training and instructions how to write patches and bindings. Otherwise it is waste of our time. Mediatek is not a small company so there is no excuse in sending such poor quality patches, which would be EASILY spotted by the MOST BASIC review. Best regards, Krzysztof