From patchwork Tue Apr 27 06:53:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 427935 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp4364270jao; Mon, 26 Apr 2021 23:54:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu1wIWrQ7uHYLoiTKt/8DOG5ytt+4xKGMgOoZbMGJVeKEHgt67FvUppfcOP0nV7WN6OWge X-Received: by 2002:a17:906:4cc5:: with SMTP id q5mr22225622ejt.302.1619506452368; Mon, 26 Apr 2021 23:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619506452; cv=none; d=google.com; s=arc-20160816; b=NQb6uGhY41DViYL4+0ScHR7GgMtzCMAakSxF8uA/6S4uOb02LSe8iisPmqBXCPqYEO iPW3se0se1k9GzzXyb7p+lW7edkXf2aW6qw5RcrPTsaRUHdruDxaNcVAp9EpDHL226NE wW5Hc5lIV+mhoKeqyX6oMXiSZlC4JZuWA7vCYvx78BpixkeoWQE9f4DMLEspH5rZLKzn MCJsBqPN3MpjC5uiN9a4bVFU7zzPqtUjup930hoSI0fIm1coGCWj/zB2KV6omCQmcQ7u LGxsGtuuyCaTaKs7TRp8gQRRgCO8Vtb0qdtDFyMhJKAywcaWDEt3RlrGMnT/9PI3pQPN PCuw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=4ErHb2UxiQfgQZ/ewBfhdnjrWohZ6K0IW4TbbehTLjM=; b=rwr2NTP1WTN6YyGJ7ogkJdFosxkKsdO0ZTucxiNzorlYDqTYeHofnB4k7wRG0Cv2T+ BchxNwJFW/ONfMS2h5OK5cXOvjRA/ZX4TH+EJd+wN4ihAMdVJJVWPgYykzPUBezRFHqk EI4lUC2sam9HuxTHj+KzrFL/Tf2HE9GEH/QwCqqRnp2dE5poP0UFYipc3+mmDYWbgaIa 6Y0593XpKwUh4XlKTLW5wg++UzNzBeRW4E8PtoH0xSIyAhqBXlzKtt4Rbf+rcHKGYgfI Z2Qh7oO2cNh4CsgBsicO5cidu8aYzG+u7ojkv3nBmMMFHBJcn/YwRwvK/+pgV8nIppvV h/qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8FINm7J; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si1702194edv.309.2021.04.26.23.54.12; Mon, 26 Apr 2021 23:54:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8FINm7J; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbhD0Gyx (ORCPT + 17 others); Tue, 27 Apr 2021 02:54:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229923AbhD0Gyx (ORCPT ); Tue, 27 Apr 2021 02:54:53 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E15D1C061574 for ; Mon, 26 Apr 2021 23:54:10 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id b17so4676155pgh.7 for ; Mon, 26 Apr 2021 23:54:10 -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:mime-version :content-transfer-encoding; bh=4ErHb2UxiQfgQZ/ewBfhdnjrWohZ6K0IW4TbbehTLjM=; b=z8FINm7JzZ7mOIY207onvpiJiRHsqMx3cgxfVTWFDeYAOxZD6NZTiZfNuQix4h8GLq qlfQgRxGlV2amtvUxeWhQ0lHKR5URWBq8eqpgm5cyFoEtqf7Nh+rzxnZbDKIZYDSuP66 CKMf5TD6+OJSY4aNvZZ731quzwXWBRiFM86YtIcUB2e6CkwBrr+oRvBOaMt8vAO8MZji xY32Ycz9ab6mEgcPt41aTA9jsCYBLi8BX5ga/iX31JNY+5zsaBKvGji9YyGLS/wLlt7D g2l0++gQ4vE6m2CpYIPl8mGdocH7D8hyfXxmvGdmKkix51Dx/LXaFx8mY4oWgm/Z11mg zG4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4ErHb2UxiQfgQZ/ewBfhdnjrWohZ6K0IW4TbbehTLjM=; b=WTcJHbtQ7EkgV2Guziy80AN1weHsGjueKhjOfgJpnoKXkIi+q3GeYtDizrh1r3JTKl rVwWTOA81Zsu8yZsiVkapFFhMjrG0RWw1YdiBmeDcw/YEZdr2c4cPX4EiX+/X5NK5zov u+iMxLtmNapl1eaXyjP1QYEeZOzeI8nEbuyirTwwMg2mpdLrEwWlb+zT1lsxrtwTlCRy tnCeLbbM0jj2S0hddGL44FAYlen9L+UoAwNlxG2TOsx40tIMhMcG+yGIdLBgODcxIBev r8MkyGo4T+3FK+D+UvFasOR7oqEcxZOocyEMoNGz1SBL68v0C+5V9b48cNOtfWAfwoG2 BbsA== X-Gm-Message-State: AOAM530YXc3RBVh2JTqGPKMT8FBc8OAySht4JDrrXHsMpYToPCPOYnZ1 yVFN222qwj/LqCEWe8oZFO77 X-Received: by 2002:a62:2cb:0:b029:259:feaa:75e7 with SMTP id 194-20020a6202cb0000b0290259feaa75e7mr21289983pfc.24.1619506450351; Mon, 26 Apr 2021 23:54:10 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6d89:3c72:ece6:56fb:d9ac:583c]) by smtp.gmail.com with ESMTPSA id x22sm13391986pgx.19.2021.04.26.23.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 23:54:09 -0700 (PDT) From: Manivannan Sadhasivam To: vkoul@kernel.org, kishon@ti.com, robh+dt@kernel.org Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 0/3] Add support for PCIe PHY in SDX55 Date: Tue, 27 Apr 2021 12:23:57 +0530 Message-Id: <20210427065400.18958-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, This series adds support for PCIe PHY found in Qualcomm SDX55 platform. The PHY version is v4.20 which has different register offsets compared with previous v4.0x versions. So separate defines are introducted to handle the differences. This series has been tested on Telit FN980 EVB with an out of tree PCIe Endpoint driver. Thanks, Mani Manivannan Sadhasivam (3): dt-bindings: phy: qcom,qmp: Add binding for SDX55 PCIe PHY phy: qcom-qmp: Use phy_status field for the status bit offset phy: qcom-qmp: Add support for SDX55 QMP PCIe PHY .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 + drivers/phy/qualcomm/phy-qcom-qmp.c | 160 +++++++++++++++++- drivers/phy/qualcomm/phy-qcom-qmp.h | 64 ++++++- 3 files changed, 224 insertions(+), 2 deletions(-) -- 2.25.1