From patchwork Wed Nov 23 10:44:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 628413 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 C6EAFC3A59F for ; Wed, 23 Nov 2022 10:56:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236199AbiKWK4E (ORCPT ); Wed, 23 Nov 2022 05:56:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236842AbiKWKzW (ORCPT ); Wed, 23 Nov 2022 05:55:22 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43EF4EA9 for ; Wed, 23 Nov 2022 02:44:47 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id c1so27564091lfi.7 for ; Wed, 23 Nov 2022 02:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Bda09macuyK5fYNXnbLx3WrcVV5Sb23aKOiNbSvBd8U=; b=jekgNuCk4zXNuk2nmghYikACoNtSbi0eNG1Jw+T0c8um+N5/b8wVcIxQRkJ9UC3A8m 3vh1tLuWfCeHVTitGT34LR0GdfbEgwzPIJjrhc4+4LcNkOGUTosfGDDZJvGCFC5ghJvP kIHBVEVwE+fvQDt1gWE7xnm20lutYhBCKHx5WCdxUE83ZJakKBLSEvERuJMiWbCkNqE0 D/4Rjxf9/OODoDtkqes6/VXxaTOzQawJksqFqJLtLlV0OuXy5hJmzceevAXxiqPtrl6L YO1eLtrGY4SyI0CfW5MpEeeilrqUrajXg/ljOwrnGgR9E1NQB+Xt+t0qe2LiwqkcBh36 sgnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Bda09macuyK5fYNXnbLx3WrcVV5Sb23aKOiNbSvBd8U=; b=xRt75DpyGUrr4hOLHl2JAmQhMEevnDo8fJ9IhmaLoJMvi00vJ5NMI3V/94xA/Tk8s8 ySnKOhXlXHO4y5XcV5d9mD6bs9TFIZDezAwG/qzARwR1mYr7clhpN65y0U7+W7YNqQ+D 7nvIRF7j8LsBBdarJrAH2OV3JzxvswUzIUSTUW4aI5nXUEtHhzW6GQpA4x396xZL+Zyd mPfLDk5LwhmzR5fN58UqKHYkqqrTnWUd6qDD0QuDxSygBZGnlvRHPNY+w2CQM3x0VTGk 8wuThK/0tAOFvILihoqGXHTPbl6RJQeI88nj9k/eTORzhVSz8eS4BqllPg/m1casN4l/ Vm4Q== X-Gm-Message-State: ANoB5pnVJMdjohooRIfB9L+5AdhQhNycxDM1aeWoK3E3kgTuUnm1Hp4V wPgqupz1mmiS9wMGPlRnnxUGEA== X-Google-Smtp-Source: AA0mqf7uZQF9lF8kL/6lDrvTcWEXHH6BbiADC5ssM2O7V5T3YpNFuTa0V8H8trm8n2YcJunSky2bhw== X-Received: by 2002:a05:6512:32d3:b0:4a2:500e:2bfa with SMTP id f19-20020a05651232d300b004a2500e2bfamr8808224lfg.629.1669200285576; Wed, 23 Nov 2022 02:44:45 -0800 (PST) Received: from eriador.lumag.spb.ru (dzpbg0ftyyyyyyyyyyyyt-3.rev.dnainternet.fi. [2001:14ba:a302:5f12::1]) by smtp.gmail.com with ESMTPSA id be34-20020a056512252200b0049e9122bd1bsm2869082lfb.164.2022.11.23.02.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 02:44:45 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski Cc: Johan Hovold , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v9 1/4] dt-bindings: phy: qcom, *-qmp-ufs-phy: add clock-cells property Date: Wed, 23 Nov 2022 12:44:40 +0200 Message-Id: <20221123104443.3415267-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221123104443.3415267-1-dmitry.baryshkov@linaro.org> References: <20221123104443.3415267-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add #clock-cells property to the QMP UFS PHYs to describe them as clock providers. The QMP PHY provides rx and tx symbol clocks for the GCC. Acked-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml | 3 +++ .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml index be41acbd3b6c..80a5348dbfde 100644 --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml @@ -75,6 +75,9 @@ patternProperties: minItems: 3 maxItems: 6 + "#clock-cells": + const: 1 + "#phy-cells": const: 0 diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml index dde86a19f792..32ed1886fbae 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml @@ -43,6 +43,9 @@ properties: vdda-pll-supply: true + "#clock-cells": + const: 1 + "#phy-cells": const: 0