Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1487659pxk; Fri, 4 Sep 2020 10:31:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAxLsbaBpOurYFvR0otywKIEytxle0M1gzYdqJXQXOtDokkU5KzKNngmj4laWCQj/NsIVA X-Received: by 2002:a17:906:1542:: with SMTP id c2mr9040921ejd.533.1599240701135; Fri, 04 Sep 2020 10:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599240701; cv=none; d=google.com; s=arc-20160816; b=CCJ0+2G2o8ZKSvHlVX9F559Lk15tV2nc4SCleyXH+F7Bk1wYVzlBc87MgMEIMmywfn WoWbhlAaFMkSKTNysh5Yt80eMLtwLdEKCszbED3pmPLwiokLU0Ni26i+chl0zMZ7MeNQ hVofrOR5PC9izSJh9pNEeO3P04jiJD0Gvj1ZiYuUR7Q1rR2jOFoyNhviDBEmE++q9Ip5 DtFLhATTef3PuAeZ/i3pgMCEhzKhwL7umhbxa8vMWSRQYpwav9XqgB6SQ+V4byKEHW3l 7PkiB1aGq44JOhYEn5f/4pfFumwambiBU/FXa63Iq/6E6cOhiWAtVYPKdGQWXdFg6uTQ JMiQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+/ZP5kS5Rqe9m8HHOrySpxvpwfZsdKiW4+S2+xiaFZ4=; b=ie8QTiQqrs8dy4xbWvNyoSvI8jBPhMgIU7+0hQzl1Y2oO42noh2q5RnWE/6NInro27 LH23gVsqtn353IFtlMjP8xEXsWEnaV3eTUhj1zMjki447Z/T7MImXhuqTPxzE5nN+8Gy t0I8HAfADdhGindQXwjyJLS1GJAjyvIWaidyXlaP7fRBWDGe33Lzr1S7u5JYag3M2wP9 UiVmkJoU4+wl60h/YI62f4SyEfRxXvByWv1sUQp6vsVAtgxoyuTIKqxGn2cxgNkaO7eP mkOSK6kB5l4OrJHTk1g5/9Ftkf9CL4JzzzHxf5P7DtL1CDTauMAa+i+vBkpw45XwMzpe Z6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=bzIEIgVC; 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 l10si4972163edf.398.2020.09.04.10.31.18; Fri, 04 Sep 2020 10:31:41 -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=bzIEIgVC; 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 S1727924AbgIDRaZ (ORCPT + 99 others); Fri, 4 Sep 2020 13:30:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbgIDRaL (ORCPT ); Fri, 4 Sep 2020 13:30:11 -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 49F1BC061245 for ; Fri, 4 Sep 2020 10:30:10 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id n133so6987636qkn.11 for ; Fri, 04 Sep 2020 10:30:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+/ZP5kS5Rqe9m8HHOrySpxvpwfZsdKiW4+S2+xiaFZ4=; b=bzIEIgVCyUxB7ogqA2p4KhVMr9nk3rC+fPN6Hwvq0fBPGWQt5Mt4Z0cSFjryKkIzZj EsTgy7TNbDNNmA0+AahwO2952KkXEr/rn3BfHxyKf4S6sJEgWWkcIm7tO5qb5dy8GKDS aapkBfizEHQa2F4zPqs58/spHZoNA5JsRkDJSvhY/h1KQs32JU1W7OpJLLlM9Mq1wXuD /fA4dOoo/9xeE8tVZoZJRwKQaIt7xzusIqpXp+qzjR1z7rxpxD/VNiNlrEa47TGOfDFw Bhik7MJsMwS4Pz4lGMcbrgnm++nSQNY/PsJ7HQrEfHlZAiYp4Con5PdddQN58Zk16cy+ CECA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+/ZP5kS5Rqe9m8HHOrySpxvpwfZsdKiW4+S2+xiaFZ4=; b=PBhXgcTM7yoA1FdAE80fMIsfvVthM59Ni0+Q/IDTgv+ZIajOhnIOwdKiiFDBtKs9Ep cO7mSXS22kkRxo3outiQeeq+zNiwHkHKXK3hThBLVkF8Qw634kGXqENmdDVADK27ZhNy 0/6M3uyH8gSLQl3SgteUJR4BYxRXgax1qpG/+vESV/5+M0g3csAsgGHbsRxKJPJNKtbB ovTvYxjtxWg34qGis66nnbT3Kp7Yv8BcgZbGq58ol3QFLFSiEaV+Li4gUs7ZwLco89y6 ly4ZnPT9CNCevbh5+OP0OEJ2W960+huCm6lxT0HHqYqhMWSSNpa9JABItIHf8qFoK3EB ll0w== X-Gm-Message-State: AOAM531MTbqgFdGXYHDpSo71urW68zIQj8G1+e7lZUH/0du7Z9prxiqO HlkBUyJ3tCzgLsCYEJnaftOUjQ== X-Received: by 2002:a05:620a:545:: with SMTP id o5mr9093806qko.172.1599240609392; Fri, 04 Sep 2020 10:30:09 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id i66sm5103330qkc.63.2020.09.04.10.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 10:30:08 -0700 (PDT) From: Jonathan Marek To: freedreno@lists.freedesktop.org Cc: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Jeffrey Hugo , AngeloGioacchino Del Regno , Krzysztof Wilczynski , Konrad Dybcio , Harigovindan P , linux-arm-msm@vger.kernel.org (open list:DRM DRIVER FOR MSM ADRENO GPU), dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/3] drm/msm/dsi: add DSI config for sm8150 and sm8250 Date: Fri, 4 Sep 2020 13:28:37 -0400 Message-Id: <20200904172859.25633-3-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200904172859.25633-1-jonathan@marek.ca> References: <20200904172859.25633-1-jonathan@marek.ca> 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 This allows DSI driver to work with sm8150 and sm8250. The sdm845 config is re-used as the config is the same. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 5 ++++- drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c index f892f2cbe8bb..b2ff68a15791 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c +++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.c @@ -265,9 +265,12 @@ static const struct msm_dsi_cfg_handler dsi_cfg_handlers[] = { &msm8998_dsi_cfg, &msm_dsi_6g_v2_host_ops}, {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_2_1, &sdm845_dsi_cfg, &msm_dsi_6g_v2_host_ops}, + {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_3_0, + &sdm845_dsi_cfg, &msm_dsi_6g_v2_host_ops}, + {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_4_0, + &sdm845_dsi_cfg, &msm_dsi_6g_v2_host_ops}, {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_4_1, &sc7180_dsi_cfg, &msm_dsi_6g_v2_host_ops}, - }; const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.h b/drivers/gpu/drm/msm/dsi/dsi_cfg.h index efd469d1db45..ade9b609c7d9 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.h +++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.h @@ -21,6 +21,8 @@ #define MSM_DSI_6G_VER_MINOR_V2_1_0 0x20010000 #define MSM_DSI_6G_VER_MINOR_V2_2_0 0x20000000 #define MSM_DSI_6G_VER_MINOR_V2_2_1 0x20020001 +#define MSM_DSI_6G_VER_MINOR_V2_3_0 0x20030000 +#define MSM_DSI_6G_VER_MINOR_V2_4_0 0x20040000 #define MSM_DSI_6G_VER_MINOR_V2_4_1 0x20040001 #define MSM_DSI_V2_VER_MINOR_8064 0x0 -- 2.26.1