Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp433687rdb; Thu, 22 Feb 2024 08:08:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWL7YYchKJXCOi2DH/FdRt1zV9hxV+LCiCX1k6BHrWBoJ9yeMTpZha/YWlBPVMPXz1TsSbYKMI35RGfU2JREcKntwlXS+8UoJS+K5AbvA== X-Google-Smtp-Source: AGHT+IHf/30/t3zaryt30bflxtASP07BOlXZzX3yiINLpyXQJyLWK3D9I9YLx+FDXpqiAqA0AAvH X-Received: by 2002:a05:6358:3a25:b0:17b:5714:a923 with SMTP id g37-20020a0563583a2500b0017b5714a923mr6092263rwe.6.1708618106183; Thu, 22 Feb 2024 08:08:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708618106; cv=pass; d=google.com; s=arc-20160816; b=lBWCcLgoMQBQfahbCxXN4xeChe8E8KamSwNQvvjukolSegttjI57mRt6yWK4mIYzbF o0QHFIe++gEZBpzQAY6Tk4m0pgUz634Gb2AJK6Wa5fB9HxcTefGraU8kzet2t8UQWdPO jt9pIfkeYCMSk3YOuPBLfRYXaUtlwrcwlgzsuUxCv+nz6atKZqYTCb6FxwPNJab2tZnG TbmUgt+I5WFw9Pybc6bjyauhoNLmuEZvyXAjpHOBrsrN3iKTzPIJedpl1qO+/6Q4p4L7 cC8rDigAikeESPw5jnBUhBiQSUycfVnxGmZP1JJaCRdL3P6RVvwWp9woV4jSUPV884nR AyLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=qJjRNIUqnXrTF9bzdEi2VC9ooQUEnRbmpw6uyhCO978=; fh=nC3y98I5paBD3ryPmS6bZdbiprjiFAGY7GfqFCcCDTk=; b=o/Nc+NTyF5X91txX1wH2svWl1yimOsXmJCms0YnSW9Fd5V4Qugy4pm48IRdaKeDVZv b0G7uiEZVQ6bwj2L/EvIG8PbCOnLYjqlWJUNJQ3zfUrycBEjDAPAA2eiyY88jqqWorVF 7y9W7xGUj9kamdIEoY/IhngG3IsDk7uFz6VELrC4xKFsSgZxyrC8vt8/22OLGSNWKWcN L+5Euyux+y1Wmcz4YbZI5G4nY2ZEngJ71IJcmB3KCuQ4H3GhJL0sWB4HXIrpVnLceJ7X 1oOidxLbBp3skN2qonmXSTeefsBLXgH4WflWkxIAFCeR50HlSU47TTqFeZk9pi5s6Z7X +18g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qyk76q2l; 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-76834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 13-20020a63144d000000b005dc49c4dfc7si9992155pgu.471.2024.02.22.08.08.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 08:08:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qyk76q2l; 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-76834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76834-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 013AFB28F41 for ; Thu, 22 Feb 2024 15:57:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4956315698C; Thu, 22 Feb 2024 15:55:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qyk76q2l" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 9A29F155A56 for ; Thu, 22 Feb 2024 15:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617329; cv=none; b=gnXxzO501SobRAUvqqbISeIcgvc+OcukaWHLTgWLjW+EfzEwJLFlx0x/TxrRFF9zYYNs74hTTqvaLuDfjHGN0pdfucFKMWPLytVRoQRoOMhF6Et3ybSkf7X6NcE9Uf5XJ4pC1FGeF6Wk9IhqdXz9+tByE0YUZCbS24hAyKInUWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617329; c=relaxed/simple; bh=Igx0dc8kyT7O4TGZsOtKQnB+6acRvpeqzdoVuoVCK4E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fJuo6Qp+0XB7o16/ya1vb5L64CZRCTP8VkfCVkrINazZB4u9mq0gNGWkKFhylA2WeVQU0zGk5FUoV2Hv7sCl7VA05gmtsD6EewlJOi3UVNlLqwo3/5DHQ3PAOZvf8hubAsbJqpfCFGvXBA4JBnO01fD2U5jrOW2chc2CbgV+S68= 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=Qyk76q2l; arc=none smtp.client-ip=209.85.208.52 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-f52.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so10811171a12.0 for ; Thu, 22 Feb 2024 07:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708617326; x=1709222126; 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=qJjRNIUqnXrTF9bzdEi2VC9ooQUEnRbmpw6uyhCO978=; b=Qyk76q2lbn5Wc4XX5HD0pfQSa3JVRjcL3qU24FU2CtceN1syPnriGrlCaxq2AT7s7I bhV6PuP5WHBpZFb8G6GwlmjDwgvVa/SjdDDgRa0hEErNnRVwO44LHMAwir6RUMgO7xIU FBQM+rRyIPTo7f5y+8VoMkQpuLuuS7PqSSILxlTptFb6Or1kiHo7oBdCkjR5n9fb4sBl T97LnHUU3SKjBNEshAL7omOkmSTId41tY5+HA44lMFOnt0yGnZgpZvtgzFmTvrmMYwvz cogNutj9/TM3cL9ZIW4RD7znVdKHWWFFmRZ1Bohl8sdz4Sf+XduCMRvgaoqpqMmD6r1t L9xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708617326; x=1709222126; 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=qJjRNIUqnXrTF9bzdEi2VC9ooQUEnRbmpw6uyhCO978=; b=iag1imulEzqkHRoyNtfxs3R92Ksb7ZLVQdZJ4LmyO1MKQW/sDoz/Q2b9KtWSJl3EaH UlnCsPDw7K0Ob19kcA7zfKpN8uAnLCdExlnMXjIllmSSYqVOmy3JP/NruLEfEvCGZCid vpOZYSmSalwX5++49SWRKzVfqX9cUKuu8QnN9lkv5v+ARZ+VfQTaDzL2emx9RE2rSFu1 U+xRgXq0drPnjKyqXyJqWOgv9WS5r4jPJQZXEMBkXBpaDeNYAO0KwG33BqDm6vM1l2vU Ue0awrBZDHhM+MvMn7STYd66PmedZs4SPxt9w5tge9s3l7wBEsjFdpMfnu4p6nwvxv/y 1+6Q== X-Forwarded-Encrypted: i=1; AJvYcCWhftU+WjadFpaQjvYoOD2pQm2ncypL1c0eUIGpvzbWqNldDnFEseIoW/NzO6Fo4nPVLUQ4x5FJON4e+O6j9xHz8FKaHGlrRv5i7G6O X-Gm-Message-State: AOJu0YxCKJty3dFTFWhbiOj+kpf6i92ta0iFuzw4sy3H/yc4HMv+o7T+ 0sPEJycZ0+PhKto6odazGfLugAUs8aooIt9ffVbl5BGCTTzt06ITKn4FIkEUxuQ= X-Received: by 2002:aa7:c44d:0:b0:564:7bed:b836 with SMTP id n13-20020aa7c44d000000b005647bedb836mr7778452edr.3.1708617325938; Thu, 22 Feb 2024 07:55:25 -0800 (PST) Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id v7-20020aa7dbc7000000b00564e489ce9asm1924247edt.12.2024.02.22.07.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:55:25 -0800 (PST) From: Abel Vesa Date: Thu, 22 Feb 2024 17:55:08 +0200 Subject: [PATCH v2 3/3] drm/msm/dp: Add support for the X1E80100 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 Message-Id: <20240222-x1e80100-display-refactor-connector-v2-3-bd4197dfceab@linaro.org> References: <20240222-x1e80100-display-refactor-connector-v2-0-bd4197dfceab@linaro.org> In-Reply-To: <20240222-x1e80100-display-refactor-connector-v2-0-bd4197dfceab@linaro.org> 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 , Kuogee Hsieh , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Johan Hovold 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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1624; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=Igx0dc8kyT7O4TGZsOtKQnB+6acRvpeqzdoVuoVCK4E=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBl125mmmA1uULH1SHqNXIODPJZhjtL5J4xyD3J0 gjgi12m37yJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZdduZgAKCRAbX0TJAJUV VoDVEACr6Dk0tJq9ePeNm+CmSWomyrFLd+GFTUs6dPPc+1N7ayp6jdKgOVxEG1HP2FHS+md0AlP XUB5CLUHyU3SvwdcRKz2vvWKreVn6w9dtP4fzvygYfOiRCMuJYT4zdczFwVSPUawfLjgKErA4Hh xqtADZ2EKatT8TIDNtt6AEMSWot5NtWCWgN+CWCNbZEIiRcKKva1In+HUjEL7PuSAPzzpxKITJd QyxENlkIzdAvT+q9i/XTKnZoeWU+W2YmJRTJUiFk+VeJgiz1DsKfzgfS06PpUTubNY+L4vD5LLZ Y9mOusYFlbNI05+o58j8ChNahPZeh6lCvH5K3Hcy5oMlG8leVbOMSFglkuSFDTwRH07UG05CbW3 ROh8d5D2m4kHzhGtvuQ7GHryrdFmG+8ZplsFZvkaNRk2uEdATvWVTvlM2flsFHDriNF/en9skzE 488eIKHDYWDsDgdhJyOkpfXlVW6WZY0a7glCER7TlcuDS5j+tVKXgHVMg5b87lKIkqeSzTShwy2 CASdhiX7aL+6DFbvYvEACkLgQl50sztW7aZlTnnbFf/rQFGP6aaT7v3bdXTIUfw4wV38IqvcWEl 1qSN37cQVXCM5ViNBwUoqG8XQUnbqnaVFIodFGh5PlEMYryOdB2GbfeHO5Dh129rhkmOM3HpSuA knU3z19i1BermYA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set in devicetree via is-edp flag. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index e01b41ad2e2a..fb1969617617 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -171,6 +171,14 @@ static const struct msm_dp_desc sm8650_dp_descs[] = { {} }; +static const struct msm_dp_desc x1e80100_dp_descs[] = { + { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_en = true }, + { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_en = true }, + { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_en = true }, + { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_3, .wide_bus_en = true }, + {} +}; + static const struct of_device_id dp_dt_match[] = { { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_descs }, { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_descs }, @@ -182,6 +190,7 @@ static const struct of_device_id dp_dt_match[] = { { .compatible = "qcom,sdm845-dp", .data = &sc7180_dp_descs }, { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_descs }, { .compatible = "qcom,sm8650-dp", .data = &sm8650_dp_descs }, + { .compatible = "qcom,x1e80100-dp", .data = &x1e80100_dp_descs }, {} }; -- 2.34.1