From patchwork Fri Sep 2 08:07:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 602233 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 03EBFECAAA1 for ; Fri, 2 Sep 2022 08:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235661AbiIBIIP (ORCPT ); Fri, 2 Sep 2022 04:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235645AbiIBIIP (ORCPT ); Fri, 2 Sep 2022 04:08:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 804A3BB91F; Fri, 2 Sep 2022 01:08:14 -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 E8B5262097; Fri, 2 Sep 2022 08:08:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55610C433D6; Fri, 2 Sep 2022 08:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662106093; bh=qdo258x7GijpGgpulMeQhjQmJ4qALitRxDyhqpeG650=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fRByYE5bClPz9d8ZexfQ4LspYAhhYm0K/WFXBQRU+rR8rXRAHkA9s653cr8gcX3wT hBxBdYhGx00vQVhAdgnCjgoCGwr/Nu4x6/njXkW5nUhncgDtyItrcZGrCYeYtz/tab YHFc89brQ13U750lepFLYvmDj5V1ganJNu/FIJYT9YpKTkpcEEhOvN3kNhnAQsHdM6 S2gIHiSMuzEN7zkuX+XQI/qqw55VXm4DwW+WCGtc491VTApS2e6z78lQJItZ7ixXIa sDv7FP/zZ3dikNboO4R6e8OP1IXiH2bXGmCTg3MrApXG9/iTnn93So6P28KcUvS7QK 2q0X5/YQq6tAQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oU1iq-00039B-QE; Fri, 02 Sep 2022 10:08:16 +0200 From: Johan Hovold To: Vinod Koul Cc: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Kishon Vijay Abraham I , Wesley Cheng , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] dt-bindings: phy: qcom,qmp-usb3-dp: add missing power-domains property Date: Fri, 2 Sep 2022 10:07:05 +0200 Message-Id: <20220902080705.12050-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220902080705.12050-1-johan+linaro@kernel.org> References: <20220902080705.12050-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org At least the "qcom,sc8280xp-qmp-usb43dp-phy" binding requires a power domain to be specified. Fixes: aa27597e594c ("dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys") Signed-off-by: Johan Hovold Reviewed-by: Rob Herring --- .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml index abc29686dff6..97a7ecafbf85 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml @@ -53,6 +53,9 @@ properties: - const: ref - const: com_aux + power-domains: + maxItems: 1 + resets: items: - description: reset of phy block. @@ -159,6 +162,17 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,sc8280xp-qmp-usb43dp-phy + then: + required: + - power-domains + examples: - | #include