Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1123029lqp; Fri, 22 Mar 2024 06:23:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8zIry3OzD+PBk8/oBHdCyJZeSffEyq+oV/FzoAeOo5arvZZBuFb1HDFSjB7jKQ0DV3ndSq4WYUUkwd/3SvuBkuzF8iKnOeb96JMaaPw== X-Google-Smtp-Source: AGHT+IFLWt2WLUWRBT6RBujpBgE0Ef9q9OR+zSW/cxcmObo4CphpU+O0mizl98PfR/r0TMZh4F/Z X-Received: by 2002:a05:6a00:8b85:b0:6ea:902d:c36a with SMTP id ig5-20020a056a008b8500b006ea902dc36amr280941pfb.34.1711113813377; Fri, 22 Mar 2024 06:23:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711113813; cv=pass; d=google.com; s=arc-20160816; b=JtjB9NqfNc68p5p7h8nQDX0UR1rFD4mGcVCDkm4TE/D0Vl1ruEof2ydLQl8yfmUF0I 0gsZ2+MYN/ntMl+9T210zYq0BHxYCrddYkWKGTBapvbW7HVvL5MIPpQHhaIiYWqkH3N/ QDLseEI5bzazcPO55fi+11wB51U551nM7rQWPsPE+4BSBA6SQagn/17NeaZhuQhoSGre m2eokMu1K6dOunytrnFIFiw7UuliNl4q7tOB4Xmxh8xwNGfjpjOS8nxT389C8ps3kBtX UbXGQSmZQLQ9aIjJpHB1MEN+7YWBmXz57y7Fp8it0hf1pK9bZS9m5JTIpsczyPPplN8M 2OUQ== 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=6XUaenHWoXhfDkhnV0aXHNHBLry4TB9gcfVEB03TUiU=; fh=6UUqWtTTJk9ipR3mmOYv4C32aov9VTt7TCKXqsU40PU=; b=BCnSQxcs+EA/ZbZArXUkhRzPoTIUs4t2jbikwWtPm9AdQnlJ8Poh/fQn1PWa1KnCqE fVWmq0LAjmrIjTgzZanWzTeIWMIbq/fZ88jPbYYn3iu/rdwhFxq0jmX8CmxeBR4ng4HO UzQVsyMUTy2QmfnaPfpe/bNAlmOVw94sBF3fWyPaVt3oOgtrrdSMOtXGlPaENGK/eROQ jr2+izNpU05ndzz1N1L3G2KjPQByKPy4N4DzRtzJp7gqIRLOb8bF8mRlaeEAQvFZxK1H 32fYP4/yzNKXdNepYXriV+Jsfmx4W6cBi4fAOk6moxko0CXAsoiNE3DtKo1Hdfe9DDov +Aqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r+l4N9pL; 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-111472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t10-20020a63dd0a000000b005dc8a171689si2075170pgg.411.2024.03.22.06.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r+l4N9pL; 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-111472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111472-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 76ECA284184 for ; Fri, 22 Mar 2024 13:23:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A31F47F5D; Fri, 22 Mar 2024 13:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="r+l4N9pL" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 BDFFA4652D for ; Fri, 22 Mar 2024 13:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711113762; cv=none; b=O74toau+Vgli/ecUqoscXBCMk9w61Xs4kPQ/6bkt72w+2pwZRA99VSNAZTyNeR+FielbI/VWJMZJSE5FjPZDekCJ0sSRjVsAMp905qLjaXO7zguP89BhVIVSSAbIHl0jjuV4Crq5wyrxYXjlggelSmJZ7ZieOGi4HGELxx8aSCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711113762; c=relaxed/simple; bh=VRvzJp7F3pTXsdpRrJnsX5QXf0DQXJcBRvykcAY4DxI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P+sRuzvvIdrox5zGyi/o1Sqslv+2ID9Rll/vYQbLIgmHwI3m0PgDCIuC0vZF2x3L4oCeD22IgV/7Spsx3GjFtkbzCT+I9nRqPCcEPZBMKn03FmMWFOJqB792D90lYlCnOdtHAXFD2XcNSapAW8aasIzRNmUnn8cm2T2zy7RzQtE= 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=r+l4N9pL; arc=none smtp.client-ip=209.85.218.50 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-ej1-f50.google.com with SMTP id a640c23a62f3a-a4715d4c2cbso242726366b.1 for ; Fri, 22 Mar 2024 06:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711113759; x=1711718559; 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=6XUaenHWoXhfDkhnV0aXHNHBLry4TB9gcfVEB03TUiU=; b=r+l4N9pLj/GZsD8fZHdz3I2EKHZkmPOXw+OZZrWzyHes0p5mDw5mgPnMHjVLI98+H3 TSlhEDUnPGrA6zddaBHhtPa11blzP7G85shh8u7fGAZ4o12TG5TEOEsQqa4TCGgisNUg VMVqmtH2q8MimyUgVe3npsRFS+PGEKszxvwifXUwlztwrCX7xbbDz6pE51SKAdi6HyNR bqTPWSmeFqCygHG6bKRIPesc1HV8b95TbpCgUvFZ74qhASSDwSTFaa//0ZOwky7I2aCH BJA7N5zfQKGB3Zn4oiwnt2kWtu53m47dYL/RRyqykmaEw8/SqCSBV8jHu3iA1ABFYi8P nTyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711113759; x=1711718559; 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=6XUaenHWoXhfDkhnV0aXHNHBLry4TB9gcfVEB03TUiU=; b=MozP8pMQONbaLFd9f74FgwGf5O9nto5cy0h+cyuufmxPlSVyKu9gnfW1/+iZ3bS7pz z+i1YK8W4K7TNelvoI0997mweN3qHgUZjFOmEnvSx2QOzjLJm4T+vOHAogp56xWtdP1M E4MQdqwfi1k7SPg0E4pSQWZRAeEpmiFvjX4LLrKjdXSETvhNl0euTzzSR2POdIVNCsIG 24JGg3TI13CYqsX1AWVwpBd+aig0yGieUKAofi+klKeK/j9r09GkXEiXh9UY1GJFGeH1 snGpWgj4ZgDsYIocZSOMDanD5SGgmrCeOgvjKG94VDM4tVgieFiGOt5G9LZo6v+kSigZ 818w== X-Forwarded-Encrypted: i=1; AJvYcCU9aFVYTHeb6/a5Fcv1PSNw+pcPa8Sn7jD/PK81qQ2e/rpKNUqCywIULCvUbvbQOavejz8EpxecPpzSNbms5lbYprApiPQTOZm9Q7vG X-Gm-Message-State: AOJu0YwJFA7eAklZhpNdmhTjKuRmBgSqBlcDRHb9jKvhlwgWlRcHYLCr 4OiwnfCWagdN6kkh8GjlzzN/h3uum82p/IKnnVd9JjFpQmIqh8p8X2CfHibmxNE= X-Received: by 2002:a17:906:230e:b0:a46:d77f:37ca with SMTP id l14-20020a170906230e00b00a46d77f37camr1654728eja.66.1711113758864; Fri, 22 Mar 2024 06:22:38 -0700 (PDT) Received: from [127.0.1.1] ([79.114.172.194]) by smtp.gmail.com with ESMTPSA id m22-20020a170906721600b00a461e206c00sm1014176ejk.20.2024.03.22.06.22.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:22:38 -0700 (PDT) From: Abel Vesa Date: Fri, 22 Mar 2024 15:22:23 +0200 Subject: [PATCH v3 2/2] 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: <20240322-x1e80100-display-refactor-connector-v3-2-af14c29af665@linaro.org> References: <20240322-x1e80100-display-refactor-connector-v3-0-af14c29af665@linaro.org> In-Reply-To: <20240322-x1e80100-display-refactor-connector-v3-0-af14c29af665@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=1607; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=VRvzJp7F3pTXsdpRrJnsX5QXf0DQXJcBRvykcAY4DxI=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBl/YYWHMWfb5XeXykySFpfSgfGEkbi/1xu5RtIP mFT/7v5JKqJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZf2GFgAKCRAbX0TJAJUV VpJmEACuCgSMFMohE+PmYWIPPDdU9bXmOOpIjgkIEhjwqm7w9Oha2buji2b+JyOiuz50Joux6CH KQikLlX+6EMMc5zwiaq3NMAjRxL4ofMWGcrQ6jFwowQs7xFMvRjWsEACQTL08gdkJBm1KJzh0TV vPU9KZcVR4brLS4xKD6MBlaJtFzpL7wXM697i5HHbyBr8pjAjBWVizntUgu0wWOJ9twd5VG7tX4 SJeuJ5VLkJ1p3X1QmbIptBQrMsirEJKJ3Sy+2AzrfeC3/zJWTz0yJ7jC5cU0OiKF8PPuk0To8Xh hjYWBmLAlXAiImP7pfsDOWWoQnhms5RHonAUidXJJeR/3eYlnVqYnQbV8sZ2virffdkcz5jPfxD hi6r5mscDmgRub+yHCDrWbBGGfslDTyn6996Nr3urquLoHoUdYgWf6T0qgVGxNx93S5iPR730b/ TnbA99VBhvKWrJg3+8tYxrhDioWoeZMV9+kETPKwoMLx4IscxrmBm0W/j+slZsavstQ42b8WpPL +1Frd53yRw4mCdE2GqMcNfLS4fUvulzu1yhvcUQKClViXdNB4BJdZW9lH5/2oku2f18k/9JguqB cufYg2+vD7dMdAnJbR+nt8VrDIX04sRlVWnTYK3N4dfkH3r89W8YoP7TRjbFlMpU2i0gE2x7slM IFvVOF7/nyPvJUw== 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 based on the presence of the panel node in DT. 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 c9763f77c832..95f6cf949fe6 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_supported = true }, + { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, + { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, + { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_3, .wide_bus_supported = 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