Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1845289pxp; Mon, 21 Mar 2022 06:21:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn9sbBA+i/Td+oQPQm57cprSI443DtLcMXHtCxB1tovMoDV5SgyU0vKU5cVhckb3hVu/dU X-Received: by 2002:a17:903:1c7:b0:154:1831:1f76 with SMTP id e7-20020a17090301c700b0015418311f76mr13091102plh.0.1647868895090; Mon, 21 Mar 2022 06:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647868895; cv=none; d=google.com; s=arc-20160816; b=zn0r1o0NfiJ8HL+v3m8TrG6DF1gJeiO2x5mggTAGzLcq9HQ2IB3PfjN6SEG9Oglhny n4xG2tq1xRevxbuBKZoC9uQzzIxLDz4+9Tz+okZ9NDSFYidEAvXqq6AkpblKnJuWPWNJ fY8Uc/8NyRWlbQalmOEcahKNFa8MlWXwbR32E6PB8xVqGFOlDOGTon8NhEo2tljt65dt LWX5b6A9KcdDJ8xswKGqGFkVMcQ+JSk69g0WxfVsKqCjCw9F6P6F6TpRnypBCeCMO7fF 6uN2IPfyJLS6V3JWcsJcz85WmWILGmEjf50CPhBaRo8yS1Ki6IRkA9UBsq+zj86c/m1h 686w== 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=pxcaI5PPLcGqvRUtBX2rA37vADL045EnXxAdViDUp7s=; b=oxRXDlZtXefCcb+qIKpY7hInvsv6pfJ1AEVAedBhFrpJm3eeirGHn6ttV6sDkYuboR BYgTx/hkVmtmdibuuPaVonsT8mwbHMpPatDpsxDTYk/ECi1w0h4YuASQt7njqtZ19Vrr TER95Y9QThOkmouk0iqnWl+GOodI/pNTmHhBaF7yQ9v4r1UXUWFIJu/GIt486Sl9C09C RceCDnvW+u5vbUC6mK5r/wOyfKAo7IhKqxQUWSra+WtgtF16sBf62tPSoSackq13zlWp LabrS7UWh/ng6eGjCx5VGjxmCm/H0EuljHCEHjaMPNWOsNoJSXilhrkq0DtIjJxFUf3k rvzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=g7+BklOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a63e941000000b0038213ec2956si11995578pgj.130.2022.03.21.06.21.20; Mon, 21 Mar 2022 06:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=g7+BklOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240188AbiCRSkK (ORCPT + 99 others); Fri, 18 Mar 2022 14:40:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240189AbiCRSkH (ORCPT ); Fri, 18 Mar 2022 14:40:07 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C64791C5535 for ; Fri, 18 Mar 2022 11:38:47 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id ja24so13263477ejc.11 for ; Fri, 18 Mar 2022 11:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pxcaI5PPLcGqvRUtBX2rA37vADL045EnXxAdViDUp7s=; b=g7+BklOg6UNgkaO/bdUqX0jYsNzP27+FAasuZEgPJW3QJDk40vorEenEEKDhjKtfny UjJVD5LEkSyhU3ZxaPYz5UVYFIE5seVV4wkii0XOOtauOBv4F3FVG61Vj/XM4hyB7ol5 htp4dEhDw+a5pLzI9CSWsuzrounXfpMiA5vuXCZgXafIUY1xw5GY/aaTPKoM/UHrxfB6 lZE8GXqP6mTkBovnPexaEe8XAoUVmq+Qdz+LL9jzigJWpx7pz/q9LW8Bxuvaz8cTYXkR CHVJO4QIla3DhOKX3P+7+atzyF4N2yv7+JNsuhELKE99Q88vRCIAquqlq1tqFohOctpN NGMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pxcaI5PPLcGqvRUtBX2rA37vADL045EnXxAdViDUp7s=; b=egfuuzo6peQNIBjH8cpkRh2l+RJ8tIcBVvbEu0J7MGsUMCJs9RVscPsRCiCp/pPXJK TjbMeapmVcLsd9ll45J+PK2FDmTwkq31UoiQH05VHG1c8i2t0fk9YPf7lsSFGw4VJEQ+ LUy+9QP50n34iFj47vcddm9vrLO4Xk6riiNp9BJhzoaYD3KhJo987a9LMv1moAJZnwPi sZ03gXzjYgbjhpu7Y0H7kHnzKOgZwvzp4tpARVxR9WXuYQiu1lQKJBoEXZtsODcqxA0k qzovC8+RMRfKtCWQRRPKwTzWnEEF7+oGGtM+tN+6hVzAIVAf8al4xNNcgP6nU9Pq/Zm9 ziuQ== X-Gm-Message-State: AOAM533Fz4AeZaACse9zFKKHvOjQnQ3AOrlMwKysssIiGay4Q+2BW1xL exYrwbDO6dmfrbdFt/9fOVeDgpdKTJxclA== X-Received: by 2002:a05:6402:4311:b0:416:6a08:a9 with SMTP id m17-20020a056402431100b004166a0800a9mr10954842edc.346.1647628228837; Fri, 18 Mar 2022 11:30:28 -0700 (PDT) Received: from otso.arnhem.chello.nl (a246182.upc-a.chello.nl. [62.163.246.182]) by smtp.gmail.com with ESMTPSA id y8-20020a50eb08000000b00418b114469csm4567551edp.52.2022.03.18.11.30.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 11:30:28 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] phy: qcom-qmp: Add SM6350 UFS PHY support Date: Fri, 18 Mar 2022 19:30:01 +0100 Message-Id: <20220318183004.858707-4-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220318183004.858707-1-luca.weiss@fairphone.com> References: <20220318183004.858707-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The SM6350 UFS PHY is compatible with the one from SDM845. Add a compatible for that. Signed-off-by: Luca Weiss --- drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index b144ae1f729a..1628275265b5 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -6007,6 +6007,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = { }, { .compatible = "qcom,sm6115-qmp-ufs-phy", .data = &sm6115_ufsphy_cfg, + }, { + .compatible = "qcom,sm6350-qmp-ufs-phy", + .data = &sdm845_ufsphy_cfg, }, { .compatible = "qcom,sm8150-qmp-ufs-phy", .data = &sm8150_ufsphy_cfg, -- 2.35.1