Commit graph

197 commits

Author SHA1 Message Date
qctecmdr
1b7f87262b Merge "ARM: dts: msm: Enable PWM backlight for sharp qhd plus panel" 2020-07-19 10:16:06 -07:00
Veera Sundaram Sankaran
c75bd0e197 ARM: dts: msm: add VRAM size to lahaina trusted vm
Add the size of VRAM available in trusted vm.

Change-Id: Ibe5cbc78b679fdce7293a6ae4ebd9b0947582023
2020-07-15 09:45:05 -07:00
Yuan Zhao
f460f4f8ab ARM: dts: msm: Enable PWM backlight for sharp qhd plus panel
Set the backlight control mode to PWM for this panel.

Change-Id: I1ac9a35d775f38510aa9d5259aca940dc76ea40c
2020-07-15 17:08:20 +08:00
qctecmdr
4ac1baf4eb Merge "ARM: dts: msm: populate the property to exclude reg-names for validation" 2020-07-14 16:12:54 -07:00
Jeykumar Sankaran
044f1408aa ARM: dts: msm: populate the property to exclude reg-names for validation
Populate the property to exclude reg-names in trusted vm for Lahaina
target while validating the IO memory assign from primary vm.

Change-Id: I9dc92be7d11862f9af3c083939e82fa8a705b9e3
2020-07-14 11:16:45 -07:00
Jeykumar Sankaran
51ce5ca9df bindings: Documentation: add a property to exclude reg-names
In trusted vm, register ranges that need to be mapped need to exactly be
the same as that of HLOS vm. But the DT provided register ranges are used
to validate the IO memory assign from HLOS vm. So this change introduces a
separate property to specify the register names which need to be excluded
from the IO memory validation list but still need to be mapped to the vm.

Change-Id: I8c5c194254ae260f7a8878bb5492f5a039203fc9
2020-07-14 11:16:18 -07:00
Jeykumar Sankaran
555466b842 ARM: dts: msm: specify max trusted vm displays for Lahaina
Specify maximum number of concurrent displays
supported in trusted vm. This value will be used by both the vm's
to validate the TUI start request. For Lahaina, we support
one display in trusted vm.

Change-Id: I643bacea09f1eead26c0165bf00590afeda67569
2020-07-13 14:00:05 -07:00
Jeykumar Sankaran
21bb257fd5 bindings: Documentation: add property to specify max trusted vm displays
Add documentation for the property to specify the maximum number of
concurrent displays supported in the trusted vm environment.

Change-Id: I84c0408686e816a6498931949b7391209c9f9640
2020-07-13 13:59:47 -07:00
Jeykumar Sankaran
0f35dca90b ARM: dts: msm: add property for trusted VM execution for Lahaina
Add a property in the display device to indicate the executing
environment being a trusted VM for Lahaina target.

Change-Id: Iaeeba1b83b8167accfdcb6bbe4f3fd930b891e52
2020-07-13 13:59:35 -07:00
Jeykumar Sankaran
5bd4516c99 bindings: Documentation: add property to indicate trusted VM execution
Add a property in SDE device to indicate the executing
environment is the trusted VM.

Change-Id: Id4650d60f582b2058b166e69c2b0c66cdfce36e0
2020-07-13 13:58:53 -07:00
Jeykumar Sankaran
ef6fabda4a ARM: dts: msm: add trusted vm dtsi files for Lahaina target
Add trusted VM device tree files for Lahaina. These files
inherit common Lahaina target bindings and overrides with
needed bindings with VM specific values.

Change-Id: Icb3090d1dfa6afe7eb993064e4493140708b658e
2020-07-13 13:58:10 -07:00
Jeykumar Sankaran
e08d91fbba ARM: dts: msm: move dsi ctrl power nodes to common dt for Lahaina
Move DSI ctrl power handles nodes from lahaina HLOS dt
to common dt file as they are needed by all the vm's.

Change-Id: Id59f51e1e9e821bb5b02dd26ec41aff71950c306
2020-07-13 13:57:23 -07:00
Krishna Manikandan
51c35b35f5 ARM: dts: msm: add ddr type and hbb for lahaina target
Add supported ddr types and corresponding hbb values
for lahaina target.

Change-Id: Ib4dd7781ce9ac8f0a1e66ae2d7528d897e348cc3
2020-07-13 18:24:24 +05:30
Krishna Manikandan
4ac5619525 bindings: Documentation: modify documentation for hbb
This changes modifies the documentation for highest
bank bit used for UBWC configuration.

Change-Id: I4a35bf2330402b3d6680aa74344ea088cd6b2866
2020-07-13 18:24:10 +05:30
Linux Build Service Account
8e7a65a7b1 Merge "ARM: dts: msm: Complement hdr capabilities to r66451 panel" into display-kernel.lnx.5.4 2020-07-10 12:35:47 -07:00
qctecmdr
a9aa2e9c2e Merge "ARM: dts: msm: fix the ESD check error for r66451 panel" 2020-07-09 03:19:38 -07:00
Bruce Hoo
0c374a672e ARM: dts: msm: Complement hdr capabilities to r66451 panel
Complement hdr capabilities to the panel dtsi for both cmd and vid mode
so that DPU can support the tone mapping for HDR video playback use-cases.

