From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 15EDA3CC310 for ; Wed, 29 Jul 2026 19:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785355073; cv=none; b=qSfv5nSI2kE/gS1wMxAMUEyG9tkYrt0DdzQOtoqiuD5qZ7WxqX6t5uu8351dXuK1SHL4KEYkO7A9je1vL1e0hwFFbWXSVAIRV44YjZ70xYjwbFu7eX29uxSgLjs1iqjH13ZVUgbBpAbzUW9HNS2Sy+sO3BlsWVSB6nRO32vcvjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785355073; c=relaxed/simple; bh=jbGSyWqJyLohTYmCLKvB730dHsQBMDNbc5XkanPK7/I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=X2+WWicic/AiNhiPSUptGCsmJ073C8YT9HGAsu9wL61bWsfa8sGgwh9F8G4xHVJ6OOR/LksTAARIykSq2kSL30/7en72ufTdvPrLBjT8yGwUeR1y6TwpTnhamY0hFHK5i59HHT2qn8qNsO6ymb8OE7LoWiReUpoQkLZNV05Iqqs= 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=a8zbIz3e; arc=none smtp.client-ip=209.85.167.51 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="a8zbIz3e" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5b014810feeso170713e87.1 for ; Wed, 29 Jul 2026 12:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1785355068; x=1785959868; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=LE8yxChc+WSkATkEhDd8gBfNPkNIzWWJVjtjI5ufJCo=; b=a8zbIz3e5YssqPIFskmSJFHAlHwnDJILzX0FZOsqLNOgP4KKGys/2ZuOLm7uFyfuyl 8lHJgWtilFvmU/VltwU82KxyX8+yOFeOs0HOJubkGKRU02UduNgfK/xtY6fLXvjJbPtN lkxRIpVJuh5hbm3+WeQt3up/zZ87pcsdjg649ieYkU/0AXdeGSjjwMkSOFPplLm18VqC r3gxuwi/s8Swme5HMcc97NVjy8PJiVoNJQlPFkz+YVMx6KCiQMNtYgaZMkYcoZSodvgo FLcYyo4f1CBIaRruD23D/wp5UAKSv+0wmaJIiGba8T1AcTtZjNV5BReCkkrW0l5ZWN0r CKfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785355068; x=1785959868; h=content-transfer-encoding:content-type:in-reply-to: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 :content-type; bh=LE8yxChc+WSkATkEhDd8gBfNPkNIzWWJVjtjI5ufJCo=; b=U3GMB1jejazLiwkTYA5gk06Ak3r1cOaGAb2wE2oM4sjNC0gbeQYI+6OtkuSyVkVsZm gLSEhL4srU3V2nKez77MSL6vM+wu0lCDgbCxRDFJKhLaOR5myQqDyTTbZ5TuHrlqVzpo 5qJljsy+rHMUvI67TbRldYwd6eT9pUyMjRbmREs4KztaqRoRIxjuO9fFQ4DL8SnMO5Cm pi5mz8GNYU9HpXEHhaa/LquNzM7TZQTRpN3a7cAdzYOfBLhYCWoK6ifBIVepCSXhFAnF lNBL95bGNqn+qMU04Ad9LKKBbOeuH04r+kww9twPQ1apr9YT5OeJWTXB3t/6suYrG6+f 5tCg== X-Forwarded-Encrypted: i=1; AHgh+RrMInKFG1mYScfsxOMENnQg1s/8qAnC9/tCCJLgauB08zHC6jFOwy8xMXaZf9fIeTOR6IdSKpHcDJbVSzI=@vger.kernel.org X-Gm-Message-State: AOJu0YyUzG5ol2Nu8AuU+NZUp1LxHswqbdNld0VEjPZ/fVKyx28X1qeH iL6vmAdfuF7vzv88G2dXZmgQiKMcbEd6+/BATM1V2GQZazF9AxmCkL680bk0peSiFE4= X-Gm-Gg: AR+sD137lM+g5loLqKPkJ8l3yMT0XduWvjZ2R7SaiIWLzddA+JT+i1B+Q9+L/NwC+rW 6qnclmvQqEW9ACrJeQtKWBlogwq+TcBqUfvo7NNCAI3tcgwfVZOo3Ed0wv3qThB9yoB5gshCioU ca3v9wdP4HJxBBVUzGdWJ4x1jQAOLNSjXXQy/XszguSnnFW1IMgViDvobhnZVPIA9mLUWUChY92 CC9JXR3JpzjfspUAEq9ollM+FhCkNA/s1nU7t/OBdKLUnQbqF47+hF9EtspNw9KcwgE7FJcG4Hc WR02HVYgwWE+y9Yg73uy/iqa8CWaAjVZoaILbJ0NitgFXpa2tyFqWViohWmEmXk5D3LwmUlzKcG w6d39BaTCv8ZSdbEj1BTH1fzmQZkGjrAzcHPlINDWkdMGLqKccLMdxKma8gHF/VERgu2fx7aAm2 NbL+JjK4H8fd0+qbrJyis6mk1C00L/uaYc7GM8CByBjOPPXz8pg/3kepWiA+xMWKRppZgx/FjEe AUg/RY8xHvuyveHS3NtKCp+daE/4sO4lr+w+ek+BjEUrFowlLWiPw== X-Received: by 2002:a05:6512:2250:b0:5b1:5e89:30f6 with SMTP id 2adb3069b0e04-5b2da4cfa64mr16335e87.3.1785355068442; Wed, 29 Jul 2026 12:57:48 -0700 (PDT) Received: from [192.168.1.100] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b2d78ea812sm572610e87.43.2026.07.29.12.57.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jul 2026 12:57:47 -0700 (PDT) Message-ID: <99ffd9e6-f47b-45cc-a039-d8cd5dacc28c@linaro.org> Date: Wed, 29 Jul 2026 22:57:47 +0300 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 v14 1/2] dt-bindings: phy: qcom: Add CSI2 C-PHY/DPHY schema To: Bryan O'Donoghue , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong Cc: Bryan O'Donoghue , 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: <20260727-x1e-csi2-phy-v14-0-27d1bf477593@linaro.org> <20260727-x1e-csi2-phy-v14-1-27d1bf477593@linaro.org> <1e1bc17a-4c7a-4c08-b0c8-2a2ff31fe870@linaro.org> From: Vladimir Zapolskiy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/27/26 23:06, Bryan O'Donoghue wrote: > On 27/07/2026 21:03, Vladimir Zapolskiy wrote: >>> +                description: >>> +                  Logical lane indices 0-3, not physical pad positions. >> >> In hardware description it's physical data lane indexes, the same is >> said in >> video-interfaces.yaml documentation, the numeration starting from zero is >> selected to follow even bits in CSI_COMMON_CTRL5 register (D-PHY mode): >> >> * https://lore.kernel.org/ >> all/59331aa7-8430-4754-861c-4ba6a4810ccd@oss.qualcomm.com/ > > I'm not sure what you're asking for here - this exact text ? > Returning to the description of 'data-lanes' property: > Logical lane indices 0-3, not physical pad positions. Logical lane index is the same as a position of a physical lane index in the 'data-lanes' array, this array data cannot be "logical lane indices". A valid description is found in video-interfaces.yaml: "An array of physical data lane indexes". So, it should be an array, and specifically an array of physical data lane indices, this contradicts to the given description for CSIPHY. Here the open question is how physical lanes of CSIPHY are numerated, this requires a verbose comment. For instance Qualcomm CSIPHY configured in D-PHY combo mode (two sensors attached) has 2 or 3 data lanes and 2 clock lanes, for such and other cases a 'data-lanes' property description should be clear and unambiguous to allow a valid configuration to be provided. -- Best wishes, Vladimir