Re: drm dsi2hdmi bridge - temperature sensor

2019-02-20 Thread Vinay Simha B N
rob, hpd works in kernel 5.0.0-rc6, i.e postboot if we connect hdmi display comes(apq8016). added the temperature alert_handler in adv7511_drv.c in adv7511_detect , i had set status = connector_status_disconnected; , since display should not come initially, but when irq calls schedule_work(&adv75

Re: drm dsi2hdmi bridge - temperature sensor

2019-02-15 Thread Vinay Simha B N via dri-devel
On Fri, 15 Feb 2019 at 1:15 AM, Rob Herring wrote: > On Thu, Feb 14, 2019 at 9:27 AM Rob Clark wrote: > > > > I mean, I guess it should be possible with an ugly non-upstreamable > > hack, maybe using a notifier_chain to call from the temp sensor driver > > to the hdmi bridge driver. I'm not rea

Re: drm dsi2hdmi bridge - temperature sensor

2019-02-14 Thread Sam Ravnborg
Hi Rob. > > > > (Background is to not enable the display until temp is within an > > acceptable range, and disable it if it goes out of range, to prevent > > hw damage I guess) > > The thermal framework already has support for temperature trip points > triggering "throttlers". I guess the display

Re: drm dsi2hdmi bridge - temperature sensor

2019-02-14 Thread Rob Herring via dri-devel
On Thu, Feb 14, 2019 at 9:27 AM Rob Clark wrote: > > I mean, I guess it should be possible with an ugly non-upstreamable > hack, maybe using a notifier_chain to call from the temp sensor driver > to the hdmi bridge driver. I'm not really sure how that could be > represented cleanly in dt, maybe R

Re: drm dsi2hdmi bridge - temperature sensor

2019-02-14 Thread Rob Clark via dri-devel
I mean, I guess it should be possible with an ugly non-upstreamable hack, maybe using a notifier_chain to call from the temp sensor driver to the hdmi bridge driver. I'm not really sure how that could be represented cleanly in dt, maybe Rob Herring or someone else on dri-devel has some ideas. (Ba