From patchwork Mon May 16 06:31:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12850294 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 4E440C433F5 for ; Mon, 16 May 2022 06:32:18 +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=f6d8smQnUOwDBlHydPBm7ImxNHaUshyPlDOe8TV2IRI=; b=eNm23auR5g7DvO kv7HVGPAKNfWHr33RJXSK3CUxmNukeo67PmtbNhcBwE4e930HkQCm6MdLZH66vwXbKNP1pCZORfD2 DhvcaVeg/7HcDqbzP7rzows4F34Qq9NQJvpm6uZt6jxiyF0BG45Dv1CD16mzkosI3Ad+hVso/x6/H 4d/148AjCZ7SDOqAX0Vxbk5kBLQrc1UZBPzyVoPmuuR7iI2b+lxh5g1rTIxmMrA73bw8SJ53U90AM uK+AzKcSYJ0dLckBZFNoBb1oJ3/UB9NpNyo6Po2cIcY8Nabk8r3om02gFwLjYVWSeGq4I6a4v6HvD SlpdlWoPuPpp+NMMm1+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHB-006CoB-Iw; Mon, 16 May 2022 06:32:17 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUH9-006Cmv-AE for linux-phy@lists.infradead.org; Mon, 16 May 2022 06:32:16 +0000 Received: by mail-pf1-x431.google.com with SMTP id c14so13200668pfn.2 for ; Sun, 15 May 2022 23:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BKuEdgC6cXyYmX22Bawlaq+lxNFeROynSrx/FPpZN2U=; b=yyRQJNFN3bheE/7sJQmOi2/U7LkTDZgn11qd5B8F7C3RUduRmNCpQFKnBRicWBQYgE 54Q7IoSIuLalehwp/NBc3OYqoZxzC62YKARj1o9B0Ah/+5zyAP/8Y55FOCmnGosUqyZz Xygp1oEkZtV1pgATydDV16MLY18jF3Ts/W/Aj0lKBJLql+yoKb7bhAM7GwI48ythZHNi bqzsrQz3QbZj9GmGRwyjjBrbWRys4wED29qnMzz+w4s9tRWGaQ5XeO7S9BvF99hEZ1Go ap9dBAoct/rNjxt0uTJxlIFjG7JDHlOGOHNz41SHfJ8WPHyKv7gTaxZT2zL3e9X7ISU8 lIQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BKuEdgC6cXyYmX22Bawlaq+lxNFeROynSrx/FPpZN2U=; b=l1ZcQYZQF8JkDQTbx5XsfWW+01PSr5S87W575MVsEnEx7Qtmvv4ZoJvav93NcanmEB ogQGKjo7WrK90yvsSQOhHYGnoS8FlfE3Lb0tvBUjKIaHTjLCNYOpWkeqqe/Eum0N+PEJ H3Ivg6n8krIRisHj8l+iflBhdkBOc7ui8U08Buu0K8M4uPu8q+c356bVDqlvq1POx+uz Q6VKz+jt3/bnHZ9pFPTw5ckPWCzb+XgsmQcWnfxPWGuC0i6DB4mq5l4ryyNLSJPeQX9a DqIXY3Wic1UD9SXZzF4N0nmM4qza4N5oN3ulbGj9L0wKzWAomgBgp6jP95GOczuzknlr VVHg== X-Gm-Message-State: AOAM532fAl1afKzxA+RtzWoj087Chvuf2QXzF9fexe1kU2Ih7//fOYwU Ne2Ff8+HLqtiOdSM2kXyp2rQEw== X-Google-Smtp-Source: ABdhPJylXrsnGYYOIsSy3nL9TLYTDxgzeFreC7InjnzrowQmv5f7yCP4WAAR0UUE/P4Ioe8gBkkSWA== X-Received: by 2002:a65:6d15:0:b0:382:4e6d:dd0d with SMTP id bf21-20020a656d15000000b003824e6ddd0dmr13758141pgb.333.1652682733250; Sun, 15 May 2022 23:32:13 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:931c:dd30:fa99:963:d0be]) by smtp.gmail.com with ESMTPSA id t9-20020a1709027fc900b0015e8d4eb1e2sm6053647plb.44.2022.05.15.23.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 23:32:13 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, linux-phy@lists.infradead.org, vkoul@kernel.org, konrad.dybcio@somainline.org, Rob Herring Subject: [PATCH v4 1/4] dt-bindings: phy: qcom, qmp: Shift '#clock-cells' property to phy (child) node Date: Mon, 16 May 2022 12:01:52 +0530 Message-Id: <20220516063155.1332683-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> References: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220515_233215_392226_F2F9D4D8 X-CRM114-Status: GOOD ( 10.50 ) 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 Since the clock comes out of the phy (child) node, so clocks are actually not provided by the parent device. The qmp-phy dt-bindings specify the same incorrectly at present. Fix the same. This change helps fix the following 'make dtbs_check' warning(s): sm8350-microsoft-surface-duo2.dt.yaml: phy@1d87000: '#clock-cells' is a required property Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 8b850c5ab116..c39ead81ecd7 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -66,9 +66,6 @@ properties: - description: Address and length of PHY's common serdes block. - description: Address and length of PHY's DP_COM control block. - "#clock-cells": - enum: [ 1, 2 ] - "#address-cells": enum: [ 1, 2 ] @@ -112,11 +109,13 @@ patternProperties: description: Each device node of QMP phy is required to have as many child nodes as the number of lanes the PHY has. + properties: + "#clock-cells": + enum: [ 0, 1, 2 ] required: - compatible - reg - - "#clock-cells" - "#address-cells" - "#size-cells" - ranges @@ -468,7 +467,6 @@ examples: usb_2_qmpphy: phy-wrapper@88eb000 { compatible = "qcom,sdm845-qmp-usb3-uni-phy"; reg = <0x088eb000 0x18c>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x088eb000 0x2000>; From patchwork Mon May 16 06:31:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12850295 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 58CB8C433F5 for ; Mon, 16 May 2022 06:32:22 +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=MI94mEjo3Xj0xeCn3UJwunzeNLonlDsJHsB3O//ew9Y=; b=lc+243ELiOMrDE PhM14JKxDY1gafsvAGZwYc6GG4sSqgX4j9xLepqIv/c9Z+5hDW/huxObgLR61x8CUderNd1lFhV41 UGe9SpP5KRvC3TfTvu4XmpOiwrfw0ajQxKgleBpGCHLlAW32Yfd4fiPwqxeSJVKRWJtOkcRCi6ukj DSmffp1PX23azBpqfARwqnxm0qXUdKYR6K6nVjE6tQ0ZCLMXhANpCO/Nza7OW1I/87MsZotFwU+wi Ibx8E3NBuhUWhi6/+f8TsYHs9NfwdoYCvlxrx4Ir8wpjg7B+c8e3sSrIFbPS13saUEYjAR+s7GDak y1pMORA3N9vOOwq99rEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHF-006Cq1-Nx; Mon, 16 May 2022 06:32:21 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHD-006Co9-Dm for linux-phy@lists.infradead.org; Mon, 16 May 2022 06:32:20 +0000 Received: by mail-pj1-x1032.google.com with SMTP id l14so2624511pjk.2 for ; Sun, 15 May 2022 23:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jdmbUEtqc6R+81RJjn7yVPjYknzOyR+oSn5z7Aqd9e0=; b=OH/1ky2VLUE2JS1lwgNAgz7VzWT3JSE38g+I2NFeWPMCH3lpuj0/n7IL7mhhoIFM+a LxNU01lpE0Gvd3GFM11YxCrbG8ud8lTtM739fvPEUU9upSV0QMrvAME9ApZ48FFFM80b PZKVE4puJ/DgiqPqkQ6cX8JXTZoqwaZ9+tBaiLhHQkciGp66v6+uANjn0asf9Ea5HaU7 1tRSQB5uIuQsyiMyEmNrtWAxTBY0FxW8LO2IJahyrgf/CzFd0oBB2mUVn87oYb/IWzZY Z1Xyi3YwigWdmbO/vfrTq4wAQPN3ff3uC6ec6MBjR0M6zUYLSWECCyYJZV5aMopuvWUs LTiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jdmbUEtqc6R+81RJjn7yVPjYknzOyR+oSn5z7Aqd9e0=; b=qnJUUNR6ASR+Dj3ulIoR8me8aueCjoos1EmBvFY/BWWQouq6RMd8BaAWs9mno574ic zhCHekK0YOvImjqt1SdtDrRaDFnIgshgYuYJz4uaM5UbYM22wOnuM8vKcmRC3oKbPe0H GMPqLsbCR9dywaOPRSTHJ3Ao6E3Z79H+fyWOXUnE6Rb4dudNVOQTXNafLxQnQuUd+zcL ASsTzdNleR/TDeGK1hxxI+fXVVNTcvdl7NNn3GYY601YqPwFZBzjv7x1W9R0LiKXYpi5 2Pu7LNuAirTq3tf/OXiVgQci/ZCm7fT3Y7/oI+NBdSfSROsGFqzPJmi7rtbH3W11t6ZK KE7A== X-Gm-Message-State: AOAM531danWopQ+Vcex4GGb5hd77U/UHVdOxUJyLbDi4gmrbF4wLxJQn nCMsha/3C0nOzH9zcZX/xBlf4i3YvZlzPQ== X-Google-Smtp-Source: ABdhPJxCFLmPGA6bODEQcTTvzOch+nxeO70Q+PGp3WF7oG5Mzni+CVw4ui0J66Xm0GpgK8Rj3Vm/Wg== X-Received: by 2002:a17:90b:1a88:b0:1dc:8e84:9133 with SMTP id ng8-20020a17090b1a8800b001dc8e849133mr17692222pjb.231.1652682737013; Sun, 15 May 2022 23:32:17 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:931c:dd30:fa99:963:d0be]) by smtp.gmail.com with ESMTPSA id t9-20020a1709027fc900b0015e8d4eb1e2sm6053647plb.44.2022.05.15.23.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 23:32:16 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, linux-phy@lists.infradead.org, vkoul@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH v4 2/4] dt-bindings: phy: qcom, qmp: Describe phy@ subnode properly Date: Mon, 16 May 2022 12:01:53 +0530 Message-Id: <20220516063155.1332683-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> References: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220515_233219_512380_30AE41BD X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. 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 Currently the qcom,qmp-phy dt-binding doesn't describe the 'reg' and '#phy-cells' properties for the phy@ subnode. Fix the same. Cc: Bjorn Andersson Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index c39ead81ecd7..60ab494df975 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -110,6 +110,18 @@ patternProperties: Each device node of QMP phy is required to have as many child nodes as the number of lanes the PHY has. properties: + reg: + minItems: 1 + maxItems: 6 + description: | + List of offset and length pairs of register sets for PHY blocks. + There are two possible cases:: + - tx, rx, pcs and pcs_misc. + - tx, rx, pcs, tx2, rx2 and pcs_misc. + + "#phy-cells": + const: 0 + "#clock-cells": enum: [ 0, 1, 2 ] From patchwork Mon May 16 06:31:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12850296 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 73724C433FE for ; Mon, 16 May 2022 06:32:25 +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=6EdQ4d2VQrIMCuuIFY+Md7A6jR7rORiAkoRTTmHYj6g=; b=R5ZMcEMfqACUmW qYRdVsa2p4t3d4GpIhFIECGE7faAI1kgDQmoMslDCW6T9bnnUWRbCBj9YiwWqTGFyxWsP6dFhJZDp UN+3JabgLc4Mk3lOPr6vYvPHfq0vBmU2ed0TXKE3NbmtCNWNmtJrk1N23MjAoPTrXn3JAKbRqKPA6 tecpQtPHkT8UCbF23wFcNr3j+vN+d/wGvegPLzDak1EBC6alt2hTk9+yxT6HPXBtnnyGz4TChDd7Z ygJ7a2racwj0kj0sl7T8TUqhsMEMOO/a6pNqgLIU5kVwzy6bvzZD9FtqcH+2F3DUiReKyBIUrz8vL pGbWVga3yhA3kZYZprpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHI-006Cr6-R6; Mon, 16 May 2022 06:32:24 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHG-006CpK-NT for linux-phy@lists.infradead.org; Mon, 16 May 2022 06:32:24 +0000 Received: by mail-pj1-x102b.google.com with SMTP id gg20so3481958pjb.1 for ; Sun, 15 May 2022 23:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZnGJlvnGMiDx5UJTsjZY8cbmPSUgi63UDEbXgnLRWFI=; b=QHdA8yNWeLoobNesmZ6p7lpMmSdLzZ0FYpXrljyxYz590HfGgy54FuWQPNoSu8RkfT fxcQBt+3rypT1bV1OTvaUtgh9TBfuN8GzZso8WLwiwsFHwCykBIfbzs/eM2IJNlC+gwV oPDbjluvXHurap4X5jOjeT9T+V2CXgUrXB51jGMwVxH/nUZCgt85s64/MPJmtB3jwDd/ huCSA9lh6XfLV3o12yh80LEW3vFmHJPPRQEemtQsOA46GojLIqxuQdqtnnRwT7P+O0PX WiTxF8nze18d/7RwM7YPNzYPS1U8HwrA3MWT+3ceJRvv3NNDNxTxcj2JuZuLAEijW1rM 6H5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZnGJlvnGMiDx5UJTsjZY8cbmPSUgi63UDEbXgnLRWFI=; b=1ntXuUM1UB7XHgeMdqRa42N/Ootheyqyu6Gu2Wgrw5ZrZAw/kziAFlDCItCgk9Jhnf 9QZ2Lxb0TaSbXNEtgea78YWT0nEjZMEv1AHcbNcu2w+XLK28f0xi9t9oHUOCP/NKdNlI WdlciUFF8YZ4i5o4sZ1kX2c5cDLVHJdBxX4YyYmx+fcQ91h2rhAwMrakRiIdkghg8uw+ 3we24cS7zbu5w3m4QH8OKGlxfi6obh0PMvtIecEglhWhDiRfaEZ84Vr/Chwzc8yk0MFN f1XPbv5cu4/JvoVAURglErxKLFShxHs2tdpOf0MY/ZZOSkqOqF8DmmTw+aSLdW9L/bQ1 0wuw== X-Gm-Message-State: AOAM530AIugcy9gjtM85x9HC1TGMOAH9s/U4u21kWFElyxJKj8ybWs/n A3tx5O5/KH9hj7HsJv85ZMdb1A== X-Google-Smtp-Source: ABdhPJwRDeYx9cR3OoMIgCswNSH0r6L5bJFZWM/OpX2bEdoyy3HWvdyW19fUKUK2a5nOI2m/jrfbaw== X-Received: by 2002:a17:902:a585:b0:14d:58ef:65 with SMTP id az5-20020a170902a58500b0014d58ef0065mr16394014plb.139.1652682740697; Sun, 15 May 2022 23:32:20 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:931c:dd30:fa99:963:d0be]) by smtp.gmail.com with ESMTPSA id t9-20020a1709027fc900b0015e8d4eb1e2sm6053647plb.44.2022.05.15.23.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 23:32:20 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, linux-phy@lists.infradead.org, vkoul@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH v4 3/4] dt-bindings: phy: qcom, qmp: Add 'power-domains' property Date: Mon, 16 May 2022 12:01:54 +0530 Message-Id: <20220516063155.1332683-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> References: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220515_233222_825094_568CE7E6 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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 Fix the following 'make dtbs_check' error with the 'qcom,qmp-phy' bindings: arch/arm64/boot/dts/qcom/sm8150-mtp.dtb: phy@1d87000: 'power-domains' does not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+' Cc: Bjorn Andersson Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 60ab494df975..c5d4c8152699 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -102,6 +102,10 @@ properties: description: Phandle to a regulator supply to any specific refclk pll block. + power-domains: + description: Phandle to the power domain node. + maxItems: 1 + #Required nodes: patternProperties: "^phy@[0-9a-f]+$": From patchwork Mon May 16 06:31:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12850297 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 85B49C433EF for ; Mon, 16 May 2022 06:32:31 +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=seLuyx/42B61om2LEpoVRrRiaSgqIdRSAEnTvft1PMU=; b=UPeulpkO7/e/z4 J9uEbDMfGA/65r59iVwnslekilA6+m2sA79c/wfsCUv63iWMEKyMUvPEHtQC2fsLdFYERWeQzAxNv vtLSd7Bv5tcBnH8cLSAHAfmU9QoFcKpG7HAhMoNyW8Lpv250Jg+4KobqzLp0kt+94nH5gMM3nz5WE 5/36GEP8T6IlKwQXuNjxspRtSdtKuDXr47Vz7QmJEp8UsTzgrLXBeYYDW3mAOYEXZOs0n2qfwi5f3 RkBLXAjOSb40pZEtXLHdfMrvwoQt+S3rgHD5V2buMwOTrfA9vv3fVqzjiZldLwWmqTzsRjMADTYLT ppTnr/Rek40inYE0xb+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHO-006Ctb-45; Mon, 16 May 2022 06:32:30 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqUHL-006Cr5-5x for linux-phy@lists.infradead.org; Mon, 16 May 2022 06:32:28 +0000 Received: by mail-pj1-x1030.google.com with SMTP id w17-20020a17090a529100b001db302efed6so13390229pjh.4 for ; Sun, 15 May 2022 23:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QXhchf3VZKM2/quDawnPGLqCcD7r9Df6+XHBYX2DLsI=; b=er+husaPM6oUMR/bWv0fOcpxSi2F07vVoxYoQRvWEU20qdK+AHjaR824zZ4BBvjdz2 9juGiROZhRQy45WF2Py9fdiQnSdtVUta1MELqb0a6ZzRpEyttkF4Dzj1C9EgrSH0sD4j Qarm+ZmBChiwCacKzgsCYqDpRrlbyNPBwQBgdp0qcSmDZ/qMs6CMQiTIhs9zME5YV2cz zdWgJzYVlei+u7i15OjihA4/RvkrR3RMu6BGx0ecJ8HY1cdvwYC23438yH9lSsTUJKz0 AD0LuTP8wW6SPGQfZXJDP+bMEgFobLChWxDHqw1GiHIYKKLqNF5mrNIMNf+DFVIDkPhu rsJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QXhchf3VZKM2/quDawnPGLqCcD7r9Df6+XHBYX2DLsI=; b=tGTJP8+mgol8FREyqi9L2Z7BkL6eTfUgpHaGeVIf4lw9Rm3FIn7pndOGX7H0QgzoSZ FWHAvgoZQ9gJWkS4ZN/XpOOCvYL/yTo1Y6OIC7Xc1/VFfHQ2Rx6XlHMaXrlvb/3mnxeI V3DdtdGnDtDOP7WYO2W3FrkMdQgWVupXAL2bjXsl5SMZKZ4wR9rppmUeqUWF3PvayChD QIod9LjNH83hrrYhHTrx80J44HkUV+TC+ppHvAwnrSLwO4TKgEoE9j3kS8pilehdO85w YeaWjduE9z5Fh1+98mMul4iRznQWqo7oyJ3WaVKrE01p+XeVZBoTDNI9z1XIMCSshc4V dkvQ== X-Gm-Message-State: AOAM531hsQmHBc5lg6+iugDqORy1Lbj0TB8fuE69iP9s8rqIA9X+MiMg hiPh6dVsTu0ZyiZMG076CW2Kmg== X-Google-Smtp-Source: ABdhPJw4tg2JjTIDpk5FTyBYQIZzrMbZuhGEPyGCIJmecDah5IQiCWbIKNXw1HQrXySzm9W2UOo0lg== X-Received: by 2002:a17:903:1205:b0:15e:8cbc:fd2b with SMTP id l5-20020a170903120500b0015e8cbcfd2bmr16225656plh.99.1652682744269; Sun, 15 May 2022 23:32:24 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:931c:dd30:fa99:963:d0be]) by smtp.gmail.com with ESMTPSA id t9-20020a1709027fc900b0015e8d4eb1e2sm6053647plb.44.2022.05.15.23.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 23:32:24 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, linux-phy@lists.infradead.org, vkoul@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH v4 4/4] arm64: dts: qcom: Remove unused 'vdda-max-microamp' & 'vdda-pll-max-microamp' properties Date: Mon, 16 May 2022 12:01:55 +0530 Message-Id: <20220516063155.1332683-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> References: <20220516063155.1332683-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220515_233227_281784_10E223B7 X-CRM114-Status: GOOD ( 10.59 ) 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 As Bjorn noted in [1], since the qmp phy driver doesn't use the 'vdda-max-microamp' & 'vdda-pll-max-microamp' properties currently, let's remove them from the dts files as well. Otherwise, it leads to the following '$ make dtbs_check' warning(s): sm8350-microsoft-surface-duo2.dt.yaml: phy@1d87000: 'vdda-max-microamp', 'vdda-pll-max-microamp' do not match any of the regexes: '^phy@[0-9a-f]+$', 'pinctrl-[0-9]+ If later on the driver support is added, we can add these properties back to the dts files. [1]. https://lore.kernel.org/linux-arm-msm/YmQhpsmiYJzR99LK@ripper/ Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts | 2 -- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 2 -- arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 2 -- 3 files changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts b/arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts index 9a6faa9393dc..9c4cfd995ff2 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-microsoft-surface-duo2.dts @@ -336,9 +336,7 @@ &ufs_mem_phy { status = "okay"; vdda-phy-supply = <&vreg_l5b_0p88>; - vdda-max-microamp = <91600>; vdda-pll-supply = <&vreg_l6b_1p2>; - vdda-pll-max-microamp = <19000>; }; &usb_1 { diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 4e51a9d6af98..38ccd44620d0 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -418,8 +418,6 @@ &ufs_mem_phy { vdda-phy-supply = <&vreg_l5b_0p88>; vdda-pll-supply = <&vreg_l6b_1p2>; - vdda-max-microamp = <173000>; - vdda-pll-max-microamp = <24900>; }; &usb_1 { diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts index 236e53974fdd..e58fc7399799 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts @@ -424,8 +424,6 @@ &ufs_mem_phy { vdda-phy-supply = <&vreg_l5b_0p88>; vdda-pll-supply = <&vreg_l6b_1p2>; - vdda-max-microamp = <173000>; - vdda-pll-max-microamp = <24900>; }; &usb_1 {