Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2076468lqo; Mon, 13 May 2024 07:17:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXP38/1uBHl+IPqUNZSsa2crHaMBpIMwC1acuqt1+aSG77KGumbJafCeUSeKZ3cNhIeVbTgxZBONZtzOQoCztR2bgUvTCUq5xVA47MzAw== X-Google-Smtp-Source: AGHT+IH3FI2iTqL8IaORwryWWuIRal0G3Vwc7OHwTr+3ohoTynbjT66a2k/tpJP2NmSjCst43aB2 X-Received: by 2002:a17:90b:1086:b0:2b1:1670:d8be with SMTP id 98e67ed59e1d1-2b6cc7592afmr8068530a91.14.1715609867344; Mon, 13 May 2024 07:17:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715609867; cv=pass; d=google.com; s=arc-20160816; b=uZBDuCxPtKkjkpBufPD2tFShKfT5yKmxrDxeMB6omm8PmHnEAzSF/k2wqetKaXwge0 vEybSmhkF9RcY+wBEC+35wZc2qFoM7eMsFIUIWCJfiF0VQbdxBmKrxU4aPJokFcnDO93 quN/khSVMLG5AIvPHOBv3AQejdxUeYBl0EhDq3CZvqW7s0D/JhFdbv4CnOKd51CwIusQ EJiCa6nfVw6ygzUCJI9Z0J8UgIc7Rj5cacfNhdUVztpeyTge9qsy+YZmPJPL1IdWsrsT 7ZjeHADnr7c1epHByTo9nuZ/poYxij36shFqOgZcJHOtXyXRcSKZ6Y2MQpNWXRa2f+1G Xg+g== 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=rVwdwZ3aobLLmEsK61l8v6toRz0oVrZ4dXD+XBqDdC8=; fh=RnHiNy/OGnApU0BmKfIfEN6hWtIqJceC7qSbAYCM/wk=; b=rzsayNyqhTjyImzbvq8oruweZCHPiqPTYI13AKb7vdzqfEYzOugxLGjIXngqLC6zFM ebMB3L2z2Hq0yetfQ90xgPgnS/FdLLbCvhTJPfJ2fjlLULMVTKNrdOeV9p/MbjeTiXYS rrau3WtqU7hb+KJGsXiA1CT8Grn+55C8MtI7j0FZeoQu2ieDvlSw7Y6/6fGr6KniSi4X WX0BFXML26dcYb2+W0XEMcw2EUkcLeUzzN4qRoepjosX8DQ3DbmUvKu3URQTZwX8JnAs c0Fw4Y+v8EWxw7mkkx6wGZRIp21DJSxHKBjP+sGI24Rvzvw9tQz1piHRB1BtWbbi6qLG diOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W91De+dP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b6290d454esi11339173a91.187.2024.05.13.07.17.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W91De+dP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177687-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EF8A2281644 for ; Mon, 13 May 2024 14:17:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DAD3153BC0; Mon, 13 May 2024 14:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="W91De+dP" 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 7AC4E153BC1; Mon, 13 May 2024 14:17:40 +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=1715609860; cv=none; b=M2IHpd06NqFujy7Cs9GtNPxRBKN8XbhwcWl/sHCLt3U8xhyRIbct5aBSb64GRPTfpQYK4NQbTl8JzQisCdp9BSXrg9WKr1bcRCU+NofWr1gvnibK5FhFEITiKj9kUNiZ72HTOCY3X/AETHMfqh9z9u3kFsXJ2s1M/w5NOH1EMJs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715609860; c=relaxed/simple; bh=/vPJpE4pp5NAuUGy0qriY6DZV2OLGz/Fs1yxdax2XUU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MJ54NF4wAOtNZqw+JuQ5GVpNW+LyeXUv4v3575gSQZXWY2oj7NkWqnIPPVZ4mGWCzVc723fHPTGuqe2l/AMjxiRzKw/XlQ6hmxwOYOqaNY/yYgg2ZcCy4DpyeHK1n/S+pBhvJCgosZxd2JBWkw/pBZqhfMzjXiHFWnJr9RJK+UA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=W91De+dP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68C7BC4AF0C; Mon, 13 May 2024 14:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715609860; bh=/vPJpE4pp5NAuUGy0qriY6DZV2OLGz/Fs1yxdax2XUU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=W91De+dPXNkp8Cg8/fH0pR2jb23Nd2ZlKNyCC0Q2DVKlM/fcqagl4F28UsxaE0aIx P87FJ6agLNCUKoK7MBVUlkf3HEOnJVCL0Dahrlow/rA3meYeUYvQ5pFbFiHhIaa8EL IXT42kj9JrnedzcnLNscgQzAv+r4wZs9aX2G5Csd+K5geeotS6TaIGGJUKbWp+GWbM PNc1SVMqL7JPSclnPVVNqVAKOLEfDMXEDHdPtW4joJUNZSU7XYMG+TgzT+EAVV/1If xc2Tv4VxQDNsWveO5PvjxV3pEb/181d+2fXde243vqvMSjBUWGNE69QxeLhKbEbLgg +9lMhOPl5Yq2g== Message-ID: Date: Mon, 13 May 2024 16:17:31 +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: =?UTF-8?B?TElBTktVTiBZQU5HICjmnajov57lnaQp?= , "robh+dt@kernel.org" , =?UTF-8?B?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= , "chunkuang.hu@kernel.org" , =?UTF-8?B?TWFjIFNoZW4gKOayiOS/iik=?= , "tzimmermann@suse.de" , "mripard@kernel.org" , =?UTF-8?B?Sml0YW8gU2hpICjnn7PorrDmtpsp?= , "daniel@ffwll.ch" , "p.zabel@pengutronix.de" , "maarten.lankhorst@linux.intel.com" , "conor+dt@kernel.org" , "kishon@kernel.org" , "airlied@gmail.com" , "krzysztof.kozlowski+dt@linaro.org" , "vkoul@kernel.org" , "matthias.bgg@gmail.com" , Project_Global_Chrome_Upstream_Group , "angelogioacchino.delregno@collabora.com" Cc: "dri-devel@lists.freedesktop.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mediatek@lists.infradead.org" , "linux-phy@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" References: <20240510110523.12524-1-liankun.yang@mediatek.com> <20240510110523.12524-3-liankun.yang@mediatek.com> <3f387c9e8ac34ca25ec7b6bfb02536cd4ebbc508.camel@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/G23PcowM1CwPurC8sAVs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lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <3f387c9e8ac34ca25ec7b6bfb02536cd4ebbc508.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 13/05/2024 16:15, LIANKUN YANG (杨连坤) wrote: > On Mon, 2024-05-13 at 08:37 +0200, Krzysztof Kozlowski wrote: >> >> External email : Please do not click links or open attachments until >> you have verified the sender or the content. >> 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 >> > > I used scripts/checkpatch.pl and fix reported error and warnings. > I am resumbmitting bindings by the MOST BASIC review. No, please wait. Who did the basic review of your patch? Who from Mediatek? Upstream is not a workhorse to use instead of your resources for the absolute basic stuff... This feels such exploiting. Best regards, Krzysztof