From nobody Tue Apr 7 18:32:06 2026 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AC5539020A for ; Thu, 12 Mar 2026 04:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290329; cv=none; b=k4pmSIQB3SyyCCD9GDGu9TAW6w7ufaa5EfQ74QQ/LoMwxbepg+mW9knX9IY9d2s2Uf+kftqQBZga5PxXMusNDELLPFFaduitREANIVl2kUAxv/SP9ADF9Lyb7Pa93NJpbrai4U7ZyYQ+3guxsiTirlvNDdIq+0ZmOyENAIX2nZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290329; c=relaxed/simple; bh=PdhZ7DC54zY6/jpvD2JgERR7Nb3tJjUtY6jU/DeqF+c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uiOdw+uuckktGXoBiAZO8cPiuOWIMGsoNbIWiocO4dArftL0ZMLm0D97i5rTGzCKnSWyBiVAlC+dLyJ7pFxJdXJc36es5p4zlmhIF47oCM+l51PKfWPn4uyl+/BnEcDxGbshE2JQ6hj5k5S4F81/I+gOeByqsA2yj1ileel0jAM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JzecDMvF; arc=none smtp.client-ip=209.85.216.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JzecDMvF" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-3567e2b4159so263464a91.0 for ; Wed, 11 Mar 2026 21:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773290328; x=1773895128; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nMTZw9V6oYdbNCX21LHvVHPsfOKTyWhCTcJB46ncYVY=; b=JzecDMvF5oHLziIbHl74xghzxynatF1mLzfN6qNsSQeZIXxUECT4IzDb7LGvKbQKLh 03HhKJY9h3RQi3sqenZWVFfOXGiNo/vh0+fLj/nrlzB8b+pXSS4jVZPgscThPwMHBqqG WyRJpqCBuTFZaiblKcDKnlMb46aKAOm9g7KBNAKLH0ltUQRgWSi3+khS70bxNFNgrtYn eYIUt1ooHI7DcJiniR6IxySUxca7OcsJKa7Lb5a0xrsoFXw2vcp3Elxt9WUryp3iyFal JDUQvCHaqIec8N4TujLfD09r/CtE4cqVPYhRTOeJQeA2qRMlwCUKr24bJalYqZqtIbTI LAvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773290328; x=1773895128; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=nMTZw9V6oYdbNCX21LHvVHPsfOKTyWhCTcJB46ncYVY=; b=Wp3PKzVPe8Htk/EIKRnEx1izmGccsmpSsQglLc3YnAYTasPXiiY4WkrvaYbYtlZ/R0 07MD+lRhLU+Cky2qnDwEoXnGBKJZIUkWwkMbpoJ8iXTuAac1QLpFq/HIRnHANkB3BNpv Ey/Sa+FeNWrA9NY7CklAruHDqrra/gj4A2zlOCPv/2urayNGec3yhunkG+fOF6Mzbn/9 gd9ApVwL6XMRnpMLAxprFalwRnJX28COMg4VyQLvLAOoi+l7gMqovJD0bU40McqAJ2Y2 UDmqwdgVc+KoQWDMDk/QHevj5CaagMwLbil0ZLTOvOM40KvvRtx3zSO+7Pf9b/TPLYC+ vd0Q== X-Forwarded-Encrypted: i=1; AJvYcCU/4zfDEwJuc+Cp6RtsnbodkCeSmWV6kDMjU5h40duYVc9NOUQmrE3mh0McgdCTHEDmM9QGIK3xi6I6sBE=@vger.kernel.org X-Gm-Message-State: AOJu0Yyp7jr/3itvJ902Zm1e2P2LUJqsO2pNb6jfrzlUdYRVPGrB+FgK Qpswh6hD4PZpujDLVIFPpZ9/rxEWEIOY299ewupUBkYnlNbCyd3yfd8b X-Gm-Gg: ATEYQzyrZSI7kGR0ACiT4s81YXct8ZxEQeZBqAnbmVIkRElTTw/h5HufHwq15Qv0F8+ B2KTmVgvfwRagzATwo4QXSvgLrdFbUIojANDzF8RBDESqXoIUF7GPILWTMT3m67rywdJMB2/NMG 0q/Ejeff7+V66GWH1T0Ur+mtajUOtae5V1B4Ue0q+r6e82bbnv6WdkLu9YjKA7Bv9M6asI9PrPh ibJvB1DGYRH5WUOcLbmEeH1c8xJwPwllP+4LBe5JB6FP2uaiJIz5MZRNFFPkB821FpQaRqKYkK2 G4deEVCLi7yKgAJV12Zl3YZclCzImMll0TZ9HpFZ1L8XMA3lviGFIbTieAmxvoB5amn7X8L8/HE 4ON9ihZ2MlKZrQkiQ8KjzqhWUwusPz8nS2qbXKNCukLTm+WIBAbo1WOI4u9M2OhX1uZE2CoYt4b LKEoqaabAjP4+pLb+JIf9Xc8qkDLpt8wx28xR+FPdCLV7T7t3GevWmiTiG4cc= X-Received: by 2002:a17:90b:2c8d:b0:359:9083:3661 with SMTP id 98e67ed59e1d1-35a01247d63mr4568828a91.15.1773290327700; Wed, 11 Mar 2026 21:38:47 -0700 (PDT) Received: from test-HP-Desktop-Pro-G3.. ([103.218.174.23]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35a030490b9sm3793460a91.17.2026.03.11.21.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 21:38:47 -0700 (PDT) From: Sudarshan Shetty To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, marex@denx.de, valentin@compulab.co.il, philippe.schenker@toradex.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sudarshan Shetty Subject: [PATCH v2 1/2] dt-bindings: display: bridge: ti,sn65dsi83: Add dual-link video mode property Date: Thu, 12 Mar 2026 10:07:42 +0530 Message-Id: <20260312043743.261475-2-tessolveupstream@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260312043743.261475-1-tessolveupstream@gmail.com> References: <20260312043743.261475-1-tessolveupstream@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a new optional device tree property `ti,dual-link-video-mode` to indicate that the bridge should configure the device for dual-link LVDS video mode. In dual-link configurations, some panels require the horizontal timing parameters to be adjusted before programming them into the device. In such cases, the horizontal timing values must be divided by two when operating in dual-link mode. Signed-off-by: Sudarshan Shetty Reviewed-by tags to the test_pattern patch too if applicable). --- .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.= yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml index e69b6343a8eb..b610739555a4 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml @@ -38,6 +38,15 @@ properties: interrupts: maxItems: 1 =20 + ti,dual-link-video-mode: + type: boolean + description: | + Enables configuration settings required for correct dual-link + LVDS operation. Some panels require the horizontal timing + parameters to be adjusted before being programmed into the + device. The horizontal timing values must be divided by + two when operating in dual-link mode. + ports: $ref: /schemas/graph.yaml#/properties/ports =20 --=20 2.34.1 From nobody Tue Apr 7 18:32:06 2026 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A7553382F7 for ; Thu, 12 Mar 2026 04:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290339; cv=none; b=kIZqTQOMsVTFzKIyN4aTr3Y+IDXPv3kLKjZmn7Vr7pe1z2ZZAbKGrXje/eWsOEizr0PSir4RqRBFn8lB6G6mC4iw0xC7KJzyq9AxER6InzT+Q5NKvam6jmTwPuPszGdxbKA+geFvJH82Qs2VLXZwK0neXz1oZr8Jfk9phsaHMqo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773290339; c=relaxed/simple; bh=VxDRO5AJDmFc1BJYwDmYf30k2WBNqk0WnoVJS2LIewc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k2wwpWOZTrT4/+F4wuo5WXVCThabtrP4tgf4mvwT1qUFD9GGat6XngRcfSMdI4u9J5KBH3tOHPkWYwE53zZkamU9KjKnHouQMEk2M3RiDYGV6Uts5OfZ1stop7Drovc+eF77Y1pSAqa4m2JkaHL7l/xdqo+guhzKBUrbYIu+8JU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=It57tpGn; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="It57tpGn" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-35a08ce49dcso515384a91.2 for ; Wed, 11 Mar 2026 21:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773290337; x=1773895137; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BA5hockTvoyEWmo1vDE20MMnx+5hM0Z4ohhNVG+T9i0=; b=It57tpGnx7Ub28oT4ikpbSijfQ7yzWcTyTt6dtjqneZeTxaHYqI4fvv/Cu2lhCJHI9 GsaU4fcYzPJHRoMHBPrIJU6Lhzo6SCttfCrqCKupaDNvmLBx2yD+mi068nkDXsmGwDdT uckb1t2YTMygFK0UV2nlHgzmWAmmnpCpM4P8FuMYjp66H6A4PZsEGYfS4FWBTS/u2d/v D+KwMavWLbuMPKJd0ZP28vd20gcHm2YwpRUrHTTpxPkIZzvk4EqKPrIr2y8u7rIE5RC1 PQKl2JY3KcSXC2UHfuTxvyZbExAQc2I9cWMw/3CINy4jCwf/cnM2q4nZp9XNRqsT4oUl KDKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773290337; x=1773895137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BA5hockTvoyEWmo1vDE20MMnx+5hM0Z4ohhNVG+T9i0=; b=TMY4Y+iDvmH4v5iNNlNbsf5ZDkcYc8Y1Wjbny/OHg/64ejA/Q8mZ90BRe62ftKs4gC /Xf2XbYcBxEHOahBNKrbV0tcRUZk9EjOGU4tptwaQJgWTu5omt/IPkE8ju492Ge3Y22I gnIWjTo9jVwuIh/eYBXeCpVMdXJA+nNYvMTEG+udUIO1UIilVJY/EjTvuK67TDbfVAtM jXZQoYopiAnDwvk5Tl57SpBauWJiAmsUaPkvNA/GacWfL2uibldTNRZoVj4Dwvl+M7eW zxPVf8jMyiQnI2a6si0hROOJnDI14bvEzBLMkYXVJDhH/PCLzp6BRuMIOOpwjlAo+EBO QtTg== X-Forwarded-Encrypted: i=1; AJvYcCUjMUNSlSskpDsjoZPCfY1NlseOWn7RJx7VT5c1jINFidMRnzutjPmIG6A5rTyIbb6q1rGngvZ1/iFT058=@vger.kernel.org X-Gm-Message-State: AOJu0YwR5pLdsBnMKftckOPTDXv624a/yDYSHArI7cJaFUy+73PbaQHh EZXZWMXCBoNQ/YvTvl89lxrk7iQuc6EhJaGU9iKyWxGmRno1yWLBTpE2 X-Gm-Gg: ATEYQzzskSs7UdBeMoVHSEI6N2hbKt+lSIwyodihw5bZioNsmaCY6sJ+EFkVzZFfTKE 2u1r/+uJ6IbOjpZHkwpQbmpBXCxp46oFIqsHHRaMoMncWCVTnoCse45wplbb/me6UjHGt1/kFI9 MQEx79fFhiF075LcdAWQ8zJHM/xRZY7okIXIhz2n1RSxKjF4eT/LxrYc3okSGOhkI/b6e/F255R MlLuI68mZ+aulm4PqnRDhGgVon3+505n9y47U45cTK+nwj52oUsoXrRfvB5Z253X3wk4gTz/K/e q1xdzhdPDQJfGSAFQVUKKRFoFHiGp5n0r5ezn1t/ENhTtIe1R3cpWm/t4CJZUud5BpLqfOyuvFj OdQ0Ji50Rk4SSiC8OUBoGUZiVoxibMVa4iyO6ds1nawDzoZr7ELmOs6gsAVhpHEcvFrIellx2qY iMFyeUb+N5dZCq53kSk6c0hf7ZDWI8zdmkg8P7jQaVJlmwkVWk X-Received: by 2002:a17:90a:e7d2:b0:359:fa1e:2bc3 with SMTP id 98e67ed59e1d1-35a011a566fmr5084635a91.6.1773290337293; Wed, 11 Mar 2026 21:38:57 -0700 (PDT) Received: from test-HP-Desktop-Pro-G3.. ([103.218.174.23]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35a030490b9sm3793460a91.17.2026.03.11.21.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 21:38:56 -0700 (PDT) From: Sudarshan Shetty To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, marex@denx.de, valentin@compulab.co.il, philippe.schenker@toradex.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sudarshan Shetty Subject: [PATCH v2 2/2] drm: bridge: ti-sn65dsi83: Add support for dual-link LVDS video mode Date: Thu, 12 Mar 2026 10:07:43 +0530 Message-Id: <20260312043743.261475-3-tessolveupstream@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260312043743.261475-1-tessolveupstream@gmail.com> References: <20260312043743.261475-1-tessolveupstream@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Some LVDS panels operating in dual-link mode require adjusted horizontal timing parameters when programmed into the SN65DSI84 bridge. According to TI documentation, horizontal timing values must be divided by two when operating in dual-link mode. Without this adjustment, the panel may fail to display or produce corrupted output. Add support for an optional DT property "ti,dual-link-video-mode" to enable configuration required for dual-link LVDS operation. These settings ensure correct LVDS output for panels that require this mode of operation. Signed-off-by: Sudarshan Shetty Reviewed-by tags to the test_pattern patch too if applicable). --- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 52 ++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi83.c b/drivers/gpu/drm/bridge= /ti-sn65dsi83.c index f6736b4457bb..9b7d35487bd8 100644 --- a/drivers/gpu/drm/bridge/ti-sn65dsi83.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi83.c @@ -164,6 +164,7 @@ struct sn65dsi83 { int irq; struct delayed_work monitor_work; struct work_struct reset_work; + bool dual_link_video_mode; }; =20 static const struct regmap_range sn65dsi83_readable_ranges[] =3D { @@ -667,8 +668,43 @@ static void sn65dsi83_atomic_pre_enable(struct drm_bri= dge *bridge, mode->hsync_start - mode->hdisplay); regmap_write(ctx->regmap, REG_VID_CHA_VERTICAL_FRONT_PORCH, mode->vsync_start - mode->vdisplay); - regmap_write(ctx->regmap, REG_VID_CHA_TEST_PATTERN, 0x00); =20 + /* + * In dual-link LVDS mode, the SN65DSI84 requires the horizontal + * timing parameters to be adjusted before being programmed into + * the device. According to TI documentation, the horizontal timing + * values must be divided by two when operating in dual-link mode. + * Without this adjustment, the connected panel may fail to light up + * or display corrupted output. + * + * TI also provides recommended register settings for this mode, + * which were derived using the TI DSI-Tuner tool. When the optional + * DT property "ti,dual-link-video-mode" is present, apply these + * configuration settings to ensure correct dual-link LVDS operation. + */ + if (ctx->dual_link_video_mode) { + regmap_write(ctx->regmap, REG_RC_LVDS_PLL, 0x05); + regmap_write(ctx->regmap, REG_RC_PLL_EN, 0x00); + regmap_write(ctx->regmap, REG_DSI_CLK, 0x53); + regmap_write(ctx->regmap, REG_LVDS_FMT, 0x6f); + regmap_write(ctx->regmap, REG_LVDS_VCOM, 0x00); + regmap_write(ctx->regmap, + REG_VID_CHA_VERTICAL_DISPLAY_SIZE_LOW, 0x00); + regmap_write(ctx->regmap, + REG_VID_CHA_VERTICAL_DISPLAY_SIZE_HIGH, 0x00); + regmap_write(ctx->regmap, + REG_VID_CHA_HSYNC_PULSE_WIDTH_LOW, 0x10); + regmap_write(ctx->regmap, + REG_VID_CHA_HORIZONTAL_BACK_PORCH, 0x28); + regmap_write(ctx->regmap, + REG_VID_CHA_VERTICAL_BACK_PORCH, 0x00); + regmap_write(ctx->regmap, + REG_VID_CHA_HORIZONTAL_FRONT_PORCH, 0x00); + regmap_write(ctx->regmap, + REG_VID_CHA_VERTICAL_FRONT_PORCH, 0x00); + } + + regmap_write(ctx->regmap, REG_VID_CHA_TEST_PATTERN, 0x00); /* Enable PLL */ regmap_write(ctx->regmap, REG_RC_PLL_EN, REG_RC_PLL_EN_PLL_EN); usleep_range(3000, 4000); @@ -965,9 +1001,15 @@ static int sn65dsi83_host_attach(struct sn65dsi83 *ct= x) =20 dsi->lanes =3D dsi_lanes; dsi->format =3D MIPI_DSI_FMT_RGB888; - dsi->mode_flags =3D MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | - MIPI_DSI_MODE_VIDEO_NO_HFP | MIPI_DSI_MODE_VIDEO_NO_HBP | - MIPI_DSI_MODE_VIDEO_NO_HSA | MIPI_DSI_MODE_NO_EOT_PACKET; + if (ctx->dual_link_video_mode) + dsi->mode_flags =3D MIPI_DSI_MODE_VIDEO; + else + dsi->mode_flags =3D MIPI_DSI_MODE_VIDEO | + MIPI_DSI_MODE_VIDEO_BURST | + MIPI_DSI_MODE_VIDEO_NO_HFP | + MIPI_DSI_MODE_VIDEO_NO_HBP | + MIPI_DSI_MODE_VIDEO_NO_HSA | + MIPI_DSI_MODE_NO_EOT_PACKET; =20 ret =3D devm_mipi_dsi_attach(dev, dsi); if (ret < 0) { @@ -1021,6 +1063,8 @@ static int sn65dsi83_probe(struct i2c_client *client) if (ret) return ret; =20 + ctx->dual_link_video_mode =3D + of_property_read_bool(dev->of_node, "ti,dual-link-video-mode"); ctx->regmap =3D devm_regmap_init_i2c(client, &sn65dsi83_regmap_config); if (IS_ERR(ctx->regmap)) return dev_err_probe(dev, PTR_ERR(ctx->regmap), "failed to get regmap\n"= ); --=20 2.34.1