From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 DA9A528851F for ; Thu, 19 Mar 2026 16:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773936528; cv=none; b=R5HNygo5wZQ9wstdwNtaXJspDTxdYh2OckiMbgNP67sCR/AF9EHWyu4UDLokla7dQ3KYAbG3VrxViCe+tPQFuilkrQ4KjiIl72RuKXYVUBYpB3nixw5jd1+RtUzkwQiHeZ7/kIIurULYEM2vHR2712VuOjbaPg5z5rED9lq3tbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773936528; c=relaxed/simple; bh=rlEF8rcoZ9Yhxjn4MZvft47PJFAScntl55etVD10l7M=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=ek+Bp6Vi6tuKTsJ4Whd3Ss30szvZ3wWyArPnoFGaOsNYVh3gzXAG/rw0BwGs2um91Zk+sduGKHqoLQ51XLqYCENtVJmfKqGFF2t8y529ZebLvzNtAJqoSPfA4NcSTxSAEM/BWasS7kGRczhuK/77EgiZIYfLAvcNXBXV8y0+Xv0= 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=BlSZz7ff; arc=none smtp.client-ip=209.85.221.42 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="BlSZz7ff" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-43b3f91a7abso632855f8f.1 for ; Thu, 19 Mar 2026 09:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773936525; x=1774541325; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=ICb79d2+sHzdxc1vylZi/q9n6G5oRRdWGzOcbuBbee0=; b=BlSZz7ffp92m2agJsQU9Ik3tmkBuCTY67uOumaHHmDo5VbLfkoTMCrs1WZVkMmBxPx kZj43YiLtz2ud52GvLRP6AjYFBsAExgS3U26E6qnac2KLf9Eg/WDgAqeYdZcLIRqX091 z8vF1N81pnXMN2COHqfGHR2fEOPOcCjaaR+QztB36DDelxJ8vHalGt28+xA0gO1xfre8 bs3qOvTJNP82HUPDyPbux7S5XokeWa+cub7rsy04qVmiz3UU2kyGhaAgSYpzJrq4RzGm 2MQ65kvUEp9mgTPtInonnGRrioEvLEsIkU2xRPIWVu2bF9eF3Uu5+dZWrHJYrjfHlWOL BpDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773936525; x=1774541325; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ICb79d2+sHzdxc1vylZi/q9n6G5oRRdWGzOcbuBbee0=; b=Pzo5MvWpmPWf8JSzEVhcM6+JasqIUmB0S/wuSlJyVmJDC0oXVQET1vaLa+oIzVbLxr Wb/QG/P6G8sTwn7tXX9rDRwW0ZO+v8qyNp+7lZI5VN6o6w8RdhvMoHGQekQUcyXq1ZiW x19HkRNd2cXY/gQZqr8wC+RV0Ckmw0Dl2daBmU2cBxPmxgfHmve5Glg27ntWmerK0n+Z JWb2r2jzdC3LOaJT1fSuTgVwLXIYSBG5hOFFyY2y5mDGOxnN84Y9A5KTCxlrP5v0OMVO ehtZnIYhabIK4RhGt2LOwfhUBtLhjdEgQ3EmtbkOGFxkUvgMvxXIK0wP+4GB0Scklmi3 vVvg== X-Forwarded-Encrypted: i=1; AJvYcCUbyU159xyHeQsHflMBPCvL6EH1NID1fVRgb9s3HeEa46fHfBDoLnOONeuGSX9zVfGq8feQCCzPRAUYlMU=@vger.kernel.org X-Gm-Message-State: AOJu0Ywo2RA0wN1WfB8pgh23c5Fn4IhM4WBA905YckmP/IHaoZ+da6g8 3scTkA2BfYZ3Mfh9bThsfjvWODG8GaE9oGj/k4jpcMDVmVgqmJHYmcLnNCQI8P1AOLc= X-Gm-Gg: ATEYQzxHIV6THJ9nuXeuOZv9bTkFvuIM+4vHP6Euy71/iGeZusMwh458D2Rqjo1UVgC PTexZr7vViQyl4HoCvmzlWBOUiHmKGBkmqFEiXl9x67/BQW+bzvd93k4B9kpZstcBUcZn2vRQgN f6CvIhdoBhyrmQvu0ZjivcG8Fei30P5FykvAmg/JAjmgKdjoTb2DZ3MwxGuOrAWPTKRA0zL1cmQ fRyxMblzMk2D+U9PuQ0yEfZJSSSAoCGYNdBlyiNui1NKQJ/fyRII4CYop+Gt5i1vJR8oJAG1nvi gt5YbYsTvmt+z7VzLnxC7MY//Jtw1jiFMUQvnShNJA4aMjpC6o6cp43RzCo1BctV/E+VvzxUI86 yKdv4Q63iBTkKulKGiLnulq+2tFxlDBLA2+E5STw//gV1sNbXktMX/853cJQn4Z8K4NSxJGrwis nsabZplh1MJ5OY4Oc6inziQdqObW/ZrwA5JiJRXkSTpbEeCFkScLd2lrg1/V/xBkqPBUAgcIDCe Zxtrho= X-Received: by 2002:a05:6000:2511:b0:43b:4faf:a49f with SMTP id ffacd0b85a97d-43b527cb31amr14507158f8f.50.1773936523323; Thu, 19 Mar 2026 09:08:43 -0700 (PDT) Received: from ?IPV6:2a01:e0a:106d:1080:8e54:fbaf:8cb6:e9f7? ([2a01:e0a:106d:1080:8e54:fbaf:8cb6:e9f7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b51899617sm17403918f8f.31.2026.03.19.09.08.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Mar 2026 09:08:42 -0700 (PDT) Message-ID: <7eda931a-f30e-4e01-a130-996ec7f450d1@linaro.org> Date: Thu, 19 Mar 2026 17:08:42 +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 From: Neil Armstrong Reply-To: Neil Armstrong Subject: Re: [PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver To: Bryan O'Donoghue , Vladimir Zapolskiy , Bryan O'Donoghue , Dmitry Baryshkov Cc: 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> <9578400d-30ac-4d8c-9295-ee4ec8af3b2c@kernel.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= x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 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/19/26 16:18, Bryan O'Donoghue wrote: > On 19/03/2026 14:56, Vladimir Zapolskiy wrote: >>> There's no reason to remove that from CAMSS - it would be an ABI break >>> in user-space anyway. >> >> If technically CAMSS CSIPHY could be excluded from the list of CAMSS media >> subdevices, then for the sake of simplification it should be done for all >> supported platforms in advance, such a change will be independent from this >> particular phy series, and vice versa, this CAMSS only driver change will >> prepare a ground for media-less CAMSS CSIPHY device drivers, hence it shall >> precede this particular CAMSS CSIPHY series. >> >> For backward compatibility with userspace a noop stub will be good enough, >> it's not an issue at all. > > The standalone PHY driver doesn't require removing the CSIPHY media > entity from CAMSS. They serve different purposes and coexist - its important to have a NOP from user-space perspective for legacy and indeed for new implementations. > > How the PHY gets represented in the kernel is of zero interest to user-sapce. > > That said, stubbing out the media entity is independent work that can happen in any order and IMO is a separate debate. Whether or not CSIPHY init sequences live inside of a monolithic CAMSS driver or live inside off a discrete csiphy driver is not related to the media graph. > > Happy to have that debate - and if indicated, carefully apply patches separately. So what does this actually solves ? Neil > > --- > bod