From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 606FD3C197F for ; Tue, 7 Jul 2026 10:11:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783419095; cv=none; b=OwrxSUaAN4v6lbXWkg62Af7PNV0D3E97zQ5Y5k5f/AfN/OZ3OVJcCCxsMl/FudO2SsNt0EGoInDbMx6txhakgeQyqrp7wmNZjLdUd21xLBo7LUN0itKHo3N1ZHBoONi8iMJknC85IPyo53DPJtbLbyhR599NPmso2WxkOrUxXSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783419095; c=relaxed/simple; bh=6JL0HqvAqJn5maYjK3rA8vUw308VmjsNmU3ovua3Tc4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ULpNxARXJT4oi1PAGK2am9L5UDEuUZpfOIhfiHzEhuOeZogk/+WOC9sV3igsuEZBIScS++XMz2b48wq69ocvXESAbGn612vZ35j0GbgVFv1jMofYx9i3QPcleYc+XPKscgKBFV16xEa3kp5KakFHBf6lUeS1ua1CZCfYZTd2O+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=KtLPpa06; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YrtXcaqB; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="KtLPpa06"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YrtXcaqB" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6678DcbB3076602 for ; Tue, 7 Jul 2026 10:11:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= SuuTWbnslk2/iT7IgwctDLxx0OexGzzGiaPtPGBGzo0=; b=KtLPpa06A5oo1t+L eIxFsHCf32opPqLCXZ3MLd5TpCSXBESUAPmbNluLiTU4CMxqbcJGrN6bAEKcGdmn GjOAcKt9lw7SNU5ZOUXAoal7+6epI/zKB3oMle6sdVJa1tb8AEsHoDy0wd1QNFYK 35vwY5MD+AOIjHaP7LCrWoOVqtuFPrZ2R/kFUnjn2iA7vWmju94VCIjfm/Ago+dc M92fqp3S1SLaiUKma26iXOkhdQIP5TYZDqWDy9fzgiQ1qE15QnbBu4xcRxRHZw4S axlMOExk19kn68ctfOjN7OSa782NNQ/ipjAeies8cuYGur9Knk8CMT4iNYU2RepB 0NMZjg== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f8vun0q9w-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 07 Jul 2026 10:11:33 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-8f0c6ea10e8so10846606d6.2 for ; Tue, 07 Jul 2026 03:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783419092; x=1784023892; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=SuuTWbnslk2/iT7IgwctDLxx0OexGzzGiaPtPGBGzo0=; b=YrtXcaqBeHxMYgHS32mLXya4P0mnmPInJeyTq5sLdnBAbYw16iKG48xYMi4e4g2kVq FHcHEKnYz6sdK6rg0x9p1mqeefca9bUrap32OyywKsCmonVpNUvcrXxHWSJBBbOHGiI1 I0FLq+fz81EW30mo0SvzymqV9SB4g2w4p9VzevcelwdMWahhlEXYfupigkXMjaKKSu3/ +muN54mUgMBraKIr0nuutLF+23WCq4JpfQBsvDk9U0JLWk1pLZrwFHvZ75Zh0Xa5XE8m xoJeq6xClisjh3CudLc954aGdkVM/2ReVOsyWCcxgI51nOW5CrUeYN/CH76IE5UJg9ez m7ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783419092; x=1784023892; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=SuuTWbnslk2/iT7IgwctDLxx0OexGzzGiaPtPGBGzo0=; b=cHCLmwbK4+fkqvYxjgmzciX9PbQ4YaCK2WmP2yMnWHcfgRFOWTe95Dq6F16lI89aw/ 28ZSkT2R0PDTIYwIS+THhS10nxJikIJORIf4V9zkPseq0mMzzmjZy8T7FYppMUk5kMOy MZh5COO9D2jQEy43jbNLQq9/zsQPJNBrrASMlbcPKM9g/KKBNxzDjdv8PwQ8NN6oc2pH hLzYkY5TUSm6prF7UemMYUAHAv2n6AvzCDQIwAUJOy+bF4KX18G98cREmL4pM7TqtNlb I4yEMCM0Sdchuwa3sDQhFxx51/8kYfDt3KXl7+jCGxFe1G27CGWLZrHUuHHp88xFv2rZ UJ9A== X-Forwarded-Encrypted: i=1; AHgh+Ro1D7R8lwDE59HIMGp7xtTIDGWjFEfdU3QJS+CoCOQ0PMeB2fXbN795Vm+uUk1uaFMjaoTO1yzncI+bKtA=@vger.kernel.org X-Gm-Message-State: AOJu0Yzoiu3utQURMutNTntkDGLgKhQI/YZNNBePFTGKR0X4dyq+H5Wq NEWmoVw8F2mivCCNUmJMl0Ga3bv7stM1HTjOGH8WoY+q28SJBCCekxH5ecyXziIOwAI4vpvSJbv uGd0HCcV08EG0DKWD9+WHm/sJLITKJVAugVLphc7ENdoZLcGjeAyuc7Mm66m5U6SPWJY= X-Gm-Gg: AfdE7cmMuT6+RA5RjhKdMOHUTrbXaeymXmCt2ZGovo53piv9SZHTtY5cL4HHfkY8Nco qPoOPzZtQVMIHDffXU7dBMQfUMBtQo0w8bB99lX42a1+Nw2iWXHZvEE/bW8MzqWfN/v58SHiLtj yi496qasnsZIz6dMKkWqU/KtV1FbLgBTVu01sdmWA3H1awqMtKaVYhLf5CZeDm8/Xu8UeMAnMT4 wQe9mW5q5sDuYczsHZXIEsgI5a7egiAoKTx6qGLckbVyNhDRi5KI8bHcFrTfUDMG1ht2bZlNT/w phmprru2hYnkPa27I7S43YnxfE465sswYydY6vowyxoJga6QMPjZX87nENXUkc5WZstrJRLGD5t UHS3aHTrCepVRq1UQS76KrNg2YqBzhvwt21c= X-Received: by 2002:a05:622a:347:b0:51c:2101:f0 with SMTP id d75a77b69052e-51c4bda6c05mr134668991cf.2.1783419092388; Tue, 07 Jul 2026 03:11:32 -0700 (PDT) X-Received: by 2002:a05:622a:347:b0:51c:2101:f0 with SMTP id d75a77b69052e-51c4bda6c05mr134668681cf.2.1783419091715; Tue, 07 Jul 2026 03:11:31 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c15ad84bc3dsm101215766b.21.2026.07.07.03.11.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jul 2026 03:11:30 -0700 (PDT) Message-ID: Date: Tue, 7 Jul 2026 12:11:28 +0200 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 0/5] Add Qualcomm JPEG V4L2 encoder for SM8250 To: Bryan O'Donoghue , Vladimir Zapolskiy , Atanas Filipov , linux-media@vger.kernel.org Cc: loic.poulain@oss.qualcomm.com, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Dmitry Baryshkov References: <20260706071113.383215-1-atanas.filipov@oss.qualcomm.com> <68e59764-5a10-4abc-849c-14ea2d9ef76e@linaro.org> <437d1eb0-4495-406a-9501-b0515cfa3151@linaro.org> <8116c54e-4050-4e9d-b236-59d74846bd57@linaro.org> <8a09875d-af5f-438b-b947-bc2b61219b70@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA3MDA5OCBTYWx0ZWRfX7u2UFqtScXl0 J0v7kBTZJFDYz/s14LqPMQ4uCAUQyvI8ZLZyuvR9CKv0Ufd0Dn5ZuoFMwU1gz189K58QryY23fL om9apmdby6ittkqIRp2d+b2JY3alTBs= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA3MDA5OCBTYWx0ZWRfX70KQjD1do1aY 8MVVnMbjRVwfFAmz37Jz5/52NJx0VcaeKGysjaGayKQiwOjfg8G7nrP1p8XG12Zr9zeeK9Q+AGY gJWH+5OQF7s9kf6wz838HukEkxaMThnR4S3KBBVGnZTNGZLx2iCkqMpnwzAaE3W4b0bR5H/HskK YXByWW7dOfthAINztjHSXCRIFmhAmO/Atku0SwSorSOzv6GeTYXyVR7H25aE3Wv1YdMol20EEXu kaWfAYo0A3FS307DJu/VL+dRA3GxHtOC4b0+Sy3NOxrnZzzeITKPBm7fPXBlVOsSORLlCAxfWk4 zQysa8Y+BOHLNcy6KZd8Ckb/z3K1PoEJZtCwMH7XrEhcyNoxCMXxqlH6ZCcIBojx9sElqcix4WD qL+4Cjz1YiER/UWyWbF+xtMpcRJgjnLL8xb5KQw2MTjTaSlk/pnS6igaMVqSIsCZ2nOGAHL6lEY Fzftjs/zyWuQG0cGkQw== X-Proofpoint-GUID: NEaLPS1_zm3j2eT2qR1Xv63DsCroF-If X-Authority-Analysis: v=2.4 cv=N+IZ0W9B c=1 sm=1 tr=0 ts=6a4cd0d5 cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=VwQbUJbxAAAA:8 a=lEcDftd587Omc_cSSeQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1HOtulTD9v-eNWfpl4qZ:22 X-Proofpoint-ORIG-GUID: NEaLPS1_zm3j2eT2qR1Xv63DsCroF-If X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-07_02,2026-07-06_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 priorityscore=1501 clxscore=1015 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607070098 On 7/7/26 12:00 PM, Bryan O'Donoghue wrote: > On 07/07/2026 10:24, Konrad Dybcio wrote: >> On 7/6/26 3:37 PM, Bryan O'Donoghue wrote: >>> On 06/07/2026 14:02, Vladimir Zapolskiy wrote: > >>>>> >>>>> The idea is to make all of these peers, eventually. Not particular block >>>>> owns the TITAN_TOP_GDSC - the entire CAMSS block is a collapsible block. >>>>> >>>> >>>> The statement provides the same information as before, e.g. it's found here: >>>> >>>> https://lore.kernel.org/linux-media/fbc018f5- c025-4747-85f2-53b45b0f0496@nxsw.ie/ >>>> >>>>       There's no functional linkage between CAMSS/IFE and JPEG - they are >>>>       peers within the CAMSS power-island. >>>> >>>> Thus "the CAMSS power-island" exists, and it got its hardware description >>>> as the CAMSS top device tree node, and TITAN_TOP_GDSC power domain is >>>> a natural resource of all devices on "CAMSS power-island", >>> >>> Vlad honestly, TITAN_TOP_GDSC is provided to the CAMSS island - all of the nodes within it depend on that and it is _external_ to the block. >>> >>> There is a CSID MUX on some SOC other than that I'll restate it again, I'm not sure why you won't accept it. >>> >>> There is no dependency between JPEG and IFE, one is _not_ subordinate to the other and trying to find ways to invalidate that statement runs counter to the facts. >> >> They are all subordinate to CAMSS_TOP - Vlad indeed said they are >> peers (i.e. there's no co-dependence between them specifically, but >> their parent is shared). >> >> You can't use any of these IP blocks if you don't first power up >> TOP because of the physical layout. > > Yes and I'm asking for TOP to be listed in each of the subordinate nodes for reasons given below. > > But unlike MDSS - OPE for example doesn't require IFE or CSID to do its job. MDSS also contains a number of unrelated peers - e.g. DP and DSI controllers. > Over time we can move the bindings to a model where the only thing in CAMSS is a top-level bus like declaration but _right_now_ what you would do is create an artificial dependency on say CSIPHY for JPEG. I don't see where such a dependency is created. >> This is exactly identical to the MDSS case. >> I was hoping this was clear after N other similar threads. > When we split IFE, CSID etc up into their own individual nodes it would be possible to model as for argument sake > > compat = "camss-bus"; > power-domains = ; > > jpeg@x { >     power-domains = , , ; > }; > > What I'm saying here is do this > > compat = "camss"; > regs = ife, csid; // exisiting bindings for the last ~ 11 years > power-domains = ; > > jpeg@x { >     power-domains = , , , ; > }; > > Otherwise you create entirely artificial dependencies between IFE, CSIPHY and JPEG, OPE et al. > > And BTW if/when we get to the camss-bus stage of things having TITAN_TOP_GDSC listed in OPE and JPEG is a very small price to pay. Patch 1 (+ devm_of_platform_populate(dev);) makes camss-bus a reality today > We've already agreed to gradually transition the bindings instead of go for a big-band integration several times. JPEG isn't a block that's described today so I see no blockers here Konrad