From patchwork Thu Jul 14 12:43:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 12917869 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 690B4CCA47B for ; Thu, 14 Jul 2022 12:47:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/yBTUzeuLNSWELzZdCbTvp3MJuPLeENDNTTkV477SF0=; b=DylkEP7jgeD2K1 8tuW7TlE8VJ+C5cn3DFhHq5rBCarz0BvswIByd53M6Zu4VtAMUM+5clFjNz0QgMuqZymybTcE/iC6 nYJ19jjS9bABJmhMl1txFkNjeVFsrCjgpXNaEz42qBDrmvEG6dsAIWyRWQoQTjdkwCTAx+VhocrJB odvWw1B3rIoDbT0cmIZ5I+DgX9EDgGwCcgXRbYqE/VfdbCDgtYxL5ITJtRShAlvA+ivYWds+bgp6M iQtnccQV5F5xyly304oEGczPdh1TuETWV2d8Sy4GtagKXcVwBw0WS8uKTSHTroKy5a+SnVtuTXaTy woZMt2Lsd7Y6L9JeKQNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oByFI-00ENHz-60; Thu, 14 Jul 2022 12:47:08 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oByCR-00ELBW-VR for linux-phy@lists.infradead.org; Thu, 14 Jul 2022 12:44:16 +0000 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 F07FFB824E9; Thu, 14 Jul 2022 12:44:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A652C341DB; Thu, 14 Jul 2022 12:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657802645; bh=SF7Y6R56kZ9U9YdGxbE66G75h5S5SElX8IDdKYlYFmE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iBJPPXzvPKstyLXQxmyhaOuT8cmNWKwr0ipI6YT/kYZdrtjyTY149LbCBMc0UH17Q G0mNfxAHGiQxvIw/XSTcJI9FV7UfkN1eHHujBt18H1+xMvMCWFHh3Fp1wk+H6OVp1H I63Ept/Mf+6pdl7AWRMTKNAXW57vWRACwxsv/Wz1luh+TGkqY9nNwWvQjQY8F+8CuE T1IhX4qqmhtBHRXUdPiSj1Ibmia53lWQL6FEW7RsvR0Ki9Hskk+Nn/b9JJc6v6w+Ar iw5kIaegtV4rA+4WvgT0JaMXTHo0GfrbjZd1zJqJri1qT7CsCvYb4XoVk6/rh/wDh7 Z8/vNFJSB6ppQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oByCQ-0007E6-NA; Thu, 14 Jul 2022 14:44:10 +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 v3 22/30] dt-bindings: phy: qcom,qmp-usb: add missing qcom,sc7180-qmp-usb3-phy schema Date: Thu, 14 Jul 2022 14:43:25 +0200 Message-Id: <20220714124333.27643-23-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220714124333.27643-1-johan+linaro@kernel.org> References: <20220714124333.27643-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220714_054412_213249_38935F59 X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.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 604d22f47a56..472a5ef029d5 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml @@ -121,6 +121,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: