From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 EDD0F3F9ED for ; Fri, 10 May 2024 18:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365624; cv=none; b=Zk5MX//6rAxlOWicIrr7Mj2R4x/8iKlcx5RuuWb7HxvjvqMdNZpkqRzO2yABZelK5cyPkUrsxfEHObNFdLtCkJsB2EsZ0gGP040UCN8uRAtkrf+lg1kK6QoRudrwrD6T/DImU3oESFa0Lxy9fErAW/Hvk4W5295CIyKrFaCMH8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365624; c=relaxed/simple; bh=zU69VrviyyTyXAS1X5SYlcLjt2lhIY2ZG7HklPhkyDM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ket8G6qrIWJssy8lj00r9QVH5fmKZMI2f4hwSOHwdlOrwlmAfRPf/CrKrjHkfxUgqdePrq01qrTi5cMKKQbtDFW83lRRwrYLxJf5V/tdBf14a/J6F/6tCeQ1Xm9uS1bG2Q69pHoyjRZgFlHiLNO4W+qOs4P7NOud1JOReQuVur0= 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=OowvFwlg; arc=none smtp.client-ip=209.85.167.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OowvFwlg" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51f4d2676d1so2507114e87.3 for ; Fri, 10 May 2024 11:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715365621; x=1715970421; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YPId4kEVXJwBhwU8/+wYwyb+KHjvjg99K8h6cyNB8aY=; b=OowvFwlg8LoleDf03JelQ2TgMhGTMDWDSMr3VOwdFjLqWsRI9j8Mnne/MxwxmiRkS2 AfSv29NyDurpNQDMZ9TJiH3ayA0YJpJ4V+bgP0Rjd8kl5fRxQr0w0lAV7QgxrrZzppkk hIbUrBkGc0YjA42hjQDbcy8/x7a+fcSHYNyNzkDxEMg+q7FfGBoqzEhwouiHCnLElVej ztRwFzj02ZNINfPpU4qHFJnf6J0Bqa8+aj2mp/k1SKiI/GxiHkv6gpI1ny+EGsDL0rmi ODR2IMMTTj1FSlWulfGGfCtVWQyeUQ6jjMsMSNdMkj8gQN2B4cFSNNUIf0U1rjX6CmsI ac0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715365621; x=1715970421; h=content-transfer-encoding:in-reply-to: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=YPId4kEVXJwBhwU8/+wYwyb+KHjvjg99K8h6cyNB8aY=; b=Oo67EnxP/5PyfFBisJWxLL3OXZOMJWEu0xJlgGFussvkxvEJTm7vwP3L4fJh/UmAeC +z6t/sL4YGW3/88GRG1nkWRJyf/n5d7v7u1kmJQIFrR5V12pk0VUqOI65hvO/i4eGCCU yei3fxloUq+JsYYzrSXmTkpH+V0UR652lYEgFLelEVTRM6EwiuT6FI2/Z5KzpI5mkn28 JUbtBhIp33WRt6tVG+nXuqgBB+0xNHZdnYR9m0B4FlQkUA3QD7nEbhnZoedpZHehC2Nr 20b5TTu5oiRc+vc6Gc5+/BCgIs3iymqmISnmzZdF6DyatcHBYpWYswkSVZ/gOAKbC2av X0Uw== X-Gm-Message-State: AOJu0Yxju0m/032qLXBkkoO3h2PaDUszFJIbRWx2sv6XMlGrVXiNLhM3 jK9ceEe0RjjeqXpu4DFHb97D+egGSUsedE2/SB8a4UeB6lMWQE2MGg4OccocvDg= X-Google-Smtp-Source: AGHT+IGADrAXj6ujpmJlPxCnjw9zd3gxwONJ4DeH58m5okaIUz/cI5rRGRui+faYzyP8/vrMpLyUpQ== X-Received: by 2002:ac2:4309:0:b0:518:bc7c:413a with SMTP id 2adb3069b0e04-52210276505mr1828384e87.69.1715365620942; Fri, 10 May 2024 11:27:00 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b79bd7asm5158841f8f.17.2024.05.10.11.27.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 May 2024 11:27:00 -0700 (PDT) Message-ID: Date: Fri, 10 May 2024 19:26:59 +0100 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/8] media: qcom: camss: Add per sub-device type resources To: Gjorgji Rosikopulos , rfoss@kernel.org, todor.too@gmail.com, andersson@kernel.org, konrad.dybcio@linaro.org, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, laurent.pinchart@ideasonboard.com, hverkuil-cisco@xs4all.nl, quic_hariramp@quicinc.com References: <20240411124543.199-1-quic_grosikop@quicinc.com> <20240411124543.199-2-quic_grosikop@quicinc.com> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <20240411124543.199-2-quic_grosikop@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/04/2024 13:45, Gjorgji Rosikopulos wrote: > From: Radoslav Tsvetkov > > Currently resources structure grows with additional parameters required for > each sub-deivce. However each sub-device has some specific resources or > configurations which need to be passed during the initialization. > > This change adds per sub-device type structure to simplify the things > and removes the magical void pointer to hw_ops. > > Signed-off-by: Radoslav Tsvetkov > Signed-off-by: Gjorgji Rosikopulos > --- Reviewed-by: Bryan O'Donoghue Tested-by: Bryan O'Donoghue # sc8280xp/sm8250/sdm845/apq8016