Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1782618rdb; Thu, 7 Dec 2023 08:38:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiR3UyXF4Cikazmj+Qe9CpMl/yt4Y8gkFFYEn/Y7YgO+SS3xssJJjPqCiP+D19JjPD7bzH X-Received: by 2002:a17:902:ea05:b0:1d0:4a2e:1d89 with SMTP id s5-20020a170902ea0500b001d04a2e1d89mr3545403plg.31.1701967079566; Thu, 07 Dec 2023 08:37:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701967079; cv=none; d=google.com; s=arc-20160816; b=ljJa0L0NwVSyyIi8/8Z1osrZ8a4pwpoTxO7ks51sSAqE7BWyjfLgX5ofqFjFJXbMxC REOQRJlPXOuD1aYjAFy89H2q5fjBo+5XOTUvtXSsAX70pU12d10lloPdxMIclsP2eGCm mLgEcwjY5jjHY0KST+7CcdGVlqMxnHjszijA+QttwPgCnxHFm6GXi8GnM1iauFuyw8XC dtrfsxECduc+VEkcBuDhtH6gomwn/niKmqvO4PNmrCq5LvOAk8qVpswGT8Q6mMCB11EE 6Jb60sJ7teFH7qxn2fckk0RqiJgspDOHj35MhS3hoOwBIX7g+S1JC/PUHOpkIcalXlHn CZAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=irqia8R6fGw+gVdCZPObqSm/BhoAsGfI688KkfIakSE=; fh=2kDojrmds4jaTRQPNQwkSxUb2i5Gz2XyPznTfN5aufc=; b=Vfqy3tDnPDhxGTGZGoMlnsYUSIEf3xn9otlPk51MCVfSZRvHBZ2r+ggrhRaBJ5QAVY NJWEz9/IoJmQrtOrgDNcF+ljV+znyaxLi+Gm2xCjFoKBYRmxDxmJ7lBK+8UpJMK/g16c VW2sdsJbePy3lhjlpCCXkmYsnwwTWfeZfhO4D5FPVjGvwCxa9u+3wBtOOMQsMQX7ePgE oGfiWa6NoOUggV3ICVJaZK9/0w0K+n15kfGJoJCp9Pu2Q8V+q1HKLzRg7o/KUHk7rYL2 unAlRnyfPndO0QyGYxDJp3Xd8xFeHzq+gDWzeOpOG4i9kSyD17l646goRoBJRAcYe1dT rA8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fX9x1/9e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c12-20020a170902b68c00b001d0b4bfcbc7si26807pls.27.2023.12.07.08.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:37:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fX9x1/9e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 03DDF82CBA6A; Thu, 7 Dec 2023 08:37:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233097AbjLGQhd (ORCPT + 99 others); Thu, 7 Dec 2023 11:37:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232488AbjLGQh2 (ORCPT ); Thu, 7 Dec 2023 11:37:28 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B0BD59 for ; Thu, 7 Dec 2023 08:37:32 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-334b2ffaa3eso1110208f8f.0 for ; Thu, 07 Dec 2023 08:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701967050; x=1702571850; 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=irqia8R6fGw+gVdCZPObqSm/BhoAsGfI688KkfIakSE=; b=fX9x1/9evezldx6066lfWzi5pKIfgQECUezE0gOXsdG8K+lKjkpqPWGUaa2ri7CrVA WO/DYwpNxX+XuzLKYxviT/iDAAl7xY5V8v6JoVrhPZqRPM5wxy3gt/8dyqXoqAM5+Ag6 eqw7UXZQz3hQ5wZk98XtU4w9sJfVPk46bPBaCGfN7gOfJWNx0+0ScaIpSuRz1BQMd5mT t9OyVOQn5ea5qAjuYwZxMb7dEBTvNvAxeQ5KoKJsP47tOe2vr5wd747yDH3vQBDtU2Vf yKJLgzwPPW9vP2rWxYZQJk1mCNW2LuIdHJ/jEkoAUVzvFpSA8Ke3dpFcxl6MSKnuOodN oyZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701967050; x=1702571850; 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=irqia8R6fGw+gVdCZPObqSm/BhoAsGfI688KkfIakSE=; b=wN6JIMOBUZrGt6GgJz3cB81YaZSe/sW/tNuugvPfaDIkRfgWsd7FA03jybkdbR3X2X KLblnxu5CG51q4QWYr2hSuSo5SYn4+w7udgWKWPqZyqhAV3F2swzpKZ8bRG9uJ9WJ0dF u6KcdhnxHyn1urG3u1jR5ib108QtsETGg+eZuBaf4hvNBnUJOUjqTAlNNgnQ6I/QJVJe 4M9SZuQN22H9nqAngYS8PwfEtg2YLWqZNE63IQnHSdTurN4ZB5rbSywjekj1655zd/Nu j8TKJqPvSJrCMa62PiEEn+7nQyLY1pPhRPFhSFrQKkFHeJVz11iHPVW8NwSEfjDFFmaN x34A== X-Gm-Message-State: AOJu0Yz1tWEaJEESM1ot5IvSU81sFtHBCj9qbpDr8Q7MS+cBDDGcRMTw 5Nj2asPm+gzrP0lr+//Ct6sF8A== X-Received: by 2002:a05:600c:1686:b0:40c:258d:2f01 with SMTP id k6-20020a05600c168600b0040c258d2f01mr1274196wmn.105.1701967050473; Thu, 07 Dec 2023 08:37:30 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id r5-20020a05600c35c500b004080f0376a0sm175424wmq.42.2023.12.07.08.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:37:30 -0800 (PST) From: Neil Armstrong Date: Thu, 07 Dec 2023 17:37:18 +0100 Subject: [PATCH 2/3] drm/msm/dp: Add DisplayPort controller for SM8650 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231207-topic-sm8650-upstream-dp-v1-2-b762c06965bb@linaro.org> References: <20231207-topic-sm8650-upstream-dp-v1-0-b762c06965bb@linaro.org> In-Reply-To: <20231207-topic-sm8650-upstream-dp-v1-0-b762c06965bb@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 , Andy Gross , Bjorn Andersson , Konrad Dybcio 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, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1359; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=pN1DcwJDKt86C9TW3cEpaDhQ15k1t6TN12ykZTFzySY=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlcfTGbloDh694L9Md9HCAYNQJZjwBRUQhOoTt+iAP 0zEYWiGJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZXH0xgAKCRB33NvayMhJ0fYLEA CbsGLaMiwD1kcwOST8v4C5TMqPU9pPOI+dae+FGp34VtT1Ga+UMXEDs5zNpZl9E5BFudRGsrOjTi/l yoygODhsUN8cCR8aJdrVC3MqnyPL8wF+GNbNLtNlO9ONfnbq2Rt6NEWSujGJH2t4t+ewJFT3KoBQTN U3+TGwtxrfgjvRj0mHxvCbugSg/wZTc/aoNRLHWK/P4LCcfy6AHXzqzVllW5Dzx2Zo8cWCAzqAX+/J fo75TfqW1BaDzpZGR7QFGB7Ovk78gBZkXTm3nfQhzpjomDIkLE9/BoSA9NtBd4sKCnQ+ERRqd43/nW d9JuIs7UM0Y5KoZclVi+plusRPprD49neLDk1PG735Qcbm7dhxUxlFdhfr3uuUVarB8GFMlfUFPswe 18TF1P/3qxt5YJb8caSK9+Jm4IKXknvPsTpYO2LsHBmRFBmUwh7oneZ+gHlpTcJJt+zZxzSFnk2tDM R6xxTv7Bvohw1e8HcSA3celeOcEndHbbWOfNRpchoyGvJr3NQS/+EvwhfKHcMd20HZbZrdZm3jD3Hq dAppg8+2HZEJYBbHvl6zjCONoavtRs07X2OhP/X7tz5jI4QCttG636AdmsvMzQaChwhvkZ/e9csB1Z C6yWedHpThENBtF9oobuWrGoFcdkSc23gENibredkt2w/S3yYHPC8SF1HISg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 08:37:57 -0800 (PST) The Qualcomm SM8650 platform comes with a DisplayPort controller with a different base offset than the previous SM8550 SoC, add support for this in the DisplayPort driver. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/msm/dp/dp_display.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index b57ff6c3215d..923517046ab6 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -168,6 +168,11 @@ static const struct msm_dp_desc sm8350_dp_descs[] = { {} }; +static const struct msm_dp_desc sm8650_dp_descs[] = { + { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .connector_type = DRM_MODE_CONNECTOR_DisplayPort }, + {} +}; + 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 }, @@ -178,6 +183,7 @@ static const struct of_device_id dp_dt_match[] = { { .compatible = "qcom,sc8280xp-edp", .data = &sc8280xp_edp_descs }, { .compatible = "qcom,sdm845-dp", .data = &sc7180_dp_descs }, { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_descs }, + { .compatible = "qcom,sm8650-dp", .data = &sm8650_dp_descs }, {} }; -- 2.34.1