Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1174644imm; Thu, 5 Jul 2018 16:38:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd2RbX32SsAo0OlU3UpRH5kd6+v0b7VPAaneC25RMj7oiMc5uRo0ZtfYTtGHtHXsBcL8nMJ X-Received: by 2002:a62:9c9c:: with SMTP id u28-v6mr8386826pfk.90.1530833909552; Thu, 05 Jul 2018 16:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530833909; cv=none; d=google.com; s=arc-20160816; b=VdvUQwVXep0Gz+UlMQnhC/VkD1pZ2hSZzxlf0p5CyYGgffAdTmOdmwMtw9L2ZE2Qss lt1eTX5NIbQf7JOAGTPGqJjIb7VfqE4KsKffOt7SoznKRMY5svjledtEq2EKvh9BaWM4 i/PypxWIxhJWXvtQXk2+iyogdYuiunEZta028qv/Rm8C2WFZU8amVCJ2ba8Wlm3fzNC5 57Sy6WQStK+8a6IM7oJHnN6Olv1b4B20840BZYkTIOt5ZXfNBmf+eBcrV2+3dMP2o9u5 9O9GJuuqHBioBBoVhChblZCn+BdQzt5gCgPQx1v2zzxy7DQwyTiXDaSG1A9m3x0UzYLw VGWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=C1ni/1htfRpsgtY/qrS2SvURLMBm8v1QoEiWHlUW4fk=; b=RSTetMhmF3A/S80eoYaDS/+hEogTgSETuR36BHogQFy1Q98OV2jz/bzh0wUE7PPo45 yn03+nA4IR+jQvE7s7ihRFVHNY5HnswPFGpce3Tyggfb3Lh9mI+yKu4RNqgoNiI2G35G pF+vyCHbd6jNww4yRa6vy3Midn2o2e5EMCi0QbfS9o+OjipBLue1H5p6LYJOJZltt9kc 85K8u8OaVcOmcu3mb7sqGBs0XvP8Dizs+D/3uJbMqptrkATj5DSZIcEZnP0C2YP0lUU3 wgLYFuWGseOl6WPyHzhffzyiiP5UHCMxpzH63sEljpCJLUkY9EcxvqF807Gh0UwaRcJA Z9aQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16-v6si6018136pgv.402.2018.07.05.16.38.15; Thu, 05 Jul 2018 16:38:29 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753537AbeGEXgq (ORCPT + 99 others); Thu, 5 Jul 2018 19:36:46 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:44475 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbeGEXgo (ORCPT ); Thu, 5 Jul 2018 19:36:44 -0400 Received: by mail-oi0-f67.google.com with SMTP id s198-v6so20095847oih.11; Thu, 05 Jul 2018 16:36:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C1ni/1htfRpsgtY/qrS2SvURLMBm8v1QoEiWHlUW4fk=; b=UoNfaEfqpSHf7Q7vFvheK9DTyfeGMZ1mXNy9rrlN95Yw1B81qFM8vXr2BKxA8TJItT k/oKsfDHImq0qkFpaVmvTFMvwGWkypaXX/kBkkqRKVxdZ94d4dUXLudifMCRGGO+OamA pwl3GFv9ypQcNQFARQfCDX3bMvuTq6qkuYYJcsz1ZXXzYtzF7JuxwrHpD2btHr8GCbNx xm5KdCBpUIIpozyiNIl34N59ZYGNkxR/lRmm8MS0cLG8enbn+IQh0vlUdg/8RNwuHlHE +HjSNcsYHuo/KyAtQLcQgBp6HEMO2dt9k1N1gjrWbO7Rgu66oYW0vEITH5RGfl0TDbcz Au2Q== X-Gm-Message-State: APt69E1bSlL5s6W+cLEhx5ylbU1FODvsyUlf0k0lg4eDhbfZJJrUdqRK RATo4u/N7i1CkTkrpK3PBQ== X-Received: by 2002:aca:3d05:: with SMTP id k5-v6mr8261282oia.86.1530833803625; Thu, 05 Jul 2018 16:36:43 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id e202-v6sm11909082oih.8.2018.07.05.16.36.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 16:36:42 -0700 (PDT) Date: Thu, 5 Jul 2018 17:36:42 -0600 From: Rob Herring To: Vikash Garodia Cc: stanimir.varbanov@linaro.org, hverkuil@xs4all.nl, mchehab@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, arnd@arndb.de, bjorn.andersson@linaro.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, acourbot@chromium.org Subject: Re: [PATCH v3 4/4] venus: firmware: register separate driver for firmware device Message-ID: <20180705233642.GA27823@rob-hp-laptop> References: <1530731212-30474-1-git-send-email-vgarodia@codeaurora.org> <1530731212-30474-5-git-send-email-vgarodia@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530731212-30474-5-git-send-email-vgarodia@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 05, 2018 at 12:36:52AM +0530, Vikash Garodia wrote: > A separate child device is added for video firmware. > This is needed to > [1] configure the firmware context bank with the desired SID. > [2] ensure that the iova for firmware region is from 0x0. > > Signed-off-by: Vikash Garodia > --- > .../devicetree/bindings/media/qcom,venus.txt | 17 +++++++- Reviewed-by: Rob Herring > drivers/media/platform/qcom/venus/core.c | 49 +++++++++++++++++++--- > drivers/media/platform/qcom/venus/firmware.c | 18 ++++++++ > drivers/media/platform/qcom/venus/firmware.h | 2 + > 4 files changed, 80 insertions(+), 6 deletions(-)