From patchwork Mon Dec 9 08:38:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 180987 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4063031ile; Mon, 9 Dec 2019 00:39:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzE9OnKeWqMPnmHb/KQo1GPc29RkXbDVycRGzMMdD/9bI1x4g7iEXugWcPd6Jsmoom/tP4E X-Received: by 2002:aca:ed46:: with SMTP id l67mr22682213oih.53.1575880774359; Mon, 09 Dec 2019 00:39:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575880774; cv=none; d=google.com; s=arc-20160816; b=I7DutUlm3EyxW9pEw9N55/FsGXRWFmlQMaqWmrlsKXv+bGaexN9fyBdlK0vnTH0NXG +jyCjPAwNzMxPWBkjdtkEsRcIFUVVil+J5jKfpCdbL/xXEWWZkIv3Bx+yWtZWPmWaxy/ O8/O2+b09NgFSeW60ubq33+XlMie33B8iFlm4BZDhF3rfI/JGqsijujjUa2ve3Az13yw wjcSWtutmX6V8P8erMON6yJ3hse0Fa5PyUvx5/EwNjf1AYA33ggSy0eGuFPvFxCUKIkk 0LxRY4R61HdgZHZse1+8DW6pUeob+zE/pHE1zBVGU8CapT5yofXHAuxwKlqTgCVEFnj7 pjSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=M6xBk2t3JSq6Gm+btMkUw0HvLbeKjwldK9lPc/9p6IU=; b=MoYC2kxstnTos+W0/gmpC87WZG8L0gFgQbm240nvU6pWgWWPtbp47zhVaJBhUIFqwt A1vZANxhsFH9CIxMuHz92nZZ10FvBOo5YBviEVYuKY+Nm4vaLMTZzwApS36gNN8M9dIx /IP3QL8l2XlE9bof8H7QOKh1FAG3ReB901yn7bQpfi1BrL3jV8aM+5YucrTTrh1RYEga 1rg5X36mVnbQEvVqrN5ybO89vTBLsG3UzIn/iscwdfRsMyw8rGcNCMpoAvZzkvIUlbDV +1N2vKAirEMWIYdkE2t76fFWE1xQdGlbFJgtcU6uy2dXIGj6pbmt0gi47fuSkQMOqomE +CXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vFQKn9Bv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si11172049otp.143.2019.12.09.00.39.33; Mon, 09 Dec 2019 00:39:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vFQKn9Bv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727378AbfLIIjX (ORCPT + 27 others); Mon, 9 Dec 2019 03:39:23 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33704 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727334AbfLIIjU (ORCPT ); Mon, 9 Dec 2019 03:39:20 -0500 Received: by mail-lj1-f193.google.com with SMTP id 21so14644139ljr.0 for ; Mon, 09 Dec 2019 00:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M6xBk2t3JSq6Gm+btMkUw0HvLbeKjwldK9lPc/9p6IU=; b=vFQKn9BvVVUUQ4Y9uusSgffYFjQKPOk2bHHTZorOpYzW/4FB9kB6JzD1XbXDirsL66 NJhJcFSJBS9/9nXEbtC4h3cl0FQ9w3y0WHYi/zqUm06sd3JfJjSIfaZTPQfTVEvIL9Nx kwThT+MoV+y5uvtbP83Hoe1MPxjqQyz9E2MYnYL7N3U7Vt6onDSv+PlqO/P0Fxto37YB 9zAywrd1pHIk68ouG2NpoiLA4GEz04/VVpDXnRTcMbH9d5jo4uQBhJcUBy8qFLL1JgVM rD/gDDq6nMW+NtJi+oVMZx/sL53+sIDMBMcspigWp//UCstQBEPwEJqCo+xH8CoXmcCQ Z5UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=M6xBk2t3JSq6Gm+btMkUw0HvLbeKjwldK9lPc/9p6IU=; b=QpjltNSXe+PYqt5cSpDScKcyjQ8ggi+C/+BzZ72aKJAJVE+PeoMK4YCXVXxPGYyHZa 1qYoL2RuNwmmtDsmUqsT7kBM4mJHHXsG4g/dI1lixXAKGNoC7aVV1Z5p6hnmWiCa03si dy+nGEfIfivZMXS7+6/3Zz6JT5577Zt9ZXL0iT74iZ/9EBEbVx67hn7Pzf3PkFC8uU9U B8kLZTgl9Nq3ulUEoJFSd7leb4s9xLpJMcw9E5wVdcmtdzhjalPxb4lXLQawGDyJ/0BW mshPwgR4FDIJqGT/2FotBF13j8tCO7gKO0gi/fpiiVf2jk0bMK4xgjIeIy7Yrs+xQnIr Pebg== X-Gm-Message-State: APjAAAUzI3ydpS8vWf+QYkRdY53gmxkaOE9+I5iUgbBhd0OC0z3Zjxuw 219+dG9HF2B7paaHyhgVlTze7Q== X-Received: by 2002:a2e:844e:: with SMTP id u14mr12502198ljh.183.1575880758682; Mon, 09 Dec 2019 00:39:18 -0800 (PST) Received: from localhost.localdomain ([37.157.136.193]) by smtp.gmail.com with ESMTPSA id r26sm10438971lfm.82.2019.12.09.00.39.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 00:39:18 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: Vikash Garodia , Tomasz Figa , Stanimir Varbanov Subject: [PATCH 4/6] dt-bindings: media: venus: describe sdm845 with optional pmdomains Date: Mon, 9 Dec 2019 10:38:22 +0200 Message-Id: <20191209083824.806-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191209083824.806-1-stanimir.varbanov@linaro.org> References: <20191209083824.806-1-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe an optional DT binding for sdm845 with power-domain-names and clocks in Venus DT node. After that the binding for sdm845 will have two options, the first will be to describe vcodec clocks and pmdomains in (encoder and decoder) subnodes and the second will be to describe vcodec clocks and pmdomains in the Venus DT node (the parent). Both option will be handled in driver, and the second one will give an opportunity to the driver to dynamically assign vcodec pipelines for every given instance depending on its load. Signed-off-by: Stanimir Varbanov --- .../devicetree/bindings/media/qcom,venus.txt | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/media/qcom,venus.txt b/Documentation/devicetree/bindings/media/qcom,venus.txt index b602c4c025e7..69a104fcb8eb 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus.txt +++ b/Documentation/devicetree/bindings/media/qcom,venus.txt @@ -35,6 +35,21 @@ - "iface" Video accelerator AHB clock - "bus" Video accelerator AXI clock - "mbus" Video MAXI clock +- clock-names: + Usage: required for sdm845 + Value type: + Definition: Should contain the following entries: + - "core" Core video accelerator clock + - "iface" Video accelerator AHB clock + - "bus" Video accelerator AXI clock +- clock-names: + Usage: optional for sdm845 + Value type: + Definition: Should contain the following entries: + - "vcodec0_core" Codec0 core clock + - "vcodec0_bus" Codec0 AXI clock + - "vcodec1_core" Codec1 core clock + - "vcoded1_bus" Codec1 AXI clock - power-domains: Usage: required Value type: @@ -72,7 +87,12 @@ Every of video-encoder or video-decoder subnode should have: Value type: Definition: Should contain the following entries: - "core" Subcore video accelerator clock - +- clock-names: + Usage: required for sdm845 + Value type: + Definition: Should contain the following entries: + - "core" Video codec accelerator clock + - "bus" Video codec AXI clock - power-domains: Usage: required for msm8996 Value type: