From nobody Thu Dec 18 20:37:53 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1319B1FD7AA for ; Wed, 18 Dec 2024 19:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551127; cv=none; b=dZjlGRPlegDJynSb57Iu54B8aFIra69YXHenATY5OaR33K+qP4wN3zNFUqx864xnAP04jt8tRYhoDEwPFIU1BzaI0pIV6WplNPGP6DlXbMS0R2iG0+UPRWOJ/yh9dJ10lkTRyz/CWURvSFHZ7CKq0C95meEVtQGdLaHFd6/Irvs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551127; c=relaxed/simple; bh=uZvW7WN2ICbEyh0EkL2Gure/jqA8r3Z9cfwDjT785yY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LneqZWBFUAIXdbkLin4Z/cFf9BjCG5sbWAepcr1tL2sTRzjPaLU2wNmQEPjt4G6A29kArbE1GRcr424WpZ4yZPZBZgzfDzKTwrCS084GqYq+1irJb+fpkDw+UQOtvpJs35MV9ygoXlSuBqKpnNXVbd2qDHznis6b6tbQq3rfSi0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNzyo-0006vG-KF; Wed, 18 Dec 2024 20:45:10 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tNzym-0045EZ-0m; Wed, 18 Dec 2024 20:45:09 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tNzym-00DT63-2z; Wed, 18 Dec 2024 20:45:08 +0100 From: Ahmad Fatoum Date: Wed, 18 Dec 2024 20:44:58 +0100 Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: add prefix for Topland Electronics (H.K) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241218-topland-tian-g07017-v1-1-d5e411c199e3@pengutronix.de> References: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> In-Reply-To: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thierry Reding , Sam Ravnborg Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pengutronix.de, Ahmad Fatoum X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Topland is a professional supplier of photoelectric display and touch integrated products from Hong Kong: https://www.topland.com.hk/aboutus/ Signed-off-by: Ahmad Fatoum Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index da01616802c76830a520594a69bd6a2e0231df0d..42d14899d584ca724439fdf5002= 74a729ddbc455 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1524,6 +1524,8 @@ patternProperties: description: Topeet "^topic,.*": description: Topic Embedded Systems + "^topland,.*": + description: Topland Electronics (H.K) Co., Ltd. "^toppoly,.*": description: TPO (deprecated, use tpo) deprecated: true --=20 2.39.5 From nobody Thu Dec 18 20:37:53 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1B071FCFDA for ; Wed, 18 Dec 2024 19:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551121; cv=none; b=DfHpH42MMLNsm5DpvgjKw0UOjWVpxuVPyRzMLHNKIKCDjtUl1T/N2GoNOHKcBly3fcdz6buWRNTlX9ajBqHxX2C63yrh9pdXhnBjd2C4KtNkUGQDUKWpbvUPNFbXtFAaL7lqxuH5/Ibb0QwKfOOe3ms+8aqaF2M01vwIu9v2ixc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551121; c=relaxed/simple; bh=rF5c+G1VU7uI4Zha7pjUdNVh2mySY3yMpNtP7T/Q3yY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EmyDw2kxmjHYI1gYbHVVeeeohbxHlXwuL2QNxkChZVtytgMnXg4qqr+5HQSZjQCMNykSvsiukU4EL/EofYiT/H877JwG/kheSkHMEXRag10cCroHMRue1XwD/SmhLB/SQM+RgyyQYNSkCgxUeRC2sCxwKLl8Gd1KiQtIEXVLUgE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNzyo-0006vD-KE; Wed, 18 Dec 2024 20:45:10 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tNzym-0045Ea-0o; Wed, 18 Dec 2024 20:45:09 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tNzym-00DT63-30; Wed, 18 Dec 2024 20:45:08 +0100 From: Ahmad Fatoum Date: Wed, 18 Dec 2024 20:44:59 +0100 Subject: [PATCH 2/3] dt-bindings: display: panel-simple: Document Topland TIAN-G07017-01 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241218-topland-tian-g07017-v1-2-d5e411c199e3@pengutronix.de> References: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> In-Reply-To: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thierry Reding , Sam Ravnborg Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pengutronix.de, Ahmad Fatoum X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The TIAN-G07017-01 is a 7" TFT-LCD module by TOPLAND ELECTRONICS (H.K). Add its compatible string. Signed-off-by: Ahmad Fatoum Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.y= aml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index 18b63f356bb4bbf6d2c8e58b13ebb14c5f4004ad..2a3bf4f079e9297b06ca9d25290= c0b3fe7881043 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -284,6 +284,8 @@ properties: - tianma,tm070jvhg33 # Tianma Micro-electronics TM070RVHG71 7.0" WXGA TFT LCD panel - tianma,tm070rvhg71 + # Topland TIAN-G07017-01 7.0" WSVGA TFT-LCD panel with capacitive = touch + - topland,tian-g07017-01 # Toshiba 8.9" WXGA (1280x768) TFT LCD panel - toshiba,lt089ac29000 # TPK U.S.A. LLC Fusion 7" 800 x 480 (WVGA) LCD panel with capacit= ive touch --=20 2.39.5 From nobody Thu Dec 18 20:37:53 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CF3E1FD796 for ; Wed, 18 Dec 2024 19:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551126; cv=none; b=S5eNQTI7Tu39WqSYuRmpuNC97N6kI01/4pI+tzG4/f4UWZEhaPqOFAtvvQ4og0vYNVBtrcfGP3MvJIcMCIFkapo4k9iXEU/cWMyPrxJlMxeLuFcSaBkE3Pv7nvaIhb8991IfOUT5NYb6OQmntBFbhaCpvAbqIyirLm/DOAhpd6M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734551126; c=relaxed/simple; bh=Xbety9S9KaNMvHEFY/Kx0YlZpF3GlbDYCukY6c3gakg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p11sB9g9GDWGsBHabdFsPlgFCs6v4OLS0aSYNL1iZVb9XNbZwsW4jctdNlyeiLRynuJ3lolWVgU2FZ+32NNreo4CPCdlnAfLS0kFmm//cdobGFyc7gATqUrt3MeOj0fSJUM/WHb1cBXkJkJokoCLsX5volX21zCQjrssZRjctwc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNzyo-0006vF-KF; Wed, 18 Dec 2024 20:45:10 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tNzym-0045Eb-0o; Wed, 18 Dec 2024 20:45:09 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tNzym-00DT63-31; Wed, 18 Dec 2024 20:45:08 +0100 From: Ahmad Fatoum Date: Wed, 18 Dec 2024 20:45:00 +0100 Subject: [PATCH 3/3] drm: panel-simple: support TOPLAND TIAN G07017 LCD panel Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241218-topland-tian-g07017-v1-3-d5e411c199e3@pengutronix.de> References: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> In-Reply-To: <20241218-topland-tian-g07017-v1-0-d5e411c199e3@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thierry Reding , Sam Ravnborg Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pengutronix.de, Ahmad Fatoum X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The TIAN-G07017-01 is a 7" TFT-LCD module by TOPLAND ELECTRONICS (H.K). The panel features 1024x600 24-bit RGB pixels driven over LVDS as well as a PWM backlight and I2C-connected ft5506-compatible capacitive touch. The panel description is taken from the Datasheet V0 (2024.5.23), but it lists no timings and these were provided by the vendor separately. Signed-off-by: Ahmad Fatoum Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++++++= ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index 222c170dde8be261e98ff41168ef8a3a42c167c8..626cbc6858215f6fdc72063e385= 64e2dc1deb52c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4361,6 +4361,37 @@ static const struct panel_desc ti_nspire_classic_lcd= _panel =3D { .bus_flags =3D DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE, }; =20 +static const struct display_timing topland_tian_g07017_01_timing =3D { + .pixelclock =3D { 44900000, 51200000, 63000000 }, + .hactive =3D { 1024, 1024, 1024 }, + .hfront_porch =3D { 16, 160, 216 }, + .hback_porch =3D { 160, 160, 160 }, + .hsync_len =3D { 1, 1, 140 }, + .vactive =3D { 600, 600, 600 }, + .vfront_porch =3D { 1, 12, 127 }, + .vback_porch =3D { 23, 23, 23 }, + .vsync_len =3D { 1, 1, 20 }, +}; + +static const struct panel_desc topland_tian_g07017_01 =3D { + .timings =3D &topland_tian_g07017_01_timing, + .num_timings =3D 1, + .bpc =3D 8, + .size =3D { + .width =3D 154, + .height =3D 86, + }, + .delay =3D { + .prepare =3D 1, /* 6.5 - 150=C2=B5s PLL wake-up time */ + .enable =3D 100, /* 6.4 - Power on: 6 VSyncs */ + .disable =3D 84, /* 6.4 - Power off: 5 Vsyncs */ + .unprepare =3D 50, /* 6.4 - Power off: 3 Vsyncs */ + }, + .bus_format =3D MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type =3D DRM_MODE_CONNECTOR_LVDS, + .bus_flags =3D DRM_BUS_FLAG_DE_HIGH, +}; + static const struct drm_display_mode toshiba_lt089ac29000_mode =3D { .clock =3D 79500, .hdisplay =3D 1280, @@ -5037,6 +5068,9 @@ static const struct of_device_id platform_of_match[] = =3D { }, { .compatible =3D "toshiba,lt089ac29000", .data =3D &toshiba_lt089ac29000, + }, { + .compatible =3D "topland,tian-g07017-01", + .data =3D &topland_tian_g07017_01, }, { .compatible =3D "tpk,f07a-0102", .data =3D &tpk_f07a_0102, --=20 2.39.5