Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8144330rwb; Wed, 23 Nov 2022 16:23:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf6eUGFG+fZ/WwtqD3Aj6RwR7So6WtqYA9Q1Aj6wLx6R88LmAX4OuSVZisbHKSr3lDOFvLPj X-Received: by 2002:a17:906:682:b0:78d:a632:59d2 with SMTP id u2-20020a170906068200b0078da63259d2mr9919993ejb.459.1669249401316; Wed, 23 Nov 2022 16:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669249401; cv=none; d=google.com; s=arc-20160816; b=cTQUj0k0nboXOMdwtwmnY8W5+5dU1hseUdlPNVcX+Arc0iicaRz9ZcIkg9+DJ1rF2A wvlw3Ji4Phos1Hwu3LDhy+jDW19G8f3C4xsudHLaSeRQQVlMV/mjmqxj+EQ95z7/bI1u nu7C0TRCPps6o/FmWZzMLSvwTVfA4Q/VRdJ29qHGIKjmP3fDYRpGh4AeUAhmRbAfLBl7 jqCsfvU9VGWkuvqcv/xeA7jcFy16LCTp2XRkNarhQMyWqEcVlhcNWriq/A3erpBnyi9K u3HaS15wbfTV9qejKd8XTcbNCd1rm2k4yZVCJRJ++yIdszS2GrecCclV5ldYpNjqq09C JbuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=DYsSNCXWhpFs7o4x2IkqFxSQUbarPP9Op1/XKXYtDBY=; b=jyw7fwLEYlNsJY9YmMLZuv7z780hYHG4SpCub1eFVYQ3HoEXPK9HPigplmF3fHWuvZ vWV9N3AfT33/QVeEJWGhJ8Wh9qiOGr/LjJMF0R/gPs1VIYD+oJIpcB8K6ngfKqF2GA7n rrD9jr2pxVL/Xp7DdOQXHhoQJUBSyPhICpnr3ddZ7D4PEm5C0gmOXkq6pbaxNT4srHkD Poy7bAVIEJOp9azFSiQl8RCv+IxthxiFGi5EeGgCFJB1jZY6oBu2OCJW2CuTrtoxdWv2 xM/NU7Z/oDze40SvFJC//UinTca4zlfeMtpEIgMO4gxgzDzWgSk+gPreDU1mOAkR/zOh 3X5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=mO8gD1Uq; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf9-20020a17090731c900b0078dcee0cf13si15769407ejb.561.2022.11.23.16.22.59; Wed, 23 Nov 2022 16:23:21 -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=fail header.i=@gmail.com header.s=20210112 header.b=mO8gD1Uq; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbiKXAR6 (ORCPT + 88 others); Wed, 23 Nov 2022 19:17:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKXARz (ORCPT ); Wed, 23 Nov 2022 19:17:55 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6231B19C3D; Wed, 23 Nov 2022 16:17:49 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id s8so190789lfc.8; Wed, 23 Nov 2022 16:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DYsSNCXWhpFs7o4x2IkqFxSQUbarPP9Op1/XKXYtDBY=; b=mO8gD1Uq4kFyJckqBAStesA4EMzaLVQ9SgJ0grZsFpjIsTvd02FQAgKAxa9v6/u+CF BN6XSSaPVq+OoDOnEVtxg0sEoV48DSp/2fgD9+GLjxNSEDWCP+L+tk9XhZHll1ZAPPTf 8uVGsIL07M26DlMzU1u53ta1rYqKeHlLOvfIMCNfY3N42+nZLmC0nUUHtXOWBjLpuKYK YuFzTrHTbKF+8wlto5dYW5HeeifxP+WZdN2C+hERORQOem13X83mU/wJ1EHzIKAsp2Iy l2G1hMj/d8M/oWvk/hcC45WS1wFNufg3xnZe9PKolAiwobxkVFM4UDO5VmOU5vnrKRDy SIFA== 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:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DYsSNCXWhpFs7o4x2IkqFxSQUbarPP9Op1/XKXYtDBY=; b=L5vi2K3drPOEJOuGDvMuEpbN/slvmcyhsw1S+wKExfDvsE+zHPKljV/7zfDYNRYm2p snRXeJKWhZdd+fZjQHkvGql+mTZNZm073B/JqIiZVGyQigU/Ig/bP9t/ijnUC6Hmc9pe tzg2u/OzB/tJtgEXiPeien8UuiZwslU7/1ZX1eSeFws1aMRz9oHZ0UzTEabmSF40wQXw f/FzS0yCYE/tRiJmk0/PUR1a0PAufQkqkowu8qINkkzvTD681YrF7nAzGr9Cjh4WMUZN ajETd3SujO1QKzycOzpipKJ5OZlTW8gu5fQnKITBmZCFTuCtZuyL0kWqzXQk6HWUUocK bz1g== X-Gm-Message-State: ANoB5pkukmpZK5QPRLaoTu+/MJV7yRfMoYkQ594QwNZqhSJBpE9tGqaD kC5S0WvG5cUmV3i24ebX95+edJbl/Hg= X-Received: by 2002:a05:6512:c09:b0:4ac:2fae:8a9e with SMTP id z9-20020a0565120c0900b004ac2fae8a9emr9855039lfu.413.1669249067646; Wed, 23 Nov 2022 16:17:47 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id p8-20020a19f008000000b004ac980a1ba1sm3054388lfc.24.2022.11.23.16.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 16:17:47 -0800 (PST) From: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Kalyan Thota , Jessica Zhang , AngeloGioacchino Del Regno , Loic Poulain , Vinod Koul , Konrad Dybcio , Vinod Polimera , Jason Wang , Kuogee Hsieh , Stephen Boyd , Douglas Anderson , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Add SM6115 MDSS/DPU support Date: Thu, 24 Nov 2022 01:16:30 +0100 Message-Id: <20221124001708.25720-1-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add support for MDSS and DPU block found on SM6115. These patches were tested on Xiaomi Redmi 9T smartphone. Changes since v1 ================ 1. Adjusted YAMLs per requests. 2. Changed MDP regs to lowercase hex. 3. Rebased series over latest next and SM8450 patches. Adam Skladowski (2): dt-bindings: display/msm: add support for SM6115 drm/msm/disp/dpu1: add support for display on SM6115 .../bindings/display/msm/qcom,sm6115-dpu.yaml | 94 +++++++++ .../display/msm/qcom,sm6115-mdss.yaml | 182 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 87 +++++++++ .../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 | 5 + 6 files changed, 370 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm6115-dpu.yaml create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml -- 2.25.1