From patchwork Wed Feb 14 21:24:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 20396 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1509810dyb; Wed, 14 Feb 2024 13:27:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+Ml5qgxWPJpjKHZngpeLuFPTkDKK5xPSl6W05gfZqEwCD5Is4zxOePRrhPg3TwqLATF1Pze59mJ3lZO9dQEkA1QM4fA== X-Google-Smtp-Source: AGHT+IGXRzBR1vK//q7xYSQhexUFr6XrdUiw5CLywj1YTZyGwCeqe0RDPyG6w3ZzSa+lpAnGREmP X-Received: by 2002:a0c:df85:0:b0:685:f7e3:7085 with SMTP id w5-20020a0cdf85000000b00685f7e37085mr3184479qvl.42.1707946020372; Wed, 14 Feb 2024 13:27:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707946020; cv=pass; d=google.com; s=arc-20160816; b=XJpl0IlDT4IrO9rBysKF7NAbviPu1rQ4QRp+e43mIWhs8miiL7FpshtielSu674RZo ba3/PcwtF7TMZAqRforYGEzqPFrwJw0dRIHx2IUPIIRKH6fZRer0lvkt6IyVtHAsygFa B5EkAywDt5bzNk7GDaiE7aiMhbr0UMMKW6A/5aVBEOtdzgYO48BTLlRNLi6flZisuFpH jLSwAIz2t9Vlh87Ck/xZICaQ1laDAVZ+siU56Ur0mUKEKmlnsghIduZtYqF15AC+tbEh H5YoluXH4rx1fOiJ+rqNnwIzBz1lT2MSJJmdKSezrSN/kOVxt8Gurw5nO0OfEVb6HLy+ adpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=5GynGv5hpMUN3bzrSGDn2ezOmfgm2bwcrCwWDNKglf8=; fh=b0nkIB64b7/t/O7Y2hx/zyB8dXnZHaZYjTuSDxefZxM=; b=H6rpNy625WiTgaWkgIT5hfVyZiuowjmyAJPep9xPGr68i/O9WAEn5yYVF+QgzxiTH8 IwAefBa01QMq7iqCfagCJ3Hlmw3ydyciSqfx2X1vLxD45Nd7y7wbR2YqIAxJqz/+Bnfw 9iQ5AkwidjrFFw4kypXilx/7oFf9Kmgg0j22Jb8tA+Kgdo/D7Gr4CGYVnUM5s0bZQtGJ Q0ZtSaWyyXHlJmBx97fi1i468MmialZjGkkDlsjaxIqwwS+6bJKLAe/yKDY+MI0Z8/lq X8mZyTtANcLtG3s6X//+C6MHXWLTZ0+ldfye8yznuMMWe/ql5ztoFA3Ya296LC27B2US Cprg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RFuIdK3t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-65980-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65980-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCWV8CLdebdEEt5SOQ2e+SvQk9y4UZLhcN+njjE++x9V3VZpBVJrn+QF5DBn5vOrNnwl5vax8qvos/7x+aylvb8gJUcW9A== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gm4-20020a056214268400b0067ee3520aefsi6255544qvb.151.2024.02.14.13.27.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 13:27:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65980-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RFuIdK3t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-65980-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65980-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 86D771C22467 for ; Wed, 14 Feb 2024 21:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87ED0141986; Wed, 14 Feb 2024 21:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RFuIdK3t" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 964481B7E2 for ; Wed, 14 Feb 2024 21:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707945891; cv=none; b=i4/+Tu6qevyoMWMNXP9R+0ASJRaX2C7RiIzXWt5gEWzSqc/Hipivh6L3KdjQcZYY2InJnba/TdbbVko0UNjxnbK3lhMFFTb7KyLUarxp3aBf+5OB0bRR1xcJju++deE1sBYPWVJdGKmFvUuTu0XlXpWJ64tBxFb4PiO3qXA5jns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707945891; c=relaxed/simple; bh=3fqkWRAWEhMvUeo5imQmShT7g1nWczGCo+8D0wU2SRQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=SMwUJT5n+rktYhAktSqW0KH3ie/Djuc24yzdNm8G0zHNyUXkWHTQJUCLsN6qsveIZUFXZwvpNHb0Q2BlT9Q8fLcaLabJBmrluPoFFFZWmetSQhyr1yomvWler4dWzXFl6C1gTg+YOd/VMESZc9bPwfZpzgLCLkvE62bJ0yCnL2Q= 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=RFuIdK3t; arc=none smtp.client-ip=209.85.208.170 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 Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d1094b5568so2343931fa.1 for ; Wed, 14 Feb 2024 13:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707945888; x=1708550688; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=5GynGv5hpMUN3bzrSGDn2ezOmfgm2bwcrCwWDNKglf8=; b=RFuIdK3tAOZYn9DFDh9vIMNXPVH8aKF2f/K7BondWTP9l0wpzC+AVZBuPQXWNV+Cc2 GXGguGY8cVuAFoeNxktYuApLZKljAYX7AR4QIwSHZZxKk3HoTN/SDlbm2ii4Od2Bss4k 23TZLcFxOf348i++Y6Z9UFXZH07ZTSPWlttcPkVdKyr4d9nYWvrgBukVktWIg5qwd5Gn RJvTSXJmmS37DpLeV6b8d0gbSldhxpvoje8cqyNwml+ncbZWbj6pBr5gn0mMVoo3Fr5O iv6cJL47EyWstSc4AVavQxOCKjSCEcAQPEXxAQpqr5+PTfoi4bGiU5+taJ7buPAVdsfs roOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707945888; x=1708550688; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5GynGv5hpMUN3bzrSGDn2ezOmfgm2bwcrCwWDNKglf8=; b=nKTGHTXRKrwlIUwTUiKEiWlAvOFiSQdXe6WisMvp60Ki9o7cjVLTbdg8Rbb1XursNf w60/mFieA04/uGLX7X+crJJiF+JpwieF4OPCu5I+3ly0tWfptAFSlDm0Fme1P1o0o9KL Y2akQkrtbC+A/6P52DQFE2HR3WuN5nZ6idVMKIYA9OsNBM470nRJU4Ealv92Tpm7tAih 7siSIGhdN2Nkhr/CgHf6f1Ygc6dUkFBGxTpTce2PBhiErsRq6PafALK1VxxvJTQQB/sQ /YjBeGbw3wQMudbkND71fo4GpovwaojI/RbDj6tXthIR8IVQ6Dg9qiUxbdh6GKk7Wa5p Yhow== X-Forwarded-Encrypted: i=1; AJvYcCUwQNr5tJTWQTJCR8RPk9zOjTr2V09Yp2wyVcTWoEVKpL0RidSyfboMr4Faldl7nv3IWtvLArXtGbcVUDA0Uxhkc8+DCMYCO/fpIae0 X-Gm-Message-State: AOJu0Yy5yndU39AdyxiYnE9Ns6QpIinFPi0b28UX0AH27DRol/DNdQzK 54iY2eIwFFSFom4Q683Fwgicy48sO8w/aeAM9QcNf+5vkJ5k14E6cRu3qXtMHf4= X-Received: by 2002:a2e:bc22:0:b0:2d0:d49d:5c32 with SMTP id b34-20020a2ebc22000000b002d0d49d5c32mr3821749ljf.12.1707945885714; Wed, 14 Feb 2024 13:24:45 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUbAg+u9fa+uaW2FdbLd4HsrqBm6PIhpHLl+GdKvVpJB98+OPPX6yXBsYCzepwXsb8X3U0ZOhQSdgaMznUTvdJX/w+N3Nxjzs9gu/PuzgxyhI0lkYbqY5eod0OKErk0JDsYQINnR9sqdaW+P+/NU32PESLVmh+aLwNyrrXY8H7/+wYy82GakF/Dfthy03dcHlwRuYl2DR/sa2qet8lQh2hwIEmEC/crrhrLtwatSJy6xGhjb9C1FsgO7L5AALFvJBfuVHt9E96G44z3mtHUSFVQ2kQHNaLeIv1hgHyrTYJTIMscB1mwTJ6qFA+vtUq5GZn+N/6yFVAveZNLdh1FvhtLZRC1N1J9+WIczTZRh+Dfc4518WfTLbIeGDYLRPZcsa+TfkNU7axufVo2kMzIa4cTiMlu8aK/R62cVDy3VpM4P6TgXhamzjz7377OPtmY13NRyl/SKKDiYEbD9yATZINL7DNwFodBBwJtp+/VNonqUlBUxTQaGUVZ89C4rZR04S6UJr2vnaLDMV7qS2BfX50F7OJnIs2wZWDepwxLheWVQDnDDx1fzBFI5p4V3FqEsROKMq+TrgOry6+emIqgt3MKUWp4jnVrZFROUDMLLGaP3LoDqlZ3rZxsvpZ54wqdKMEiZalo9jUZa6a1CZR+4k37BQykYDH5wXuifarevL+FyTtuXdgK1u9OD6HWO4i1PFgWnSZQCRHJwvdmVRTz8EHeujiXeXXP8DUH9aiViudCPw== Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id r16-20020aa7c150000000b0056399fa69absm257298edp.26.2024.02.14.13.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 13:24:45 -0800 (PST) From: Abel Vesa Subject: [PATCH v2 0/4] drm/msm: Add display support for X1E80100 Date: Wed, 14 Feb 2024 23:24:29 +0200 Message-Id: <20240214-x1e80100-display-v2-0-cf05ba887453@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAI0vzWUC/2WNQQqDMBAAv1JybsompkV76j+Kh8SsuhAS2bSii H9v9NrjDAyziYxMmMXzsgnGmTKlWEBfL6IbbRxQki8sNOhKaVByUViDApCe8hTsKq15VNoYAGd 7UTJnM0rHNnZjCeM3hCInxp6W8/NuC4+UP4nXczurwx4HA0o3/4dZSZDgG3S1vhvfwytQtJxui QfR7vv+A+899G7GAAAA To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Rob Herring Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1722; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=3fqkWRAWEhMvUeo5imQmShT7g1nWczGCo+8D0wU2SRQ=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlzS+SsgOP2uNOWDXJJI7JxGc/yaoyN7/cVmOR3 J7kdEYEE3CJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZc0vkgAKCRAbX0TJAJUV VlLhEACrW1OJirPhYh8H2yBMdiFHi72cmk4nG7isKN5Xr2qPxg3vSiTHWZjhWVFG3xG+h46TqQr PzfWVLbkXMAa8xhi5q8TbqtJDmi2SeT1/R66V4l9gv3eNOqtjAgsg8wEuFKcjGlRoL/aJjXcAL8 ijg0Z9lSPBZpTzHG8KdcddQIIrUgqsRaphjUH8OAU2hgnC57hrToShWXQlA0L7Y0ajUP+QdJxSh mxwmZuKVj3HTCyx6b59wQqJXxS1k9uviaKbC3Vu7aVzRZAkx5dTSxb8Eeh3uv1fNri0L1wXuoPK uic/0FYyqmsmBSYF+5K6RsiOKUUsmpJdzO6s/I51WqUCYdRxi932DXkGMx+Vv9nCJk1JHVC8CdQ ZdIAQvQumEexBkBvYOiFWjqa7+/+K3BsNw8ABDSy2tuvexgi2IZw8/CqP+iaLg7xI+r15z7mJlA aTTPy2H0Xyxn8Wqp+CW7N+clCO66c4r5lSuU5wka1N2PMGIJUfrOBl4xLLMVMG8X/wY4lpK/bsS MOgACkl8shukkAshAi0gSuIWB8fQiAigh7VLqvjgzlny65cotybXCjVx6NuAaTayvXUkT1C29IK xMyGy8qD9uTtu6rJjAVpDlDogJDMm0DFw5Pkp/4nGhWMROohaPPYYvRjjj6LZ8NDBGs0xZh65vy Tdi6r+iAt+IAbJQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790911206638938987 X-GMAIL-MSGID: 1790911206638938987 This patchset adds support for display for X1E80100. The support for embedded DisplayPort on this platform will not be enabled using the connetor type from driver match data, but through some 'is-edp' property via DT. This subsequent work will be part of a separate patchset. Signed-off-by: Abel Vesa --- Changes in v2: - Dropped the 4th patch: "drm/msm/dp: Try looking for link-frequencies into the port@0's endpoint first" - Fixed the qcom,x1e80100-mdss schema by including some missing headers in the example - Added TODO comment for reg_bus_bw - Switched to SDMA features mask - Added Krzysztof's R-b tag to mdss schema patch - Added Dmitry's R-b tag to the dpu patch - Link to v1: https://lore.kernel.org/r/20240129-x1e80100-display-v1-0-0d9eb8254df0@linaro.org --- Abel Vesa (4): dt-bindings: display/msm: document MDSS on X1E80100 dt-bindings: display/msm: Document the DPU for X1E80100 drm/msm: mdss: Add X1E80100 support drm/msm/dpu: Add X1E80100 support .../bindings/display/msm/qcom,sm8650-dpu.yaml | 4 +- .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 252 ++++++++++++ .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 449 +++++++++++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/msm_mdss.c | 13 + 7 files changed, 721 insertions(+), 1 deletion(-) --- base-commit: 85a96a047f413da4b663919a4ced39a4715c6835 change-id: 20231201-x1e80100-display-a46324400baf Best regards,