From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 85C522D60C for ; Fri, 21 Jun 2024 15:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718982255; cv=none; b=mexda4Hv9+ITEY+hNXXGIeYSNM0YaBdvXhgda3GwfM4Rs3cnhzk7XOcb/3doG+vgvjDhRjqM3JaXVZPmeL1FsiyxapZGnu8CfioqH6wi3FNdhvt0CtJUn17RPHQJiiQUZGmLXmiqRZnfxAJx93SH1qIwH9EHfS0mkKZNL6Raslo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718982255; c=relaxed/simple; bh=tGxhqw3mLbyQg4cUxLWRr6aTTDhcpAjGVSBMHcj9ves=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lbX722X9HhOlTDLNZDjc47hARTkg/IyoFaRDjyM6ra7dOofJ3M/ANVsfc0aeVGD+9+Tg6bFtRWcGaUNX8vnNAR0sdm9M6rT6CojytEKU2ZyQpSejZPU6EdyF4+Ui8+Zdf2F03qJNo86n8taSYAryiJTosLurj/AxyTy/wDLaPGQ= 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=hC0rpCk7; arc=none smtp.client-ip=209.85.167.48 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="hC0rpCk7" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52cd790645eso688848e87.3 for ; Fri, 21 Jun 2024 08:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718982252; x=1719587052; 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=6JvYMRLvuuvL4w7w35/VjTNcpNDV51nrNPfhIyrJ3tg=; b=hC0rpCk7Nd3LE9CvfjyPcZb3bzjmgcFkXmroF5UzWrb67ba/KI7bD5aQ+MUP2fXljF MuGzPMsR5EQZzhx9em8r+0EA+B3ltF48nKiFr0CEMNbPgyE1pbDEpgSHSQYiWuPL8FaO cF0I0i6Fo82emN0NUG6Ik5+3bisOVAmRBxxYE3gJH5rQMQ+wbcjkmWRnemj6DpinD3XL KrsKrPR47POfGZ7X00SVxs0CVn32puAXl+NxhMN3viYP6RZA10iRtiuClvLwPkjfCkHs GEbzsU2cDJMSB6tnM2GWX/Df3+7OZoRWsyuv7DicpgOlvrBRiuwwVaiIvnrGDSwxWE3i kBKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718982252; x=1719587052; 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=6JvYMRLvuuvL4w7w35/VjTNcpNDV51nrNPfhIyrJ3tg=; b=uKqxTBSAheevd/SxRRICH4eQ7pxsSlkHhrd1yqT3zCty4GBDLbhx7TpXDClgYY6tEL EPQfCb0eF83gqQuk45+cTIAJ/OUPufIPfH5wPOaz07SJTpj9mHkkt2LwC20iDpY4aUvv MG23Lcpi/Eiz6PF1WahXuOlik4tXe2eGfXgvEjXiKnyddG2jODKfFJdmzwEn3aGl2Ef7 E18I5SD5GcFr08dGKhOVqIKjyhl4de/qTXP5++4waoT+F26KvdM66Q3l1GqovuZO9EOS uwudM2FpwQsefkWh7nl6WHQgOg32aAdqqVjQH5LDac1h1kUH3osaZRHiPnVt88Hci0Rr 4uog== X-Forwarded-Encrypted: i=1; AJvYcCUNSanRFcL7cerAeWWFDZ4xYznnhHymSC7Lj5TuiNzmPFDqNtALV8D1cvQ2KFr0zkxyawf7jh1FY12qGTe1cTZcnob3sT/cf74Bi6SR X-Gm-Message-State: AOJu0YykrxPZHcUWvATCQW/3Mbme0D0lHVe2WmMCBKwGG8mu7gKM5+IY Z+uLGvlBJVHR9LggqkwcJzR2UQDgt8PBOwVYxhiYFpAhTM0phmTAT11QIzYDncw= X-Google-Smtp-Source: AGHT+IHsoccQ6WNTSCRvP7EXynKaqiN40TtOBGADHnLgqIHVRwl6CbCcueYYZRBTQP0LCEkJiNpa/A== X-Received: by 2002:ac2:57c4:0:b0:52c:9e2d:2683 with SMTP id 2adb3069b0e04-52ccaa55878mr5449345e87.3.1718982251688; Fri, 21 Jun 2024 08:04:11 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8985sm2013455f8f.43.2024.06.21.08.04.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jun 2024 08:04:11 -0700 (PDT) Message-ID: <46cb6ffb-68cc-4d36-81f3-f0be0fa6aafc@linaro.org> Date: Fri, 21 Jun 2024 16:04:10 +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 v4 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: <20240522154659.510-1-quic_grosikop@quicinc.com> <20240522154659.510-2-quic_grosikop@quicinc.com> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <20240522154659.510-2-quic_grosikop@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 22/05/2024 16:46, 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 > Signed-off-by: Bryan O'Donoghue > Reviewed-by: Bryan O'Donoghue > Tested-by: Bryan O'Donoghue # sc8280xp/sm8250/sdm845/apq8016 > --- Acked-by: Bryan O'Donoghue