Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1650380lqp; Sat, 23 Mar 2024 03:21:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEZ49MZw8e5QcD8/vApfZayq2m/HdSrXrqtWeSNEKN+OvmEh6jTIlQKZYkvcbcITzv1IKH3rLNaRPMzrX7AhRCSfeyG8QFEU4PDtMHjA== X-Google-Smtp-Source: AGHT+IH2kis1kdSM5FWF2Csuf68YrOCfHa7wXntXraX8cbEsfVJ72Qk59QcRF+eWJzweoylLb0KK X-Received: by 2002:a17:902:9a91:b0:1dd:b6c0:1363 with SMTP id w17-20020a1709029a9100b001ddb6c01363mr1949704plp.69.1711189266630; Sat, 23 Mar 2024 03:21:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711189266; cv=pass; d=google.com; s=arc-20160816; b=hZ913ej5eFVobBXys0x1UjI+KC4XtPegy8dzX62XfMQiK+HXIwfRCvemXmX4iocIWh IXMoSjfHa2M+pUAMXWyVzT69c87XzhaIoss8W/XERDAueHKxEnyKTCKOffglLtPQbt0+ DCYbPFe5YnvCBLc+Ix/9NTf/mVvfSEHGj6AI6Ot8NSv/yC4yfxih8iMxlZVCVtA1v0T1 v5WNUUnfnqTpioiDsATz+MjwCO/4lCl21hww3y1ePFQBy4fHYRsyP/9vo8m4Um+HlilP JY5Q7G6Fvab7UA6sOeg9YBshkbqlByj6Nd9F1POL/3YnP4tplx005XmeFYnkdw3AVF6b FnTA== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=mv+dntp0+Yd5x4FtxAoMVnrAVTs/kYox5gzBd17b5Sk=; fh=iY/5bZr1rkVOzBWe6X+lTwWemiN+UPUGFUCCZwjE+OI=; b=abm3lbj4I4Nj3XfdbgikV0n0WqVU7GEDaAkcJQQiPcpZRPkFAdslJrBb3sSyZO/EA+ oh5LYdzcTmTmMKN2W7zhyiZwLR8zmpGVEnfRJU2jK7XF7kZTJqm0DnclSWNPLlXfhjLj nfDLWYO9kTke3LlfdsjaNoau60XeVNtFPf0VzFKRJ2QRkcJd3PBaKwUfcmBhUVjRYeoH 07PbrwykGSLWfatcb148aLcEn4C+ZxL8r/JfJYby0VP/Cm65i6QxWZgP58yYN13c20is 0PNmX1W7cNNHEm6ugEFt7oW0EFGzrsxKkmh6Uc6x9xvA7gJF7kpXZIbx5W7r/4IXi2Tm evfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gpoxnD/I"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jb22-20020a170903259600b001dccec27e71si1250498plb.384.2024.03.23.03.21.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 03:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gpoxnD/I"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-112286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D7FCAB21490 for ; Sat, 23 Mar 2024 10:21:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 482EF10A14; Sat, 23 Mar 2024 10:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gpoxnD/I" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 027A81A38C9 for ; Sat, 23 Mar 2024 10:20:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711189255; cv=none; b=dBimZe/W0Sf3gfP37vP995lEZCU1O545YDV7GxYY8VnEJSZutOHEip7m7w/QTL7Fhg2MrQAvEyzR0I8PBNhPOu/1Ve9VX9i6r6eJuS4/1BUzMhhqzcDYfF50s+H9LcmvKap9wdH4ndGg+EmwMU9QhfVWMwRrtYRAlsUrp9gTVTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711189255; c=relaxed/simple; bh=dvu4HMkciLRlA9Wv6uzSgwhF/+pW5hAcu4Hxgz8c3DI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZqpzrOp0dUpFwA3bccsA6ay3c9xCRtBVmBNuOikLfKHlFO/qAL5KCta8JKRuWlz/NRQbmVeVYbjZp2qUdfABQDb2MoG9f+ojFT+tihv/3JrTDptDSYqU1Uja0x+Fh8R6x89nE30+a4O0NvW66YRUqMRdDWUZree6bWMCus9A76w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gpoxnD/I; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56bfa192ea1so415442a12.0 for ; Sat, 23 Mar 2024 03:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711189250; x=1711794050; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=mv+dntp0+Yd5x4FtxAoMVnrAVTs/kYox5gzBd17b5Sk=; b=gpoxnD/IKa1guJRyM06Q/P8Mk2ztE4tOoFwpA49USwMpxS1gthx+QO+DYX04mlTUFz pALwlxMa84xEX9RwNMCzhfzGgiFsOLwHeHgqtvJ/spa28xWJqcuNRNRBqPD71Mcs4gUZ h6pfga3DfwzAYSx80ShDXiG4WgeMGM9G0exULttMhaTy2KLEHkLg3nBIMImv8Vq/a4OC d3yCZvKQqZRCay83ZLfm9MH8sVfKXiwlVFz1Er9l15ajLfwfJAO5f0u2nuNEGfX+kOJK AArVxkQnIX9wzJ1b+JJ69zhvux25VX/WVgJ3lG1bBqXutlD/6NcApoi6+vugzG3gxUkV gY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711189250; x=1711794050; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mv+dntp0+Yd5x4FtxAoMVnrAVTs/kYox5gzBd17b5Sk=; b=clbtP3GXyGIe0bhO9O1s8fayxJ7ysfAMgJ3wYw90ruqGc9TUjff3pwlb7QkioCC8wQ IoKcHx/fu+g7pIgPyV9S4xuHtqyPYvEfd1DxIVO4AE9pOPL8O3DqbZCftV0i3ZLN3WZr iu46bG9F0LIEfbUWRqwPo4Fw7hXNr++ov3x8LtgoBEO1KSzIpn8Vn6aKeZfkQ2CFJd5B 39Gbqhow0UZuBztVhLNIxRy8Np5cXMf13JRqqZ3+7aukk1UgBM2tjHruNRSTb69GhjFY eolqtNZfiT3Br4vfmsm1ZqR6gfkLayfl6yA7mZHqa5ipm4rq4MT7QYr8qEKdU/VHtTbo QaaA== X-Forwarded-Encrypted: i=1; AJvYcCUbnS+QimCJ+7GPUkDYd+79/2VxGcKn4Y5JxVigL7qg/Jp42CLeQrHLTDmHFrN3MbLadHFJf61OhKqTl/I7pJXbvZreGsigaL2o8311 X-Gm-Message-State: AOJu0YwaaYC3XiCpjVDMukXhL2Cl/pLkAw2SuWpYp93HWqfj9r/nXza6 +N+5sMCpVG0kiG58x+luPGsWgqfKvMFC2ag9T1dCN7Gw9EFrQVpj+ZEcgY58svI= X-Received: by 2002:a17:906:8cc:b0:a47:3f10:b3c8 with SMTP id o12-20020a17090608cc00b00a473f10b3c8mr1216214eje.26.1711189250183; Sat, 23 Mar 2024 03:20:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id o1-20020a1709061d4100b00a46b4c09670sm755351ejh.131.2024.03.23.03.20.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Mar 2024 03:20:49 -0700 (PDT) Message-ID: Date: Sat, 23 Mar 2024 11:20:46 +0100 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 v3 8/9] dt-bindings: xlnx: Add VTC and TPG bindings To: "Klymenko, Anatoliy" , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , "Simek, Michal" , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab Cc: Tomi Valkeinen , "dri-devel@lists.freedesktop.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-media@vger.kernel.org" References: <20240321-dp-live-fmt-v3-0-d5090d796b7e@amd.com> <20240321-dp-live-fmt-v3-8-d5090d796b7e@amd.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48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5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/03/2024 20:12, Klymenko, Anatoliy wrote: > Hi Krzysztof, > > Thanks a lot for the review. > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Thursday, March 21, 2024 10:59 PM >> To: Klymenko, Anatoliy ; Laurent Pinchart >> ; Maarten Lankhorst >> ; Maxime Ripard ; >> Thomas Zimmermann ; David Airlie >> ; Daniel Vetter ; Simek, Michal >> ; Andrzej Hajda ; Neil >> Armstrong ; Robert Foss ; Jonas >> Karlman ; Jernej Skrabec ; Rob >> Herring ; Krzysztof Kozlowski >> ; Conor Dooley ; >> Mauro Carvalho Chehab >> Cc: Tomi Valkeinen ; dri- >> devel@lists.freedesktop.org; linux-arm-kernel@lists.infradead.org; linux- >> kernel@vger.kernel.org; devicetree@vger.kernel.org; linux- >> media@vger.kernel.org >> Subject: Re: [PATCH v3 8/9] dt-bindings: xlnx: Add VTC and TPG bindings >> >> Caution: This message originated from an External Source. Use proper caution >> when opening attachments, clicking links, or responding. >> >> >> On 21/03/2024 21:43, Anatoliy Klymenko wrote: >>> diff --git a/include/dt-bindings/media/media-bus-format.h b/include/dt- >> bindings/media/media-bus-format.h >>> new file mode 100644 >>> index 000000000000..60fc6e11dabc >>> --- /dev/null >>> +++ b/include/dt-bindings/media/media-bus-format.h >>> @@ -0,0 +1,177 @@ >>> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >>> +/* >>> + * Media Bus API header >>> + * >>> + * Copyright (C) 2009, Guennadi Liakhovetski >>> + * >>> + * This program is free software; you can redistribute it and/or modify >>> + * it under the terms of the GNU General Public License version 2 as >>> + * published by the Free Software Foundation. >> >> That's not true. Your SPDX tells something entirely different. >> > > Thank you - I'll see how to fix it. > >> Anyway, you did not explain why you need to copy anything anywhere. >> >> Specifically, random hex values *are not bindings*. >> > > The same media bus format values are being used by the reference driver in patch #9. And, as far as I know, we cannot use headers from Linux API headers directly (at least I I don't understand what does it mean. You can use in your driver whatever headers you wish, I don't care about them. noticed the same pattern in ../dt-bindings/sdtv-standarts.h for instance). What would be the best approach to reusing the same defines on DT and driver sides from your point of view? Symlink maybe? > Wrap your messages to match mailing list discussion style. There are no defines used in DT. If there are, show me them in *THIS* or other *upstreamed* (being upstreamed) patchset. Whatever you have out of tree or "DO NOT MERGE" does not matter and does not justify anything. Best regards, Krzysztof