Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp686051lqo; Fri, 10 May 2024 11:27:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3fMVbsPWR1TIms3IFbXJi4yE5+W+hm9CVvECntncXNYYUwRxbt1kDCfuftl9HoOdj/MW5w72PRVf1t3avx0FOCk3WWV30w86UlF2ydg== X-Google-Smtp-Source: AGHT+IGMOJnWUb9Xt4jpVya19iG2dQt6RD006oJivnqS0Kl2PkT58gm7Qd3kE43TGcGIo2u2zzdo X-Received: by 2002:a05:620a:118a:b0:790:6aa4:d068 with SMTP id af79cd13be357-792c75763b0mr361674985a.15.1715365643593; Fri, 10 May 2024 11:27:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715365643; cv=pass; d=google.com; s=arc-20160816; b=ktfgjcVhOe1WXMinxdHNgenY2f5DsnNNjZ3+H87FN7NqMcevZ4Upu9DXylZc/rDS+U LXzdkMtubC0XrNvokBfYjF3f1921YG+ORq6HkBaejrw31Z9KiyaOfT2zUDEIiizYPjgz cjNVFnuEA1rZOD2o9uarvof1TzpYQNDDgo3v9ucwjtwFzI4AwbXht1ePONU3Ngr6z5pK 4uUQ/fhnKypRnCASx6rlMq9RWgnvp3BsBkxzuSjpY+/o/PJMAvaZheQsPIjqFIugJDAl vaiHVLZwZKna3tJY4nfaHCPnYSc5i3uDn2vALuATV8EB9zphT3SJCUFbQzvyRYa+tGvn R7JA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=YPId4kEVXJwBhwU8/+wYwyb+KHjvjg99K8h6cyNB8aY=; fh=4Afg9TkN2MyQVkGMO98ggTqKBPhccT9Z04cJ22Hn6YY=; b=wZAnSVv5FIiZEGWX+ZQoIWvQoz1ntjTzC2oig0LXomg70NCq2E3J6lOxoy5jh03BiM oSsU/u9axE0ZbG7sjbC1SHA2dN5mH5aQ3q7iND4OMH4+RsWdeXjedma5xs5SGYQ1VIhf 5H+mhvuX4A1sp4+nDP5TtbdZtYdW2KLgSPkBRqdQXsDjrWHZREdlC3w0JH/qTcldu+AQ eubkH+9xbuVmHO1YtYqu4zNYGzlvK5mQvknR6OzdtcALWMJWIzfUzdAfVU+C0ZNdtKFf APGuLrkUEW1diBAx/bCPxeHZhQX6UJfGfZDwvkWFltAMMVVeEBs5mSv35f8aJTVyvcmQ 6N7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OowvFwlg; 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-176093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30ab79si390964885a.316.2024.05.10.11.27.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 11:27:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OowvFwlg; 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-176093-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176093-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 A341B1C22500 for ; Fri, 10 May 2024 18:27:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A62B3CF65; Fri, 10 May 2024 18:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OowvFwlg" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 EB25C3F9E1 for ; Fri, 10 May 2024 18:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365625; cv=none; b=Mz33OBazyxtuTP1i+U+A5mnEq/ruGuGf0miC5KHgdNAszDSpLU1Y0U6ljPODJb1AysnXiUQ+rYQXBwT0tUNR11OOsN1a2JtXD7Psv7x6/Gpozp2bVal2dj3vxHGN4L2htDF6yAZUqwQD7Y9L1YupsFBtqM1/fxnMAH5ORbtxpBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715365625; c=relaxed/simple; bh=zU69VrviyyTyXAS1X5SYlcLjt2lhIY2ZG7HklPhkyDM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QH1S/s4Y0adgNjtMYTrzmYDQOIu5Nj85RWgYqpSNMkgXyM9v6ZaT5e6ifQZBI8HhZ3miHHHiqcWKcQSE0iY//Q/7d76oeMZ0RxTvsaQ/4HXE9ORP1ysFECUOrvo9XsjSXuc0CM2mnTEdaFti3IF8auNEYyONSxoKrWLuz0wOaP8= 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.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-51f4d2676d1so2507112e87.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=dD8/EvEXdC9cgHmup8BKVDGHyi5jfD07j+1IGzWnTEqjLMIZWFYDZDDy8XfIu9s5dx KrY/EJzc4HXOf3GC2aAmq7RNAGS+3Xz306Z8Id5M0E7qJZScW3H7y2mmqIH2N5Jlo5kR q4NHhrhMrVQ6neaBuMHcHzGgbZewI64CfrXC4V/c3s6kzevRqoVPecnFlIHJYh2VYWsh bO8Tl1+UQH4gon/2OvZmOftepP9UFw8d2WGnu91Mruwk3aPzKKB57agsZdxgeamAv2F8 +pKjxYn/8wSyCzcV2lNcH4TK1kJOyG7ijoWC219K9v3zasGGEA7I11/WHR4RmxjtFmNq A4gQ== X-Forwarded-Encrypted: i=1; AJvYcCW+aLCLdod0+3rsQOY3UR0MLBJvQ+tTLxlO2lZPsjFmCyylhHKrqzrHNVMfmHttfumKJiNO2v6KM++ZMENlYI1eRKScg7LJRheiCN4J X-Gm-Message-State: AOJu0YxqTcvBArcaH1LQrALxA0JprNZr6xwq2HCytClIlyziu+q9qT7S ndUBGrleI8LUVJ3iKLfrPlcWuQSYKNFMVnuuX5Q4HTf8K3EHV87Ipkn/G3NNFi4= 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-kernel@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