Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp392845pxk; Fri, 11 Sep 2020 09:41:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTYwJD/vF+0fBDUBF28ak95OmqOQXUJYLJTCYIawbhN1vHNY75TdUhc2Aft2ZkFfTKUeCH X-Received: by 2002:a17:906:bb0e:: with SMTP id jz14mr2969971ejb.525.1599842494458; Fri, 11 Sep 2020 09:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599842494; cv=none; d=google.com; s=arc-20160816; b=ncRsTO0fsRulc6/02F284/XpIpe6UWORvlYIkrRVxWHIBLlgrz7fbqdEd9i8qOLHCJ MUGzs9nVzRZ8s21L+Vgz6ShueV5WBIywmfj2gCULLRQPxNZpTqWj8Pnt1T+Fl0GTDiKh EWX5nca5fbjMxSTMhm40ExJUDkL6UwMeDmN5otSyp/vgVfkABN8zimVlrKRlay8hsvdA DcmK4rycHFud+EWEKOdtz3qtNzBBz2nPtJQXzZsyFvG9e2wWusfe8BnMhDN7AcZkAgoD MiKW0D8Mfa9KhN/3YmuLL4Q1JV5JU0/2kUBoaMeg50y+bFtkgVEMmrG9+r2PqZ6tAbEn eOig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=euZWKDvSLszOg3hns89zvMgi1tbxQv2avHZee3eJ2yI=; b=u4iaccgZyX0od1FRJes/oye9I6i5+Z72EmxH0twYHZnqNGet6aiEqvFJL1E0WIlnOl GEkrMUZ8ayypwckF1FVkU3zOKHDja3w2oQXWBSd+dkPuDvvO8FluA2UoaFWW4UYl43s9 RIQYbiP+n9jYhhup/NYk3+A94v47cA2I9/5AF9sxg/ne5ZVC/pj79fSL42Wcuh4Oov6z hcm7MvCGOrkbyQiAycSCfDYhdo0TpAgJltJiusmWmdOO3OOsFg1Nea6rDAnLcrbXFWB2 9rKGnPGVOPg2vTa11EyHkGkwIbcA2C4MgUxOCJbHxcmHRXcj0NErC+wHIWcIUrmkNIhx 1xzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=qBfjVizj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si1468941edu.414.2020.09.11.09.41.11; Fri, 11 Sep 2020 09:41:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=qBfjVizj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726459AbgIKQkd (ORCPT + 99 others); Fri, 11 Sep 2020 12:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbgIKPLc (ORCPT ); Fri, 11 Sep 2020 11:11:32 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 093A9C06179F for ; Fri, 11 Sep 2020 08:11:22 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id q63so9394063qkf.3 for ; Fri, 11 Sep 2020 08:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=euZWKDvSLszOg3hns89zvMgi1tbxQv2avHZee3eJ2yI=; b=qBfjVizj8aDJByTIWD3AlHF0vazq0JRzEVHnlyJo5/NIS5vzxEDvesvDkS72qQWYZn NcHjjsrCA9ZrOnv4cdzT1ApxtC9g+Wa0KpngbWvHSEWfCNfWKbE2HwmmNsGCn11In6Dk WFzaFFM0REfbH2QJmlGpa5PHlR93uvWgHAZOV7zqPKT5y0RI5twXPrkHBTGKhxLMp+BN 0tn6myKDKpvS+YDQVHVxIoB8JzgE3bACjYysEB+rfFCdsGbBVjc5L+HVhvYjLFN5RQUt hgGyx5kOHUpNaKrCUigwruBDOHKNfvPXy4H8FMUXjNrUmHht2a2Hak+TZCmavDVaS8WR DoNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=euZWKDvSLszOg3hns89zvMgi1tbxQv2avHZee3eJ2yI=; b=Q8yEWDnKZDy6LN6Y/3QH04xxndqO7lNOcVJyOB0ojiIu8YAfJtvunTdvMjJDd1SLdB C2d+bxCbb40EzSo4eKWWwndleiUi88yik1rfdlP5bwfhFnn0TOyuxzDoPDFjaEtAYcgb sdq7jeN74ldA2OXrjrHKLlmOouO1rIDe89GGtwiUbedUjLX5sqTTlDbd8wYP55Csyntb IW1Ifr6yHDUpHiiNfBysavTWy8H+HPydfV+rcTx6HyEk+GWo4qgz+ltf8ZRsqS6yJrl9 m4XjnZdqMSv4sdPolUyZFslqooZOJid/xn8x4SGV62hTDR6W8JxOiTQPOyZ/GS77HJqz Ii2w== X-Gm-Message-State: AOAM531SqKTsszQQjKDFF4rh49Xre6czmUUmucdXIvPzSjWTXThkM08d QN/f381BpHHu6411UmR/WyLsLA== X-Received: by 2002:a37:bf43:: with SMTP id p64mr1862870qkf.24.1599837081212; Fri, 11 Sep 2020 08:11:21 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id 201sm3216429qkf.103.2020.09.11.08.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 08:11:20 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: AngeloGioacchino Del Regno , Daniel Vetter , David Airlie , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), freedreno@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), Harigovindan P , Jeffrey Hugo , Jordan Crouse , Konrad Dybcio , Krzysztof Wilczynski , linux-kernel@vger.kernel.org (open list), Rob Clark , Rob Herring , Sean Paul , zhengbin Subject: [PATCH v2 0/3] Add support for SM8150 and SM8250 DSI. Date: Fri, 11 Sep 2020 11:09:36 -0400 Message-Id: <20200911151001.13156-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Note I haven't tested SM8150 recently, but DSI is almost identical to SM8250. v2: - added workaround for 5GHz max_rate overflowing in 32-bit builds (based on robclark's suggestion) - Updated Kconfig option to mention SM8250 and not just SM8150 Jonathan Marek (3): drm/msm/dsi: remove unused clk_pre/clk_post in msm_dsi_dphy_timing drm/msm/dsi: add DSI config for sm8150 and sm8250 drm/msm/dsi: add support for 7nm DSI PHY/PLL .../devicetree/bindings/display/msm/dsi.txt | 6 +- drivers/gpu/drm/msm/Kconfig | 8 + drivers/gpu/drm/msm/Makefile | 2 + drivers/gpu/drm/msm/dsi/dsi.h | 2 + drivers/gpu/drm/msm/dsi/dsi.xml.h | 423 ++++++++ drivers/gpu/drm/msm/dsi/dsi_cfg.c | 5 +- drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 102 ++ drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 6 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 255 +++++ drivers/gpu/drm/msm/dsi/pll/dsi_pll.c | 4 + drivers/gpu/drm/msm/dsi/pll/dsi_pll.h | 10 + drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c | 904 ++++++++++++++++++ 13 files changed, 1724 insertions(+), 5 deletions(-) create mode 100644 drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c create mode 100644 drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c -- 2.26.1