Change-Id: I711311027d47be71f9625289d7f8b8f8c60c14f2
2020-07-07 23:09:05 -07:00
Yuan Zhao
95ee4a9fab ARM: dts: msm: fix the ESD check error for r66451 panel
60hz could not display and took ESD check failed on some
qrd devices. Changed the panel init sequence, doing 60hz
and 90hz fps switch after ddic power on(29 command).

Change-Id: I00316ab9dbecf7394cba309c33d10bec96e170d1
2020-07-07 12:44:12 +08:00
Jeykumar Sankaran
8cfaeff208 ARM: dts: msm: create sde-common device tree on lahaina target
Separate and maintain common SDE bindings in sde-common dt file(s). It
avoids unwanted duplications between VM variants of the SDE files. It
also helps developers with single-dt update for bindings applicable to
all the VM's for Lahaina target.

For easy maintenance, the recommendation would be to add any VM specific
bindings in VM DT files instead of adding them to common DT and use
"delete-property" operator to update the VM DT file.

Change-Id: I8eaae7355b1c44138d6e032e3cf26f44069bc843
2020-07-02 11:09:05 -07:00
qctecmdr
8660a6b5b6 Merge "ARM: dts: msm: Update the LTM hardware version for Lahaina" 2020-07-01 07:52:03 -07:00
Dhaval Patel
26185625a2 ARM: dts: msm: add clk status register for lahaina target
Add sspp and wb2 clock active status register and
bit offset index for lahaina target. This is required
to check hw blocks' idle vs busy status.

Change-Id: I0834a267e8c4f007a92da0852e33b1e0e02de226
2020-06-25 13:54:37 -07:00
qctecmdr
ed0b6272fa Merge "ARM: dts: msm: add a property for QSEED HW revision" 2020-06-19 02:38:54 -07:00
qctecmdr
472e1b0ea5 Merge "ARM: dts: msm: Add hdr capabilities to r66451 panel" 2020-06-17 04:55:30 -07:00
Gopikrishnaiah Anandan
904c02f2a5 ARM: dts: msm: Add hdr capabilities to r66451 panel
Add hdr capabilities to the panel dtsi so that DPU can support the tone
mapping for HDR video playback use-cases.

Change-Id: I3a121b54861e882bb93a1735a9f39cdafe5144f6
2020-06-16 12:58:43 -07:00
Dhaval Patel
b34cf56a83 ARM: dts: msm: update irq latency for mdss irq on lahaina target
Update irq latency node for lahaina target in SDE driver for
mdss irq.

Change-Id: Id19d3abd34454d1a8d1e43a7a0bc62daa750011c
2020-06-15 11:24:38 -07:00
qctecmdr
97b2d84d3e Merge "ARM: dts: msm: set nom MDP clock during cont-splash" 2020-06-12 08:04:21 -07:00
qctecmdr
26436efd91 Merge "ARM: dts: msm: Uprev DSPP IGC to version 4.0 on Lahaina target" 2020-06-11 20:34:33 -07:00
Jeykumar Sankaran
330e0bdd96 ARM: dts: msm: add a property for QSEED HW revision
Add a SDE property for QSEED HW block revision for lahaina.

Change-Id: Ie8623d013a623427a2318c537097c2a109f73768
2020-06-11 15:08:14 -07:00
Jeykumar Sankaran
299dbe802a bindings: Documentation: add a property for QSEED HW revision
Add a SDE property for QSEED HW block revision.

Change-Id: I1380c76a9f631267a9726f3b4d86fe3b2560c04c
2020-06-11 15:07:30 -07:00
Jeykumar Sankaran
6095e73ad1 ARM: dts: msm: rename qseed type property
Rename sde-qseed-type property to sde-qseed-sw-lib-rev to
indicate that it represents the sw library version supporting
the qseed hw.

Change-Id: Ie5dfd00714381d2ccdc319932562b5e25f4b781c
2020-06-11 15:07:15 -07:00
Jeykumar Sankaran
834c56acb2 bindings: Documentation: rename qseed_type binding
Rename sde-qseed-type property to sde-qseed-sw-lib-rev to
indicate that it represents the sw library version supporting
the qseed hw.

Change-Id: I0f29c6e99d9e7f0dc322dddb516cdc6938b33eb2
2020-06-11 15:06:54 -07:00
qctecmdr
12ab4ea2c8 Merge "ARM: dts: msm: change init sequence for r66451 panel" 2020-06-11 08:22:36 -07:00
qctecmdr
9e922883ea Merge "ARM: dts: msm: enable io coherency on unsecure cb for Lahaina" 2020-06-10 06:11:33 -07:00
Amine Najahi
b02bb447ad ARM: dts: msm: Move DSC hardware properties to SDE node
Move DSC related hardware properties to SDE node since
DSC block is managed by SDE driver.

