From patchwork Tue Nov 15 11:17:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 1665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2656944wru; Tue, 15 Nov 2022 03:21:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7TygseG93QTTbSRm5+ldB1jO/NPdXZpCwoZBgceEMy+aQOdmMCyQrDob5+CzmM2ZQgtNUg X-Received: by 2002:a05:6402:c44:b0:467:60bd:41a1 with SMTP id cs4-20020a0564020c4400b0046760bd41a1mr14443812edb.97.1668511285356; Tue, 15 Nov 2022 03:21:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668511285; cv=none; d=google.com; s=arc-20160816; b=Ozh+eF8bazSt94VY++qlrlGytsP52QtNcvOLziFzg35QL6KIRGo4cT4RCPERZhQc/Z TIJ5/4e8DCmvCBfaRHRVW1EH8VmCTuIAY1dNLS9YCQMB4u96QvDZGx+Yes4rE5fLv7i8 jNwJ9LALAqa0VaZLXgLp9lDJk5Ogh9kpmMnNBxh3qO86wlEswXSNlTgVYR90Vi23voVZ FpPv8beXmVjTgrFIPOHk9ioiRrgbDyb5OKYaxeN17VYC/lnbQCBYsdE9a09Ftkv3Aa92 /kz6n8XPAhG16LR4IKfKdEPQbEHzXmpfvIfcMPfc99i0m1INujVgJcxZomkIUS8cdVID gZqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=f6IjOuxVRqwYYk9pLv1Yfn07Gi6XGY94dgyzaZaHkoI=; b=ooit2z10O6ALp/nRKrSSw1hXuOPw+jDM+T6y6qusGeSR3PWrWRoJha05Zc7guFGDPN Auj38HBCXvo1NoIhigYBI4Ejc81PzjknapzEW+4RHAM60v1GwGTOLrCUWmPyPj1lVQPk oq0Kc/pqZpqnl1WUnXplxljnI1+sY1Fgp1X4ZcS2MzAeHDWotsIrxaFPJSvpv+ZT1DGd XKqSHgYRRMOQyD+vQOquz+WcVOgjh93PdR78tk3cx3Jpszf+B547ubFabgfAn6d+2BFR NOfOxz7RFSTpUktSMX7YLHoi+0ICPgJ9g+M2tERmpdu7d4u11DuItb6y7hTXbqVjrcZt 9mXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=puMBpdWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga5-20020a1709070c0500b0079d5da30399si12016040ejc.427.2022.11.15.03.20.56; Tue, 15 Nov 2022 03:21:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=puMBpdWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237077AbiKOLS1 (ORCPT + 99 others); Tue, 15 Nov 2022 06:18:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbiKOLSA (ORCPT ); Tue, 15 Nov 2022 06:18:00 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3387427FD1 for ; Tue, 15 Nov 2022 03:17:33 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id f27so35266832eje.1 for ; Tue, 15 Nov 2022 03:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=f6IjOuxVRqwYYk9pLv1Yfn07Gi6XGY94dgyzaZaHkoI=; b=puMBpdWyj4ubsojCo/jC54Hst8XON3KObkLMeAubcKA6ihpqoIIDRkJRvVIQCMJ1YP 7eYr5a7zHxqqgsEuzmiMYYTazppiXKn+gSLR1tX9tuNh9OlcJhOsfU9MVeQsUOcTqsdv 5njesmo3FllfcDseoIMj9J+nHjEUgrq4sKghAnOETIr1jkbt3lnW6rjGAaAtLBO2cI8c UpqCQNu7F2MLUz9fIbW3PH+I78Ux5G+zWgal1/0RHbC7JQYj5HvLaPhJwNLKuPHK3X2b n+8I1dMIX0BhhtsmDr3YURxUhOhIpJymN0jsjr6wD+y42GeSA2CQjo5h6ghaSvTfET+0 Nguw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f6IjOuxVRqwYYk9pLv1Yfn07Gi6XGY94dgyzaZaHkoI=; b=DNmv0mS8sDHcASECd3fqAeElrvwNrrXU3lvifVZdkAqPt6f3rOE4mBvtl2SzCz9cB2 rc0axNbpAuJ+GPhYoDblOIaHy4XMBS9Wy1GbHG/jqWT06A+IcsUZVtLu1bD5pOG0BvYi FriBdAn7sDqubY6VSoX3rLjkdNb8EofTHAxR3acold4nmrfYsQ/aM0JdpKkmCj/pbui7 b58Iv94/k9fU7qncaxLpzXBZIW8dq4itz/Ii0KyaBc8XjUonSMdIuqOiV3bSua14RNEd PYShQPwj1tcFO2i3M3x6PM/fYrzeGInW2dYVG9NZRz+ehxjmxqfnU/WMb6uveQaDInCr Yxfg== X-Gm-Message-State: ANoB5pmjc87krN8n/oNKQvqp/MbUgr/0Y4tCtNN3rdh2kBLT54jRvF25 +H1asvTGI/Uh649kFGPnbTif6w== X-Received: by 2002:a17:906:388c:b0:7aa:97c7:2c04 with SMTP id q12-20020a170906388c00b007aa97c72c04mr13520583ejd.191.1668511051709; Tue, 15 Nov 2022 03:17:31 -0800 (PST) Received: from prec5560.. (freifunk-gw.bsa1-cpe1.syseleven.net. [176.74.57.43]) by smtp.gmail.com with ESMTPSA id eg25-20020a056402289900b00457b5ba968csm5973519edb.27.2022.11.15.03.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 03:17:28 -0800 (PST) From: Robert Foss To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, quic_kalyant@quicinc.com, swboyd@chromium.org, robert.foss@linaro.org, angelogioacchino.delregno@somainline.org, loic.poulain@linaro.org, vkoul@kernel.org, quic_vpolimer@quicinc.com, dianders@chromium.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Marek , vinod.koul@linaro.org, quic_jesszhan@quicinc.com, andersson@kernel.org Subject: [PATCH v2 00/12] Enable Display for SM8350 Date: Tue, 15 Nov 2022 12:17:09 +0100 Message-Id: <20221115111721.891404-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749560889891056938?= X-GMAIL-MSGID: =?utf-8?q?1749560889891056938?= Dependencies: https://lore.kernel.org/all/20221102231309.583587-1-dmitry.baryshkov@linaro.org/ https://lore.kernel.org/all/20221024164225.3236654-1-dmitry.baryshkov@linaro.org/ https://lore.kernel.org/all/20221104130324.1024242-5-dmitry.baryshkov@linaro.org/ Branch: https://git.linaro.org/people/robert.foss/linux.git/log/?h=sm8350_dsi_v2 This series implements display support for SM8350 and enables HDMI output for the SM8350-HDK platform. Changes from v1: - Added R-b tags from v1 - Added qcom,sm8350-dpu binding patch - Added qcom,sm8350-mdss binding patch - Corrected sm8350.dtsi according to new dpu/mdss bindings - Bjorn: Removed regulator-always-on property from lt9611_1v2 regulator - Bjorn: Moved lt9611 pinctl pins into a common node - Bjorn/Krzysztof: Moved status property to last in node - Krzysztof: Changed hdmi-out to hdmi-connector - Krzysztof: Fixed regulator node name - Krzysztof: Changed &mdss to status=disabled as default - Krzysztof: Changed &mdss_mdp node name to display-controller - Krzysztof: Fixed opp-table node name - Krzysztof: Fixed phy node name - Dmitry: Split commit containing dpu & mdss compatibles string - Dmitry: Added msm_mdss_enable case - Dmitry: Fixed dpu ctl features Robert Foss (12): dt-bindings: display: msm: Add qcom,sm8350-dpu binding dt-bindings: display: msm: Add qcom,sm8350-mdss binding drm/msm/dpu: Refactor sc7280_pp location drm/msm/dpu: Add SM8350 to hw catalog drm/msm/dpu: Add support for SM8350 drm/msm: Add support for SM8350 arm64: dts: qcom: sm8350: Add &tlmm gpio-line-names arm64: dts: qcom: sm8350: Remove mmxc power-domain-name arm64: dts: qcom: sm8350: Use 2 interconnect cells arm64: dts: qcom: sm8350: Add display system nodes arm64: dts: qcom: sm8350-hdk: Enable display & dsi nodes arm64: dts: qcom: sm8350-hdk: Enable lt9611uxc dsi-hdmi bridge .../bindings/display/msm/qcom,sm8350-dpu.yaml | 120 +++++++ .../display/msm/qcom,sm8350-mdss.yaml | 240 +++++++++++++ arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 332 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 226 +++++++++++- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 210 ++++++++++- .../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 | 4 + 8 files changed, 1108 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm8350-dpu.yaml create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm8350-mdss.yaml