Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753623AbdDDLMZ (ORCPT ); Tue, 4 Apr 2017 07:12:25 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:35960 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752883AbdDDLMU (ORCPT ); Tue, 4 Apr 2017 07:12:20 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Fawad Lateef Date: Tue, 4 Apr 2017 13:11:58 +0200 Message-ID: Subject: Re: Suggestions needed for resolving DT issues between kernel 3.10 and 4.4 To: Linux Kernel Mailing List , kernelnewbies@kernelnewbies.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2030 Lines: 62 Hi, Just as an update (and for future reference for anyone having similar issue): I got this all this sorted-out. Had to change some dt-binding for device and it was mostly drivers related changes for hardware components. Mostly nothing to do with DT. Thanks Fawad Lateef -- Fawad Lateef On 3 April 2017 at 10:54, Fawad Lateef wrote: > Hi, > > One more thing I realised that eth0 which is working is directly out > of SOM/SOC but other 3 eth ports are connected to a internal USB > switch (so Linux should see only eth1 besides eth0). > > So seems like flash/nand chip (m25p80) and spi_ks8995 (Micrel KS8995 > Ethernet switch SPI) mainly not working. > > Thanks > > > > -- Fawad Lateef > > > On 3 April 2017 at 10:38, Fawad Lateef wrote: >> Hi, >> >> I am facing some issues with device-trees (I am fairly new to them) >> and need some pointers about how to approach below problem: >> >> I got some I.MX6Q based hardware (some custom made whose hardware >> details are unknown to me). Hardware shipped with 3.10.53 kernel with >> full sources and everything is working on it >> >> Trying to get one of the recent kernel working on it (linux-4.4, from >> linux-linaro-stable with rt patches). I can compile the kernel and >> boot into it using 3.10.xx kernel compiled DTB but getting Warning at >> boot-time "Outdated DT detected, suspend/resume will NOT work" and few >> main hardware components not working (mainly ethernet(s) - 1 out of 4 >> ports working though, MTD/NAND (for u-boot environment)) >> >> So I looked into compiling the DTS (from 3.10 kernel) for 4.4 and >> managed to get it compiled. Now no warning of outdated DT _but_ still >> hardware components not working. >> >> I was assuming that as hardware is still same for both kernel 3.10 and >> 4.4, so it should work, but seems like something in DT is off for 4.4 >> kernel. >> >> Any help and suggestions will be good enough for me to look into above issue. >> >> Thanks and regards, >> >> -- Fawad Lateef