Change-Id: I4d923bdc6fa8f53e5f2eeb49657ef03b8ef8c352
2020-06-09 13:27:36 -04:00
Amine Najahi
83b937427e dt-bindings: Move documentation for DSC line width to SDE node
Add an u32 value to specify the DSC maximum linewidth
hardware restriction in SDE node and remove unused DSC
nodes from DP driver.

Change-Id: I7439efba350c6a70c371f9aaec7cf61b9c15b3c8
2020-06-09 13:27:36 -04:00
Dhaval Patel
9b61cc832a ARM: dts: msm: set nom MDP clock during cont-splash
Set nominal MDP clock during cont-splash usecase to support
higher FPS usecases.

Change-Id: Iabcb5ab01a2cd3b227cee2d80ef6fee14b257c2d
2020-06-08 12:48:35 -07:00
Yuan Zhao
bcc269cfa0 ARM: dts: msm: change init sequence for r66451 panel
DDIC R66451 cmd mode dynamic fps switch only can work based
on 120hz initial parameters. Changed 60hz and 90hz initial
parameters based on 120hz, so that DFPS can work on all the
FPS.

Change-Id: I94c377c605c2eb50fb9ec494f5987272297e6a1e
2020-06-08 18:06:13 +08:00
qctecmdr
bb3a7a7562 Merge "ARM: dts: msm: reduce dsc count to 2 for DP" 2020-06-05 13:33:28 -07:00
Dhaval Patel
cdb6907875 ARM: dts: msm: enable io coherency on unsecure cb for Lahaina
Enable io coherency for non-secure context bank for lahaina
target. This support is not needed for secure context bank because
secure cb only maps secure buffers which are not cpu accessible.

Change-Id: If693842c68fa714c6eee5c62437432ffbe80f749
2020-06-04 11:08:42 -07:00
Christopher Braga
823497df90 ARM: dts: msm: Uprev DSPP IGC to version 4.0 on Lahaina target
Update the DSPP IGC version to 4.0 for Lahaina family

Change-Id: I13ba4b9a9160a6ff4b5f64d1fcaf8f33c16a1328
2020-06-04 09:11:35 -07:00
Rajkumar Subbiah
9cc23ddd91 ARM: dts: msm: reduce dsc count to 2 for DP
DP driver currently uses this value for number of DSCs available for
external displays without allowing for DSI concurrency. This causes
mode validation failures if DSI also needs to use DSCs. Limiting the
DSC count to 2 for external display to allow for concurrencies.

Change-Id: If760c609c1f304af77f825e211343277ff8d3fe2
2020-06-03 12:19:48 -04:00
qctecmdr
8e5fd3e233 Merge "ARM: dts: msm: rename the panel dtsi file for qrd lahaina" 2020-06-02 13:45:03 -07:00
qctecmdr
802dd84e38 Merge "ARM: dts: msm: add proxy supply property to GPIO controlled regulator" 2020-06-02 01:33:23 -07:00
Yuan Zhao
8614170877 ARM: dts: msm: rename the panel dtsi file for qrd lahaina
This panel is a FHD+, not a QHD, so rename the file
name.

Change-Id: Ied238ffadb9c454510f773bf4a8cab873151056c
2020-06-01 19:34:29 -07:00
qctecmdr
2b6b139928 Merge "ARM: dts: msm: update brightness setting for panels on Lahaina" 2020-05-31 11:49:34 -07:00
Yuan Zhao
c54990dae1 dt-bindings: Add documentation for display brightness property setting
Add a boolean to specify whether to invert the display brightness value.

Change-Id: I28de475db2be036c441a6af5f9becc425eba991f
2020-05-29 19:05:59 -07:00
Yuan Zhao
584dd5e645 ARM: dts: msm: update brightness setting for panels on Lahaina
In general brightness value, the first parameter is low byte and the
second is high byte, but some DDIC invert, so add brightness setting for
inverted display brightness value for r66451 display panel.

Change-Id: I2662e449b8902fce8e696661e1400893ab532b9a
2020-05-29 19:05:50 -07:00
Satya Rama Aditya Pinapala
912ae67e60 ARM: dts: msm: add proxy supply property to GPIO controlled regulator
The change adds proxy supply entries to the GPIO controlled regulator
display_panel_avdd. It is necessary to add the regulator to the proxy
consumer list along with the regulator-boot-on property as this is the
only way to ensure that the vote on the regulator stays on till the
display driver is probed.

Change-Id: I955834dcd0ee93646c5700f7d174931d1b0f5ba7
2020-05-29 14:22:38 -07:00
qctecmdr
068bedf518 Merge "ARM: dts: msm: add wb max width for linear formats on lahaina" 2020-05-29 05:13:06 -07:00
Tatenda Chipeperekwa
eaf5516a87 ARM: dts: msm: add USB PHY device for DisplayPort client on Lahaina
Add a reference to the usb_qmp_dp_phy device for use in the
DisplayPort driver. This will be used to register for USB cable
connect and disconnect events.

Change-Id: I0bb05815ccf17eca4f5148a48af20bac5b91e5fb
2020-05-28 13:07:46 -07:00