Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1764884rdb; Thu, 7 Dec 2023 08:12:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2z+gwmGJCNC416uDjF9G0lwpa5HU+luhvH66I+2xisv085/mmOEGXcVMKuoP3WWS3WN5I X-Received: by 2002:a17:902:b48d:b0:1d0:6ffd:e2ef with SMTP id y13-20020a170902b48d00b001d06ffde2efmr2631860plr.137.1701965544947; Thu, 07 Dec 2023 08:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701965544; cv=none; d=google.com; s=arc-20160816; b=foH+yJmdUoo5Y9zMICBUJEPW/D7DC1xu6Pesw1OCb34IWMsvCG1syoKrp/l/NRfPnA yF7c8gqyOu+BBoRptuJhmnJT5M3SFNLUuUoeaKVBltkBYxd+SkoCSdbLXyDXE/dC7JgY mHyYhbjohiqJB96X2zeoRo2VuX+k/zlIeJHxVWwvwLSbiWHavSqmgcueKvUSx6CgY8Hw mjJGCtnD74EdQLFRtOtVKHH49yxenFf+TYJ6gYmu5dwmOmKwi0RKn6tfYSDB1MhUFT6M J9NU2hzajafxaUvqiCQk5d6zSg0pyV/safea74uOwyWUun0pS8GZPtVQeXD0vcXwYnv+ WhyA== 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=k03cN1Ufys2ZVaIO9F0LQ+5Z44BRwQDdNwkba1WqRXU=; fh=vFpuv1Eeit2p0C5Ks5jSw1nEDZ7JWco5bheoW7CNBh4=; b=fQEfXxpKeHx8/+AwTGLXl79nrlOl7s706bRd5T8Ndvs4zEHDIM51w+7FteQ1EumKm1 Ye/6UbFWZPCTUMJkf4NGzqga0ag5o731jD3mljXKo7juzsCbueKbLPrR4W6hQMfADfvx flycUQtpOGQOqLf59H57/Wi9TuXpRQKTo2EQua3xpTgFHD9eFQETZqXtGXby3+qsC/nr +WGTEBNwv9zMmxOiGBFjs6PcpB2yZY5+Jf8C9yIDo9Wj56tGcthDdvYAEYaqU4HavQZt Vl+ibnz24xcIl92OFpf8Juh1Qn4sLW5DXMQGgmVKEtR13CZMoBKiTV29zqVMTAmUgEm0 2xnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgdsO7OI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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. [23.128.96.38]) by mx.google.com with ESMTPS id s20-20020a170902989400b001cfc46abb07si1321942plp.128.2023.12.07.08.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgdsO7OI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 3C359804083A; Thu, 7 Dec 2023 08:12:22 -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 S232725AbjLGQMH (ORCPT + 99 others); Thu, 7 Dec 2023 11:12:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232753AbjLGQMF (ORCPT ); Thu, 7 Dec 2023 11:12:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F344584 for ; Thu, 7 Dec 2023 08:12:11 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9396DC433C8; Thu, 7 Dec 2023 16:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701965531; bh=oDFKU6He3TF2Z/VxsatMVTx0wO+MupzIPTDKqHifMUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mgdsO7OIKFVnsRpXfPzhSFtBbKHmi+fLTH0WyXQIbUw+SmRKpaiHLmHcaQhxMjxng 9IHefwqe3Ryh6cPXGecRg3Hubb0SDQ6+CfcPRYxMyquIqGqdF9+dc1Crptxu320g/y L7bSFC0PRGMrGe20aQYp6+X3X8+KuJlVundGC64PrvmFcG9BBJVX5ojLNHrxjMsjIy 65Wu5b7SCS6kM/XlzY2FjFsjnDIskG1bAX2I+AuPz+xSdWTJPJkNtp4u39MMeyWE4T +p1VNFAwPB1qdJdm/n6vp6YYGvXOiIxbvB6s087lgX3gV8dzUcg/nBw/iSDI+oYRN3 YDxGY6xtqQcUw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rBGzl-00011w-1k; Thu, 07 Dec 2023 17:13:01 +0100 Date: Thu, 7 Dec 2023 17:13:01 +0100 From: Johan Hovold To: Krishna Kurapati PSSNV Cc: Thinh Nguyen , Greg Kroah-Hartman , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Wesley Cheng , Conor Dooley , cros-qcom-dts-watchers@chromium.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com Subject: Re: [PATCH v2 1/6] dt-bindings: usb: dwc3: Clean up hs_phy_irq in bindings Message-ID: References: <20231204100950.28712-1-quic_kriskura@quicinc.com> <20231204100950.28712-2-quic_kriskura@quicinc.com> <028097f3-9056-4c07-a868-4eeac9bc8c94@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <028097f3-9056-4c07-a868-4eeac9bc8c94@quicinc.com> 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]); Thu, 07 Dec 2023 08:12:22 -0800 (PST) On Thu, Dec 07, 2023 at 09:14:55PM +0530, Krishna Kurapati PSSNV wrote: > >> + - qusb2_phy:: SoCs with QUSB2 PHY do not have separate DP/DM IRQs and > >> + expose only a single IRQ whose behavior can be modified > >> + by the QUSB2PHY_INTR_CTRL register. The required DPSE/ > >> + DMSE configuration is done in QUSB2PHY_INTR_CTRL register > >> + of phy address space. > >> + - {dp/dm}_hs_phy_irq:: These IRQ's directly reflect changes on the DP/ > >> + DM pads of the SoC. These are used for wakeup > >> + only on SoCs with non-QUSBb2 targets with > > > > QUSB2 typo > > > >> + exception of SDM670/SDM845/SM6350. > >> + - ss_phy_irq:: When in super speed mode of operation, interrupts are > > > > Capitalise 'Super Speed' > > > >> + received when a wakeup event is received on ss_phy_irq. > > > > The description as it stands sounds circular. And this one is only used > > for remote wakeup right? > > > Yes. It is used for remote wakeup. Mentioning it as wakeup event should > be changed ? It would be good to clarify that this one is the IIUC not used for connect/disconnect events but just for remote wakeup, that is, unlike the qusb2_phy and dp/dm_hs_phy interrupts. The old descriptions just vaguely said "wakeup event" and connect/disconnect events aren't necessarily wakeup events. > > Also have you set up the tools so that you can verify your bindings > > before posing them? I assume the above wouldn't pass (e.g. due to the > > "(optional)" strings). > > > > There's some more details here: > > > > https://docs.kernel.org/devicetree/bindings/writing-schema.html > > > > under "Running checks". > > I did do a dt-binding check and got the following line as well: > > DTC_CHK Documentation/devicetree/bindings/usb/qcom,dwc3.example.dtb > /local/mnt/workspace/sriramd/upstream/torvalds/linux/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dtb: > usb@a6f8800: interrupt-names:4: 'ss_phy_irq (optional)' was expected > From schema: Good that you got that set up. Johan