Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp521195imw; Thu, 14 Jul 2022 06:01:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ufS5n7sePCP6ngPHoLSXQ7fyjgDXw9r2fDRy3oPsZRGi3Mao2Kkr0ixNf2LRsWnULdmK3O X-Received: by 2002:a17:903:18c:b0:16c:51c6:675d with SMTP id z12-20020a170903018c00b0016c51c6675dmr8169031plg.153.1657803713529; Thu, 14 Jul 2022 06:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657803713; cv=none; d=google.com; s=arc-20160816; b=McS4K/3K5guIqys7vip8kqrSltAR4mjKUwpzql5cg4WTFuchYh15fALJ2XfjaCOyGd pSxhr4IX4XIhZuYKRO6rCka2O0vqU0Y4EQpqOImiIjmRum1gFtgPKBgNCp3sKxuXG+EG bEhf2PysTM59/7qsjioGkCArUtCtWSVPplpqn4cTt8D9+dmXGb5mZgN38/g5wLW7FmYD IZ4YDdsfXBR1MSVliKcjbbzcRm36CiAL8HWMZ+OR3oQDK9PWb1SmvwERIpw3919WinEH ZQvXGJO9UQd6H02PRjXvNmz+etGCfzNOASmPsHC2ocI8ekw9oT07DFaaQA+XUEgmIYy+ SK2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lr4ZyEHKuGLvCb+ZVZX3EazGnZMDQuHwhfwDbo4NAbc=; b=IIQT6lRffifG7up5IgwEOwPlMTPc5+sK6vMKA94yCC9KGrWn98aYPVw0a6DrmqouIu n4Cz5uG9TWYkLyiyB+3oQfJqLqSOtmg1LzuiP5EgPTbrWFE52H7D7GJ47SIG5Dc3LFLR W/KqhnIxZnDEFMhuqc7wx2JAvzFjFw9VNvFuIRxfbuiQ3iBWPxMogGg8Pp9LaIu94eUk amesUwBTqqMN3j/ZQPVEGUQffX6craQqj3n/G8jjuHTm7OGQad2kq4unD1mMZSWh6eE+ K5dIoSTsqesourg+9Y1v5IhdL75rRGJU8l/WJJtaw/pxuC/3Xf6ErbzOjnCsJKQK4zsW jdkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d7O0iR/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z5-20020a170903018500b0016c2ec1ee53si2208821plg.155.2022.07.14.06.01.37; Thu, 14 Jul 2022 06:01:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="d7O0iR/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234545AbiGNMpt (ORCPT + 99 others); Thu, 14 Jul 2022 08:45:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239493AbiGNMoL (ORCPT ); Thu, 14 Jul 2022 08:44:11 -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 60D20474F8; Thu, 14 Jul 2022 05:44:10 -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 AE8A2B824F8; Thu, 14 Jul 2022 12:44:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA1FBC34115; Thu, 14 Jul 2022 12:44:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657802644; bh=qmg0PoPSNW26UsXhfD2Q9qsF4W171kv+wv6j1LGVsok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d7O0iR/9/G8jl6QptcfX/t3fv2u0snanine1fiNEASXOp8MmiWsb84rJZm7KTWNE7 mPhGaz0vjWotqNSg9nn5H/UgO2XOQ7z3kXr5pIgVaU06U6/gOWBXz7G4aObAvLziSS 2k7FBLi4UvA1j6Ovx9ma7TuTOepPX/GjAmWHEd2C7NrdQzCznI8JWUJcjdpmemuhsi SbWDYGTceefle588OxpdZnw9MJytb3/nhlOoqJs1nr2kGaTywMZvIZjKCqSBiLY1l9 ijUw6lR3JWVbnc8G923znFF1x+yDzfM2J7ZrAYSgknUaVdMzecfj47z8BRtKK+1YYy +ka70YBl79s+Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oByCO-0007DB-W7; Thu, 14 Jul 2022 14:44:09 +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 03/30] dt-bindings: phy: qcom,qmp: drop redundant descriptions Date: Thu, 14 Jul 2022 14:43:06 +0200 Message-Id: <20220714124333.27643-4-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop the redundant supply and clock descriptions which did not add much information beyond what can be inferred from the corresponding resource names. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Johan Hovold --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 108 ++++-------------- 1 file changed, 25 insertions(+), 83 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index ec4ddaef2ba9..0359f06bc37d 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -91,17 +91,11 @@ properties: minItems: 1 maxItems: 3 - vdda-phy-supply: - description: - Phandle to a regulator supply to PHY core block. + vdda-phy-supply: true - vdda-pll-supply: - description: - Phandle to 1.8V regulator supply to PHY refclk pll block. + vdda-pll-supply: true - vddp-ref-clk-supply: - description: - Phandle to a regulator supply to any specific refclk pll block. + vddp-ref-clk-supply: true #Required nodes: patternProperties: @@ -134,11 +128,7 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. - - description: Phy common block aux clock. + maxItems: 4 clock-names: items: - const: aux @@ -146,9 +136,7 @@ allOf: - const: ref - const: com_aux resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -166,19 +154,14 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. + maxItems: 3 clock-names: items: - const: aux - const: cfg_ahb - const: ref resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -195,20 +178,14 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. + maxItems: 3 clock-names: items: - const: aux - const: cfg_ahb - const: ref resets: - items: - - description: reset of phy block. - - description: phy common block reset. - - description: phy's ahb cfg block reset. + maxItems: 3 reset-names: items: - const: phy @@ -229,19 +206,14 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. + maxItems: 3 clock-names: items: - const: aux - const: cfg_ahb - const: ref resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -258,14 +230,12 @@ allOf: then: properties: clocks: - items: - - description: 19.2 MHz ref clk. + maxItems: 1 clock-names: items: - const: ref resets: - items: - - description: PHY reset in the UFS controller. + maxItems: 1 reset-names: items: - const: ufsphy @@ -287,16 +257,13 @@ allOf: then: properties: clocks: - items: - - description: 19.2 MHz ref clk. - - description: Phy reference aux clock. + maxItems: 2 clock-names: items: - const: ref - const: ref_aux resets: - items: - - description: PHY reset in the UFS controller. + maxItems: 1 reset-names: items: - const: ufsphy @@ -314,17 +281,13 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. + maxItems: 2 clock-names: items: - const: aux - const: cfg_ahb resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -346,11 +309,7 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: Phy config clock. - - description: 19.2 MHz ref clk. - - description: Phy refgen clk. + maxItems: 4 clock-names: items: - const: aux @@ -358,8 +317,7 @@ allOf: - const: ref - const: refgen resets: - items: - - description: reset of phy block. + maxItems: 1 reset-names: items: - const: phy @@ -378,11 +336,7 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: 19.2 MHz ref clk source. - - description: 19.2 MHz ref clk. - - description: Phy common block aux clock. + maxItems: 4 clock-names: items: - const: aux @@ -390,9 +344,7 @@ allOf: - const: ref - const: com_aux resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -410,19 +362,14 @@ allOf: then: properties: clocks: - items: - - description: Phy aux clock. - - description: 19.2 MHz ref clk. - - description: Phy common block aux clock. + maxItems: 3 clock-names: items: - const: aux - const: ref_clk_src - const: com_aux resets: - items: - - description: reset of phy block. - - description: phy common block reset. + maxItems: 2 reset-names: items: - const: phy @@ -439,19 +386,14 @@ allOf: then: properties: clocks: - items: - - description: Phy config clock. - - description: 19.2 MHz ref clk. - - description: Phy common block aux clock. + maxItems: 3 clock-names: items: - const: cfg_ahb - const: ref - const: com_aux resets: - items: - - description: phy_phy reset. - - description: reset of phy block. + maxItems: 2 reset-names: items: - const: phy_phy -- 2.35.1