From patchwork Thu Dec 29 11:59:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 637606 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 D661DC3DA7D for ; Thu, 29 Dec 2022 11:59:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233182AbiL2L7h (ORCPT ); Thu, 29 Dec 2022 06:59:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230487AbiL2L7g (ORCPT ); Thu, 29 Dec 2022 06:59:36 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D07913EB9 for ; Thu, 29 Dec 2022 03:59:35 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id bq39so19432190lfb.0 for ; Thu, 29 Dec 2022 03:59:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gEsFbKUIu0XVvlqZcexvpdadohfi+18CrCsQnK6kHVo=; b=pwLPTDeNfutcTpD97wfs9uklsc7z7CN5BJa9bHyW+Bj0FlXcZVAZjRRRyyGX7W3Aze Pa133yepsSy643bjjEXJni7xZ2g3hoVJpqpmeQfC/A3on858EUETMzytPhywhUqjBnN1 Kk0rt+5yW7CRwGFydXMcK6UtJn2q/0y/R7pYuSGZRSoxzEzT0Coaq+UFYWKGT+j6nP4b 3sJE6ea4ipDvxT3rxxTY8UtoExGCHYHEL0VKyQPvFXL2d0rFYP+VWhtA+QBcka/Gsnfx c0iYyHOzfD9qTbSuRuNOX8m8fMkbFRgJHEY7wl1IXGwell/ONuqwIq94Mer5SRi0CIrf 3Oog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gEsFbKUIu0XVvlqZcexvpdadohfi+18CrCsQnK6kHVo=; b=2fKF5bNMc4BKv8cWEmNHU50QqsaiphYYUu7EeSLrIPe4tr/mp1jhV6yf9HisS+SsQL Afn+P+m2S7NzniAwUrHJTZLEuo48SOCjIwD8ICqOS8EgM0dfX4wkI3ZuXdCnGi6lfzM3 f7ZcuuKiFLp3G2+fZkvnSCr3e8AUE9dWMoc2fxbqXHgFuMuIKc1U/RToSbtfFxjMlxoW W8ASdSr/onbdWW6ZVOw/MV7Bmr9T6GIhS1e1OjRf4Wv2G2X9i3U+cKQtaoBn72Lgsf+E SXSNF55iqvW77VPIkAxFtscjAFiS26fQuw82UKJvO4Or6++wrw7jJd4OKL1O8/HSeBSQ mjUg== X-Gm-Message-State: AFqh2krLffQ4dD6iLjh2OkOi3hBv9kdVMnOB6n/7Yvz5LQW14tUh7Unw HPdBiINoHq/laUi6mSwt9iXN8w== X-Google-Smtp-Source: AMrXdXugQ6tsD415QdLyqJf7RmcCWDNO7Rfdbo/Hum7s+PEBIynbUG1Q1GCUFNzUKtcDximBmyiiqQ== X-Received: by 2002:a05:6512:3288:b0:4a4:68b7:f87a with SMTP id p8-20020a056512328800b004a468b7f87amr12419339lfe.30.1672315173741; Thu, 29 Dec 2022 03:59:33 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id n7-20020a05651203e700b0049464d89e40sm3006313lfq.72.2022.12.29.03.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 03:59:33 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski Cc: Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v3 0/2] phy: qualcomm: pcie2: register as clock provider Date: Thu, 29 Dec 2022 13:59:30 +0200 Message-Id: <20221229115932.3312318-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Qualcomm QCS404 platform the PCIe2 PHY provides PIPE clock to the gcc (Global Clock Controller). Register the PHY as clock provider. Changes since v2: - Removed extra empty line in the schema (Krzysztof), - Dropped dtsi patch accepted by Bjorn. Changes since v1: - Dropped 'phandle to' from supply descriptions in schema (Krzysztof), - Reordered clock-related property definitions in schema as suggested by Krzysztof, - Dropped extra empty line at the end of the schema (reported by Krzysztof). Dmitry Baryshkov (2): dt-bindings: phy: qcom,pcie2-phy: convert to YAML format phy: qualcomm: pcie2: register as clock provider .../bindings/phy/qcom,pcie2-phy.yaml | 86 +++++++++++++++++++ .../bindings/phy/qcom-pcie2-phy.txt | 42 --------- drivers/phy/qualcomm/phy-qcom-pcie2.c | 6 +- 3 files changed, 91 insertions(+), 43 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,pcie2-phy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt