From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6CRT-0000Uq-Mh for barebox@lists.infradead.org; Mon, 24 Feb 2020 12:02:33 +0000 References: <92a929cc-b9e6-db9b-352d-c7c271a29558@pengutronix.de> <43978130-6f7d-759c-ef63-a005cb6f0934@pengutronix.de> From: Ahmad Fatoum Message-ID: <64cbefba-5ce4-919e-1de2-48e2247ca391@pengutronix.de> Date: Mon, 24 Feb 2020 13:02:29 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: musb is broken in master To: Yegor Yefremov Cc: t.remmet@phytec.de, barebox On 2/24/20 12:55 PM, Yegor Yefremov wrote: > On Mon, Feb 24, 2020 at 12:54 PM Yegor Yefremov > wrote: >> >> On Mon, Feb 24, 2020 at 12:50 PM Ahmad Fatoum wrote: >>> >>> Hi, >>> >>> On 2/24/20 12:09 PM, Yegor Yefremov wrote: >>>> Can it be that musb was broken because of this change in the mainline >>>> linux kernel [1]? >>> >>> But you said that it works when you readd status = "okay" to some >>> of the USB device tree nodes? Which node was it in particular? >>> >>>> The kernel uses ti-sysc mechanism to get/configure the related hw >>>> blocks. If I grep for ti-sysc in kernel, I get a lot of hits. But in >>>> barebox, it is only drivers/bus/ti-sysc.c that I find. Seems like a >>>> rather big update is required. >>>> >>>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/am33xx.dtsi?h=v5.6-rc3&id=0782e8572ce43f521ed6ff15e4a7ab9aa5acdc85 >>> >>> I don't think that's the problem. Looks to me like it should work with >>> barebox as well. Or did you revert this patch and got USB working again? >> >> Yes, I just reverted the whole patch and got USB working again. It has >> nothing to do with my dts file as it is hosted only in barebox >> (arch/arm/dts/am335x-baltos-minimal.dts). It just includes the common >> DTS files like am33xx.dtsi. > > I mean, I have reverted only this one 574eed3f6fcf056aa4c9e46c4b5224e3f7844d8d. I meant that you revert the upstream device tree patch only. Either manually or by doing some temporary hack like symlink $BAREBOX/dts/src/arm to $LINUX/arch/arm/boot/dts and revert inside the kernel git tree. > -- Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox