public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Harikrishna Shenoy <a0512644@ti.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Krzysztof Kozlowski <krzk@kernel.org>
Cc: Harikrishna Shenoy <h-shenoy@ti.com>, <andrzej.hajda@intel.com>,
	<neil.armstrong@linaro.org>, <rfoss@kernel.org>,
	<Laurent.pinchart@ideasonboard.com>, <jonas@kwiboo.se>,
	<jernej.skrabec@gmail.com>, <simona@ffwll.ch>,
	<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
	<tzimmermann@suse.de>, <robh@kernel.org>, <krzk+dt@kernel.org>,
	<conor+dt@kernel.org>, <jani.nikula@intel.com>,
	<j-choudhary@ti.com>, <sui.jingfeng@linux.dev>,
	<viro@zeniv.linux.org.uk>, <r-ravikumar@ti.com>,
	<sjakhade@cadence.com>, <yamonkar@cadence.com>,
	<dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 1/2] dt-bindings: drm/bridge: Add no-hpd property
Date: Wed, 12 Mar 2025 11:56:41 +0530	[thread overview]
Message-ID: <de0cb22d-d251-4b0b-8fc7-e8b5a891a527@ti.com> (raw)
In-Reply-To: <h24gpx6cxm4s6gzcunjnswubtvqask5dewi3udulmntsuieklm@w3pw4ig3t7gm>



On 05/02/25 19:03, Dmitry Baryshkov wrote:
> On Wed, Feb 05, 2025 at 12:52:52PM +0100, Krzysztof Kozlowski wrote:
>> On 05/02/2025 12:50, Harikrishna Shenoy wrote:
>>> From: Rahul T R <r-ravikumar@ti.com>
>>>
>>> The mhdp bridge can work without its HPD pin hooked up to the connector,
>>> but the current bridge driver throws an error when hpd line is not
>>> connected to the connector. For such cases, we need an indication for
>>> no-hpd, using which we can bypass the hpd detection and instead use the
>>> auxiliary channels connected to the DP connector to confirm the
>>> connection.
>>> So add no-hpd property to the bindings, to disable hpd when not
>>> connected or unusable due to DP0-HPD not connected to correct HPD
>>> pin on SOC like in case of J721S2.
>>>
>>> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
>>
>> Why are you sending over and over the same? You already got feedback.
>> Then you send v2. You got the same feedback.
>>
>> Now you send v3?
>>
>> So the same feedback, but this time: NAK
> 
> Krzysztof's email forced me to take a look at the actual boards that you
> are trying to enable. I couldn't stop by notice that the HPD signal
> _is_ connected to a GPIO pin. Please stop hacking the bridge driver and
> use the tools that are already provided to you: add the HPD pin to the
> dp-controller device node. And then fix any possible issues coming from
> the bridge driver not being able to handle HPD signals being delivered
> by the DRM framework via the .hpd_notify() callback.
> 
> TL;DR: also a NAK from my side, add HPD gpio to dp-controller.
> 
We tried implementing a interrupt based HPD functionality as HPD signal 
is connected to GPIO0_18 pin, we were able to get interrupt based HPD 
working however to route this signal to SoC we are loosing audio 
capability due to MUX conflict. Due to board level limitations to
route the signal to SoC, we will not be able to support interrupt
based HPD and polling seems a possible way without loosing on audio 
capability.

Link to schematics zip:
https://www.ti.com/tool/J721S2XSOMXEVM#design-files
File:sprr439b/PROC118E4_RP/PROC118E4(001)_SCH.pdf, Page 17, MUX1

Regards,
Hari


  reply	other threads:[~2025-03-12  6:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-05 11:50 [PATCH v3 0/2] "no-hpd" support in CDNS DP bridge driver Harikrishna Shenoy
2025-02-05 11:50 ` [PATCH v3 1/2] dt-bindings: drm/bridge: Add no-hpd property Harikrishna Shenoy
2025-02-05 11:52   ` Krzysztof Kozlowski
2025-02-05 13:33     ` Dmitry Baryshkov
2025-03-12  6:26       ` Harikrishna Shenoy [this message]
2025-03-12 12:52         ` Dmitry Baryshkov
2025-03-18 15:49           ` Tomi Valkeinen
2025-03-18 19:51             ` Doug Anderson
2025-04-15 12:50               ` Tomi Valkeinen
2025-04-15 15:40                 ` Dmitry Baryshkov
2025-04-15 16:50                   ` Tomi Valkeinen
2025-03-18 20:17             ` Dmitry Baryshkov
2025-03-20 10:50   ` Dominik Haller
2025-02-05 11:50 ` [PATCH v3 2/2] drm: bridge: cdns-mhdp8546: Add support for no-hpd Harikrishna Shenoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de0cb22d-d251-4b0b-8fc7-e8b5a891a527@ti.com \
    --to=a0512644@ti.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=andrzej.hajda@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=h-shenoy@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=jani.nikula@intel.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=r-ravikumar@ti.com \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=sjakhade@cadence.com \
    --cc=sui.jingfeng@linux.dev \
    --cc=tzimmermann@suse.de \
    --cc=viro@zeniv.linux.org.uk \
    --cc=yamonkar@cadence.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox