Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1230275rdb; Fri, 16 Feb 2024 09:01:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUc0jT1F8clmGefce9SS/LPvDScj8sFlv3cbbE3HwUqDU3XhuRBEtqCROnAsfuk0xeiX5uB1RVkI+ASOm00PiLVy/HFzAicSwsJ+a6mZA== X-Google-Smtp-Source: AGHT+IF28j6k1JMJJIA0DWp0lrkmCuZYxNRvEjrzPGKXKBJrnugoLwQNcSEWvcDjTLvJ1Clf8e+i X-Received: by 2002:a05:622a:86:b0:42d:ac99:73c1 with SMTP id o6-20020a05622a008600b0042dac9973c1mr6499206qtw.30.1708102894657; Fri, 16 Feb 2024 09:01:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708102894; cv=pass; d=google.com; s=arc-20160816; b=Dxwh7AkKmG2Zz8RV+h0u68EZaOrPa6oOUwnGLilK0e+s5WIt65sMm25vbIZn8RlzKi UueImDTEnCsAKhvI65IORAOGBX4783Gp5NDvQOlm42nvktucs80M1Kw+doOZ6R5PRK+I EdZR4AFB/sPLBjipK5eGkHqbH7P4mh4wKMW9JPorYEd/fXgYyXwv4eF/xlUECgQVJWZN NgRKv7RijI2A6zCRZmiawQeFqs9TyryUrTnAbhAoWiGydiWuvEv9xsRKtZ26IuoEbc/g intLRGYpvn0XyC6yXNRY/ETKkUJ2vTGXlo1xPlwh5g8XR3Oy7y/Oi35PKKgXDhsIXDZO nvKQ== 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=p1UcFz1FGckNLw1XlmxhxjVgBjfCwoT7hcC1xOssOlI=; fh=xRWEOfD4FRyNBHOrAJEiPto61LMDYjGyfJwJ1ipx5Ac=; b=OmQd/3CVf1G5pNUM0vettR0M0+mNX6/webN3RqUMl7D8B392ObrOsEx7TKwDiT/6hV or6GwzKvng8fveq0PYzO//ApXnA2nj3AYOFvjD8fgyQ9Y/SI2mxnaKnQec9ymqAJzYez ZCBU+fjspiwBhOgvtLmkhYyC2lxJ8XcBSEbhC3SpEVfZMGFE+eCesP5wc3JZKHjzh9j9 DzC/arHnOZlMfhbxgRQLseTZaJuBnPvZztaS7gufab7oSkeVKvkbZNqXy64ogCvu5WTu WW/ICqgZPMWHIgYMGVmBglgB40rTtdXCsxdJGo/2zz8a16AqxCYptE7yV5tn3NjW6bAq 86Cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y7RLDLsM; 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-69002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a12-20020a05622a064c00b0042c66cea37dsi242116qtb.336.2024.02.16.09.01.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:01:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y7RLDLsM; 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-69002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69002-linux.lists.archive=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 4CD081C21260 for ; Fri, 16 Feb 2024 17:01:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68F3F130E48; Fri, 16 Feb 2024 17:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y7RLDLsM" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 B0E6F130E24 for ; Fri, 16 Feb 2024 17:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708102882; cv=none; b=mdntlY0jA96h66Yj3l7MZ1/ZiAO7i3drFRKemRI6xF3jjg6ZFuQSLh8qt5RI/rCW4b+yoenWVPW9HLbPsEGb+46s/MJ2i9QeX+mQzCJFMOfPIpsor9NxlZN4Ij6ZTjBula/WzqNa7c/npVqhZLkB+ZKZYim/Cx14zw7vQLfqmWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708102882; c=relaxed/simple; bh=0iFXpBAkOI5XFf8B+lBsw7By4yXHr24NnEal53Y4B9U=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=IZC7FxcOT3d8tMp8xsGo+H/d5GpvxIxyvgajOEyod3c4HwN8KpRfgIKpDZpHWSl35qD50xUkU2Dj4ALEGWXgObxILH9lv8S0eJIMXGdExaUpea4xsm2ex8MWZdf8F9+ws1uUU4/qJMWeueIUlKtl/HLXjZb/0orj8X8k6jZIJi0= 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=Y7RLDLsM; arc=none smtp.client-ip=209.85.208.48 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-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5640fef9fa6so394954a12.0 for ; Fri, 16 Feb 2024 09:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708102878; x=1708707678; 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=p1UcFz1FGckNLw1XlmxhxjVgBjfCwoT7hcC1xOssOlI=; b=Y7RLDLsMswlx1nHhJCT5o9/4rYKWBhVENA00Jip/VM8c3XCs896W8xJLA85UgfLovS 7kc28zDoli1oJsJVjjbAWhVKH/SuZ7xR39IUgl4+fSq6gUQcwv2M1chYTuAHaXz2J7Dd nf5HHuV2dY5x2TPGuswgk1ED5qQzuaiL04hhIwqFG92LKkGfVZNnWh5x4Vd8NRbRfhXJ 5vcSAodkf/Zg8JgHzzntX+TegkF2OPCaKfjksX9GW/HeOLdloj37aBSfVyVnOLoRg4UO GSMbrs6OoEXqJhjOt9/Nw4+G5oHthturtXcxB/1r8Z4Q+2Dsn0hpBBCLEIpH36wZ++SU TB1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708102878; x=1708707678; 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=p1UcFz1FGckNLw1XlmxhxjVgBjfCwoT7hcC1xOssOlI=; b=mV0PqJPtSlNU3isA9uQ8CL1jEcDq315YP1ufe+tiT0kt1SjDAR36ePvOoAe4jO/Ah0 rGTrTqEGqzblRQZpNOP489WNC1AyPp2tHCuFBOfzwSewWzYmpwTgov84p5hRAkxDgL9h zqnHNuSfCHcl4rfu51fFBKEQuJdWCdle8x/X7zcfEvp1U1SkM0MTtFvE9DvulLFrUds6 HRUAAxAy7Hhr9byMC63VEqtkIu9YHzmYDRMBi1hG/+xfolEWSX/F0XXFBCJCXLZm4Y/k kL6olkkKalvtMxyWdVH1sxNJbbxAC9c78FqitwMxMifjrS7IyBlueLKrVqk70GdZfPO+ U9/w== X-Forwarded-Encrypted: i=1; AJvYcCVFmFdZa3NRw22qIS1ucsQZDM3Xug8hhYKcAWK+FCVPzEvKiINczjTmWs3oiVWwwg/MRycLpBL05vFuO27uKwUU/8hoBq99/uPINTgQ X-Gm-Message-State: AOJu0Yye7YVcOX0RDUu354hhlpRnM66eyKDvlBfmu7BlGwSt14nTY473 xW6VEW6kFb88pv2TSdEmN8o2JPmmt203YDsa3e8o0XZ1jH5UqCWMqSS/HHXlbymwMXleaSJcPwy C X-Received: by 2002:a05:6402:28f:b0:560:c951:57ba with SMTP id l15-20020a056402028f00b00560c95157bamr4631607edv.26.1708102878588; Fri, 16 Feb 2024 09:01:18 -0800 (PST) Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id u20-20020aa7d894000000b00563a6c9fd71sm159706edq.16.2024.02.16.09.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:01:18 -0800 (PST) From: Abel Vesa Subject: [PATCH v3 0/4] drm/msm: Add display support for X1E80100 Date: Fri, 16 Feb 2024 19:01:04 +0200 Message-Id: <20240216-x1e80100-display-v3-0-28b1c33ac8c0@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANCUz2UC/22NQQ7CIBQFr9KwFvP5pYquvIdxAS20JAQaUNKm6 d2l3Rijy3nJm1lI0tHqRK7VQqLONtngC9SHirSD9L2mtitMELBmCIxOTAtgALSzaXRyppKfauQ cQElDyk3JpKmK0rdDOfqXc2UcozZ22jv3R+HBpmeI857NbFu3AgeGl99CZhQodBetBDa8M3Bz1 ssYjiH2ZLNl/BiQ8T8GLIbWQKOkEGfe1F+GdV3fLEbD+QgBAAA= 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=2021; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=0iFXpBAkOI5XFf8B+lBsw7By4yXHr24NnEal53Y4B9U=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlz5TSztKm9Y1ReskOBVpTZu0w//CBKZim1KNW8 Fk0rx9kfouJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZc+U0gAKCRAbX0TJAJUV VlCMD/wJQ0F811zULMoG88tizqg5woFm+ExkHS4/mFScQnxjO+250VkA5TNSBM6eDMDqTEYM47x Fe1ZqYKqiUvTfjFtiFv2tmdT/vUewNdtQBNNlhaW/3f5NG2E9/xONI03hY6Tf9lQHpEK8B5Q92i peLKidNcBoXsOAfufe0rMntPTxGyGYtb3eAs5/N+S+bb17O+HabqxNqSmf2PBKQLLqbRxvc9Kzq PMiLF0PkOc22GI7MObDQG7poVcrLMF0zcVaWrBrBO6feSCKlx7S770Szrki1hNi5xyakOuEj5ik 7cTnPjvjqJyOqgoYot5JYIKc0BdiBhcOqDtXmTLa3pemCeg4eufj4ZflFg6ds5kzssC1M4lUOT7 WOC7klglnEEEL6zJxkOuvgLjUj64dQJXMoTm7a69k4xLU/MDRa3sZCJQKRbziF4PNFTjr8/DOCO eerJ2dt/af/vs7Jwnz/buOATn+c4m7Uy+2P3fG6iWvLBZsB6+hUiiVv6ACpzLJTUTKlNG5n8Ma5 sNjNnsfp6ZpfdaQjabrJfus/PZ3jAcwhCagh+nLo/Hj+Su4QelJxhp68ajzoKF0OOBckjZIrRE9 aEQ36y1kFLJu7ATRCzJYHYuXxurcbZgAs8Zr4LOKDN2hmJwFRkmtNxgSuCXS5dePxFZbZUngk69 AMzRJnKXWtf0tWA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE 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 v3: - Added Dmitry's R-b tag to the mdss patch - Swapped order of first two patches, as suggested by Rob - Added "additionalProperties: true" to all pattern properties in MDSS schema - Link to v2: https://lore.kernel.org/r/20240214-x1e80100-display-v2-0-cf05ba887453@linaro.org 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 the DPU for X1E80100 dt-bindings: display/msm: Document MDSS on 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 | 253 ++++++++++++ .../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, 722 insertions(+), 1 deletion(-) --- base-commit: 85a96a047f413da4b663919a4ced39a4715c6835 change-id: 20231201-x1e80100-display-a46324400baf Best regards, -- Abel Vesa