On 12/01/2015 08:20 PM, Xinliang Liu wrote:
> On 1 December 2015 at 17:04, Archit Taneja wrote:
>>
>>
>> On 11/28/2015 04:09 PM, Xinliang Liu wrote:
>>>
>>> Add support for external HDMI bridge.
>>>
>>> Signed-off-by: Xinliang Liu
>
Add additional property info needed for DSIv2 DT.
Cc: devicetree at vger.kernel.org
Cc: Rob Herring
Signed-off-by: Archit Taneja
---
Documentation/devicetree/bindings/display/msm/dsi.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/msm
List the clocks in the order that's used in DT. We don't have mdp/dsi
DT nodes for any SoC in upstream yet, but we align with the order
we intend to use.
Cc: devicetree at vger.kernel.org
Cc: Rob Herring
Signed-off-by: Archit Taneja
---
Documentation/devicetree/bindings/display/m
For DSIv2 to work, we need to enable MMSS_AHB_ARB_MASTER_PORT in
MMSS_SFPB. We enable the required bitfield by retrieving MMSS_SFPB
regmap pointer via syscon.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 33 +
1 file changed, 33
We currently use iommu allocated DMA buffers for sending DSI commands.
DSIv2 doesn't have a port connected to the MDP iommu. Therefore, it
can't use iommu allocated buffers to fetch DSI commands.
Use a regular contiguous DMA buffer if we are DSIv2.
Signed-off-by: Archit Taneja
---
d
Add a dsi_cfg entry for APQ8064. Since this is the first DSIv2 chip to
be supported, add a list of bus clocks that are required by the DSIv2
block.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 19 ---
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 ++
2 files
nfigured before esc_clk, and src_clk before pixel_clk. We create two
different link_enable funcs for DSI6G and DSIv2 since the sequences are
different.
We also obtain two extra source clocks (dsi_src_clk and esc_src_clk) and
set their parent to the clocks provided by DSI PLL.
Signed-off-by
DSI for MSM8916(this is DSI6G too, but
there is no MMSS_CC specific clock since there is no MMSS clock controller
on 8916).
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi.h | 1 +
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 16 +-
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2
o get the interface clock, and then put it after
it is used.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 32 ++--
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu/drm/ms
l register dumps I'vc seen, holds 0 all the time.
Modify dsi_get_version to read REG_DSI_VERSION to determine whether we
are DSI6G or DSIv2.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-
for dsixpllbyte to ensure that the parent (VCO) is set at this
rate.
An additional divider (POSTDIV1) generates the bitclk. Since bit clock
can be derived from byteclock, we calculate it internally, and don't
expose it as a clock.
Cc: Stephen Boyd
Signed-off-by: Archit Taneja
---
driver
DSI PHY on MSM8960 and APQ8064 is a 28nm PHY that's different from the
supported 28nm LP PHY found in newer chips.
Add support for the new PHY.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/Kconfig | 8 +
drivers/gpu/drm/msm/Makefile
to the dsi host.
Fortunately, there is a static parent-child link between the
byte_clk_src/pixel_clk_src and byte_clk/pixel_clk clocks. So, we can
retrieve the source clocks via clk_get_parent.
Do this instead of retrieving via DT.
Cc: Rob Herring
Cc: Stephen Boyd
Signed-off-by: Archit Taneja
--
ed to provide source clocks (RCG clocks)
via DT, as suggested by Rob Herring.
- Make cleaner dt-binding doc patches.
Changes in v2:
- Incorporated Stephen's comments for the DSI PLL patch.
- The dsi.xml.h and sfpb.xml.h changes were already picked up by Rob.
Removed those patches.
Archit
On 11/28/2015 04:09 PM, Xinliang Liu wrote:
> Add support for external HDMI bridge.
>
> Signed-off-by: Xinliang Liu
> Signed-off-by: Xinwei Kong
> Signed-off-by: Andy Green
> ---
> drivers/gpu/drm/hisilicon/hisi_drm_dsi.c | 51
>
> 1 file changed, 51 insert
On 11/28/2015 04:09 PM, Xinliang Liu wrote:
> Add dsi encoder driver for hi6220 SoC.
>
> Signed-off-by: Xinliang Liu
> Signed-off-by: Xinwei Kong
> Signed-off-by: Andy Green
> ---
> drivers/gpu/drm/hisilicon/Kconfig| 1 +
> drivers/gpu/drm/hisilicon/Makefile | 3 +-
> dri
f all the hosts DSI that are currently registered.
This list will be used to find the mipi_dsi_host corresponding to the
device_node passed in of_find_mipi_dsi_host_by_node.
Reviewed-by: Andrzej Hajda
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c
A driver calling mipi_dsi_device_new might want to unregister the device
once it's done. It might also require it in an error handling path in
case something didn't go right.
Signed-off-by: Archit Taneja
---
include/drm/drm_mipi_dsi.h | 5 +
1 file changed, 5 insertions(+)
di
e populated via
DT. Now that we also support creating devices manually, we could end up
in a situation where a driver tries to create a device with a virtual
channel already taken by a device populated in DT.
Reviewed-by: Andrzej Hajda
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_
7;t used for the dsi bus.
Reviewed-by: Andrzej Hajda
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c | 25 -
include/drm/drm_mipi_dsi.h | 6 ++
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gp
device_new as a standalone way to create
a dsi device not available via DT.
The new device creation process tries to closely follow what's been done
in i2c_new_device in i2c-core.
Reviewed-by: Andrzej Hajda
Signed-off-by: Archit Taneja
---
drivers/gpu/drm
vices without the need of them to have a DT node.
[1]: https://lkml.org/lkml/2015/6/30/42
Changes from v2 to v3:
- Incorporated misc comments by Andrzej. Changed from RFC to a PATCH set.
- Fixed htmldocs warnings.
Archit Taneja (5):
drm/dsi: Refactor device creation
drm/dsi: Try to match non-D
On 11/21/2015 1:29 AM, Rob Herring wrote:
> +Stephen
>
> On Wed, Nov 18, 2015 at 9:24 AM, Archit Taneja
> wrote:
>> Hi Rob,
>>
>> On 11/18/2015 6:48 PM, Rob Herring wrote:
>>>
>>> +dt list
>>>
>>> On Wed, Nov 18, 2015 at 4:55 AM
On 11/18/2015 8:15 PM, Rob Clark wrote:
> On Wed, Nov 18, 2015 at 6:19 AM, Archit Taneja
> wrote:
>> Remove CONFIG_OF checks in adreno_device.c. The downstream bus scaling
>> stuff is included only when CONFIG_OF is not set. So, remove that too.
>>
>>
+dt list
On 11/18/2015 4:49 PM, Archit Taneja wrote:
> Update DT bindings for mdp. We now have a more uniform and future-proof
> set of compatible strings.
>
> MDP5 bindings were missing. Add those and update details on the
> clock-names properties.
>
> Signed-
Hi Rob,
On 11/18/2015 6:48 PM, Rob Herring wrote:
> +dt list
>
> On Wed, Nov 18, 2015 at 4:55 AM, Archit Taneja
> wrote:
>> Add additional property info needed for DSIv2 DT.
>
> Please use get_maintainers.pl.
Sorry about that, missed out doing that posting this t
Create DSI encoders during modeset_init. The 2 encoders should ideally be
one command mode and one video mode DSI encoder respectively, but we don't
support command mode yet. We just create 2 of the same because the dsi
driver expects it, we end up using only the first one.
Signed-off-by: A
e in their case.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
b/drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
index 6c9dd28..ddfcc51 100644
--- a/drivers/gpu/d
From: Vinay Simha BN
Create an mdp4 incoder for DSI. Only DSI video mode is supported as of
now.
Signed-off-by: Archit Taneja
Signed-off-by: Vinay Simha BN
---
drivers/gpu/drm/msm/Makefile| 1 +
drivers/gpu/drm/msm/mdp/mdp4/mdp4_dsi_encoder.c | 198
panel usable even if the drm_panel
driver is inserted as a module later on.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c| 38 ++
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h| 4 +--
drivers/gpu/drm/msm/mdp/mdp4/mdp4_l
modeset_init() for mdp4 isn't very flexible. That makes it hard to add
more interfaces.
Split out the encoder/connector creation code in modeset_init into a
separate function. This is similar to what's done in modeset_init for
mdp5.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/ms
video mode.
We also don't have proper support for the DMA_S crtc yet. So, only one of
the two interfaces (DSI or LVDS) would run at a time. We can add support
for DMA_S later if we need it.
Archit Taneja (4):
drm/msm/mdp4: Clean up modeset_init
drm/msm/mdp4: Initialize LCDC encoder even if pa
Remove CONFIG_OF checks in adreno_device.c. The downstream bus scaling
stuff is included only when CONFIG_OF is not set. So, remove that too.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/adreno/adreno_device.c | 52 --
1 file changed, 52 deletions(-)
diff
We now only care about kernels that support DT. Remote the non-DT stuff.
While we're at it, use of_device_get_match_data to retrieve match data.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/hdmi/hdmi.c | 87 -
1 file changed, 16 insertions(+
We don't intend to use downstream non-DT kernels anymore, so remove
CONFIG_OF checks.
Update the TODO comment so that we don't forget about max_clk setting
for non APQ8064 chips having MDP4.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/mdp/mdp4/mdp4_
Update DT bindings for mdp. We now have a more uniform and future-proof
set of compatible strings.
MDP5 bindings were missing. Add those and update details on the
clock-names properties.
Signed-off-by: Archit Taneja
---
.../devicetree/bindings/display/msm/mdp.txt| 26
Create distinct compatible strings for mdp4 and mdp5. Keep "qcom,mdss_mdp"
as is to support downstream kernels.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/msm_drv.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/d
ff-by: Archit Taneja
---
drivers/gpu/drm/msm/msm_drv.c | 74 ---
drivers/gpu/drm/msm/msm_drv.h | 7 +---
2 files changed, 15 insertions(+), 66 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index b88ce51..06df8aa 1
which removes CONFIG_OF checks for adreno is something I'm
not sure about. It can be discarded if it isn't right.
Archit Taneja (6):
drm/msm: Remove non-DT code in msm_drv
drm/msm: Update compatible strings for mdp
dt-bindings: drm/msm: Update MDP bindings
drm/msm/mdp: Remove CONFIG
Add additional property info needed for DSIv2 DT.
Signed-off-by: Archit Taneja
---
Documentation/devicetree/bindings/display/msm/dsi.txt | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/msm/dsi.txt
b/Documentation
For DSIv2 to work, we need to enable MMSS_AHB_ARB_MASTER_PORT in
MMSS_SFPB. We enable the required bitfield by retrieving MMSS_SFPB
regmap pointer via syscon.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 33 +
1 file changed, 33
We currently use iommu allocated DMA buffers for sending DSI commands.
DSIv2 doesn't have a port connected to the MDP iommu. Therefore, it
can't use iommu allocated buffers to fetch DSI commands.
Use a regular contiguous DMA buffer if we are DSIv2.
Signed-off-by: Archit Taneja
---
d
Add a dsi_cfg entry for APQ8064. Since this is the first DSIv2 chip to
be supported, add a list of bus clocks that are required by the DSIv2
block.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 19 ---
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 ++
2 files
nfigured before esc_clk, and src_clk before pixel_clk. We create two
different link_enable funcs for DSI6G and DSIv2 since the sequences are
different.
We also obtain two extra source clocks (dsi_src_clk and esc_src_clk) and
set their parent to the clocks provided by DSI PLL.
Signed-off-by
DSI for MSM8916(this is DSI6G too, but
there is no MMSS_CC specific clock since there is no MMSS clock controller
on 8916).
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi.h | 1 +
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 16 +-
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2
o get the interface clock, and then put it after
it is used.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 32 ++--
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu/drm/ms
l register dumps I'vc seen, holds 0 all the time.
Modify dsi_get_version to read REG_DSI_VERSION to determine whether we
are DSI6G or DSIv2.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-
for dsixpllbyte to ensure that the parent (VCO) is set at this
rate.
An additional divider (POSTDIV1) generates the bitclk. Since bit clock
can be derived from byteclock, we calculate it internally, and don't
expose it as a clock.
Cc: Stephen Boyd
Signed-off-by: Archit Taneja
---
driver
DSI PHY on MSM8960 and APQ8064 is a 28nm PHY that's different from the
supported 28nm LP PHY found in newer chips.
Add support for the new PHY.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/Kconfig | 8 +
drivers/gpu/drm/msm/Makefile
mments for the DSI PLL patch.
- The dsi.xml.h and sfpb.xml.h changes were already picked up by Rob.
Removed those patches.
Archit Taneja (10):
drm/msm/dsi: Add support for 28nm PHY on 8960
drm/msm/dsi: Add DSI PLL for 28nm 8960 PHY
drm/msm/dsi: Use a better way to figure out DSI version
d
On 10/31/2015 04:04 AM, Bjorn Andersson wrote:
> From: Werner Johansson
>
> This adds support for the Sharp panel found on the Qualcomm
> Snapdragon 800 Dragonboard (APQ8074)
>
> Signed-off-by: Werner Johansson
> Signed-off-by: Bjorn Andersson
Reviewed-by: Archit Tane
On 10/30/2015 03:57 PM, Daniel Vetter wrote:
> On Tue, Oct 27, 2015 at 01:40:56PM +0530, Archit Taneja wrote:
>> Instead of using a custom legacy fbdev emulation config option, use the
>> top level DRM_FBDEV_EMULATION config option.
>>
>> There are 3 drivers which use
On 11/02/2015 04:20 PM, Andrzej Hajda wrote:
> On 10/06/2015 11:24 AM, Archit Taneja wrote:
>> mipi_dsi_devices are inherently aware of their host because they
>> share a parent-child hierarchy in the device tree.
>>
>> Non-dsi drivers that create a dummy dsi device
On 11/02/2015 04:12 PM, Andrzej Hajda wrote:
> On 11/02/2015 07:28 AM, Archit Taneja wrote:
>>
>> On 10/30/2015 07:51 PM, Andrzej Hajda wrote:
>>> On 10/06/2015 11:24 AM, Archit Taneja wrote:
>>>> A driver calling mipi_dsi_device_new might want to unregiste
On 10/30/2015 07:51 PM, Andrzej Hajda wrote:
> On 10/06/2015 11:24 AM, Archit Taneja wrote:
>> A driver calling mipi_dsi_device_new might want to unregister the device
>> once it's done. It might also require it in an error handling path in
>> case something didn'
On 10/30/2015 06:22 PM, Andrzej Hajda wrote:
> On 10/06/2015 11:24 AM, Archit Taneja wrote:
>> We don't check whether a previously registered mipi_dsi_device under the
>> same host shares the same virtual channel.
>>
>> Before registering, check if any o
On 10/30/2015 06:12 PM, Andrzej Hajda wrote:
> On 10/06/2015 11:24 AM, Archit Taneja wrote:
>> Add a device name field in mipi_dsi_device. This name is different from
>> the actual dev name (which is of the format "hostname.reg"). When the
>> device is created
ort to enable/disable fbdev at runtime in the helper,
>> see
>>
>> commit f64c5573d253ab3f9c01b4056c5f75a889d18502
>> Author: Daniel Vetter
>> Date: Tue Aug 25 15:45:13 2015 +0200
>>
>> drm/fb-helper: Add module option to disable fbdev emulation
>>
DRM_TEGRA_FBDEV config is currently used to enable/disable legacy fbdev
emulation for the tegra kms driver.
Remove this local config option and use the top level DRM_FBDEV_EMULATION
config option instead.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/tegra/Kconfig | 12
drivers
bably okay to get remove the #ifdef itself, but just left it here
for now to be safe. It can be removed after some testing.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/sti/Kconfig | 6 --
drivers/gpu/drm/sti/sti_drv.c | 2 +-
2 files changed, 1 insertion(+), 7 deletions(-)
diff --
in certain places.
Tested-by: Philipp Zabel
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/imx/Kconfig| 9 -
drivers/gpu/drm/imx/imx-drm-core.c | 12 +++-
2 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx
config options in order to have a single config
option.
Archit Taneja (3):
drm/imx: Remove local fbdev emulation Kconfig option
drm/sti: Remove local fbdev emulation Kconfig option
drm/tegra: Remove local fbdev emulation Kconfig option
drivers/gpu/drm/imx/Kconfig| 9 -
drivers
On 10/27/2015 05:33 AM, Rob Clark wrote:
> On Mon, Oct 26, 2015 at 5:54 AM, Archit Taneja
> wrote:
>> MDP5 has line count and frame count registers for each interface. Enable
>> these counters and use them to implement the get_vblank_timestamp drm
>> driver op.
>&
to determine whether we're in blanking period or not, and an adjusted
value of this counter is used to get vpos as expected by
get_scanout_position. Since there is no way to calculate hpos, we always
set it to 0.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c
On 10/15/2015 02:05 AM, Stephen Boyd wrote:
> On 10/14, Archit Taneja wrote:
>> diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c
>> b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c
>> new file mode 100644
>> index 000..e71b4ee
>> --- /dev/null
Signed-off-by: Archit Taneja
---
rnndb/dsi/sfpb.xml | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/rnndb/dsi/sfpb.xml b/rnndb/dsi/sfpb.xml
index f42f867..a08c82f 100644
--- a/rnndb/dsi/sfpb.xml
+++ b/rnndb/dsi/sfpb.xml
@@ -5,7 +5,13 @@ xsi:schemaLocation="
8960 DSI PHY/PLL is crumpled into one piece. Split it out into domains,
similar to the way we do for the 28nm/20nm DSI PHY/PLL domains.
Signed-off-by: Archit Taneja
---
rnndb/dsi/dsi.xml | 171 --
1 file changed, 114 insertions(+), 57
Archit Taneja (2):
rnndb/dsi: Create proper domains for 8960 DSI
rnndb/dsi: Populate bitfields for SFPB_CFG register
rnndb/dsi/dsi.xml | 171 +++--
rnndb/dsi/sfpb.xml | 8 ++-
2 files changed, 121 insertions(+), 58 deletions(-)
--
The
Add additional property info needed for DSIv2 DT.
Signed-off-by: Archit Taneja
---
Documentation/devicetree/bindings/drm/msm/dsi.txt | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/drm/msm/dsi.txt
b/Documentation/devicetree
For DSIv2 to work, we need to enable MMSS_AHB_ARB_MASTER_PORT in
MMSS_SFPB. We enable the required bitfield by retrieving MMSS_SFPB
regmap pointer via syscon.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 33 +
1 file changed, 33
Update SFPB register data now that we intend to use it.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/sfpb.xml.h | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/sfpb.xml.h
b/drivers/gpu/drm/msm/dsi/sfpb.xml.h
We currently use iommu allocated DMA buffers for sending DSI commands.
DSIv2 doesn't have a port connected to the MDP iommu. Therefore, it
can't use iommu allocated buffers to fetch DSI commands.
Use a regular contiguous DMA buffer if we are DSIv2.
Signed-off-by: Archit Taneja
---
d
Add a dsi_cfg entry for APQ8064. Since this is the first DSIv2 chip to
be supported, add a list of bus clocks that are required by the DSIv2
block.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 19 ---
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2 ++
2 files
nfigured before esc_clk, and src_clk before pixel_clk. We create two
different link_enable funcs for DSI6G and DSIv2 since the sequences are
different.
We also obtain two extra source clocks (dsi_src_clk and esc_src_clk) and
set their parent to the clocks provided by DSI PLL.
Signed-off-by
DSI for MSM8916(this is DSI6G too, but
there is no MMSS_CC specific clock since there is no MMSS clock controller
on 8916).
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi.h | 1 +
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 16 +-
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 2
o get the interface clock, and then put it after
it is used.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 32 ++--
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu/drm/ms
l register dumps I'vc seen, holds 0 all the time.
Modify dsi_get_version to read REG_DSI_VERSION to determine whether we
are DSI6G or DSIv2.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-
for dsixpllbyte to ensure that the parent (VCO) is set at this
rate.
An additional divider (POSTDIV1) generates the bitclk. Since bit clock
can be derived from byteclock, we calculate it internally, and don't
expose it as a clock.
Cc: Stephen Boyd
Signed-off-by: Archit Taneja
---
driver
DSI PHY on MSM8960 and APQ8064 is a 28nm PHY that's different from the
supported 28nm LP PHY found in newer chips.
Add support for the new PHY.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/msm/Kconfig | 8 +
drivers/gpu/drm/msm/Makefile
The DSI PLL and PHY registers are already there for 8960, but their
offsets are relative to the top level DSI controller base.
Make the offsets relative to the individual sub blocks. Add "28nm" in
the register names while we're at it.
Signed-off-by: Archit Taneja
---
drivers/
Add support for DSI on 8960/8064. The DSI IP used in these chips is an
older version(DSIv2) of what we have right now(DSI6G).
The bulk of the additions come thanks to a different PHY/PLL. The DSI
host in itself doesn't have too many changes.
Archit Taneja (12):
drm/msm/dsi: Update gene
list of all the hosts DSI that are currently registered.
This list will be used to find the mipi_dsi_host corresponding to the
device_node passed in of_find_mipi_dsi_host_by_node.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c | 30 ++
includ
be removed. This does leave
the possibility of the host removing the dsi device without the
peripheral driver being aware of it. I don't know a good way to solve
this. Some suggestions here would be of help too.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c | 7 +
e populated via
DT. Now that we also support creating devices manually, we could end up
in a situation where a driver tries to create a device with a virtual
channel already taken by a device populated in DT.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c | 26 +++
pi) perform a non-DT match by comparing the
device name and entries in the driver's id_table. The id_table structs
for different buses are defined in "include/linux/mod_devicetable.h", I
didn't want to touch that for now.
Signed-off-by: Archit Taneja
device_new as a standalone way to create
a dsi device not available via DT.
The new device creation process tries to closely follow what's been done
in i2c_new_device in i2c-core.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/drm_mipi_dsi.c | 61 +--
peripheral driver might have an unregistered device pointer without
being aware of it.
Some comments on these would help.
[1]: https://lkml.org/lkml/2015/6/30/42
Archit Taneja (5):
drm/dsi: Refactor device creation
drm/dsi: Try to match non-DT dsi devices
drm/dsi: Check for used channels
dr
On 9/15/2015 3:07 PM, Xinwei Kong wrote:
> This patch enables the adv7533 module which is connecting hisilicon SOC
> by dsi module. while using DSI module and adv7533 module to implement the
> encoder/connector interface of DRM\KMS.
>
> Signed-off-by: Xinliang Liu
> Signed-off-by: Xinwei Kong
>
Hi,
On 9/15/2015 3:07 PM, Xinwei Kong wrote:
> This patch creates this driver itself and register all the sub-components
> which is from DTS inode, this driver uses components framework mechanism
> to bind all the sub-components.
>
> This patch also introduces a memory manager for hisilison drm. A
ng path.
Link: http://lkml.kernel.org/r/55F6E68D.8070800 at codeaurora.org
Reported-by: Ingo Molnar
Cc: Daniel Vetter
Cc: Dave Airlie
Cc: David Airlie
Cc: Linus Torvalds
Cc: Peter Zijlstra
Cc: Sudip Mukherjee
Cc: Thomas Gleixner
Cc: dri-devel
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/mgag200
Molnar
Cc: Daniel Vetter
Cc: Dave Airlie
Cc: David Airlie
Cc: Linus Torvalds
Cc: Peter Zijlstra
Cc: Sudip Mukherjee
Cc: Thomas Gleixner
Cc: dri-devel
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/mgag200/mgag200_fb.c | 31 +++
1 file changed, 23 insertions
On 9/17/2015 2:04 PM, Ingo Molnar wrote:
>
>
> * Ingo Molnar wrote:
>
>
>
>> So this patch was whitespace damaged - I applied it by hand and made the
>> commit
>
>> below. This has solved the crash, thanks Archit!
>
>
>
> Spoke too soon - the attached (allyesconfig-ish) config still crashes, fi
On 9/15/2015 9:13 PM, Rob Herring wrote:
> On 09/15/2015 05:32 AM, Archit Taneja wrote:
>> Hi Rob, Mark,
>>
>> We've been trying to figure out the right way to represent a class
>> of display encoder devices in DT.
>
> I've been meaning to reply on t
Hi,
On 09/16/2015 02:04 PM, Xinwei Kong wrote:
> hi architt
>
> On 2015/9/16 2:11, Rob Herring wrote:
>> On 09/15/2015 04:37 AM, Xinwei Kong wrote:
>>> This adds documentation of device tree bindings for the
>>> Graphics Processing Unit of hi6220 SOC.
>>>
>>> Signed-off-by: Xinliang Liu
>>> Signe
the problem. There
were some more nitty gritties discussed in this thread before.
Thierry, Andrzej, Lucas,
Please feel free to add your comments if I have missed out on
something.
Thanks,
Archit
On 09/10/2015 01:02 PM, Thierry Reding wrote:
> On Thu, Sep 10, 2015 at 11:45:35AM +0530, Archit Ta
the problem. There
were some more nitty gritties discussed in this thread before.
Thierry, Andrzej, Lucas,
Please feel free to add your comments if I have missed out on
something.
Thanks,
Archit
On 09/10/2015 01:02 PM, Thierry Reding wrote:
> On Thu, Sep 10, 2015 at 11:45:35AM +0530, Archit Ta
ported
>>> hardware, if
>>> CONFIG_DRM_MGAG200=y (built into the kernel).
>>
>> Archit, I'm guessing this is some fallout from the fbdev changes.
>>
>> There is no reason we should need CONFIG_FB_LITTLE_ENDIAN I don't think.
It looks like the mg
On 09/08/2015 03:57 PM, Andrzej Hajda wrote:
> On 09/07/2015 01:46 PM, Archit Taneja wrote:
>> Thierry,
>>
>> On 08/21/2015 11:39 AM, Archit Taneja wrote:
>>>
>>>
>>> On 08/20/2015 05:18 PM, Thierry Reding wrote:
>>>> On Thu, Aug
Thierry,
On 08/21/2015 11:39 AM, Archit Taneja wrote:
>
>
> On 08/20/2015 05:18 PM, Thierry Reding wrote:
>> On Thu, Aug 20, 2015 at 09:46:14AM +0530, Archit Taneja wrote:
>>> Hi Thierry, Lucas,
>>>
>>>
>>> On 08/19/2015 08:32 PM, Thierry Re
pointer to it by getting the
corresponding i2c client device's data.
Signed-off-by: Archit Taneja
---
drivers/gpu/drm/i2c/adv7511.c | 98 ++-
1 file changed, 97 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu/drm/i2c/ad
901 - 1000 of 1388 matches
Mail list logo