From patchwork Fri Sep 2 08:07:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 602453 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 5DEE4C6FA83 for ; Fri, 2 Sep 2022 08:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235666AbiIBIIR (ORCPT ); Fri, 2 Sep 2022 04:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235659AbiIBIIQ (ORCPT ); Fri, 2 Sep 2022 04:08:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8B00B729D; Fri, 2 Sep 2022 01:08:15 -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 81B9FB82A02; Fri, 2 Sep 2022 08:08:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A0AC433C1; 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=khqeET1+0nkt6ch7LpgBOBM9lI7y0AVI0urjOk7+sQ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ikl6okLZWqKD2GB03i24PeKzFeqIRmVElCRsdaa6Nldot7w0A90Toox91tCce+rKS UJruhGvAPC54RQIW5kDKwaJAhilarrJw7tSdtq0FazqQ+i0vaq26/ZPt8E5OVAcjsk v7lk5HXIuzTiHYeNwMDLEhf0Mf4c345sUig5a8WJMNQ9Uccq4EbQUvagvjjTNi6MjS CmsnNIYLji4HV89yDfW6ltnek9PAVpZ3xf43VondzFn+YDvucwo7GAFKI5/jHfKrML o/RzwXIi17ymijT2b9TbS3je1SxuxYKsamCzeBmeFM3byvj4dZqMiE+LvppbhT0E6C 4s86kofUu3E0w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oU1iq-000399-NV; 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 1/2] dt-bindings: phy: qcom, qmp-usb: add missing power-domains property Date: Fri, 2 Sep 2022 10:07:04 +0200 Message-Id: <20220902080705.12050-2-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 "sc8280xp-qmp-usb3-uni-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 --- .../devicetree/bindings/phy/qcom,qmp-usb-phy.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml index 25e01ec4799d..7acb4b7de7f9 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-usb-phy.yaml @@ -58,6 +58,9 @@ properties: minItems: 3 maxItems: 4 + power-domains: + maxItems: 1 + resets: maxItems: 2 @@ -265,6 +268,16 @@ allOf: - const: phy_phy - const: phy + - if: + properties: + compatible: + contains: + enum: + - qcom,sc8280xp-qmp-usb3-uni-phy + then: + required: + - power-domains + - if: properties: compatible: 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