From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 DA5C23D564D for ; Thu, 19 Mar 2026 15:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773933519; cv=none; b=ttXCWhyYevqAaweyMZJ7LmQdX4hiQdi/GLQxilogFB7QiqbOujwuMIhZJXBqqLlCxAmHplmhqfDtsKzwqoV0iYvnwzRfogoZg0Xyqn3g2krrVj6pzI7cYHe9U85HoY9ZuAxHc+GrMeN80oVQvQmcjdhpPcEsXHn80nWgZMrS8Zk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773933519; c=relaxed/simple; bh=OVF5iAAqdJTr41/LgOTWxetRUPI07mcg6qV0Dr9eEqs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ELs58MuWEsnRfnT+1hUNxeYkUIFCyE9ZFg3YmWkqTgGFJrqud2aVtvEyhL5plF6w9KT7Gy/tseoW5pzA10p0HNAV94TtXAuxu9PUHFoOmGyu2BYXTQlRp08FJumehudoM/9m/i/f7kRXXOmEbdOulwvSrk3I1Sgm6CaLt86hw/Y= 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=vcF+sh+8; arc=none smtp.client-ip=209.85.218.47 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="vcF+sh+8" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b98133bdc4bso106363666b.0 for ; Thu, 19 Mar 2026 08:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773933515; x=1774538315; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DWpVwltXVlWC8w/NEtJeLgYjgTRX+Okg3gaLBnKxQCQ=; b=vcF+sh+8DHD3sQZnTrUCY++2Bw7KiixzpaHgzMoRH9Qd3d5iQAMx5G5o/Ka+VjUCx4 V4bJujiWthBBtFYUft9+1cyP7yRHjyCnYJLBF03tOXNxcGkSmprVBbw+jfU/CqqpZ2Y6 /GPP673z/jVgd0qrEINcGkl0A0tVgedYBK+uEtW433BNJ9z/BToHCvXCpo0/vhvqhzx2 jXLgIzM4NL+UHJYz6eaudaFg1Eot0bntZ/ahuq9AX5vUcfvxC4gY+Og/BdUwqqeio2v3 h7QJbq9abTGUyYIlSEcq700EM29NijmbXCN37tupc4GIjgk0ilH9tEQos76tpeUJr0a3 YMdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773933515; x=1774538315; h=content-transfer-encoding:in-reply-to:content-language:from :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; bh=DWpVwltXVlWC8w/NEtJeLgYjgTRX+Okg3gaLBnKxQCQ=; b=kWKh1zvMhGjlzikaekLLfwyTcUOPkadfrUHH6dbr+Xys7t2wCOma76gH0Zi0+jwpGS 0pjZhLVfllHV8Tzb4YhquEEBamRU+o+7+jtwviuYW3A8GxTkXvI17OrpfXK2IbPvQ44g GPOaqE6t1DVJG9IlCo5vfc6DKGHy+egvwXUlni7wD3YkgQSH7kXKyo0zF9hm81iB6Lz+ MbFnXTlO1ktV2OKQbVLiDpseFB5j8BpY794poDcAls9OjoHLyGrDe8HVT6PeawY0YAGY StLJQi/pykWoL9+HPYk6KucJbaXigXfnM/gOA6GeyKQcFHJw4T10KguRr7gde1xUtOsX AgfQ== X-Forwarded-Encrypted: i=1; AJvYcCUiRRuVqm/d8Bu8a40UUWBpMfnK/REBQrBTfVLh9r76O1GWgQMK86iOzWzfgV9X/6h2Pe28+jrti8jZMsI=@vger.kernel.org X-Gm-Message-State: AOJu0YyQ6nKWQhuEsBxDJMzb6xsO/Sea7YxTrsuSJO6VX14GJFDldO8J SsHFVCcm4IT5yfi4mFQ4xfKRNfnjcxJ2B914wDq0Ed+wyJeLtQUhUVe4NAPRQz0jL3A= X-Gm-Gg: ATEYQzyvbFNFNReYh/TfA7yudZRfb4fPXIXcS+M6AcAubMBJyxkLrXTEgXhg4KJpPsG Vip2WVZusVEcr0+fiibmyop4S7qMaK2mHuqAisVa+k+u+sGVqx+oLnaK9qXri+dxK8cBJbe0Ko5 BqTG70106Ha/nMUf/Xf9BhJyaT8K7UJKUJrWY6c3lDGZDKFv8ylfnxoFTrmV+m+T/Xjzkj3zDHI O8PP5I+e7GBBLUE0Q2mlJIBm42PcxNSjlh03dupy2Qfw/HPJNo6uTOsirXMs7irI1rszXd8mwJ0 eObuceS97vIZedDyHHIXA9JOKdobqsj67uy1dOPj40v0eacivfObOtWWBwzS8bE8IRJfat2exAs Dl6Qgc7dG1P6qoj0XJs1/0Z0du311YzeeojLNer8ahqM9u2rR9vOUW/jGfkCwXVvQFmN6PNb97V L0GHj/Wtc6YVmhWNRMUsnUsERKpIlG92uk2EBD X-Received: by 2002:a17:906:e244:b0:b86:e938:1b21 with SMTP id a640c23a62f3a-b97f496b63dmr353386566b.23.1773933515086; Thu, 19 Mar 2026 08:18:35 -0700 (PDT) Received: from [192.168.0.167] ([109.76.224.118]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b97f170e5d4sm464497266b.55.2026.03.19.08.18.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Mar 2026 08:18:34 -0700 (PDT) Message-ID: Date: Thu, 19 Mar 2026 15:18:32 +0000 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 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver To: Vladimir Zapolskiy , Bryan O'Donoghue , Dmitry Baryshkov , Neil Armstrong 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> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. --- bod