From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Mon, 30 Dec 2019 11:22:23 +0100 Subject: [U-Boot] [PATCH 11/26] dts: mtmips: update reset controller node for mt7628 In-Reply-To: <397fc641-7c2e-08c0-849a-d0468aaaaffe@mclink.it> References: <1566974291-11750-12-git-send-email-weijie.gao@mediatek.com> <397fc641-7c2e-08c0-849a-d0468aaaaffe@mclink.it> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Am 30.12.19 um 10:19 schrieb Mauro Condarelli: > I am having problems with this patch. > > Problem is "reset"command fails (for my board) with: >> => reset >> resetting ... >> ### ERROR ### Please RESET the board ### > I traced down problem to "drivers/sysreset/sysreset-uclass.c" requesting > "uclass_first_device(UCLASS_SYSRESET, &dev)", while > "drivers/reset/reset-mips.c" > defines: >> static const struct udevice_id mtmips_reset_ids[] = { >>     { .compatible = "mediatek,mtmips-reset" }, >>     { } >> }; >> >> U_BOOT_DRIVER(mtmips_reset) = { >>     .name = "mtmips-reset", >>     .id = UCLASS_RESET, > ... so UCLASS_SYSRESET list is empty. > > What am I doing wrong? > TiA! > Mauro > do you have the according node with compatible string "mediatek,mtmips-reset" in your device-tree? -- - Daniel