From patchwork Fri Mar 13 01:45:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 11435811 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8A13792C for ; Fri, 13 Mar 2020 01:47:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61303206EB for ; Fri, 13 Mar 2020 01:47:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qsi8TcVK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61303206EB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:52622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCZPj-0002zA-Oh for patchwork-qemu-devel@patchwork.kernel.org; Thu, 12 Mar 2020 21:47:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCZOi-0001Hd-An for qemu-devel@nongnu.org; Thu, 12 Mar 2020 21:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCZOh-00063O-Bk for qemu-devel@nongnu.org; Thu, 12 Mar 2020 21:46:00 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:39603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCZOh-000621-6R; Thu, 12 Mar 2020 21:45:59 -0400 Received: by mail-pf1-x444.google.com with SMTP id w65so4211023pfb.6; Thu, 12 Mar 2020 18:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=AXgArI/1ZeT2wXd+HyZZgBXKR113LCxmNrOyBRd1fu0=; b=Qsi8TcVKvaZrZ0lK34NmKTkKmH4xmOhRifCuV6Ytg5fiqAWa1QXprJswy+VmNW12iM FXt/F85Q8wxBmJkrwJo8qYyUhpPuZ5V9gIzqxR53mwLJ8sj2toA/hEjG4hP+gGsrNWWO 6MaJJc41woY3ttFAg+H1C/fM5dWhptDyUicf9XImD2/CfCMlZROtdktojICcc1M/NJb+ Fcb4H7KOXKRl3HnWBnzI6al9LoRv4h2m4Z+9LE1WvGxMvOr2iUre1Z3g9JBTGa+ZE/lM ufzSffGTA4zh4razNzBm37bZImNjJedmUc5idvpV5d7hUQL/jhUhQSwZcFkBJkDkak1D OFSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=AXgArI/1ZeT2wXd+HyZZgBXKR113LCxmNrOyBRd1fu0=; b=jq4pXhm0P2UxpADvrKuvgO9Z0pc2Dq7qXL/TlwJKLEMQQrj51R0ZpbH2hR2UK7wVyh uCnzwVB0vLG7howoAKEshCkuNFJk15ugjQmCE0slWYxrC6Ia2IpyegDqUnxIJjoR5/9M 2aE5O24e9CCOwIjWXBpz9MEjWQhdJg6BM7QHRP+J1Xen6hqSCHA5qMg6LGT7CnOZx8b0 p5mXHw9LeOQSNEsDgMk/GOmLC4YCG4Wtw8c/1H9hHlyX+6b5JxAHnFFAL9JDLq7k5LB0 hiSk+3gUWwDiQ7gNhpq5yGDM2glhzqjkyrY4adPviWdQ2DV7fZNe0u/8OjpvSrPIt3qq 4Hmg== X-Gm-Message-State: ANhLgQ2EZQerrnXiRS/44FhM3olkiOuRF7qGKdEu1505gCyDIL9XUz0Y sBLhxVArcX77O4kidvATnIY= X-Google-Smtp-Source: ADFU+vunviR/Gud7bDvJOr8JIIxbnoy/OAbif3SPBg5wrnQBASJAYdo0r0D4t8Shiet/g6A1b3VeQQ== X-Received: by 2002:a62:7cc9:: with SMTP id x192mr10950335pfc.176.1584063958285; Thu, 12 Mar 2020 18:45:58 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id g14sm17234282pfb.131.2020.03.12.18.45.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Mar 2020 18:45:57 -0700 (PDT) From: Guenter Roeck To: Peter Maydell Subject: [PATCH v3 2/5] hw/arm/fsl-imx6ul: Fix USB interrupt numbers Date: Thu, 12 Mar 2020 18:45:48 -0700 Message-Id: <20200313014551.12554-3-linux@roeck-us.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200313014551.12554-1-linux@roeck-us.net> References: <20200313014551.12554-1-linux@roeck-us.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Gerd Hoffmann , Guenter Roeck , Jean-Christophe Dubois Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" USB1 and USB2 interrupt numbers were swapped. USB_PHY2 interrupt number is 45. That didn't really matter up to now since the interrupts were not used, but it needs to be fixed to be able to wire up the USB controllers. Fixes: 31cbf933f0e ("i.MX6UL: Add i.MX6UL SOC") Signed-off-by: Guenter Roeck --- v3: New patch include/hw/arm/fsl-imx6ul.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h index eda389aec7..5a420785b9 100644 --- a/include/hw/arm/fsl-imx6ul.h +++ b/include/hw/arm/fsl-imx6ul.h @@ -241,10 +241,10 @@ enum FslIMX6ULIRQs { FSL_IMX6UL_UART7_IRQ = 39, FSL_IMX6UL_UART8_IRQ = 40, - FSL_IMX6UL_USB1_IRQ = 42, - FSL_IMX6UL_USB2_IRQ = 43, + FSL_IMX6UL_USB1_IRQ = 43, + FSL_IMX6UL_USB2_IRQ = 42, FSL_IMX6UL_USB_PHY1_IRQ = 44, - FSL_IMX6UL_USB_PHY2_IRQ = 44, + FSL_IMX6UL_USB_PHY2_IRQ = 45, FSL_IMX6UL_CAAM_JQ2_IRQ = 46, FSL_IMX6UL_CAAM_ERR_IRQ = 47,