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 C79C33D3335; Thu, 19 Mar 2026 13:17:44 +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=1773926264; cv=none; b=A/52g0r3ojhSie/Ya1EZc6i6X1cBNGZ+QCiW6Qje2YbQ8HB4ym1Q8IOo1Ci4a8t6wa3LrvVFQj3h15D4cIWnLgtEHrSa8Ip5AwOgYN7A816XvprVkf+bqV/9E7PBBzN7YYiwD8jvST5Bwysmjski2GFyFarEx5fuIac3v+xN9eM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773926264; c=relaxed/simple; bh=NZlbAz1x3bJFNwyQ/jeMy7DD41+VCnD1WXAuW8TtbGI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Elo120cbASZVmAJuJUn5nSydcWchgEfsvKFQL6h76Ahb/gRA2QaoObrBI3wb0NTrwsBHj+sLK6zBtGQgT4O4LpBZx7dr9qgTKySklTF5qX8yZSqboMkcprUoZIDHZ/zyrmdjoaY4dgOKYDNZvgDQOVNWfRmidobY1SY2itVsm/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RtnPFzM8; 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="RtnPFzM8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8395EC19424; Thu, 19 Mar 2026 13:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773926264; bh=NZlbAz1x3bJFNwyQ/jeMy7DD41+VCnD1WXAuW8TtbGI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RtnPFzM8u1MThlIHxWAIl7u1aOKDu52Q4TzCHzVgkUwytHNxZFd5sQ1FrS5hzGCtS bmDjB7IKpX4W0jwJnFCMkjwswrkHVVMvh4meoKRx0T2Id9pWsqpWXsSt4y9/O9qgCW W/iwnSWW68E/+bVdZSwb3Y7aIYm89Ir8wNqEGmZuOPNsrCrhWd4Ln5kUiklLkQt8fd U3HvDJUSCrFimN4bdDFrHcMwBCEI0lZl1xnRCpg6CxpJwu4QRIB+QDvi2nyvs7ZX9h HmNw15C8RZibNCbl+0XrJAmmkbFdryuCkBS/s3qT3ROs2aC+41bZOcdM1LlqsEPZ2g mBMduRUE4Eq2A== Message-ID: <9578400d-30ac-4d8c-9295-ee4ec8af3b2c@kernel.org> Date: Thu, 19 Mar 2026 13:17:39 +0000 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver To: Vladimir Zapolskiy , Dmitry Baryshkov , Neil Armstrong Cc: Bryan O'Donoghue , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260315-x1e-csi2-phy-v4-0-90c09203888d@linaro.org> <20260315-x1e-csi2-phy-v4-2-90c09203888d@linaro.org> <3f11de22-b729-4d06-b6c8-18e649e1979c@linaro.org> <80ddc2b4-d6f8-4e8d-a45e-69c05d100aa2@linaro.org> <16b10f17-ecd3-4cdd-ac3f-f64127d60ace@linaro.org> <26XTdUyQTB41Oc4D5HnMtSm_QpZRjlkljQRJVw-u1Zp3Ltn9s4LVU-LQkP6drdl3Z3GGssLCCbsVYPFEqssHcQ==@protonmail.internalid> <65e06b2e-eeb9-45af-97ac-4ae60f652361@linaro.org> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <65e06b2e-eeb9-45af-97ac-4ae60f652361@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 19/03/2026 13:08, Vladimir Zapolskiy wrote: >> Why do you want a media driver? Isn't PHY driver enough? >> > As for today CAMSS CSIPHY are already media devices, and a user applies media > specific properties to them, for instance media bus format, resolution etc. > Technically this might be removed from CAMSS, but if so, then it should be > done before this new PHY driver model is applied. > > -- > Best wishes, There's no reason to remove that from CAMSS - it would be an ABI break in user-space anyway. The media entity in CAMSS msm_csiphyX handles format negotiation and pipeline routing. The PHY driver handles electrical configuration. They don't conflict and there multiple cited examples of this upstream already. -- bod