From patchwork Thu Feb 1 18:42:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 195444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp388594dyb; Thu, 1 Feb 2024 11:14:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYWzEXHMIC2xJ/KdbSdvevjIIy6hI6S5Oketl/srEwPZZP6uCbu5bQJgfqALtic4jTp3hf X-Received: by 2002:a17:902:ebce:b0:1d7:17e6:44df with SMTP id p14-20020a170902ebce00b001d717e644dfmr6822977plg.14.1706814851806; Thu, 01 Feb 2024 11:14:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706814851; cv=pass; d=google.com; s=arc-20160816; b=y6rM1yjJdX7fNUBVyeYHvF/nivFduLcsJjetwsIqn7ZmmIg6HMmvqHAbsgLbckYrkr RIa2N7ZTMcUMxY1uQYW8rwZUBRuHz2RXpmjHH5VzrWONJKIkFU0iGComYlarF3/TGpRj X8Q2ngJChsmHW5LO8Nek+vaTf66HATzbFj3idvqso3J69RsG1Jyyfr8t1pMRfkEG1RPa dFwILP3tsQtDbXD8xtH31NRB9yRVk+eZoFvprn1EsuWu5epUHjCeVrjSQhKXDescgo2i dxi6qk/60K9Re37vRhIF0cPeJ+v9Dnr2aPet3CUOXKnBIVJTFigoGX7HdAFjE7o0C+Z4 PtGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Ew1MvrMW2/yaRtaTroFMXsF9Ix1hzxk1BU3jjawkr2k=; fh=V+tN+p5Q0PDJNlS2uOi0XYMG3yLbVZQmVOYf10wlqh0=; b=PbGBa7D8QiBrUYcKXPQj6re7saPxgnlGbco2KHIX1c5KbpV1MVWWa5uwojJZaDzr8H eyXXx+QHLglIp8sucRhtfT37MQbgElpwkUuEA2QwaDCtYPhGZit6zwFV/kKQ/ZOqShPS e0QewEIdheLf5Z3mok39UCWff5Aai/d/7qN385A/0DFXC33PH7Q66Jcfc34DkNTdcASl pe7xgWmr/1Z+4S7p69xzpDiGstevjnxes4d+C15Voz6piRNzPjpfirt2b2AGnZc6ssLa ygL7QTm1J+jHXZSrC562xd2PBxw1pd8v97vh3kRa5OVs2kC7qIVmR7ljmS4D3yvYh8Ji G9NQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sTWw38OL; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48716-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCUPnyr9dtN2RILgcQdhAMiRYQJ1M3t2ycYnr1OngV9QPiO9YPcr92cjOMGN4bzj/kYxXaZBeRviQLcTfjgbzHMhe7GCsg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o8-20020a17090ac70800b002960647b16esi2698609pjt.42.2024.02.01.11.14.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:14:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sTWw38OL; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48716-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 DB09FB27A51 for ; Thu, 1 Feb 2024 18:43:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A94D084FB5; Thu, 1 Feb 2024 18:42:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="sTWw38OL" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 60AFA12FB08; Thu, 1 Feb 2024 18:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812972; cv=none; b=IvoB8RP3R5yyKXp3sN7hixpqh+LBZ0vKOVq2LXnQKPwoUWxUCCRx3pNB6D+zEkBdDTohRPxAIG7CcOMPFG2soyqCLOt+I2kcaVKgmKGYCPKmkiZqkwaNPqabXzPQWK2nwKv37eUKwL2rz+VWl4y9uN1GnVz8pELg6ukprBObyvY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812972; c=relaxed/simple; bh=VIvy4lTH+SG5Ye0Xk/ugj+PgutpBZ54WPeCaP7NfPJ8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=q0FIgEMx7hoSXYOYMd9RdQ2JEEoRuUywdnL1b+NR6zdKNh6LRrf1HG9rlsRVzPHxCsiwz8LCKOB58C/KDTuYLGEqMKNEDs0FrmGggncFz+YODFqe9j413xtrD9LRL+wZVqWKF03vAV9Ff7fA1qBRsgVc8T0efZUIAfK8ljJSq0A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=sTWw38OL; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411IgfX5006990; Thu, 1 Feb 2024 12:42:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706812961; bh=Ew1MvrMW2/yaRtaTroFMXsF9Ix1hzxk1BU3jjawkr2k=; h=From:To:CC:Subject:Date; b=sTWw38OL1IluL6GvAACoKlFW9X7dmgmrVfjQ6iXvAx7qAmOkhgfJpJgRhc2sLmVx7 usO1ypP0yaNcBblMI6fb4F+3IO9Sbj7AXTz5toapXM4Ob9lqAv0m5DsDLTOjWJob6t oEEMP9hisLqEBssr/O1GcH7ZwzYH/5yQ6fyElgog= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411Igf1r023903 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 12:42:41 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 12:42:40 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 1 Feb 2024 12:42:40 -0600 Received: from udba0500997.dhcp.ti.com (udba0500997.dhcp.ti.com [128.247.81.249]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411IgeuD042789; Thu, 1 Feb 2024 12:42:40 -0600 From: Brandon Brnich To: Nas Chung , Jackson Lee , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Nishanth Menon , Vignesh Raghavendra CC: Darren Etheridge , Brandon Brnich Subject: [PATCH v2] dt-bindings: media: Add sram-size Property for Wave5 Date: Thu, 1 Feb 2024 12:42:38 -0600 Message-ID: <20240201184238.2542695-1-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789725090089531632 X-GMAIL-MSGID: 1789725090089531632 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. Signed-off-by: Brandon Brnich --- 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: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + SRAM size reserved for VPU operations. If not specified, size will default + to zero. + required: - compatible - reg @@ -58,4 +64,5 @@ examples: clocks = <&clks 42>; interrupts = <42>; sram = <&sram>; + sram-size = <0x1234>; };