From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4FA521E008B; Tue, 17 Jun 2025 07:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750146909; cv=none; b=ewEdK2jWbiLRNWS8psIGop8u0jdhbGSObZZRBATSpi479J7sdqNv6qNw5y1Fuht4SaLEIxbxX6vm32ms6yhCyAeQeLfzG6s/wE9UmB9uzQ/WONPUzihEXmAbkldKrWE3zX28fY/Dbzj1iPdQU3ARz7GnmcxnSEEkYzVCLAQUvRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750146909; c=relaxed/simple; bh=p3P9QL1Q/bB2osrnrmMdPHDXHWkXxUr+dLGsCfhdwL0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Gy50JDUxsNQO0r1EBbMlUBYiBH+7Cb0IztZhLoUPplZLF8mNH3TBgv6I5pcGL1p5va6JkJnUNRRqEiORYX5xbF1HLh6FrwVZtytMSwqmdnUB5BQwalEuqx0NYsQfNWIcDnBijpTREoajlNES1vi+gMWhg8T7K2lWBGtCtqA6Br8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nLyu2AU3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nLyu2AU3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E158CC4CEE3; Tue, 17 Jun 2025 07:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750146908; bh=p3P9QL1Q/bB2osrnrmMdPHDXHWkXxUr+dLGsCfhdwL0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nLyu2AU3hnSwHwbfR+veBhM2vUFPR2CmJGofG+ayqDh9D/vpwl7jczoug55hz50BD Bs2fhuf6L80ZDGE+5W6ekio/lvu+kCOZ5GWNITFYPvcRNC/0fzIoSTFVz/GIq9eFGS Gd+5Hci3mmtO5Sj9NlsQ/e3kBfzMEQfE1OHlY+CV48Xs8A+k3UsRWv8wy7V/2AKrQM lgd7c4lGXFt1fIGFYuBvr9/aZZp3X2craHNM9UgsT3/AMqLNzxG4G1SuXcpKkn+QF9 uynWsok5X3BYPbD/9Kprmy2t6grLm+g2oqeeEhICG9f+tEkuKHj6YBPjZChECo7Pjb xPkT3VqpCtC+g== Message-ID: <86817edd-a966-4a39-9622-7cef7f070e42@kernel.org> Date: Tue, 17 Jun 2025 09:55:04 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] dt-bindings: media: venus: Add qcm2290 dt schema To: Jorge Ramirez Cc: quic_vgarodia@quicinc.com, quic_dikshita@quicinc.com, bryan.odonoghue@linaro.org, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, stanimir.varbanov@linaro.org, linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250613140402.3619465-2-jorge.ramirez@oss.qualcomm.com> <6f4e715f-1c73-450e-b7eb-92781b7fa050@kernel.org> <48e6cc62-ffb0-4ca7-80c8-9e510db505db@kernel.org> <0d381ad0-85d4-43de-a050-3b9ed03bf5d8@kernel.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVD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WXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmgXUF8FCRaWWyoACgkQG5NDfTtBYptO0w//dlXJs5/42hAXKsk+PDg3wyEFb4NpyA1v qmx7SfAzk9Hf6lWwU1O6AbqNMbh6PjEwadKUk1m04S7EjdQLsj/MBSgoQtCT3MDmWUUtHZd5 RYIPnPq3WVB47GtuO6/u375tsxhtf7vt95QSYJwCB+ZUgo4T+FV4hquZ4AsRkbgavtIzQisg Dgv76tnEv3YHV8Jn9mi/Bu0FURF+5kpdMfgo1sq6RXNQ//TVf8yFgRtTUdXxW/qHjlYURrm2 H4kutobVEIxiyu6m05q3e9eZB/TaMMNVORx+1kM3j7f0rwtEYUFzY1ygQfpcMDPl7pRYoJjB dSsm0ZuzDaCwaxg2t8hqQJBzJCezTOIkjHUsWAK+tEbU4Z4SnNpCyM3fBqsgYdJxjyC/tWVT AQ18NRLtPw7tK1rdcwCl0GFQHwSwk5pDpz1NH40e6lU+NcXSeiqkDDRkHlftKPV/dV+lQXiu jWt87ecuHlpL3uuQ0ZZNWqHgZoQLXoqC2ZV5KrtKWb/jyiFX/sxSrodALf0zf+tfHv0FZWT2 zHjUqd0t4njD/UOsuIMOQn4Ig0SdivYPfZukb5cdasKJukG1NOpbW7yRNivaCnfZz6dTawXw XRIV/KDsHQiyVxKvN73bThKhONkcX2LWuD928tAR6XMM2G5ovxLe09vuOzzfTWQDsm++9UKF a/A= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17/06/2025 09:30, Jorge Ramirez wrote: > On 17/06/25 08:56:37, Krzysztof Kozlowski wrote: >> On 17/06/2025 08:47, Jorge Ramirez wrote: >>> On 17/06/25 08:14:23, Krzysztof Kozlowski wrote: >>>> On 16/06/2025 18:59, Jorge Ramirez wrote: >>>>> On 16/06/25 18:23:18, Krzysztof Kozlowski wrote: >>>>>> On 16/06/2025 18:18, Jorge Ramirez wrote: >>>>>>> On 16/06/25 16:41:44, Krzysztof Kozlowski wrote: >>>>>>>> On 16/06/2025 14:52, Jorge Ramirez wrote: >>>>>>>>>> >>>>>>>>>>> + The Venus AR50_LITE IP is a video encode and decode accelerator present >>>>>>>>>>> + on Qualcomm platforms >>>>>>>>>>> + >>>>>>>>>>> +allOf: >>>>>>>>>>> + - $ref: qcom,venus-common.yaml# >>>>>>>>>>> + >>>>>>>>>>> +properties: >>>>>>>>>>> + compatible: >>>>>>>>>>> + const: qcom,qcm2290-venus >>>>>>>>>>> + >>>>>>>>>>> + power-domains: >>>>>>>>>>> + minItems: 2 >>>>>>>>>>> + maxItems: 3 >>>>>>>>>>> + >>>>>>>>>>> + power-domain-names: >>>>>>>>>>> + minItems: 2 >>>>>>>>>> >>>>>>>>>> Why is this flexible? Either you have two or three. Not mixed. >>>>>>>>> >>>>>>>>> please check 5b380f242f360256c96e96adabeb7ce9ec784306 >>>>>>>> >>>>>>>> This does not explain why this is optional HERE. You cannot use for a >>>>>>>> new platform an argument that some existing platform was changed in >>>>>>>> ABI-preserving way. >>>>>>> >>>>>>> thanks for quick the follow up. >>>>>>> >>>>>>> but bear with me please because I dont follow - why can the same logic >>>>>>> be used - it being applicable - and therefore result in a definition >>>>>>> similar to those other platforms? >>>>>> >>>>>> Because this platform either has 2 or 3, not both. Unless that's not >>>>>> true, but then please share some arguments. >>>>> >>>>> as with every other venus schema with more than 1 power domain, the >>>>> argument is the same one that I have shared with you a couple of >>>>> messages back (DVFS). >>>>> >>>>> verbatim: >>>>> Venus needs to vote for the performance state of a power domain (cx) >>>>> to be able to support DVFS. This 'cx' power domain is controlled by >>>>> rpm and is a common power domain (scalable) not specific to >>>>> venus alone. This is optional in the sense that, leaving this power >>>>> domain out does not really impact the functionality but just makes >>>>> the platform a little less power efficient. >>>> >>>> That's not definition of optional. The domain is needed for this device, >>>> the device is one way or another having its rails routed to that domain. >>>> It is not optional. >>>> >>>>> >>>>> Seeing all these venus schemas follow the same pattern, it seems to me >>>>> that this is the correct way of implementing the above. >>>> >>>> No for the reason I mentioned earlier. >>> >>> So just to close this story up, were these two commits wrongly >>> reviewed and signed off then ? Please do notice they were also - just >>> like this one - new additions and not a change in an ABI preserving way >>> as you characterize them. >>> >>> e48b839b6699c2268e545360e06962bb76ff5b8d >>> 8d3a1cb32124eaeb3f2efe4889de214d3b658d8d >> >> I was waiting for this argument: there was something similar some years >> ago (but even months ago...) and it got reviewed, so I can do the same. Waiting and hoping discussion will end earlier... but I guess I should anticipate your arguments and find preemptively some commits from 4 years ago. Well, I have just 100 patches on patchwork with status "Needs Review", so I will not go through past commits anticipating other persons arguments when reviewing that person's patches. Help in reviews is always appreciated, especially if by any chance you are unhappy with me not having time to bring past commits into the review discussions. Best regards, Krzysztof