[Freedreno] [PATCH v13 3/4] iommu/arm-smmu: Add the device_link between masters and smmu

2018-07-19 Thread Vivek Gautam
From: Sricharan R Finally add the device link between the master device and smmu, so that the smmu gets runtime enabled/disabled only when the master needs it. This is done from add_device callback which gets called once when the master is added to the smmu. Signed-off-by: Sricharan R

[Freedreno] [PATCH v13 1/4] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-07-19 Thread Vivek Gautam
From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when the master device enables itself using pm_runtime. So by adapting the smmu driver for

[Freedreno] [PATCH v13 4/4] iommu/arm-smmu: Add support for qcom, smmu-v2 variant

2018-07-19 Thread Vivek Gautam
qcom,smmu-v2 is an arm,smmu-v2 implementation with specific clock and power requirements. This smmu core is used with multiple masters on msm8996, viz. mdss, video, etc. Add bindings for the same. Signed-off-by: Vivek Gautam Reviewed-by: Rob Herring Reviewed-by: Tomasz Figa --- Change since

[Freedreno] [PATCH v13 2/4] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-07-19 Thread Vivek Gautam
From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those places separately. Signed-off-by: Sricharan R [vivek: Cleanup pm

[Freedreno] [PATCH v13 0/4] iommu/arm-smmu: Add runtime pm/sleep support

2018-07-19 Thread Vivek Gautam
This series provides the support for turning on the arm-smmu's clocks/power domains using runtime pm. This is done using device links between smmu and client devices. The device link framework keeps the two devices in correct order for power-cycling across runtime PM or across system-wide PM.

Re: [Freedreno] [PATCH v14 1/2] drm/bridge: add support for sn65dsi86 bridge driver

2018-07-19 Thread spanda
On 2018-07-19 10:57, Andrzej Hajda wrote: On 16-Jul-18 17:43, Sandeep Panda wrote: Add support for TI's sn65dsi86 dsi2edp bridge chip. The chip converts DSI transmitted signal to eDP signal, which is fed to the connected eDP panel. This chip can be controlled via either i2c interface or dsi