From patchwork Tue Aug 30 11:29:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 601128 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63A14C6FA92 for ; Tue, 30 Aug 2022 11:30:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbiH3LaY (ORCPT ); Tue, 30 Aug 2022 07:30:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbiH3LaI (ORCPT ); Tue, 30 Aug 2022 07:30:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B5DE17581; Tue, 30 Aug 2022 04:30:06 -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 ams.source.kernel.org (Postfix) with ESMTPS id B1BDAB81A6A; Tue, 30 Aug 2022 11:30:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BDF6C4FF7B; Tue, 30 Aug 2022 11:30:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661859001; bh=843LZqUoLpmP7KhhkJTEd6glYx5lLfe3MlkDQvsuHdg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ks9NKkf1p2gSuCqn5ZEIhK+VR3yzVl7Ik74VRGpA+7yShFJgYa/0DWak+c49KARTf vXfMfCad2ojeu3woDxnQrRyLBbrgfW46zNyGCejU7hSYY2OSXTE/6I9xw/g+9Pn1xj EZQMbMbvUwE/X9G6Uj4+KClZxzEtI83qPFfUeuekG4KZM58Ai0bo1RlfMeAgbjYWj6 GsxJFOGOtoWCgv84fF6JCzZZ+05lgnIm3XVpeSg39mWPUZvaZuKjVHu/CN2Yy8g8Xr jhGkTKFCEKNMTKcLMAg9Yu21ByfxFEC6oiYFaRdp2KbdFDHjF13N+T3CcpBDwag1In pgctm3ZEmj0iA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oSzRO-00010s-Pr; Tue, 30 Aug 2022 13:29:58 +0200 From: Johan Hovold To: Vinod Koul , Rob Herring , Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Kishon Vijay Abraham I , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Krzysztof Kozlowski Subject: [PATCH v4 22/30] dt-bindings: phy: qcom,qmp-usb: add missing qcom,sc7180-qmp-usb3-phy schema Date: Tue, 30 Aug 2022 13:29:15 +0200 Message-Id: <20220830112923.3725-23-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220830112923.3725-1-johan+linaro@kernel.org> References: <20220830112923.3725-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The "qcom,sc7180-qmp-usb3-phy" compatible is apparently used to describe a combo PHY where only the USB part is used. Specifically, only a single reset is used. Fixes: 4ad7d7eeed3a ("dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SC7180") Fixes: 94c34600b617 ("dt-bindings: phy: qcom,qmp-usb3-dp-phy: move usb3 compatibles back to qcom,qmp-phy.yaml") Reviewed-by: Krzysztof Kozlowski Signed-off-by: Johan Hovold --- .../bindings/phy/qcom,qmp-usb-phy.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml index 17af049e65a9..25e01ec4799d 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml @@ -122,6 +122,28 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7180-qmp-usb3-phy + then: + properties: + clocks: + maxItems: 4 + clock-names: + items: + - const: aux + - const: cfg_ahb + - const: ref + - const: com_aux + resets: + maxItems: 1 + reset-names: + items: + - const: phy + - if: properties: compatible: