Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2127133rwd; Wed, 17 May 2023 06:12:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5f2iwHSTJ7EzbE57PydSxGkIhWsNZ6axBh0h6vCbAzKcFOItz+JFTy3uQmEkbmL2pj1K6d X-Received: by 2002:a17:90b:3757:b0:247:afed:6d62 with SMTP id ne23-20020a17090b375700b00247afed6d62mr39304689pjb.46.1684329150598; Wed, 17 May 2023 06:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684329150; cv=none; d=google.com; s=arc-20160816; b=YVuKI1LOj5Pq07BFbdXa8bfoVm8AAnW+97Vzv5LAfFNSMPcBL3PXgDe51PkbSsbrdK SFN3ng9opxngivJ49WMNvxL6odxKdQKXo+X6rMKdu211c8evXyfu000harbLTbjQncSh O6SwhTY0L7kRIQQCkOZaW93EQ2O3M8hQQBRQaybKFoZ0Zi77tIFZmT54w4NBzv8HrMQ1 4QCskrp0B6q3i+qp0N2DIGeAdNuZ6V8WvFE3C39Bd+HR+uv7cCH34LKdfWlTZ5dipnSd 5lG00YmyB+d0hTxJCwYmWQWLoAXTdIBJ9EpWm77m0/2tVhcWJF5y1jsB9nrGv0uGexmO fx3Q== 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=n7oOJ2YQ0cVloxx5kRCXS2x2FyyUGy9wkxCuo7kEIkU=; b=ENk6fb1Xa3w3esPZuCmHy7vTL+N5HznSFDLbeExRYlRFxQOcYC9pzdf03RGsc00vzV M8L3HdcuWDq1IMIwwxFx1k7p6DXOdLx0ncoYH421SqPrfjxYaUCpqzy4qnHq/AzpVuwr xka1N3MlFpGF+BH2TTLsV0e8o/UNj8kUuigLQxca9HWO7N34MtpJyXyxtKcySehBw1lL M2unMAAT8uL4H0d329VWD7X6+BouZ24UnxJpkqspaTKD097WcXIFTkUez6BN4JTE5iA+ jbHg+sFqA6HbcxbaOimwgtSiPl2NyHubxM+WI1TAbWbg8wlH84kyS4Z5pajYtqvHvcEx WiLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZVGgrubv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020a17090abd1400b00246fe4e326dsi1728914pjr.81.2023.05.17.06.12.17; Wed, 17 May 2023 06:12:30 -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 header.i=@kernel.org header.s=k20201202 header.b=ZVGgrubv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbjEQMzu (ORCPT + 99 others); Wed, 17 May 2023 08:55:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjEQMzt (ORCPT ); Wed, 17 May 2023 08:55:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22CAF3A96; Wed, 17 May 2023 05:55:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 97194646E5; Wed, 17 May 2023 12:55:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF82CC433EF; Wed, 17 May 2023 12:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684328147; bh=OshEcCgqyCd6Vr8QO9lsuA2mBoImzQptY5WxrVyFoQ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZVGgrubvDIlaWDmqwmFS5RWOvMppbm2iacK4PpAC8A7GhZrgQFMlZ5IZJiEoeHiiz HDeqB6UCfRXKzi1Klk1g7kznHCecDqRwCrCrW7sZuDY+mphIUeyf3oSO7D2xnf3Qr9 aZPj1nBZ7fjKM24MHvA5CW/suDrBe8vjBKkKuGvDjRY55u2+51O7ikg0RGQAZvxMOz 0+zFXnu7I3Ek9MuaG89DXooIzEeKAisja/sn7eSuGhdx7uVQk/Yq1SCzWN3X8qx3ut fZTwISsllmIDWw6kcZnUxaNsS8K+/Z51oPW6XtEusztcXCol4OPUv3mBIyYDdb3ZIW TvleSeiBc4XCA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pzGh0-0004dk-Te; Wed, 17 May 2023 14:55:47 +0200 Date: Wed, 17 May 2023 14:55:46 +0200 From: Johan Hovold To: Krishna Kurapati PSSNV Cc: Krzysztof Kozlowski , Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_wcheng@quicinc.com, quic_jackp@quicinc.com, quic_harshq@quicinc.com, ahalaney@redhat.com Subject: Re: [PATCH v8 1/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Message-ID: References: <20230514054917.21318-1-quic_kriskura@quicinc.com> <20230514054917.21318-2-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Wed, May 17, 2023 at 05:49:13PM +0530, Krishna Kurapati PSSNV wrote: > On 5/17/2023 5:14 PM, Johan Hovold wrote: > > On Wed, May 17, 2023 at 04:40:11PM +0530, Krishna Kurapati PSSNV wrote: > >> On 5/16/2023 4:29 PM, Johan Hovold wrote: > >>> On Sun, May 14, 2023 at 11:19:09AM +0530, Krishna Kurapati wrote: > > > >>>> + interrupts: > >>>> + maxItems: 7 > >>>> + interrupt-names: > >>>> + items: > >>>> + - const: dp_hs_phy_irq > >>>> + - const: dm_hs_phy_irq > >>>> + - const: ss_phy_irq > >>> > >>> I assume that these are only for the first port, and that you need to > >>> define these interrupts also for ports 2-4. > > > >> I wanted to add them when wakeup-source is enabled but since you > >> mentioned that these must be added now and driver support can be added > >> later, I will make a patch separately for this in v9. > > > >> Can I use the following notation for the new interrupts ? > >> > >> dp_hs_port2_irq > >> dm_hs_port2_irq > >> dp_hs_port3_irq > >> dm_hs_port3_irq > >> dp_hs_port4_irq > >> dm_hs_port4_irq > >> > >> > >> That way the interrupt names for first port will be same as ones for > >> single port. > > > > For consistency, I'd say: use the same scheme also for port1. Perhaps > > "port" is unnecessary too. > > > > And since these are getting new names, you can drop the redundant "_irq" > > suffix as you did for the power-event lines. > The reason I wanted to mark it as dp_hs_portX_irq is to keep code > changes to driver simple. The existing code to read current IRQ's can > stay as it. Only need to add changes for reading IRQ's of new ports. I understand why you want to do it this way, but again, the devicetree binding is supposed to be hardware description that is independent from any particular implementation. This is also why I said that it may be preferable/easier to just implement wakeup for MP from the start. > > For example: > > > > pwr_event_1 > > dp_hs_phy_1 > > dm_hs_phy_1 > > ss_phy_1 > > ... Johan