From patchwork Wed Jan 20 22:45:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 367206 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp54399jam; Wed, 20 Jan 2021 15:58:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZLZ/083fXHhOAjyxGUjfvaQ+zJap2+b0tQNUDKd0BuV6tlFY/uM3xXJHXp3BauvMA88dc X-Received: by 2002:a50:e008:: with SMTP id e8mr8840927edl.339.1611187003417; Wed, 20 Jan 2021 15:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611187003; cv=none; d=google.com; s=arc-20160816; b=RjDu0vkHJ8lbGF4+14ZRuwDiy298bIVeMscj37MqO576J10gKUO9KBmU6zs1cNXUqD ZiQM6/embzCpzjNoTd4wSuuKlOf9qBDa3/weULa6NTw38h2o54IjqPxCTfOnewxr/SIn Bnod/+K7ydY9vxRfjsun27ayiw1bsEmT6GzoBYUK+tfHU5yxzqisyzUTWHAs3qvxx3wL T46L8KgLzswGLBWJzW/Lp8K/KWCdKikoy/skZcr50/SPAy+bWsFPKRc3q6FHoU3Llclb sf6QUG3wqWJ9VFd3fUE50IUibV5BEm5YtKd2TF+Zu8C42V2xV54KQyM+M1YWUpB03Kg0 T78g== 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=yTbXPqD4zbkGnIMCPH6cR9hk9qRDwJpn65PvPJP75rA=; b=UsDIAptNn71UjYFnz+DAbmN9m1YOAc1sKWki5SpRhV4H+iAeG06bc8JZDKQRe4bmEX NfBPxsjEWih64y/XFunY7Iquz7uQW92vMSrO6BsIJMPu8h1T9iwKr/SevgPIBb1a6QPy XoD4VtgJRfFRGfRd6lesdi6GjLmguguFj4KGPVfpw31CI8zPLzUct80u884GpudEfkcM E6VuXWvBnT57AzS/ADHXrVxWiav1T0zSm5tCbiH+cu9mPlc3oo2Rujx1dloBCCw2KXC7 20DS/DhONlcFLXUs6tjVjU5Y+ClZQgqvLzwH9tCqY3bOLQ/zeoYekqbLE88HUSpaiUP1 2UFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SigRUfru; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 t14si1523962edd.161.2021.01.20.15.56.43; Wed, 20 Jan 2021 15:56:43 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=SigRUfru; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1732181AbhATXob (ORCPT + 6 others); Wed, 20 Jan 2021 18:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404072AbhATXYM (ORCPT ); Wed, 20 Jan 2021 18:24:12 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E5AC0617B0 for ; Wed, 20 Jan 2021 14:45:24 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id i20so17199840otl.7 for ; Wed, 20 Jan 2021 14:45:24 -0800 (PST) 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=yTbXPqD4zbkGnIMCPH6cR9hk9qRDwJpn65PvPJP75rA=; b=SigRUfruDOPZEcpEs32X6xFJzSEF06xjGtl3S7gbsSPxEW3D9OH028lvWarC79YREo S49n5rep+rR7y6cZ7UYUPLocMNO2eK6eQKsB4DoNBhs8Y9+sTpa1JsQ5STAgwBl+1/30 mgDuzPcBCcETZWccZ2Z75mJAZiHslMEEf/xuu4ZtoLAF1UfPCro18ib4TN9+nSwNpMac DVgGNG5DvuCSAY/emiujcVKtr9IlvN1Sx5FINbDmwCPFwqRIWFQJGSUnk3RCzE4oM+Kt YSwqSVTwJvEjl3CesWJ+o2v8aEBnsx7K/r5PCRc7vIXEKeFRQb1bp33nVaguz34Z+/mG 7OAA== 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=yTbXPqD4zbkGnIMCPH6cR9hk9qRDwJpn65PvPJP75rA=; b=tzYPaThO1spUHLYR8vNgguHapiE8+sUkUZQu2s6LSU9Y/HcLnlao0D4omIx3yaWC6t U5z75Ec5FVLzVeL8772rHrCmCVdaim2n3HAyxYMEWcSz+kT6JQh4lg81o8VYzhR7OE1i 9SlJUZVN7GK8dV/DwBxYbmbPermRz00UfGZ3xhRcGjt9qof8S3kBmDJgXVnqqu6JN0/e AflpYZpOjwlSnJKKFwcPXsdHf2E2L6UFvoJbgwd+jQPF4m7iYv2JmwrOY8GLxa/bVX2z 0ZTzXccwi6c4c7jfxc9zNlZdLu6VZsIK9LJZGpQdm8qTO7BhrXeByIWvhUdL8hOKKRBd merA== X-Gm-Message-State: AOAM533Oi3UW2Tu8IdhTUAH7lIeDuZ+ccuqT660qeNILya97x4z7VZFT /M1Va8n9Hmj3cERLn897SeGQcVnUFgymWw== X-Received: by 2002:a9d:3d06:: with SMTP id a6mr8092044otc.368.1611182723720; Wed, 20 Jan 2021 14:45:23 -0800 (PST) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id m18sm692791otj.50.2021.01.20.14.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 14:45:23 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Manu Gautam Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: phy: qcom, qmp: Add SC8180X UFS to the QMP binding Date: Wed, 20 Jan 2021 14:45:30 -0800 Message-Id: <20210120224531.1610709-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible for the SC8180x UFS PHY to the QMP binding. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 0f00d82461fd..e272a1077150 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -25,6 +25,7 @@ properties: - qcom,msm8998-qmp-pcie-phy - qcom,msm8998-qmp-ufs-phy - qcom,msm8998-qmp-usb3-phy + - qcom,sc8180x-qmp-ufs-phy - qcom,sdm845-qhp-pcie-phy - qcom,sdm845-qmp-pcie-phy - qcom,sdm845-qmp-ufs-phy From patchwork Wed Jan 20 22:45:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 367203 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp54304jam; Wed, 20 Jan 2021 15:58:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLJ+D13ouYP0VHCUjHmhCgkqbMgSRTx35saXxVkTF85ykBLBAEUSsKyZyrlKiktcL06FDy X-Received: by 2002:a50:ccc3:: with SMTP id b3mr9579482edj.41.1611187002174; Wed, 20 Jan 2021 15:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611187002; cv=none; d=google.com; s=arc-20160816; b=FoKjLEHonzdKwREMqZZE3AQ5nH7BWzqHNlhBdK8O1dKZtRY090jlnIgigsSXlRsMjf lTd98bMukRC7pH9U031vvHinVamFzo6jQIS190u8JFXg6v2Vadyz5jXjghSI6Q7Zd/9r akPZbrwrXyfalr3J7ZC9xtsQQv00wH+mzDQ5Ny0gJMU/KL74pOfLf7PS/hTgFSObzEEe MNoKS7xEHjnwhboGEFJg+Jgu42ojfb08yf9PvblwLJ7gCvntjHCUh3XUqMaytMMf6gm1 NWaHvrzYEAY5vQBP/BX46LoPf/J+/CVYTwkqpN4eHNy1LxcbwcKTvipSb1OEv3Vb3LEA Gw0w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UMTJ0JHuVDvRdMql14H7mW/63Qwi+kchpGfybyMLqlE=; b=UbOuZ33jLPw+jNRqQ9f398gMtxdV1TiuOMzzBdbCtswRolTFYdZawWcP3IU1qL62oD KQnvgnVb7nO8p0FbnyUdVGfzHtbVhlcPqSfJT8dX0PoOGmQC68ASlSkBmmCRYKib26CO s2QqNjUj2fXxlIq3j9SBaLZXGevEDfZVG1w8LC4c1DO6Ng8NYnStFMeRe04HgXJZhoYw POBGjUEd1hAHpzTsQWKiAIENSnpI7+xDUh1UydLLERvRRIolEpIWy9hZalCKvbv4E8Jj JCIMb8z8nol7eJkT0U6VFWHP99d4DvWbsWMOBJzavzYHi23TSQmh6DUqOFoE6lG8cxwI JY4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L9pnkOb1; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 t14si1523962edd.161.2021.01.20.15.56.42; Wed, 20 Jan 2021 15:56:42 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=L9pnkOb1; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1732137AbhATXo2 (ORCPT + 6 others); Wed, 20 Jan 2021 18:44:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404051AbhATXXs (ORCPT ); Wed, 20 Jan 2021 18:23:48 -0500 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 605A8C0617BB for ; Wed, 20 Jan 2021 14:45:25 -0800 (PST) Received: by mail-oi1-x231.google.com with SMTP id 15so69758oix.8 for ; Wed, 20 Jan 2021 14:45:25 -0800 (PST) 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=UMTJ0JHuVDvRdMql14H7mW/63Qwi+kchpGfybyMLqlE=; b=L9pnkOb1g0h9Evn94z6yhdXe3BvX/dUxq9knD0iUOvRAt1duITpneYRtHD+gXRcK6S Wjrf/CHEut8lVcecB5qDwtxsMJ7b8Vyn3RAA3BIkVo6iajtZ2Z8yWukVOPaEPAwG7439 XYmbT+iozQ7IU7YXxxU84GmbxKMgK2dT0IFMR0QTxX373UWdKGZE2zoRojbdcmoLJkbP Vkz9FNtjrMVubvGmoH7N0ZjtH2Uscp9/1HFqolXy1BedRri1yOJ9uGdAB9kMdAvpGO/o pGMe5gO7Pkl2DmypS+eXHI7Ec6mwjQJMUXzDNoun+11rRuF3ncq5sVUpJRr4x+j8trVx j86Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=UMTJ0JHuVDvRdMql14H7mW/63Qwi+kchpGfybyMLqlE=; b=s+msp4bWR/mJQ7ldAaZZt8IQwA6LxXLh5DlFDJjvo7QI3SEbdsOdVcq7bdM3XSwmWQ cWFBO1VaqKdOu9pbV0Vlf9XmByfAXaTjVf1MNIbCAFDPHVmk/uIoWv2FC0KWhogiTfWi ygN4CAB8sDe4T9utjiwdzRamTkx+xv2R8gWusg8xHi6y+1kFyMqHVMCcPBoqMIDx3/gw nTeouQ3RychaJTrbO724i8SgNYfJkCzr7LZybGfl9Fk/0Mse8XeOTKcIVlPbmq27PM0s 38Q1cdKlFz0fnHOuOJHA0ue14yesuHc3kompJ/vIQIjm4RJPYGorGDKuqADNZQwcfByL EXYA== X-Gm-Message-State: AOAM532HL6+fbzAC/hKq6IyW3a4+78mBM+8BURev9cppkerHkGd+bxQ9 VNguIpLjnoEzj9j/yfzy2L/BszUY9EG+IQ== X-Received: by 2002:aca:d98a:: with SMTP id q132mr4302008oig.33.1611182724813; Wed, 20 Jan 2021 14:45:24 -0800 (PST) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id m18sm692791otj.50.2021.01.20.14.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 14:45:24 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Vinod Koul , Manu Gautam Cc: Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] phy: qcom-qmp: Add SC8180X UFS phy Date: Wed, 20 Jan 2021 14:45:31 -0800 Message-Id: <20210120224531.1610709-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210120224531.1610709-1-bjorn.andersson@linaro.org> References: <20210120224531.1610709-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The UFS phy found in the Qualcomm SC8180X is either the same or very similar to the phy present in SM8150, so add a compatible and reuse the SM8150 configuration. Signed-off-by: Bjorn Andersson --- drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.29.2 diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index bdcb8bf6225d..a1ea911856fb 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -4208,6 +4208,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = { }, { .compatible = "qcom,sc7180-qmp-usb3-dp-phy", /* It's a combo phy */ + }, { + .compatible = "qcom,sc8180x-qmp-ufs-phy", + .data = &sm8150_ufsphy_cfg, }, { .compatible = "qcom,sdm845-qhp-pcie-phy", .data = &sdm845_qhp_pciephy_cfg,