Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp842342rdb; Fri, 2 Feb 2024 05:56:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGE5+aaAYgeKj5/UcCNTHiUDDUevCgcQ09m8FNNLEv40geQRyk0OJ9XZcuB1xrKL9+8SYg1 X-Received: by 2002:a05:6358:4b4c:b0:178:b7c0:323f with SMTP id ks12-20020a0563584b4c00b00178b7c0323fmr6358118rwc.19.1706882210147; Fri, 02 Feb 2024 05:56:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706882210; cv=pass; d=google.com; s=arc-20160816; b=W26MLlGHvGyO5eoso/eqyT3Dvtg1tnfOPyUt1INk3NCNN4+KCZxHNnnkH/nsVpPBPK 4vgTRAMHygm0Ma8yZeGqQ7ueckMjHonzIOZ3XemnSih/EN4CE0vviwbDbSrXeHrf2U9C BmQ4fpGJHJIvT9Um3FUoa7b677Kn3JGF8kBIuEd2MjkdwnK6Gzy5ceKV/BCx+0449eR+ MgHEE0I8u93Lo8WhjjV0nHWyGLnXK1txRVI526UgTL626KmmuMD6JAX3VeJmTCkygvGN HZopa2K0auhZWxwQTVzs/ZBllGO9ywNUacVWaqr/7nc3oitSb7jT6hIb2o5c97tYp6+4 d0iQ== 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:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=tbhO/HLgRhJa/oq9y2kZ5q3vZ9YnasSrguN9TQP9dbQ=; fh=7JjLjQZwfb8JKEyqJQ+4Rb0WLDpeB7TwrJwC5jnNrI4=; b=Bb2jZUnHjxFg+hJlziaYhR6HZKy7YKLAoPEgiIPlfX7rV6dJUVpuQR/upFai9+Csc+ 0alW4pXaAd30ZTzwiSZUK3LxnxOfs8ipS7duhAi0hq9MTpazHQlqE9xY3m6rTGAO7uMZ ptHn6XSFu3VrHLO+YUJ1egWY/AcSzk9J/vHC8MxAAkBmjYsvUfDqxVwezle7HqmhTbow h1V9E+9XNsVptF1E8hHE7Bxxsv6E8+cr6i8RBBf2RnrW5TljDAX89pOKwqIlY9JaN3K+ xxwmYRcdJf67G7Bp5xEv8bwuA3rnWxtJJZ4+VSDObG80bkMrY2uIRbr8qmo+67SPsIcf O6KQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ryAFXfwg; 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-49921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49921-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWfCDBkOc8LMMDjPi8DPfIkzIZRFaYYltmJF3JwmFrtUVXcyBBgyZCOMBm7lsf5hBskzF+J9wieWHQl5+5t17Fj51pwnoHMnzFkn5VdJQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u6-20020a63ef06000000b005d8b5e53c6esi1641616pgh.704.2024.02.02.05.56.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:56:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49921-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=@linaro.org header.s=google header.b=ryAFXfwg; 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-49921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49921-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BE846290743 for ; Fri, 2 Feb 2024 13:56:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9468047794; Fri, 2 Feb 2024 13:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ryAFXfwg" 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 CE1A0210FE for ; Fri, 2 Feb 2024 13:56:34 +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=1706882196; cv=none; b=ecqMjpt2vV+Eb0brkabSLJAyLUOoTb48h42U8RoZkhnf5BWrC3i3mg+pAfbnX8h6F9gQVPRsIoWW6GQJpcCnBpR4pQUR8jMIxOPgmXrkniZmW3rey7A430Hh3RQWCAhDApadDnMas9RiC1bYYkwQOZiJlB45w5z+O7LUyqh+ATo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706882196; c=relaxed/simple; bh=4aEoEwz9J0ML0BYwouE/JF/KwUQI6gO0VKN/ylqPVRY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=B7OrfKrost1zd3YlPD4fSkEpka5zu+05bY0HsCea3Jg2X3WV6jd14YDmKMeJ83pmurLJNWOhLdBpn7Pkhd7MMRWSYtmJLZvaP41bPSbnAWrFPDkDnumb57cQMk2t1MO1ZVBKQJDXOrO02FDfUkGs+zrG/owFfvwp8TI7nop1NCc= 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=ryAFXfwg; 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-55ee686b5d5so2888022a12.0 for ; Fri, 02 Feb 2024 05:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706882193; x=1707486993; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tbhO/HLgRhJa/oq9y2kZ5q3vZ9YnasSrguN9TQP9dbQ=; b=ryAFXfwgY7QLGNi7gfncGHOA8by9gHxebKj2o8V2zuiTQ86/xRSzeKBjhh9NpgleC7 0DQJMWkIYX1yJRWDzHYQjWS28q65CxDY63aOx1Pdh41etj/4P1S9M5fYHfehVvEKF5On rM6U3ke80gzl2MYhJvi5EdXIWpc7k/z0clG7qrFUpzAtpE4ILEzHdmLjSoCNCcZWMg2t Y/Yrxe5v3elRReZP5nCM/uRCGjsXPszg7TX5+SN38FxrPLXMhncdkQA1yXcTzGnag99f 9WEAyXQud8vCIg4W+HJaz9Zz5Opfc4ZMwlqSShNCxd+J0y2XDy905h3C/bIfabG7Tlhc H4eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706882193; x=1707486993; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tbhO/HLgRhJa/oq9y2kZ5q3vZ9YnasSrguN9TQP9dbQ=; b=FoaX2lu+I+ys4HOGPYQ8RcA9dDLGp3BTlX0ueN2lqlRUpZ8EKVMpvEBkugTOHkXb5q u0zRDOdmYvyiVA+DhHCedP1JzCKnihtqsavGmRzid7SI5ncnJtgoZsHmhOt5et2lCv/D 4q41IFVzeUSracP7yxtopDlePd4IpHPbJp9A+ziGT8PV8Dn5WKr0Vg5iOHaQ0x6wn+9j wAMZIW5aVyY2isntyaLuAmYc9ZoRMPHBlCPAev0FwhzzNVq1fp3g9GeNS3YrVycJkSZJ gBnDza44Pd95Oe3AZH6keCgbaUAisX/wtNcZHLJ/H02n9Cv5hzLN2vUBO487GFOcqc+2 XnNQ== X-Gm-Message-State: AOJu0YyZcv2A6qdR6AHAPGd8WXlJN6TPHINi3P43VW2867/g509fALRw vCgAE7FfV9tie0P4hZCOKb3ekn1qkW4Sp7CnHtwe5gBopF3uCU9S7gU8vcp96H8= X-Received: by 2002:aa7:c316:0:b0:560:8f9:5a8a with SMTP id l22-20020aa7c316000000b0056008f95a8amr216350edq.42.1706882193002; Fri, 02 Feb 2024 05:56:33 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW22s6XUIO5gsHUcS0t2iXzmDgTc9WVXGb1UJrI1CxB1GFKFOwwQRcbX3Vzbmu07Bgi/jghgtftPJWvGOMfUiHrZT8VBQM3uWi54tSWyazgH9liClbAO1Worc8qQHPZYEaxq7Npy5mQFbqm74HJoSy1yLgoNQFvqw4WhaydDHr8Vzxy/TX0XIFLZNnOt1oV+sktbxsVT/mMw4vWzDBhh+19j2R3eDn6xdPchibUP/k/KNcdghRhfKIxaqrxtcdXICbmEqtM6XNJ6ubhjwrAQPW7XTBjgKHhCQ846qCpcAlrEgSx2yRBr65GowIu1IhZOQcOTXklD6X1849K5KbfuHkB4U3XvGnCLRUnGCG+M0QpzavfHQcg1TYrFLfWFbstsqvIpwc/fnqzVsLczn2I97AZTuqg0MnZdTTGO4h1AsTOy4E= Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id cs7-20020a0564020c4700b0055ff708dee3sm502920edb.11.2024.02.02.05.56.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Feb 2024 05:56:32 -0800 (PST) Message-ID: <8091a8cf-c1c0-49b0-b136-1ad0d185aa6a@linaro.org> Date: Fri, 2 Feb 2024 14:56:31 +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 v2] dt-bindings: media: Add sram-size Property for Wave5 Content-Language: en-US To: Nishanth Menon Cc: Brandon Brnich , Nas Chung , Jackson Lee , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vignesh Raghavendra , Darren Etheridge References: <20240201184238.2542695-1-b-brnich@ti.com> <1209b7cf-5be2-4107-aa6b-d67a32ea3737@linaro.org> <20240202125257.p4astjuxpzr5ltjs@dragster> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ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9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240202125257.p4astjuxpzr5ltjs@dragster> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 02/02/2024 13:52, Nishanth Menon wrote: > On 11:47-20240202, Krzysztof Kozlowski wrote: >> On 01/02/2024 19:42, Brandon Brnich wrote: >>> Wave521c has capability to use SRAM carveout to store reference data with >>> purpose of reducing memory bandwidth. To properly use this pool, the driver >>> expects to have an sram and sram-size node. Without sram-size node, driver >>> will default value to zero, making sram node irrelevant. >> >> I am sorry, but what driver expects should not be rationale for new >> property. This justification suggests clearly it is not a property for DT. >> > > Yup, the argumentation in the commit message is from the wrong > perspective. bindings are OS agnostic hardware description, and what > driver does with the description is driver's problem. > > I will at least paraphrase my understanding: > In this case, however, the hardware block will limp along with > the usage of DDR (as is the current description), due to the > latencies involved for DDR accesses. However, the hardware block > has capability to use a substantially lower latency SRAM to provide > proper performance and hence for example, deal with higher resolution > data streams. This SRAM is instantiated at SoC level rather than > embedded within the hardware block itself. That sounds like OS policy. Why would different boards with the same component have this set differently? Based on amount of available memory? This, I believe, is runtime configuration because it might depend on user-space you run. Based on purpose (e.g. optimize for decoding or general usage)? Again, run-time because same hardware board can be used for different purposes. Best regards, Krzysztof