Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9442344rwd; Wed, 21 Jun 2023 07:31:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ73+rk0jDniIa8y0i4KZsf0PkX0QJ00nuypdi6FUzOiVnCFZ8JVWr3/kbXnz9p1osvyi0E4 X-Received: by 2002:a05:6808:d47:b0:39a:ac34:734a with SMTP id w7-20020a0568080d4700b0039aac34734amr15464299oik.15.1687357891375; Wed, 21 Jun 2023 07:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687357891; cv=none; d=google.com; s=arc-20160816; b=OnGyrPO9qqLkHHWs6qetiQaNbuek2sw0hqYrldZyRqT4fWnX32T0Yj61aZIZp/9zt7 PFtxUjaZjXNMv2fdZC2o7Q8kmOdoMuXL3CM8b2qydeG8HxGdVqvTGdy/oaAHFjC1KUi7 0dfq8fCEJRmzv4z7+k0tWQXzluavCnF51ras9jw6WEXhaTQR+FP8DnQz9VYQzFRmTLGX vwod8i9BZ2iXE5EtbUgEphMuvrdZ7SNVrt+08S6WsRge0WbXL7RIdCCP5GjFLHVJth11 31bdAsh2z2YuRbaHFxu4/igRkLqS2E+OKjHrlMjneakgXoLmAygcXeYaU2fkUZAQwz3u vQbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ssfpo6h7YMxTw6z6hOVXpNz/i0euxB0fSyghaezIGRk=; b=0UPuYlIsnyTFEJffv1fePxqkPtBILDZGNLduFic9NQF9DabfDzvD25xJnbCLxzCSpJ PaDc612Gf5hDVY1BfugMKF8ZICwPsbXHlTWsEmFQx4PuafgpFMKAgi5xbtJ02wXLM2ws tEX03wGc6MNjAY7JCNC5Idj6/0f1cVSwek/9E8Iv/I0zPF+KT2rjVhdQfM0oPWud6U13 dMjUkTfQuBggtCj0R7I0ZnI077cPnox5LQM8slynhxieoQLvDNP+s1OqEiJETzig6txo 1lb3yqbibLwHXZn9YgA1NNRbXevClxYrSyodgwG9JNlZ7AZJjCtTrXg6Iz49fKszIp8+ KTyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=r0DIjYKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a656718000000b005348202cac1si506698pgf.5.2023.06.21.07.31.16; Wed, 21 Jun 2023 07:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=r0DIjYKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232791AbjFUOOP (ORCPT + 99 others); Wed, 21 Jun 2023 10:14:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232784AbjFUONq (ORCPT ); Wed, 21 Jun 2023 10:13:46 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CECA5213E; Wed, 21 Jun 2023 07:13:12 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3D7A2105; Wed, 21 Jun 2023 16:12:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1687356755; bh=Q6gLfttyYNyv7Ic+tR22YEZY26euzVq7wKTAMWUvU0s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r0DIjYKo+0Osx2KQHLVhCXXDUegjqBJgOiv4hf304R3UPHjMjZ8nQ0wVZeyEXalxT gV0t0DaAq7dJd75bX46mprnyebvJybDFpD7pivybx4CdqGA8gOqKE8WqJfhccnfDo7 k4TqFlenzwRU3GVLTqT13XMCeKvhVDMh9RflR/NM= Date: Wed, 21 Jun 2023 17:13:07 +0300 From: Laurent Pinchart To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Harini Katakam , Krzysztof Kozlowski , Michael Grzeschik , Parth Gajjar , Piyush Mehta , Radhey Shyam Pandey , Rob Herring , Robert Hancock , Tanmay Shah , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: zynqmp: Fix dwc3 usb interrupt description Message-ID: <20230621141307.GC18703@pendragon.ideasonboard.com> References: <6544d13afd9f3d8f5413e32684aa16e4d155e331.1687160244.git.michal.simek@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6544d13afd9f3d8f5413e32684aa16e4d155e331.1687160244.git.michal.simek@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, Thank you for the patch. On Mon, Jun 19, 2023 at 09:37:54AM +0200, Michal Simek wrote: > Based on DT binding dwc_usb3 is single entry without anything else. That's > why combination dwc3_usb3, otg is not allowed. That's why split it to host > and peripheral pair which both points to the same IRQ. > DWC3 code is reading these two properties first before generic dwc_usb3. > > Signed-off-by: Michal Simek > --- > > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > index 02cfcc716936..e8104ffc6663 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -888,8 +888,8 @@ dwc3_0: usb@fe200000 { > compatible = "snps,dwc3"; > reg = <0x0 0xfe200000 0x0 0x40000>; > interrupt-parent = <&gic>; > - interrupt-names = "dwc_usb3", "otg"; > - interrupts = <0 65 4>, <0 69 4>; > + interrupt-names = "host", "peripheral", "otg"; > + interrupts = <0 65 4>, <0 65 4>, <0 69 4>; This should read interrupts = , , ; The issue isn't introduced by this patch, so it should probably be fixed by a separate patch on top, to convert the whole zynqmp.dtsi file. Do you have any plan to do so, or should I ? Reviewed-by: Laurent Pinchart > clock-names = "bus_early", "ref"; > iommus = <&smmu 0x860>; > snps,quirk-frame-length-adjustment = <0x20>; > @@ -915,8 +915,8 @@ dwc3_1: usb@fe300000 { > compatible = "snps,dwc3"; > reg = <0x0 0xfe300000 0x0 0x40000>; > interrupt-parent = <&gic>; > - interrupt-names = "dwc_usb3", "otg"; > - interrupts = <0 70 4>, <0 74 4>; > + interrupt-names = "host", "peripheral", "otg"; > + interrupts = <0 70 4>, <0 70 4>, <0 74 4>; > clock-names = "bus_early", "ref"; > iommus = <&smmu 0x861>; > snps,quirk-frame-length-adjustment = <0x20>; -- Regards, Laurent Pinchart