Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp745615rdb; Fri, 2 Feb 2024 02:47:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IExYQzA7knA04gxajZ2dQWNPYXxycBOYXSAMlQudNtbv/6e7EAcQ3vc0CNm9SQjEIRzHbRR X-Received: by 2002:a05:6808:229f:b0:3bf:bee6:3f9e with SMTP id bo31-20020a056808229f00b003bfbee63f9emr1632354oib.43.1706870870575; Fri, 02 Feb 2024 02:47:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706870870; cv=pass; d=google.com; s=arc-20160816; b=Jzc/sAESQN/fcu1nbhCQt9OO4a6yCyCF7BTjdo3qOFNKLL60pdGwGDXxwBqo3hw3hr /u/eXAQxogcVe6I2GE/Qw/iJ3LU2DTNsPXHOYMiF1GIbnwUJECAP2RzDluHs9vDgsSr8 T41+jBw02peSHGgVxBseA8IORmFUQ877pg/YaOYYXITOuAiWcRVaY5f/YoLN95H8Dq9S nihGOUL69+9MVLO9Lg8777ept1WqcOGG8oO4opXsgdFKTaT4z1O5zt/jzNSUxQpH/Owd x/7IWs6NfBnUUtp4dI3LCJ6JOKhpU8HtwUrZRtE4a3lhVdXXQMuR6XFz4bD6T7l313ys KtNw== 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=fhIuxllpAaxyqxK5T2xhyFG4S1c7SLPpJtq6VlrHtH8=; fh=q1/pT7pnOyYMasCGMYgiHYDZ6un55SCPnpAwLXcvFZw=; b=ZNRSioW3EClQchSCWIjJ0Lj9U06EsZ0AQ9kVSa+sERmXCQZs/rJdJZvFsUYO80Drfw QaUuvzfWl3l4SUlnZJo/kE8/UZ0Vf/wZYUQMmOZs6zSYbnK1XuiIYPR8l8lXR4gpo325 EGmspYDnYfmXomUAfQ/FlFtL+e4FvMyk1LT5oLqTziQK88Oje/MIoGEnYGiTfb4h9kQr kdZAlmMBVS9ZdC/Iy1xWAXfzkmHxQcOK03AL0RDmIBeJ19+zx2D8W2r0oQUJUUWVS9fh OjCmoZcgHOWoaWwL+6n6r4KKEJk3Kl52zNsfYy9IysontczAXJBuHJpW2cx2S7k1w9NN ctBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FM7izAdq; 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-49694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49694-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; AJvYcCVo4nxaiLEyFbNnTQ6DM75i2gsSYvDao1aCJkPrO8DY78eCEWCTXWeZfOV7UtrN4AYzIkUTJdumHA/iYBnWuXdtTFb6ww6mRQRPQwWSTw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v22-20020a05622a189600b0042a43622ca8si1680679qtc.75.2024.02.02.02.47.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 02:47:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FM7izAdq; 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-49694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49694-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 455901C25502 for ; Fri, 2 Feb 2024 10:47:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83D4F5B691; Fri, 2 Feb 2024 10:47:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FM7izAdq" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 B44C62E851 for ; Fri, 2 Feb 2024 10:47:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706870860; cv=none; b=kOL3eTGbEQaMO5wNPNi9bioBUjDfTzm209rqDWJc6FKTF1hx2TL8Y07kbPF32cRoftfshW3NS88b1MFWiPcLeMF8SuJBWA0B2HwPy2IifaIRUkx8LeniDyP3kuFnaUkYECe9w6gGL2PunoI0Lr4ZTZPCJoFS27qQz0/19GD3wsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706870860; c=relaxed/simple; bh=LSSsJDqzQXbyB6BfnijGKEwYUfqo7dNLuEWV+jpgIac=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ie1HdqJW+hOoWralruccBI/YYqY2nUVRfKiBj0Ugxw9zEZCwSC04ZRp+psJ+Lw/LUNPPmGNyS9lZKA77WvSKNDlzTUaJ0uXleWlHpGQQq7TIbqUYtWJAEmp5BfeXVphGDbDXQw1aRlWh/UVTMIjTURFAUFJgLevUmUyVrgO8k7s= 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=FM7izAdq; arc=none smtp.client-ip=209.85.208.48 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-f48.google.com with SMTP id 4fb4d7f45d1cf-558f523c072so2886978a12.2 for ; Fri, 02 Feb 2024 02:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706870857; x=1707475657; 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=fhIuxllpAaxyqxK5T2xhyFG4S1c7SLPpJtq6VlrHtH8=; b=FM7izAdqdhgxHbgwGIXXAbNeM1pQt1Ws3PB+ygQ6OfRP9GPu58FGdL+o6VtzXy7eKF N28HAe53WQVdyAp/anHTxdp56BzN76EHmy3ZKF2gHP6SQSsNb26kD1NfqXxHjEhY8RZN f2bPl0jXjKweo0OUG+BvQNlyeCXwpXuUg4PczHp2h7GExJ6h81axsZVMz7c7wRVdp0kQ SXeaLt8pZUW9zIWBp+DwMiUFK70EyNUPteb/puW+8X7C5yAHMjmdo+OOoA5vjV17P1Ow H7LZ4u7D3SqIfKCgx4808uDUN31QiIg3rFYY2xeyugEfz2h3rRBPOc1qbkTyHHy4f8rG jpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706870857; x=1707475657; 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=fhIuxllpAaxyqxK5T2xhyFG4S1c7SLPpJtq6VlrHtH8=; b=m6XWB1N7ZMwnn2Ev0Cvwu2DAuDhjDpxInFxdFNYWu/tj8UTVjIbdNYrfwcqss10VdB tuhseMTYw90XRPCKVZFfE6xtL7Lvp5GQdhfCVP8QL/vub+g8u1SHbdZBwSsUo6kgTYzm KUNhOQK4gAdyHjk907pgGyDkkYGvBt82yMXABQ8vVjUZhsufUbnCo5qpqnrUDbCIUDa2 kHe1xLDrFEXhWTy4pfX7ot5K8ZmXpaB4KaWvgMma6uy7hOSEA17nAYfaroRss1uEliSw RcUNn/mWB8HRbrflfZ7tIPY2HRqaMLtiCSj5Gr/KjK4HqkIxWIYux4lIVpzybR931XOu Dr0A== X-Gm-Message-State: AOJu0Yx3DbwoLzSACrCzw6SFLUtfuTz2fZtIgUwNYJPtG9u/FIXZmCQ1 DJLNlI8k7QnH65P0evggWxnBM3ViLyHJyBfeQJBxX1d7rWomTCmtDFeHcSM70v4= X-Received: by 2002:a17:906:4a52:b0:a2c:1061:b3e9 with SMTP id a18-20020a1709064a5200b00a2c1061b3e9mr6400905ejv.9.1706870856883; Fri, 02 Feb 2024 02:47:36 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUQclJYjubbmiNxLYUciz3CX7GpqZ7k4eJSOlG61bpq5++sxwp7ghpbuMKL4p3OjmPBqNVnA6lFQjhMeX/WZaYMFVrOpsKHPvEVBeqGIQg+0Z8enUvHcM4GoC4cVLoE8G1YL9TNXAHMFRKKfISFK5aMN3CtV+CFBoOm1gZlJR6FC7hCP7kuInYjdDNiZhiAbHcnUyZrvnuDBe0N7gw7NKjw/FNKp57irXbtq0/BlzjgcuKjExnkph/kd1pfUNebIDgwT7TlTkXbylECPpkqBk2TU28je0tqSHrofSUKSEJZDVOcuMQCybgpilRufIcf4795PQXkA3e9oovXaOmG/cI2cTE5ohhro5io51gAYOa5IPDaVg1Jo2ko5vdW5zgjQbmCupNja4ATjj6BdPb0be1/KlKvS9xlJC39 Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id f27-20020a170906085b00b00a359c588d31sm750480ejd.100.2024.02.02.02.47.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Feb 2024 02:47:36 -0800 (PST) Message-ID: <1209b7cf-5be2-4107-aa6b-d67a32ea3737@linaro.org> Date: Fri, 2 Feb 2024 11:47:34 +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 To: 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, Nishanth Menon , Vignesh Raghavendra Cc: Darren Etheridge References: <20240201184238.2542695-1-b-brnich@ti.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpF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+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240201184238.2542695-1-b-brnich@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. > > Signed-off-by: Brandon Brnich > --- This is v2, so where is the changelog? > Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml > index 6a11c1d11fb5..ea5469eb38f9 100644 > --- a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml > +++ b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml > @@ -43,6 +43,12 @@ properties: > storing it on DMA memory. It is mainly used for the purpose of reducing > bandwidth. > > + sram-size: Does not look like standard property. You would need vendor prefix or is it documented anywhere already? > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + SRAM size reserved for VPU operations. If not specified, size will default > + to zero. Lack of sram property means 0, doesn't it? > + > required: > - compatible > - reg > @@ -58,4 +64,5 @@ examples: > clocks = <&clks 42>; > interrupts = <42>; > sram = <&sram>; > + sram-size = <0x1234>; Was this patch tested? Since nothing changed from v1, I assume it also fails. > }; Best regards, Krzysztof