From patchwork Thu Feb 20 10:07:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 866824 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 CA0A21F0E36 for ; Thu, 20 Feb 2025 10:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740046129; cv=none; b=AG2NgsIN+XAMOl3IhJ3lzZjMux23LTAkly7mi5Dja3ctFEs3VH5JG5lLe+RrXRt/IVL8LOG2vx1kN3R5nKPPwiX8f6rrdAfllcejtJrCaQgyM48f6RvgyhSWbAnJHqD3mxUqcwvJvZtoTQIoJwEDnyxzJMXJJOk6HbwknXr6xmI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740046129; c=relaxed/simple; bh=FgJVBSjYusgZgNG2tQQqs/1on/o8VH1/MQqBVN+UdAQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KYxaItyjSIkY40hnOCzoxYqQWGh9+conVYboQfPlbGvZ8G30VX6AZsZLq63qMw9y4QximTOFOeuldUokfwKcvHSA9cq6Xx8dQHBN1RP1Mi/39Ul6uUOaaXecjacwCTk/lwJo2XnW0VpFDmBSNd4qX9Ioj2JHYwJvBU9FyKham+g= 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=XKIjMOwq; arc=none smtp.client-ip=209.85.216.54 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="XKIjMOwq" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2fc0d44a876so1134650a91.3 for ; Thu, 20 Feb 2025 02:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740046127; x=1740650927; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=meTtqveZhiyJw9ezonjEpVoABcseZWYpFPvHUuAWv9M=; b=XKIjMOwqqPHLUlzVmfabnjG/y9G6wrDOnymNeaMNeNcCKdQ2HRLGVOV+RqSLJ1vupU Sr2DIg+L5yO7JvzqMB0oSdQbz50EEWqu7Y+VvAieeI7s5FDjWIuuSHphYzMgMRwTebbz PtArFsW7juJbbWExLE16zgXDy6WpkC3zsDiLwHuh25Dq5Sb1T9ACmabWaonZgWEh7myv 1xrEY/4KuqDSZtoHNn3WKatRev10B/PtbcjK8MfTNx79DQCrvqywFnx9rVi8xbEK6axS QN+E89VEEdguQ41LPXNHFrChGjiVtniHNJu9vSbn5K0CXHmQT1nBQJ4IIWr3xmf801s8 qw5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740046127; x=1740650927; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=meTtqveZhiyJw9ezonjEpVoABcseZWYpFPvHUuAWv9M=; b=mCDY1Fl4hODUE1uyqcKb7hIgN2e9ooFlGE4NFrCkjT8vDIIhi2Yt0Q6nvHxSqW2rWK dQNbfz7pChzDZ+n3f6kjoGSqkJtfoP1RONgsNSXUFOv+/ay86I38BJOHkH/4tiyfbpx9 VTZMcFRHXOWXAeGhYGfPw5bYAFzR12o2OMgNA47Ey5Xz4alqCroFEybSlciHVpqEJAWt XBT5INrGL+qnTiXV6dNd2zZk9YQOQzIHKofN/psLU2UYr398m96zob1y5bGw1T157STW Ya/hw1Te9Xv4EzHv5kj10268HsLFdwJCcLgUBBHfL2TXZmwioHS4dvbHE9yo8IiCKZxW Pzyg== X-Gm-Message-State: AOJu0YwYUt6SxhxNPWQsKeN2iPFmA0zyJocswQD+JJaiWWIGKV++WRpU naPi7CiZYtOKmss6P8v/bFE95F+WCCdyLYRDkRppKVKDv/aDsuuYetWERafHLrI= X-Gm-Gg: ASbGnctxNW3Vno9fsyB0IB6HEB3gEXyGq8FrgbGvaYK98CcISvVTGf1rxERu4kCsMFy 0brxRt1Dm9/PIcXc8ZOjc19knCEPyOKbjhAmc4dM2inrYp70p0POPXsGTO+AiG/oBVFbbCZb2JE RMCYvHORT+8V8x3X9IHVb47Sap4oTZx5/xByeCH1741/QykZS/Nm4Hl7+Bud4UsWXQvtIp0JEGH LQtw70lRUdwhmLGHdYDlLcWkXjIZAqSHTJzbt+22+puStuWZdPFxd55UFlqScZe+GW3obiyHnnm 7gVnFN6kWohF X-Google-Smtp-Source: AGHT+IGD8wqaCpXBwdzW85qDe+j1va1f9U+T7g4YEj1TqycqH9bnYqKAjfpfwmdIfdAez2gbLo1Zwg== X-Received: by 2002:a17:90b:3b83:b0:2f9:9ddd:689b with SMTP id 98e67ed59e1d1-2fc410493acmr28089738a91.22.1740046127187; Thu, 20 Feb 2025 02:08:47 -0800 (PST) Received: from [127.0.1.1] ([112.65.12.217]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2fbf98b3305sm15304645a91.6.2025.02.20.02.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2025 02:08:46 -0800 (PST) From: Jun Nie Date: Thu, 20 Feb 2025 18:07:55 +0800 Subject: [PATCH v2 4/5] dt-bindings: display/msm: dsi-controller-main: Document dual panel property Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250220-dual-dsi-v2-4-6c0038d5a2ef@linaro.org> References: <20250220-dual-dsi-v2-0-6c0038d5a2ef@linaro.org> In-Reply-To: <20250220-dual-dsi-v2-0-6c0038d5a2ef@linaro.org> To: Rob Clark , Abhinav Kumar , Jessica Zhang , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krishna Manikandan Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jun Nie X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1740046076; l=1495; i=jun.nie@linaro.org; s=20240403; h=from:subject:message-id; bh=FgJVBSjYusgZgNG2tQQqs/1on/o8VH1/MQqBVN+UdAQ=; b=oaEXnf20Cz3Ju+1zO2v+vtkcbrG+X7KDJR0PpZRcUkf0QC2Lo0cvU97aOJrdgq8tfBzlaNeD0 vvilHqVr9BpDIW2cesJxDngRIMCexsZ2QgBOnuum6tB6wsLrIJuhgMm X-Developer-Key: i=jun.nie@linaro.org; a=ed25519; pk=MNiBt/faLPvo+iJoP1hodyY2x6ozVXL8QMptmsKg3cc= The DSI interface can be connected to a panel that has a dual DSI channel, or to two separate panels, each equipped with a single DSI channel. To prevent the DSC configuration for the dual panel setup from disrupting the current configuration of a single panel with a dual DSI channel, add a dual panel property to support the use of two panels. Signed-off-by: Jun Nie --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index ffbd1dc9470e2091b477b0c88392d81802119f48..e3f2eabde27609a66d6d81fafcb14e1bc014613c 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -88,9 +88,15 @@ properties: qcom,dual-dsi-mode: type: boolean description: | - Indicates if the DSI controller is driving a panel which needs + Indicates if the DSI controller is driving display device which needs 2 DSI links. + qcom,dual-panel: + type: boolean + description: | + Indicates if the DSI controller is driving display device that composed + with 2 independent panels and needs 2 DSI links. + qcom,master-dsi: type: boolean description: |