From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giulio Benetti Date: Tue, 13 Apr 2021 01:05:00 +0200 Subject: [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb In-Reply-To: <20210412230335.2249323-1-giulio.benetti@benettiengineering.com> References: <20210412230335.2249323-1-giulio.benetti@benettiengineering.com> Message-ID: <8eb04c2a-b10e-e469-9c2a-9a7087cef978@benettiengineering.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/13/21 1:03 AM, Giulio Benetti wrote: > This patchset fixes u-boot hang on i.MXRT1050 while setting lcdif in mxsfb > driver. There are 2 gates to be enabled to initialize mxsfb so let's > introduce the missing gate as a clock and rename "per" clock to "pix" clock > since in the other .dts files using *-lcdif "pix" is used. > > This patchset add also "disp_axi" clock enabling in mxsfb that should make > able to every i.MX SoC with lcdif using DT. I didn't test it other than > i.MXRT1050 since I don't have the boards. If someone can test it it would > be great. Note that i.MX23/28 should fail using DT instead because they > don't specify any clock-names in their dts. I've forgotten to specify that this patchset depends on this patchset: https://patchwork.ozlabs.org/project/uboot/list/?series=237909 Best regards -- Giulio Benetti Benetti Engineering sas > Giulio Benetti (5): > video: mxsfb: add enabling of "axi" clock other than "per" clock > video: mxsfb: add enabling of "disp_axi" clock > clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to > LCDIF_APB > ARM: dts: imxrt1050: move lcdif assigned clock to dtsi > ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driver > > arch/arm/dts/imxrt1050-evk.dts | 3 -- > arch/arm/dts/imxrt1050.dtsi | 7 ++-- > drivers/clk/imx/clk-imxrt1050.c | 6 ++-- > drivers/video/mxsfb.c | 36 +++++++++++++++++---- > include/dt-bindings/clock/imxrt1050-clock.h | 5 +-- > 5 files changed, 41 insertions(+), 16 deletions(-) >