Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp420033lqz; Sat, 30 Mar 2024 02:27:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIUBnMarVR9rcJeCyPdPHUsQdhcHxk55Vq+8SslUj5Eu3vhRQAv7MHDxA0xs8nARBau1Q29941B+rxvpOjk77qWjksz6hwDfS64M0aAw== X-Google-Smtp-Source: AGHT+IFWiKJNyE2JOPlMgpB+8mltbhW9WJ0PZJD+cQowKqknGGA7pwhFt2EE8Ha+QTOVA0X0axCt X-Received: by 2002:a17:906:30db:b0:a47:7795:db82 with SMTP id b27-20020a17090630db00b00a477795db82mr3543072ejb.34.1711790842672; Sat, 30 Mar 2024 02:27:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711790842; cv=pass; d=google.com; s=arc-20160816; b=wxYnQR4YDZiyv3j1tsP8F4NcdhJQm2nDvDs2jlE3efo3mpzLAmeYz6spdROkXwqXKF O8nSGsnUuvKe8YEFvepVqJ93VDs78Y2VtyMANcFtwJ77wkej5+eLPQ1niWH4Jyd/v3Go EUDNjwzXDhqAPK0xpgH1bcmjWtqTHrzN3KDLH+Hy225+DiOtjd4TrWTGKa90pfGshpoP YwDzPMsKaAXSjsLjez8rjn0BrMGkukDlEKluz1MqdzYHFJsIFSucKrDvYgRHy1olu4FV 5uAzHXo/kL727mLkBcSE0lqCIoYxq5/vkrl5zS5nhgDhGA+CXAd/8H+FwHkMOWSrEfmc 0zPQ== 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=timTxilapKsONbEjau72+Ou1q/7xtxFnJ1b7itFduSs=; fh=K5WDvi2fRaGK/FbaECoq+WBTVHo59LWvFgr8KLyn8g8=; b=Dton6llPyguOel0YNcHgFfGwGevWkfdu7kTWGqxxjYuwwNJ3ZirDnWGTxSkLl89DAb Jf9XT0wKzGqBz/EM2j/Fv74hjSU488fvFER2XKQjPfI1DdrW70dY3H+TbRzlvHXYvDmk x5zvl69ZfU6Qwtc1nfl43i8RQ4cBzKn1l4HlG+4TtiGD9WJsKiYed9np5j6x8bE22VFO bNuSnkqa3ToapYF2snsJu7cq+/oZzf1ulnfF5dnSd6IlTGMFjz+7cZqjFsJnlZrqudBE i1FrER6LLw/VKk1iO+7ZMxZlsv4Xvt7Br5WXjKwYo8OgFzBwFOEXCuYavWYSAPz50sKz FpKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DUpkQDOW; 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-125645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ga36-20020a1709070c2400b00a4e15c6dc6esi2716543ejc.394.2024.03.30.02.27.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:27:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DUpkQDOW; 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-125645-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125645-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1226E1F222DA for ; Sat, 30 Mar 2024 09:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23144F9FD; Sat, 30 Mar 2024 09:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DUpkQDOW" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 65D912CA5 for ; Sat, 30 Mar 2024 09:27:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711790830; cv=none; b=aQE7a2u68v9gGRqmU6ebnmjIsBXz8iHZkDyJe47fOE/C7r4lsnhqOq8W7j+BUSwWYsrCh+2sACm1xXLMAEkM4mlI16fwG9TonMukHKkjKVPw6caTZj2CcPtmjzV5gGySOATp6C4P1huHLqIf+WjmJ/m6TfOtni7dxNl+pAB3D9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711790830; c=relaxed/simple; bh=timTxilapKsONbEjau72+Ou1q/7xtxFnJ1b7itFduSs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=d0xTgYWAvngQ6LFX7CUgmSmIGyeS3IAKhCjODTyZt1imVrQfSJpPU6HvKU6IW5jQTtXsQVkdNB5uTrqsX8vBbLPzEevPEJJN+h1iZbrLmeXc5qnjFUVT42EKDZN6eoZJD0jQxv5+5jHolvGHdHNfP7KzUlgyOp4LNXQyIJsGVZ4= 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=DUpkQDOW; arc=none smtp.client-ip=209.85.221.44 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-wr1-f44.google.com with SMTP id ffacd0b85a97d-33ed7ba1a42so1745994f8f.2 for ; Sat, 30 Mar 2024 02:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711790827; x=1712395627; 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=timTxilapKsONbEjau72+Ou1q/7xtxFnJ1b7itFduSs=; b=DUpkQDOW9H3lEOMGI4TvKUvEj9q/Tsu4KLAZPL78Wvz+u5s9vrDOFXapzOX/uNamBz kN5Jsa1IvJg0gfHYa5UQqymVQEOK2m54etqZytPTz2zsfdB/F9BQqhL17jXYYtNnvMQA xjoiO8eH5ySycLvSpLh6C9qKm7IVysEJxtncXZARzIrwijYoG5yCwSdPcx/RCUNMfZ6d +M110GjCRar5faHZqxBgFSNutAyYIXgifz8lyCX6+8Hcwr4/1Ko2G56bIuZzxZQ2jzsp j1oMaR9p9Efs0WZxd38evZpUxIEiKiMyNCoGtvI2+t5eyvoUjP1O/V3BfRp7+qt+iov2 yzKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711790827; x=1712395627; 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=timTxilapKsONbEjau72+Ou1q/7xtxFnJ1b7itFduSs=; b=DaMCeKtaLdUCNIlP8OAGq1E/Mm7Ct13x40mEoAyOT9nhYANBvIH91wmlFMOPoTmp5v SE9IiB1aCz81uqOZ5NZi0vuLj92Gv+zuz2HPMeC43GBg736wy1P8tCpPmJfc8zjqMwA+ EJUN0X9lNL3J1Iem9lV7P/fc9xecWM+f+S8z9XPzmp1L25z0vlm7l83XtWymx1PEZQQV T7W28o1Z2+T9SbeNZ3fnbwonsFG3YHGoa9E+JIgI79zre44Rv/5hFYtylgtH0yWcqoI4 ZDM+ryLvvtOX21geTvvx+Ldoeo4vQOenZy7NoWFgV6dyH3aqu68ft2ibLO/QvniRhmIm 53BQ== X-Forwarded-Encrypted: i=1; AJvYcCU0bjsHb3b1TsIT+qSoR+Nb73Y+n4FYG+iAwEYjOpN6jvYGe0g9J7bNMwGBlaXvP3NjWXGw3u9KK4+T7iyyao8MKkGT2nl/bRIY3YkL X-Gm-Message-State: AOJu0Yxci6Njyv3vl2OQ281ZsNUlqYIi74p78mGvMbw5L729ZdpgUO2h HS27u6L1QybRhIP2hTveFWP5zjngQTBVY+gB9X8iSqFB9wswkWuxk0LFYr0iIhk= X-Received: by 2002:a5d:4491:0:b0:341:8388:31b1 with SMTP id j17-20020a5d4491000000b00341838831b1mr3662835wrq.67.1711790826705; Sat, 30 Mar 2024 02:27:06 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id bt30-20020a056000081e00b00341b9e11b11sm6141674wrb.24.2024.03.30.02.27.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Mar 2024 02:27:05 -0700 (PDT) Message-ID: <57f29a15-1076-44de-8b85-83983f5e20f3@linaro.org> Date: Sat, 30 Mar 2024 10:27:03 +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" , Conor Dooley Cc: 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 , 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> <20240329-overture-tank-d20888f2cb6e@spud> 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+XWKydnmsfY7SSnjA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+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/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 30/03/2024 03:02, Klymenko, Anatoliy wrote: >>>> >>> >>> Sorry, I didn't explain properly what I'm trying to achieve. I need to >>> create a DT node property that represents video signal format, one of >>> MEDIA_BUS_FMT_* from include/uapi/linux/media-bus-format.h. It would >> be >>> nice to reuse the same symbolic values in the device tree. What is the >>> best approach here? Should I create a separate header in There is no user of this new header, so I don't agree. Please send either full work or link your other upstreamed patchset. Anything sent as "DO NOT MERGE" does not count because it is not an user. Without the DTS user I claim that you do not bind here anything... >>> include/dt-bindings with the same or similar (to avoid multiple >>> definition errors) defines, or is it better to create a symlink to >>> media-bus-format.h like include/dt-bindings/linux-event-codes.h? Copying or symlinking entire header into bindings does not help us to understand what is exactly a binding here. For example, maybe you encode runtime information into DT (don't do this) and that's why you need these defines... Or maybe your block has some capabilities. Dunno, patch was not tested, is defined as do not merge and is not explaining any of these. Therefore, please provide complete set of users ready to be merged, test your patches, provide rationale why this is supposed to be a binding and why do you think it represents hardware configuration, not OS policy or runtime configuration. Best regards, Krzysztof