From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) (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 72507273D7C for ; Tue, 15 Jul 2025 08:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752569336; cv=none; b=Etw2Oh0Tw+G2J5C/Eh6kvmi6FV7fbyIT37ov627yDuQoMLR19XfrtzqMwXoL0ShO/KaIMohWcL5Aat01pGnIlTirIWm+GUC7H2EnvEL077egSzkDoL0nX+EakiJ9CnaBId6TvIj6sUjq0gNnomAjPrRD8eu2kkOCRatMtHu5tWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752569336; c=relaxed/simple; bh=pD1Le8OV0RXrqAj6LsQRy5Z5NKQWRjpP+G6eQrk5178=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MlHiEPT9B9oLYNi7d7WhrC7T8Q9ziaHj6dLiG/wR5S6Nobqp+ywaf5zuH0laG7kDjLztJpoFZF96tWQcMWEoZpwOlqjgrbxAQalJUIcCe4ok3us+UMS6Rjmf1qIs5QHR4OKtgw5HFG6C94q93qYvY8Xt3smC7TytEGbwibd+VmQ= 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=ow2PVbW3; arc=none smtp.client-ip=209.85.221.68 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="ow2PVbW3" Received: by mail-wr1-f68.google.com with SMTP id ffacd0b85a97d-3a50956e5d3so3986945f8f.1 for ; Tue, 15 Jul 2025 01:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752569333; x=1753174133; 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=E9mBnIKvAWdT630/iy9ORQBp2rYWTT3yVkBYpDCTfjY=; b=ow2PVbW3HTD+dAyI1T/07+N87D3UIC55x1rIVD/CDmW+Y5sjkV0dpW+VnMk3jfnvsK HJ7+suBML8Hfhk5oL/w0J+IGmf+lifIFfsgZjmXovJIF4ALZhReNOkQEVube+gECuc+f uDYdp7KwMlWSfWQDRGDBR117ZMFUQMMx40BLw0IKS21FnQCiFEdNb6eIdBrgclofGAV+ sikL9Pa2Ghs2i6VVg+NEOa6fcuR4/gwuw0CH7kJ5kgLV9EFcfqGjdNAYDvv/JP89eXnu VeKifpUdzvmIJe1kwxGApER2Re41if8X1ya1rDQxibaSx+6S3pHJ6kabYzb/jDxNPCFe 9Ccg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752569333; x=1753174133; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E9mBnIKvAWdT630/iy9ORQBp2rYWTT3yVkBYpDCTfjY=; b=ho1Jhq8j6xy543OiFGgXyoUL7sN2CNTD/cPW6CYjFArYix9MuLEDG/gFVyeGv9GvD/ sjqaLdOh6xGJbk+kFQHaeviHYFOCctzz0jnFWPD/MQelrVy2ldcOJ3Ub9TFFs71zGHEz bTU9U20Juuj9rM1LR0zF1Jj2oedAClC6/pl5r9D9r8XieWGxTXfjNYpWEbs0y1zsVqXH QwLiNgaX/O3IvWvQF2ABceZDNyC2Pf3smQ2GIBNFNe0iIzxhFEDOCH9x8sgQNOnK//LI HiOlfnboKe5UABTzVmtB+GGo0sw+u+U/oL0oSduvSwS/gMxkOKfEykiK+0nvBF0TUjvq lmCA== X-Forwarded-Encrypted: i=1; AJvYcCVFEcDw042TvXaVAQuCqMMQN0LkoozKWbmYVetlSlFqZdXR7+4ZHwt124ShCyPJv1Bv827bI2+xffsPZw==@vger.kernel.org X-Gm-Message-State: AOJu0Yz37iH8DzPmNvdGmDlRJAp4mjlXbWNAcPNMyDYruRCkCyXo+Ip1 bAIJYlDPuOTZD8/fkdtv0+FWxZIep04/ueYNqVLStc1mdpjYOosgHg0YWpO6/R9lf74= X-Gm-Gg: ASbGncsF5dKC51lM21FfMlBVhs4YvjTA2nlpwjM7HPh7z0twdFpkvqTdIzn5okE+dcv xRNTyRHOcRPpWGNl75wmVjreqbYcPcL87c5BJUAXiOOFSi8tYZuygCIweo9j8PAkAyiBM2VJGz1 moWWwgnYT0yjMmO74ffDAjChms4ZwiaYMHBLNze4Bu5vi89dBa33+/nOIqLQkZOQE2E4HeUKWpG SfLurqBpC/bbJNsRINa7yYNBxgFRp6G54xudXKxK9SOCaBgfav8PxUrAaumiTihJ+e0wZBvH1QS eumIM5MfNHcE/1cBV31Ka4nLI8bgF151BPls9aSYXn3tN1tHyQvqsd6YVx5KLvM68MAjMbTriEg 0jgFDZh7dTSpXUCBuDEyAGrPsJW+e4lcM92c38X7NNr4mRQOMVmREMJOlKajmjJM= X-Google-Smtp-Source: AGHT+IGJMK52kdHoKat08gh9ZxE9vJbWot+So4R3frmu9VhxvGSm01AjcQ47N5lRHMsqjgkWlHkYvg== X-Received: by 2002:a05:6000:1449:b0:3a5:2fae:1348 with SMTP id ffacd0b85a97d-3b60a1bacb9mr1597786f8f.51.1752569332760; Tue, 15 Jul 2025 01:48:52 -0700 (PDT) Received: from [192.168.0.35] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3b5e8e1e8b1sm14424155f8f.82.2025.07.15.01.48.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Jul 2025 01:48:52 -0700 (PDT) Message-ID: Date: Tue, 15 Jul 2025 09:48:51 +0100 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 00/15] Add dt-bindings and dtsi changes for CAMSS on x1e80100 silicon To: Vladimir Zapolskiy , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , Mauro Carvalho Chehab , Konrad Dybcio Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Konrad Dybcio References: <20250711-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v7-0-0bc5da82f526@linaro.org> <9361e954-e2c9-41c6-be4c-12b0e4f367f5@linaro.org> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <9361e954-e2c9-41c6-be4c-12b0e4f367f5@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 15/07/2025 07:53, Vladimir Zapolskiy wrote: >>    Finally I believe we should contine to have endpoints go from the >> sensor >>    to CAMSS not the PHY as CAMSS' CSI decoder is the consumer of the data >>    not the PHY. >> > > 1. This is an incorrect assumption, unfortunately it was not discussed > previously for whatever reason, good news now it gets a discussion under > drivers/phy changeset. Perhaps you can explain why ? Taking the example of other setups similar to CAMSS I believe as laid out above we should have - Dedicated CSIPHY nodes - Use the upstream PHY API I believe individual CSIPHY nodes and endpoints from sensor to CSID are more consistent with established upstream schema. > 2. The whole new changes for legacy/new CSIPHY support is not present > in v1-v6 of this changeset, it just appears out of nowhere in the v7, > and since it is broken it should be removed from v8 expectedly. Broken how though ? > It's a pity to realize that instead of providing any review comments > for the CSIPHY support series sent to you one month ago a lot of time > is wastefully burnt on a broken by design change development. I've been working on this on-and-off since the end of April: Link: https://lore.kernel.org/linux-media/c5cf0155-f839-4db9-b865-d39b56bb1e0a@linaro.org The length of time isn't a good argument to apply a patch but, of course its annoying. The rationale here is: - Follow existing examples and best practices [1][2][3] - Minimize code bombs being generally conservative in the amount of churn going in per release cycle - Help people get changes merged - which can conflict with the previous statement Which from my reading of the state of the art means: - Dedicated CSIPHY nodes - Endpoints from sensor to CSI decoder - And picking up on point #2 above minimizing the churn [1] Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml [2] Documentation/devicetree/bindings/phy/mediatek,mt8365-csi-rx.yaml [3] https://lore.kernel.org/linux-media/20240220-rk3568-vicap-v9-12-ace1e5cc4a82@collabora.com/ --- bod