Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2755494rwb; Sat, 24 Sep 2022 14:44:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7eurRQ2IvFfoHmjcXUfyC2gx295EFgSARumV/djoRcIqPdIGlB2x6mH5BZv5xAIStXiweW X-Received: by 2002:a62:17d1:0:b0:54d:87d5:249e with SMTP id 200-20020a6217d1000000b0054d87d5249emr15906892pfx.14.1664055847883; Sat, 24 Sep 2022 14:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664055847; cv=none; d=google.com; s=arc-20160816; b=tJPak1Nhw8d5Qeli0B8NE2asOfXl6HckVmlCwck3SZgoLnQJUXTgCLLZb1p5ADcSmh wB6RHo8zJPuK/w7pJlP334V9dj1E1XAgOgRm2vcNadunrsBgdQS1ITq8o3BTFcGk+ugK gVpY8zlTMgI/XQPIMxuzkZKUsojFvW/zS9Lk6MPtsaZBI18ZyHF5mQ/dSnPx4Ke6qwww LJ8RMCQPej1SnOzPlSPeZgt4f2Htsy7OZEMzJ8JWnYSukFxuxyXNonkKWUmFd+9nlgQI 9OUpcWPtHEc55PDhZwP1cjpvZcK45gihCIU6zU8LIHi9cnsdWIupI0bwKzTlK8J/om2R q5WQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fUURDW2SyuLFQlIMd5Z0waSw/q1rEm3zGKJ7BpDAeUE=; b=ywjUypbtRXWZ88fJnpbHPCp8GBnPd+8ULR9EkkaUrI5KGQdGmL6y/p5bFpaOCFiJl3 c65HcotfVWWs4meVsRBR8Xfq06vG8JKPs54e7yVHSFcMzOgMD0NIyG0gVyRrt48mEPyW qwDHFaLmtp+cgQSwMZgfWZw/c3h/rnNUEBFW1mU3GqGC/9TKezjKYJ9qsciyPzBAVBjp TdGkUccNokk5jQ4PE7XjGUg7K3idRSDReYFQ0kN+7WBm89v0rvZNd018oFU16d1Qof+s 4g7fLssQRgOhyV++1QTeEU+hif0jkyVe2O4e9KoZjYbIIEelO6VeJqPiPOmNWqZepEvE bPmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=NvGSyfnv; 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=riseup.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a637349000000b004392e26a2f7si13782510pgn.404.2022.09.24.14.43.55; Sat, 24 Sep 2022 14:44:07 -0700 (PDT) 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=@riseup.net header.s=squak header.b=NvGSyfnv; 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=riseup.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234005AbiIXUhF (ORCPT + 99 others); Sat, 24 Sep 2022 16:37:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230469AbiIXUgy (ORCPT ); Sat, 24 Sep 2022 16:36:54 -0400 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0218E558F2; Sat, 24 Sep 2022 13:36:54 -0700 (PDT) Received: from mx0.riseup.net (mx0-pn.riseup.net [10.0.1.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx0.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4MZgmP58bLzDql0; Sat, 24 Sep 2022 20:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1664051813; bh=3Lmze+y4ow8RjdXy3tEKHIH76EW/OpNHSEnEmix0YB8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NvGSyfnvzULtUALcYWOvWQEi7u90RWlsjLVucLDpq2GOt9VHbnZGJxS5yBT8ic+Oe xtBQ/NUKvY3AYRz+JZwETcetOqenNAvvBO/HiTrYlleEyY+URt4l00gSwNQbm0dKlM hi5lXdZB3o24H8zlsZ3eSCuXxN7bhNvOV6Fqq0XQ= Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4MZgmP10TQz9scc; Sat, 24 Sep 2022 20:36:53 +0000 (UTC) X-Riseup-User-ID: 11C1C95C2AC08897474174FB8F2D07A1F8A57F8FAAF9842FC1697C4FCB0DAFD4 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4MZgmM0JTZz1y9N; Sat, 24 Sep 2022 20:36:50 +0000 (UTC) From: Nia Espera To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Nia Espera Subject: [PATCH 2/2] drivers: gpu: drm: remove support for sofef00 driver on s6e3fc2x01 panel Date: Sat, 24 Sep 2022 22:36:16 +0200 Message-Id: <20220924203616.63325-3-a5b6@riseup.net> In-Reply-To: <20220924203616.63325-1-a5b6@riseup.net> References: <20220924203616.63325-1-a5b6@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removes functionality from sofef00 panel driver which allowed it to drive the s6e3fc2x01 panel Signed-off-by: Nia Espera --- drivers/gpu/drm/panel/Kconfig | 6 +++--- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 18 ------------------ 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index ee62d5d8828a..62b9cb6acd05 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -547,16 +547,16 @@ config DRM_PANEL_SAMSUNG_S6E8AA0 select VIDEOMODE_HELPERS config DRM_PANEL_SAMSUNG_SOFEF00 - tristate "Samsung sofef00/s6e3fc2x01 OnePlus 6/6T DSI cmd mode panels" + tristate "Samsung sofef00 OnePlus 6 DSI cmd mode panel" depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE select VIDEOMODE_HELPERS help Say Y or M here if you want to enable support for the Samsung AMOLED - command mode panels found in the OnePlus 6/6T smartphones. + command mode panel found in the OnePlus 6 smartphone. - The panels are 2280x1080@60Hz and 2340x1080@60Hz respectively + The panel is 2280x1080@60Hz config DRM_PANEL_SAMSUNG_S6E3FC2X01 tristate "Samsung s6e3fc2x01 OnePlus 6T DSI cmd mode panel" diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00.c b/drivers/gpu/drm/panel/panel-samsung-sofef00.c index bd02af81a4fe..68e58b9b8c5c 100644 --- a/drivers/gpu/drm/panel/panel-samsung-sofef00.c +++ b/drivers/gpu/drm/panel/panel-samsung-sofef00.c @@ -181,20 +181,6 @@ static const struct drm_display_mode enchilada_panel_mode = { .height_mm = 145, }; -static const struct drm_display_mode fajita_panel_mode = { - .clock = (1080 + 72 + 16 + 36) * (2340 + 32 + 4 + 18) * 60 / 1000, - .hdisplay = 1080, - .hsync_start = 1080 + 72, - .hsync_end = 1080 + 72 + 16, - .htotal = 1080 + 72 + 16 + 36, - .vdisplay = 2340, - .vsync_start = 2340 + 32, - .vsync_end = 2340 + 32 + 4, - .vtotal = 2340 + 32 + 4 + 18, - .width_mm = 68, - .height_mm = 145, -}; - static int sofef00_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) { struct drm_display_mode *mode; @@ -327,10 +313,6 @@ static const struct of_device_id sofef00_panel_of_match[] = { .compatible = "samsung,sofef00", .data = &enchilada_panel_mode, }, - { // OnePlus 6T / fajita - .compatible = "samsung,s6e3fc2x01", - .data = &fajita_panel_mode, - }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sofef00_panel_of_match); -- 2.37.3