From patchwork Tue Jan 17 14:20:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13104738 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 A3191C63797 for ; Tue, 17 Jan 2023 14:20:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjAQOUe (ORCPT ); Tue, 17 Jan 2023 09:20:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbjAQOUc (ORCPT ); Tue, 17 Jan 2023 09:20:32 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AA6B3C287 for ; Tue, 17 Jan 2023 06:20:31 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so21093496wma.1 for ; Tue, 17 Jan 2023 06:20:31 -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=fHE/v4+uK+hhFNGRiRI8Oa2ab1RUtvMhDGA3+YRGHLE=; b=yx3j2Bpp8LHeZsYwke9yWaWsEXsl1Uu726mdIDkWhMfC3ejEbQQgF2gPovYBa28Gqd Ps+fGV/qlIUWKSs0i79XP+4EYWladvlKco32eLngSjXQKmoe18qyyeUAHvY4xdJqOBrs ZXz2clV+UNlhFoPHPMn/dLqfwghOFLYw+V+bjC6YX6o8th2RAkYPfiPkvTa9+fwLT/jL AlhPuoEOVTEVQmFOO18BTlCrSdh/SQ9cdXVPx/PUW5TlT8jd40Mjs3jxonLZCAA7wm26 G7xKkE0b7/x7ImwyZKwsNj5lW6NBke5d4EWEKoeKSJwYTy/Cc0GXVrPyUeIMDqJnaKin LKgw== 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=fHE/v4+uK+hhFNGRiRI8Oa2ab1RUtvMhDGA3+YRGHLE=; b=KOWnpWM8l3UNW8k4peo3NlDjuHr40XbxmvLWYKfghMX+l+wU6JU3pZniui1JX3X2ab 4/DyKHINSLSE9B3HMVPsqu4KdpfnEk7+GpNE1W+TqK0A5NWLHM/rUNMu2p4oBBhNsx+u K/iGfClvvUTN2oaoazVfIM0VY5M+U3dXTvTZjx8VGfAW/U3Cb4EiCcAFjV8QgsTSL/+V Ht3/V65uwnvlkZFH0CJqa7s/535gJODMzfsmo6bUbXiUY1r3AP2LmTwu2QU/XavRrltu 0cgAENc5GO5aph1LUt5KfGdyhDXhuY1/5S4mZ+7AcDfJCCwcqrf7LisqtuzfrBnldBgt pJcA== X-Gm-Message-State: AFqh2krMsarAvEui+mCyKir3ZJeHBD7mFXKkb9h143Q83YoAHl2YfLNg ZQT8TisG/W7AIXZRtgeXPxlHPQ== X-Google-Smtp-Source: AMrXdXs86RTSb1BFxvzXGXbl+Vq7UDVuLIdG2zrOo+T+L1NzXhmxLcw2L4lqgDYVAam/LHTAn+iGUw== X-Received: by 2002:a7b:c309:0:b0:3d9:f801:bb6 with SMTP id k9-20020a7bc309000000b003d9f8010bb6mr3201564wmj.10.1673965229777; Tue, 17 Jan 2023 06:20:29 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id i8-20020a05600c354800b003cf894dbc4fsm40443133wmq.25.2023.01.17.06.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 06:20:29 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , "vkoul@kernel.org" , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , Johan Hovold Subject: [PATCH v4 0/6] phy: qualcomm: Add UFS support for SM8550 Date: Tue, 17 Jan 2023 16:20:09 +0200 Message-Id: <20230117142015.509675-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The v3 of this patchset is: https://lore.kernel.org/all/20230117125555.163087-1-abel.vesa@linaro.org/ Changes since v3: * correctly ordered the compatible in schema file Abel Vesa (6): dt-bindings: phy: Add QMP UFS PHY comptible for SM8550 phy: qcom-qmp: qserdes-com: Add v6 register offsets phy: qcom-qmp: qserdes-txrx: Add v6 register offsets phy: qcom-qmp: qserdes-txrx-ufs: Add v6 register offsets phy: qcom-qmp: pcs-ufs: Add v6 register offsets phy: qcom-qmp-ufs: Add SM8550 support .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 1 + .../phy/qualcomm/phy-qcom-qmp-pcs-ufs-v6.h | 31 ++++++ .../qualcomm/phy-qcom-qmp-qserdes-com-v6.h | 82 +++++++++++++++ .../phy-qcom-qmp-qserdes-txrx-ufs-v6.h | 30 ++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-v6.h | 77 +++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 99 +++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 3 + 7 files changed, 323 insertions(+) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v6.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v6.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-ufs-v6.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6.h