ARM: OMAP2+: Add missing LCDC midlemode for am335x
authorTony Lindgren <tony@atomide.com>
Tue, 24 Sep 2019 16:25:51 +0000 (09:25 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 25 Sep 2019 17:07:27 +0000 (10:07 -0700)
commit17529d43b21c72466e9109d602c6f5c360a1a9e8
tree68c83634d5b6db1ce408ec2cdb91331ce4643f18
parent8ad8041b98c665b6147e607b749586d6e20ba73a
ARM: OMAP2+: Add missing LCDC midlemode for am335x

TRM "Table 13-34. SYSCONFIG Register Field Descriptions" lists both
standbymode and idlemode that should be just the sidle and midle
registers where midle is currently unconfigured for lcdc_sysc. As
the dts data has been generated based on lcdc_sysc, we now have an
empty "ti,sysc-midle" property.

And so we currently get a warning for lcdc because of a difference
with dts provided configuration compared to the legacy platform
data. This is because lcdc has SYSC_HAS_MIDLEMODE configured in
the platform data without configuring the modes.

Let's fix the issue by adding the missing midlemode to lcdc_sysc,
and configuring the "ti,sysc-midle" property based on the TRM
values.

Fixes: f711c575cfec ("ARM: dts: am335x: Add l4 interconnect hierarchy and ti-sysc data")
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Robert Nelson <robertcnelson@gmail.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx-l4.dtsi
arch/arm/mach-omap2/omap_hwmod_33xx_data.c