From patchwork Mon Apr 18 20:55:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12817092 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 DA260C433FE for ; Mon, 18 Apr 2022 20:55:30 +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=+tzUT2l7yDNkVMhOJtQwE2B7HIOwKEPZq0G6lLp4ILg=; b=Cv6Bsb4f4Hpkx4 TaSzs9t9R3iRAwzmD4B5E6JOMewmwJFPbTnceK/7McZ1CwYs7nQuGQP6pBVuaSTs700FBXoK+fU+t 0UFStjUxigcEXvQf/h47Gg3wySRyH1hVlmwY8+Eqwdpvj7x54zd6sRn+cAhxZeePsdh/DjlpnPua+ D+wx7nzEufFssiq9Jm89Dyh9HVCQoPdK8BjPcVwwWVGeeAQurWhn6Jlx8t/+d3TpcXoBIkvKHBDac vgj05kCyJi1jsEhZBn3KuE19HtIhrLu0wxWdqcf+RSD1PRuO3sFTAd4DANcx5EhsWvryAzvLj7kXe GX5KVKf2IMgGMg4KUkSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPC-000ZNh-Bd; Mon, 18 Apr 2022 20:55:30 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYP9-000ZMH-Bz for linux-phy@lists.infradead.org; Mon, 18 Apr 2022 20:55:28 +0000 Received: by mail-pj1-x1033.google.com with SMTP id e62-20020a17090a6fc400b001d2cd8e9b0aso260652pjk.5 for ; Mon, 18 Apr 2022 13:55: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=JoIn1027OXzmCOA2cCIKja8ksqjeKwGtO2KGzYKS9Ks=; b=sFoUtadypX7gqBjas8UAvAivDUUHJ3TkJ/7D7V3FS7IidpuxNkl4+GnnY+T3HKSvCp 9IBVuxpeTza06vtoznlZWV7zu5d+yj7uueGiZdOoFqdSlDxPYA/bFH9Pw8h7KUuDPeHa BYnA+pPQbi7Xqwa1r/WvifijgtO7RkTqck03FcrEdONmeCkB4AIB/QKT16U2v9BdumXa +XhSrs7Q5rQRNldzVYtpTeGhW+VZrnXhk/QgYIq2g29edpPA+xS68aULSj8Htqlfrdkh i6azEtVU1NyL6F9XcKbHAMoqhKZqHQCTwAVVDg7tPY9pTq3J71uhUkfIPRJpaY14Jc0O o6cQ== 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=JoIn1027OXzmCOA2cCIKja8ksqjeKwGtO2KGzYKS9Ks=; b=lFvVoGxpIOUojqNPru5SLz7Ldo5laC/7DGy4+717Hu2ObUPTYunkF0ojeQ3DpiYOm6 qTZxXhgUUp8HEWck77BNibrPASWRd7iG0PLp1+GXPw9j4HJnPMfgdi0WNpeuTc7ssaLQ 0G1va1x/UNqtomJrTkdHnzHBnFMaTCB9iQ3/wdom53SLPQfJD9kvphh1HSkiphz6EETA w6eRChYYDxDxsFLIZ3zsrs5iXMo5KpEE/T8aXf+G4BPZF4fghjGVeMW6J31yMj7+gnx/ +MKChz1IZj7nApIASInyXzKLgMfdb9iy3I3dr4HrDsUNAgGkV2bfXHTKDf3o0uLSQ9yM R2Ng== X-Gm-Message-State: AOAM532v8wJdNLVoLITfdygB9qFqs3a2TbQI44wGrYug3QJ+3M3zbUSZ Il8qV3NseCsU4vHLc3mThAtJ2Q== X-Google-Smtp-Source: ABdhPJya8fFGhzAYTYuKY4DalPfaHk5aNAbffZoalJqGmb12zkn+RpS27NCCDphkFcei7WJjWEBecw== X-Received: by 2002:a17:90b:1b52:b0:1d2:8d55:ad6d with SMTP id nv18-20020a17090b1b5200b001d28d55ad6dmr8382779pjb.223.1650315323758; Mon, 18 Apr 2022 13:55:23 -0700 (PDT) Received: from localhost.localdomain ([223.233.64.97]) by smtp.gmail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm13498859pja.26.2022.04.18.13.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 13:55:23 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org, bjorn.andersson@linaro.org Subject: [PATCH v3 1/4] dt-bindings: phy: qcom, qmp: Mark '#clock-cells' as a 'optional' property Date: Tue, 19 Apr 2022 02:25:06 +0530 Message-Id: <20220418205509.1102109-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> References: <20220418205509.1102109-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-20220418_135527_443189_CE9A032A X-CRM114-Status: GOOD ( 11.49 ) 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 '#clock-cells' is not a required property for qmp-phy(s) in the '/' node, but it should be is used in 'phy@' subnode (where it is actually a 'required' property). Fix the same. This also fixes 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 Apr 18 20:55:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12817093 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 EB99DC433EF for ; Mon, 18 Apr 2022 20:55:32 +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=g2pdx2fV0xYfOXqdiKuO+ibCrDZ3djhvDC9zqvDLqWY=; b=eZWHzMvRO7X23q sp7uD3Zlroe13KBOymcC02NVIUfUr3BrzU5+fjRPBls36afIxFvu039A8xKqp53IF69AERy3a5aVX /10Tc/zd49yU1tPRtmiSlkreCo/WipkLv+wH3vka2KNiJ1ncWWGkZL/HE5ZUfvpmmBbCo8gU76Qac vQOU078ZbfWeAnhg3Dj/SF7rLuE1dflnkMPji0yAPOlM2rtLJTbGlxALRDn4P3yGthAaW4wR24ti4 ZXbCsVnK9qP/bdm+Y4toPTXMjw5JRg1XqkhvLSDNHjn+gAnozlbfSEfi7QHP+U2ravFlIPAkgQFQi W+0HpBRSBySOXqbNcDqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPE-000ZOs-E7; Mon, 18 Apr 2022 20:55:32 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPB-000ZN1-Bd for linux-phy@lists.infradead.org; Mon, 18 Apr 2022 20:55:30 +0000 Received: by mail-pl1-x634.google.com with SMTP id c12so13306963plr.6 for ; Mon, 18 Apr 2022 13:55:28 -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=D0Pjpfn2h0yHA4TyFo3s+oy60CYDgrzpwwB8+O7oCMY=; b=HvgHMUy3tMeM5vAlg+/qjER3cYlHYMvZqF9VwrgEXtvDAfHEKW/r6IBuA3bHr1gRel PqaEiBr525Rez57geXplrTu07ozMeSXXu+UtO3uj+qY2Ga4MlLr0XTjKA4UAko6YEmaM Y8X/wMzNJgMKkoolA0LzjTe7z8rDMzTRYDdN8p8pNGyqKlBenybP7l4ZY4U1o5ynUxos 0lbplO8t3UgNNBBRp6BnElDw/Ejp83Ol9F+yAQPkf+GcrZJMKef96dFcEBj5weJLzNWO 5Bd+qWwozOxL+T2F6BOTtGKTSKEa3nWbqh7xzKdWTBjCgynK+EKzw3tKO2cj3zl0fs6J 63tA== 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=D0Pjpfn2h0yHA4TyFo3s+oy60CYDgrzpwwB8+O7oCMY=; b=KPFr1QjtUePW6Os4w8KuZwXIqpZsJ8gJW3/LIASWs6Kaei1+U8XPk1FCh3Vx7kkntI MqY0HCxJPtgmsRuTmvAPngefGKDso/T34lqecPb6O1pwk/TZ1v8GXwINhRNGgYFepW54 UM3zy5n9Hwwn3UKNFW/lnKvpO26yZiCjQ427Jz+G40mieVKlTA+kqC13EIC4nNUsfaq3 nJJBx0ypjsCUYBzp5zfHamdgRmkfcKjYSLmwkn+yL8Q/oHYse361LXbC1lYLM8+Mm2DX B3jr5bpRhC5BbMdiCKvGOnbqMBkbQg13W5EeV+Pek2OmKc7hGVSWrRAiukgy8xhTHFzS rrSw== X-Gm-Message-State: AOAM533J9o6iZ5ranKLpZyxMpSqDkZXkpYjFCYx288zxi5tToiYl1fy/ zzWYjtMrbVMfRkhwYwN8gAXM9g== X-Google-Smtp-Source: ABdhPJwl2UU7NwRV0JPA/XtwgOxGT0J8cWxLkO0H3u0pjHgvrIEnU8T/NUk/ebucQrcnzR3lddNO3Q== X-Received: by 2002:a17:90a:e103:b0:1cb:a0b3:805e with SMTP id c3-20020a17090ae10300b001cba0b3805emr20183027pjz.185.1650315328212; Mon, 18 Apr 2022 13:55:28 -0700 (PDT) Received: from localhost.localdomain ([223.233.64.97]) by smtp.gmail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm13498859pja.26.2022.04.18.13.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 13:55:27 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org, bjorn.andersson@linaro.org, Rob Herring Subject: [PATCH v3 2/4] dt-bindings: phy: qcom, qmp: Describe 'vdda-max-microamp' & 'vdda-pll-max-microamp' properties Date: Tue, 19 Apr 2022 02:25:07 +0530 Message-Id: <20220418205509.1102109-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> References: <20220418205509.1102109-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-20220418_135529_430720_E2C88F99 X-CRM114-Status: GOOD ( 10.56 ) 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 a few boards based on QCoM qmp phy use the 'vdda-max-microamp' & 'vdda-pll-max-microamp' properties to describe the ufs phy nodes, add them to the dt-bindings doc as well. This fixes 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]+' Cc: Bjorn Andersson Cc: Vinod Koul Acked-by: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index c39ead81ecd7..411c79dbfa15 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -90,6 +90,14 @@ properties: minItems: 1 maxItems: 3 + vdda-max-microamp: + description: + Specifies max. load that can be drawn from phy supply. + + vdda-pll-max-microamp: + description: + Specifies max. load that can be drawn from pll supply. + vdda-phy-supply: description: Phandle to a regulator supply to PHY core block. From patchwork Mon Apr 18 20:55:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12817094 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 564F4C433F5 for ; Mon, 18 Apr 2022 20:55:37 +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=6glFy5ByJxpp4zqoo/cKZCLynt61oBMINuR6YA6879w=; b=BCjcq27T0JY1M2 +lzAYtnAVk70RjLE9wd5XOvp2Zjxi5zk2uAtt0jJU7xEOm1NY5S2ZAsd9oZFWAJfn8V4BD3D6RVws f2pMM5Ua0mH7ApTjo8XnM87qexB/qv9Lpqfl7/R3R8LYZVTkyMNdnjkGiXA4fwCs7WqaPFOaJ8ggc Pd1x+Ozjdy4Rg3cHwbnlAKuCCL0vctyilazSCWQ2pSN2UKSXiOXsO/ZABRYjXB5sAJm8r8EtBtvvB HP4wNcuxde8bNHkPYyB2qJ6hV/1EX+HL/t6m54nE9ED/L4IDIDlL1nQDVFGTnDQAz6xA2t9Bo2SST OA+Zkb4LpZum15iYru/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPI-000ZQR-Na; Mon, 18 Apr 2022 20:55:36 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPG-000ZPW-Nl for linux-phy@lists.infradead.org; Mon, 18 Apr 2022 20:55:36 +0000 Received: by mail-pg1-x533.google.com with SMTP id h5so20988414pgc.7 for ; Mon, 18 Apr 2022 13:55:33 -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=Xw/vgMNofUgBnVmoZbEauz1tI3WPtVvKx2FohpHzj4E=; b=HdT/KW3ntQtQ70sw/QSrfqQEOauDt7wfRW60u38kjHx0VcbPZDEu0ErguTVWyGG8kN CD1fdPfvUiuuGvMO0lofZuJ4HOD+swuI0SfXUXNUpfrCRzTZ6Pql+13UUiQXgslnQ+c3 3ZYlHgv576Gt7p+1vr6r7G0OdTaXKe/1T3of2pmEPwGHyjRkjtI6A0zqGxJN6H4vZgMY kMwhn7e7LxTVuVNBSL+HHB+/FEcOBZ9IDhHSNigMmsOYJHnVz5q9dLoJv52tgN+pWoZv 7t5o9ppZ3Uf7AbnxaLqXpoUGjvAdZhqyRMrQqehkEmeekmxpal8GNJmLfa1eNVsoLHOb Z0fw== 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=Xw/vgMNofUgBnVmoZbEauz1tI3WPtVvKx2FohpHzj4E=; b=CBANxuhtPom26fV2Mhcy7nZT/398dxfPOQKOq+BQh6/FYfChQKXPwTNmhAUvtfjXYC MHXT6Z6x/J/pX6TZGaECbYItnrLMLzmTMfH77R/8Yeyf8tKC3WveJkfY8sNief2jB8db 7POC2bqvsvinuoclS6xwtP43P7l9AEj3tCrzkIFxqlYjv5gB026p7OTHBTSuh0Q6Oobw p33AmaWPCS2Vc3/F2XafpEl6sHhPlyLbJMLS5pmvCrfEYKmgjZs6zFG2FHoYZLcO3VDF vmOVJGRj1Un30pE9wbT3kVt/SMhEjCqrd5opAYRhjxWSpK/dh/FsFG/744FgUhosukH3 mWLA== X-Gm-Message-State: AOAM532DC1BNGae/klDQkBTpYHGGsoSv2xaCXq5Zkh7RlYXF3lx3AOe7 auuPzbOR4JQTnf1/MWJjdPvpoA== X-Google-Smtp-Source: ABdhPJwkboq8ZJahmcGcPyXzVJtjEalb/XDQsZZaBJsDaW8NxYg6dqDu8lEec23LWDaVnX39NogOGg== X-Received: by 2002:a62:a50a:0:b0:506:cef:44f5 with SMTP id v10-20020a62a50a000000b005060cef44f5mr14154397pfm.22.1650315333072; Mon, 18 Apr 2022 13:55:33 -0700 (PDT) Received: from localhost.localdomain ([223.233.64.97]) by smtp.gmail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm13498859pja.26.2022.04.18.13.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 13:55:32 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org, bjorn.andersson@linaro.org, Rob Herring Subject: [PATCH v3 3/4] dt-bindings: phy: qcom, qmp: Describe phy@ subnode properly Date: Tue, 19 Apr 2022 02:25:08 +0530 Message-Id: <20220418205509.1102109-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> References: <20220418205509.1102109-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-20220418_135534_814196_CAF000CF X-CRM114-Status: UNSURE ( 9.28 ) 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 411c79dbfa15..c553c8ad0d1a 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -118,6 +118,19 @@ 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 + items: + description: | + List of offset and length pairs of register sets for PHY blocks. + common block control registers, such as - SW_RESET, START_CTRL. + pcs registers, such as - PCS_STATUS, POWER_DOWN_CONTROL, + pcs misc registers, such as - PCS_MISC_TYPEC_CTRL. + + "#phy-cells": + const: 0 + "#clock-cells": enum: [ 0, 1, 2 ] From patchwork Mon Apr 18 20:55:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12817095 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 665D5C433FE for ; Mon, 18 Apr 2022 20:55:42 +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=qtqYPzt0fqbQXDHdgEB4Stut7eVSHmlVC9c8YZggKxQ=; b=OE/4ekH1vXTub9 Vyn5Bvi7dkUCSxT3SzVUiQzkC2/EoW0FzkdbGs42SOvkeONXFf5s0vpkqKB/ha8mQ3fYlaPrinael tlLXdW4EHD/8j37f5mZb7pT+Jzf9VZFUPZuKOLBkm8CpMyqUfEv6s3dOsA635XVA1UtZjFWjn+fYT DKkD8j40CDJdTbcGRjEplKM1aBD7dp6nRedAWf8kELBNxC/I0FoUlU1nYwsBER2me+ziykyDbvFOU 82TmpAZd3zQfnYrZhqByZ297d/FsOuydDScJg9FdvV6kfybZfbS/xeeHnVu7lZDRZrHauIRiZGyGc O+UGZe9O92Fm2bfRzorQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPN-000ZS4-R0; Mon, 18 Apr 2022 20:55:41 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngYPL-000ZQr-AD for linux-phy@lists.infradead.org; Mon, 18 Apr 2022 20:55:40 +0000 Received: by mail-pg1-x536.google.com with SMTP id t13so21002692pgn.8 for ; Mon, 18 Apr 2022 13:55:38 -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=X5lGqMUBSdh+IsaWIFm9V2j3b3mWZ6jlDPDrC88fnn8=; b=hiE5I/10WBJRaFjNB6D/rRDZwXT/xuzJ2mj/Av1hWwh/BVRDmp1J0lAnKOcKKQPx9w UTmzlIqdsx1fJILGPHYKP0DquFNZbHnpRp/YbBhsAE0yJEK4vpsvzPyO7V8yil8s7pNU TYMDFqWOE05ZLRriNXZJ2jZB3O/5poojPUspgV8VYgWVlExnPm0VQ3F4YoimVaGlYn7l rJseCXn2+iETxSxUVtsx+nlGqHn1TNOzitqBya4KU1V3DklWGBaLEUnCNjbt8zwVB1tP qth61vRmVDVBPf4XjSG26Qt393j5w3aMQfTAvEQaDlpGH0GBRAEyCDYg4uLbEGh34Lde yLzQ== 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=X5lGqMUBSdh+IsaWIFm9V2j3b3mWZ6jlDPDrC88fnn8=; b=PEJRa/EIMNzaRZBiI0xfM9L0V8ZByflfC3Zb6iEz6i1GVPmegTmU8NCdNzTU4cGj+N Rhyh/muq3HjUI9yxWQK7xuTAnX/4eOmIs7mQBRMsIdndJWCFOxqSMi6SvXcJfpLa+COk sGXmtOzZKceMrwaUgVfl47cRleRBcIKw4GJ8gXF/YJCGRfRjkpGRMa+bTIU3kdQarI3U tzTANcliGqp5OPZVdW197dXIhnIQ7vngTIO1MwtMLg2KhrywxjeqKlBv/OSEIqDyotgs wejIrUcZbON1YPEoX8DsB3PD8uNl0m7hSfry3HgdF8ijzgjan6/vr53QSkGY8d3tctOr 3QpA== X-Gm-Message-State: AOAM530CY+Dfbw83ShnwUv/sDUCmm08OgIscsHgcfWXA11b4Bm73xUiD 8ldzuOzoET5e0Do2TS3AmEjYpb/tyR4NPg== X-Google-Smtp-Source: ABdhPJz0GZ8rmXR8DQp/WwKaRGivzMhug8KVXDar9yqo3iYmc/+XHEC2EuSLHiOZul7woMMVqAgFIQ== X-Received: by 2002:aa7:8049:0:b0:4fd:bfde:45eb with SMTP id y9-20020aa78049000000b004fdbfde45ebmr14262857pfm.76.1650315337740; Mon, 18 Apr 2022 13:55:37 -0700 (PDT) Received: from localhost.localdomain ([223.233.64.97]) by smtp.gmail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm13498859pja.26.2022.04.18.13.55.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 13:55:37 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org, bjorn.andersson@linaro.org, Rob Herring Subject: [PATCH v3 4/4] arm64: dts: qcom: sm8450: Fix qmp phy node (use phy@ instead of lanes@) Date: Tue, 19 Apr 2022 02:25:09 +0530 Message-Id: <20220418205509.1102109-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> References: <20220418205509.1102109-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-20220418_135539_389173_973A1C03 X-CRM114-Status: GOOD ( 10.64 ) 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' warning(s) by using phy@ instead of lanes@: arch/arm64/boot/dts/qcom/sm8450-hdk.dtb: phy@1c0f000: 'lanes@1c0e000' 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 --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 2cfc67b75259..721bd9495eb6 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -851,7 +851,7 @@ pcie0_phy: phy@1c06000 { status = "disabled"; - pcie0_lane: lanes@1c06200 { + pcie0_lane: phy@1c06200 { reg = <0 0x1c06e00 0 0x200>, /* tx */ <0 0x1c07000 0 0x200>, /* rx */ <0 0x1c06200 0 0x200>, /* pcs */ @@ -958,7 +958,7 @@ pcie1_phy: phy@1c0f000 { status = "disabled"; - pcie1_lane: lanes@1c0e000 { + pcie1_lane: phy@1c0e000 { reg = <0 0x1c0e000 0 0x200>, /* tx */ <0 0x1c0e200 0 0x300>, /* rx */ <0 0x1c0f200 0 0x200>, /* pcs */