From patchwork Mon Jan 27 13:21:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951376 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 978091FECD2 for ; Mon, 27 Jan 2025 13:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737984073; cv=none; b=jd6uzF+GEv9jkVL/PJQ2zf27Ony+6pflg5IxDCThirDhqrdaBVOsoOF/NaTwsDuZnyxIsRchFFIksGKuitts7zQ2UAkfzylzDyLNqPtKXrHtEsHD/kiGBavx+kUFGqBzCNfDts8+9W7VM5v0E63pUDm69h8zlFk8sVX5N2hGDlk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737984073; c=relaxed/simple; bh=Ngxb6CRJg7Ow6aP/LBJWxZeYdq9qdffG1shfNRm5Db0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M+7kRHEqHa+Xkgc2fM7Urgr436cPQFO9jVAmdyLFgNcwyYxQN/Iib2kPjljUIIurkJ1kVsXWdOIZEdQbR5jpcgjV/yYXjVdlWKF+mreAQ3MB2cEtRlgaFyLz8+JQz31muvS9OjBcLN2td5EqeYvcermpAuMepxzeosSqCSf3eXQ= 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=E5FqEXAI; arc=none smtp.client-ip=209.85.128.44 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="E5FqEXAI" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-436284cdbe0so7026725e9.3 for ; Mon, 27 Jan 2025 05:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737984069; x=1738588869; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+klEMk0HAOeZBAXubltjLaVWMvzRQNoO88wNMjjAFMg=; b=E5FqEXAIJ6dtBLqtAuo0rflmtwwfcUT/B9DuqGmB7ZNl3A47W+3cFZwZjaAJ91k6po RGy4lAHsMpGZf+IOSGBmcOQUkvqM++B/CyxPA0O0iyyWojOTrwUxzVPm8/NB4Qb8IM52 l1F7kNC1AnCvwVrdCQZDcDaVsjz+N6ZIZXO1YnpvJQBa7A1P2sLci2H65VUis9Am7MsU PIL1fbVPZNrTntX1uCXBFnu9EDY5Kkk1UGDRXNtMh3osIP0Mxh7q2N/RH3KqAKE31nPm wtOM/3wTv+bHv+sSIZvarVaG1+l76qzfZTsxR+/ILwx6ZYlbinnMTfOqrU4AQKmMZ35k +q0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737984069; x=1738588869; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+klEMk0HAOeZBAXubltjLaVWMvzRQNoO88wNMjjAFMg=; b=FGrLrPHJVVEMheh51PQhMaKcIJkFfjOmgJePvQHLXSnY5v6B+dUmOMHzarDbMaPHHf iUX8NBniTxtOElcCvd3xmrsqJcNlRMHxivXOlIgHJwYjEauRVM+M5OjWGQNxlNZimogU 8lM3Wt8icGj31xYEBwILFlWzeLVruVPbSHbT2P+foGmh8N+QDBq3a5yM3XvWVgpjx1js pIeK7SW+jS8l2AYuOV0tLf0Y2NHJm/sX5voaEMmSe6TgHniz1JTekA5h3VqZ3dEeSvBb XYvun4c32LUF5eYgCIG3GyAgPu5aaHwnqX7TBHDjv/REBEh+QxBjq1erx6TdHW7Bf6bp eUAQ== X-Forwarded-Encrypted: i=1; AJvYcCUEvLDTzBLO56fqw0RJ3q6IkD1DL/OYdzz+K9h/yHjSaz6+v0xc7V4y/KH+X+TP4RP39wHJA8awEDsos2+C@vger.kernel.org X-Gm-Message-State: AOJu0YxzVtLBpmzOPLXeVtPgosxwSBGMNPGEd5q9NlIBi/i/Q3BZ4NFE hkac/BxaV/H1PqhM3EcjP/cJQNO1k7mPsQ359a/5DA6W5EnhGFth5YO/o9AqI/c= X-Gm-Gg: ASbGnctsQE83yiPmMmOYPl+zh82Sxv9/PAdSn5+Y0G5z3Kb9l4U+NErLkmsCrB29PvB prgNNO1P74/79i7S+1mKudM1X+Ik221AigoKDC/UkfjDhbTqlg1Gp1eapGaDv+9/LKqmv7KMU4g HdKrIc+bfX6cwX+e2WWJwoGfmLLnIfdaIw4MmPChl9RxiN7c663CCdrKQtv4HHpx8KLLS0HAo1b BWIv4kJtlQxPrBdFfFeCAf1kcGNt9og6GM3v09jQArudRCbXO1uUEOjdBTtp8L0+hGpdWxzwR4V nFBpSDMyWoGW1WX4hQ== X-Google-Smtp-Source: AGHT+IHXp0TkSnUcKeJc7jgumcRa74yvba9PnZUCBYFw4tCqyzZOJvhurHlS0rdMsNnSl5Phd/c0+g== X-Received: by 2002:a05:600c:1c0a:b0:42c:bfd6:9d2f with SMTP id 5b1f17b1804b1-438913bde78mr147472595e9.1.1737984068879; Mon, 27 Jan 2025 05:21:08 -0800 (PST) Received: from krzk-bin.. ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd4b9977sm132386105e9.25.2025.01.27.05.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:21:08 -0800 (PST) From: Krzysztof Kozlowski To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Michael Turquette , Stephen Boyd , Krishna Manikandan , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: display/msm/dsi-phy: Add header with exposed clock IDs Date: Mon, 27 Jan 2025 14:21:04 +0100 Message-ID: <20250127132105.107138-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DSI phys, from earliest (28 nm) up to newest (3 nm) generation, provide two clocks. The respective clock ID is used by drivers and DTS, so it should be documented as explicit ABI. Signed-off-by: Krzysztof Kozlowski Acked-by: Stephen Boyd Acked-by: Dmitry Baryshkov --- Patch for Display tree, although with Ack from clock. --- .../devicetree/bindings/display/msm/dsi-phy-common.yaml | 2 ++ MAINTAINERS | 1 + include/dt-bindings/clock/qcom,dsi-phy-28nm.h | 9 +++++++++ 3 files changed, 12 insertions(+) create mode 100644 include/dt-bindings/clock/qcom,dsi-phy-28nm.h diff --git a/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml b/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml index 6b57ce41c95f..d0ce85a08b6d 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml @@ -15,6 +15,8 @@ description: properties: "#clock-cells": const: 1 + description: + See include/dt-bindings/clock/qcom,dsi-phy-28nm.h for clock IDs. "#phy-cells": const: 0 diff --git a/MAINTAINERS b/MAINTAINERS index eb75c95f6c45..30103e3918ea 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7398,6 +7398,7 @@ T: git https://gitlab.freedesktop.org/drm/msm.git F: Documentation/devicetree/bindings/display/msm/ F: drivers/gpu/drm/ci/xfails/msm* F: drivers/gpu/drm/msm/ +F: include/dt-bindings/clock/qcom,dsi-phy-28nm.h F: include/uapi/drm/msm_drm.h DRM DRIVER FOR NOVATEK NT35510 PANELS diff --git a/include/dt-bindings/clock/qcom,dsi-phy-28nm.h b/include/dt-bindings/clock/qcom,dsi-phy-28nm.h new file mode 100644 index 000000000000..ab94d58377a1 --- /dev/null +++ b/include/dt-bindings/clock/qcom,dsi-phy-28nm.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ + +#ifndef _DT_BINDINGS_CLK_QCOM_DSI_PHY_28NM_H +#define _DT_BINDINGS_CLK_QCOM_DSI_PHY_28NM_H + +#define DSI_BYTE_PLL_CLK 0 +#define DSI_PIXEL_PLL_CLK 1 + +#endif