Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4467638rdh; Wed, 29 Nov 2023 02:16:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTbWpYzeZS59onfkE6k71jfAcJGDP0vo3DIVlbzA6mqTkLg6P1Qj82LVd56sypmk4/pKZr X-Received: by 2002:a05:6808:11c5:b0:3a8:5ff0:6b52 with SMTP id p5-20020a05680811c500b003a85ff06b52mr20644952oiv.15.1701252961198; Wed, 29 Nov 2023 02:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701252961; cv=none; d=google.com; s=arc-20160816; b=ga2jXwou63J82fOmT8gwfgzd7zTdBKp9YJaqiPtc91m19KSe4I19YxmghjWvD5IcWu lT/wOe+4vPjBrQDmNf9Hagxblvl0I2+dEKMQzPu/l1BoMt2OGgNN9HVYyq7jLNUWG2T1 SzfmQ+ZqEezvnUU2ihmBflO/OQDIePEWaS6V/Js+9ijvpMBKKU+5HxKYSCge5Kz/7FU2 sZmNWV6+dLXOyry431RB+YvL5aMM3CNcC4S/7CTxmdSj/0aT1MzyYW/qLtb3c1i0vGYw 7Opx9gZvCaTnU9Q/5xl+E0BrLvJ2DkjpvRFQ8PNTNDJU/xAB8DOUe28BeMWAtLW5injU NWbA== 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=mLVW7g0k1MHEsBPO9Fh5DVxCoc9iSh72om7dUvoLFFY=; fh=RKW6/AYYswlwMs7Do3ToVmKNCRzj5CYfzhhCG3K+6J4=; b=jGqYSYO666JfBAdwVj1MeuCgjb3DVEnRifnrLLar5OjNCI8VwvYQ+69cevniRrbjxw uKmDaQ1No7iVy6LzL9Rq2DxyFIlPpvoNwIQzidiKy5mwC2V+EWh0CU8XYFGiNFllW4qc tydVqQKYBbE1JdoV+tCBltcm7D7NMp6wL9Oy92ugfoI3QOXFV3I8rJz12Tk2x7/CRdHA zEsb5wIhAxGwMPHVDxK1ZQp21XoHYblumUHK99vapM/Q7FBfV8vThbqpff3CuljIFSAA 9DVVj5aHB15SHbcmxbAbj8usLbKWpP3xemPg/sxeMl8bUvk6t7czRmt77YfIl9FfcntY wCwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BF8Tahui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bs67-20020a632846000000b005c605cdc2c2si1121443pgb.854.2023.11.29.02.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 02:16:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BF8Tahui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5B8D180A9AA0; Wed, 29 Nov 2023 02:15:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjK2KPb (ORCPT + 99 others); Wed, 29 Nov 2023 05:15:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjK2KP3 (ORCPT ); Wed, 29 Nov 2023 05:15:29 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2BB3AF for ; Wed, 29 Nov 2023 02:15:35 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F56BC433C7; Wed, 29 Nov 2023 10:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701252935; bh=JIW2OirXTApjwyolVUz9Ub+E7Cetzf3+IQG2YeVowG8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BF8TahuiCgez+z6/m6oDfl+BxEdno1sKTnxohooFcvBXyeyDeLg/goIEc9V+HBG2r QM6tXI7aQA3dg/LiySiDRzj+W/sScenxnQqbIO7+HoYijyFU88dRqZmWo3MWe5cmpR kCcGMZtdkNnRdP+YxSApgerzNILho1HpeB8z+XClyfI+wBQR69xLOk4Uxf+ehnCMTg qBmJY1bf5zgIqoZnq0zIyAPLVcm4zRxF2S//k/y+2vUY0UjpH19uqbSogMoIopMAkD /SambyhuefwQb4fzgg+c4o7o0UalmZM+VF+wNLaOh2axpMZ2kUocphpAGWXEYf0uQV gOkhQ/mg8COiQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8Hbw-0002yj-20; Wed, 29 Nov 2023 11:16:04 +0100 Date: Wed, 29 Nov 2023 11:16:04 +0100 From: Johan Hovold To: Krzysztof Kozlowski Cc: Krishna Kurapati PSSNV , Andy Gross , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , quic_wcheng@quicinc.com, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com Subject: Re: [PATCH 1/6] dt-bindings: usb: dwc3: Clean up hs_phy_irq in bindings Message-ID: References: <20231122191335.3058-1-quic_kriskura@quicinc.com> <1192d91f-11bf-44af-953a-14e08e2b6ca8@quicinc.com> <004ddc69-1566-4de4-b260-0fca96a9395f@quicinc.com> <18965bb9-7afa-4892-8b71-981ba29d2cd4@quicinc.com> <6d7527bf-8c1a-49b5-a0cf-99a92098c971@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 29 Nov 2023 02:15:48 -0800 (PST) On Wed, Nov 29, 2023 at 10:28:25AM +0100, Krzysztof Kozlowski wrote: > On 28/11/2023 12:32, Krishna Kurapati PSSNV wrote: > > > >> > >> So back to my initial proposal, with a slight modification moving > >> pwr_event first (e.g. as it is not a wakeup interrupt): > >> > >> qusb2-: > >> > >> - const: pwr_event > >> - const: qusb2_phy > >> - const: ss_phy_irq (optional) > >> > >> qusb2: > >> > >> - const: pwr_event > >> - const: hs_phy_irq > >> - const: qusb2_phy > >> - const: ss_phy_irq (optional) > >> > >> femto-: > >> - const: pwr_event > >> - const: dp_hs_phy_irq > >> - const: dm_hs_phy_irq > >> - const: ss_phy_irq (optional) > >> > >> femto: > >> - const: pwr_event > >> - const: hs_phy_irq > >> - const: dp_hs_phy_irq > >> - const: dm_hs_phy_irq > >> - const: ss_phy_irq (optional) > > I did not follow entire thread and I do not know whether you change the > order in existing bindings, but just in case: the entries in existing > bindings cannot change the order. That's a strict ABI requirement > recently also discussed with Bjorn, because we want to have stable DTB > for laptop platforms. If my comment is not relevant, then please ignore. Your comment is relevant, but I'm not sure I agree. The Qualcomm bindings are a complete mess of DT snippets copied from vendor trees and which have not been sanitised properly before being merged upstream (partly due to there not being any public documentation available). This amounts to an unmaintainable mess which is reflected in the binding schemas which similarly needs to encode every random order which the SoC happened to use when being upstreamed. That makes the binding documentation unreadable too, and the next time a new SoC is upstreamed there is no clear hints of what the binding should look like, and we end up with yet another permutation. As part of this exercise, we've also determined that some of the devicetrees that are already upstream are incorrect as well as incomplete. I really see no alternative to ripping of the plaster and cleaning this up once and for all even if it "breaks" some imaginary OS which (unlike Linux) relies on the current random order of these interrupts. [ If there were any real OSes actually relying on the order, then that would be a different thing of course. ] Johan