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,