Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2138481rdb; Sun, 21 Jan 2024 09:02:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdw6YES/s6n3qBNLqw0WamngiZZ9pW70/tJFAqZCQVHYq2zIkfXrC5MJwwKSsWQ0XurUPu X-Received: by 2002:a6b:e608:0:b0:7bf:1c0b:db43 with SMTP id g8-20020a6be608000000b007bf1c0bdb43mr5363655ioh.38.1705856521958; Sun, 21 Jan 2024 09:02:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705856521; cv=pass; d=google.com; s=arc-20160816; b=rK0lT58bASgaF4Mk1Zw38YVE+OP9MR4h/9gjLK1lQU5ApdHlkRFVMnhMUjlftVQ+Gc 0Z+GAJCrDF5Lur0L8pkfdlyGNLT+KZy6sdwbr5pSsnl4OpbTnkbe4QTyuGNYSJqR9hRw e6Y4GGMUDOfimKEtv5Hch+FONqh8cejfxENqJOMFxMagAxA3qCL9s4Ea+pSh+G7XUFuf clus4hkWNsBXEUbtimSzNsAj0DTvpkDUk7Uy9P9jMJHpT/7M2bH1ak3c0w4ddlSicznw Eh22AMMols4vPG9PpvQtqwgA6ET6sV/irI8SZGLq1/BrL0o5wMMuNwZZmyaOa0A+Vs5y EFNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; fh=9/DHIHSN5sLfd01MWeLmjSkV2Gv6hMgUtDjxccWJZfw=; b=MZw3O54lPbcQuXFmhLFoRGC7BN/wuljD6QRXMwpKrHSmxn2tQRwiI1dwHXFGSdFafF UsZQHdaLFS9TFiDiR2tfwgC9ZfI+z6EpJ3QGQX/7EMNXds3ItdKD52j49DIbePEL/5vv 0R52bX3OkIgI60Fd+NAv5ghBMrs6Ac7j0ZIBxVL36WOynA11/eV1qktWaV/pbVaMAL7v GExkW+xGdG+WFJCsCfM/q5cEf23p/GRQ7pOQKdbMKh28xhHVFVfPFQy/o0iHZXI+PHW0 +VJ0q3U1CTWvh0bv+nfiFQI9kD1Bbrj56UD8SoLkSv2+eV4s5lXdzrTLOTW8dA7L8Ybb GP+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aup/fFS3"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p13-20020a170902e74d00b001d75054db45si620293plf.98.2024.01.21.09.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 09:02:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aup/fFS3"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C818281A99 for ; Sun, 21 Jan 2024 17:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC57639AC7; Sun, 21 Jan 2024 16:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aup/fFS3" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7301638DEF; Sun, 21 Jan 2024 16:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; cv=none; b=YGfxg54diaxu1ZAVuwtxAxNk3zFWbNi4Z9NxNkgpCa5xL0bQ9P4CTj3a4eMsTvpv2hCJZZGTHdeREVWQiRULgoOwzZ7tN932Eujs0SmgoReMQDNeSGpsl0ym3ibyEhacdpmjXD4ZXLfSoXJmht90hnV+1WR9qu9J4kQP8qEVLDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856365; c=relaxed/simple; bh=8+nVfXj0pK+UjGyYY9L8MCyBz+TFFNaW6LNlpt4ylqk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eMIF6lRw26/DIiQnYvizgkmvaVmqD87H5X7unCuB+y3jAuuJoFvQkx9kjoVtjBSkDe1MdYs8rNBVqAhJtZyU2cvQpZop3N2VaoMgOKRUSNwODzx9Ar20SGTsVQbCyFgFE5RSGmncSzMcyDSayQljFflX9Qt1+egDf1pMEJjZ888= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aup/fFS3; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-337d32cd9c1so2182005f8f.2; Sun, 21 Jan 2024 08:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856361; x=1706461161; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=aup/fFS3Y4w8TthsRFKNqL27UHQ9/LgKbWpfMiKMvlLtrFad5NAkpn6tGVkQai7RBn w11sQ9CVhFc+QFTFL/VMHEA52D22OQXJ2Z6RjqkRK05NKbPZ30FDKAanWVFayFHcW4Jd UF/JUGgtXkJHPaQNYGLH0cuci2IahDAWS6Wt0+mMabAQHILP6Yux/hO68cKgwQXVgghp +hW2FbgCc6guHut2wp/sgi20yD/cKPBbAg9hQDxxaqpO75RM8T+dLcnaeEgesCPbO2e3 MSOOPCttD0eF0G0dUW8a+Cm6KqQ0EZ20WrM0+Kwur+K8M1L6vfWbKwKqRX7ULK/p9TCa zcSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856361; x=1706461161; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T+6WENXvJzBB49YV3y2BUzN0W4hKGmw5Xn61RrMIgRs=; b=HeT44XzeFYtk9BGN2slyFxNmj0ERMjJxfMwivVt3qt3ZvXEyz3stI/3o/d2rKjUR79 N9TaZPU92kG1lb2dzmzyco1OMZfdMv59+62JNRT5sAZkK0WIL1X8rEbiWcj+tAVu90xf jSqjDjQYdypq3niMQXQTJOupnSDeczhjJ8derOgLdikUePcDvGocRmw9/gZS6ewkVe14 uS92Q2WeBjFDi4G9mvVNtIPlLhd0f2BMAJccuKApuDIlPf8vA4Cl/cInvuG/vLSWeMbu XifXS5sd4Rq4xnH4r3Jjx2eHD+HeP32HrnB5yO6UChLB1XBKjWbF/BlH7LPkHD8wScBK ktvw== X-Gm-Message-State: AOJu0YwHCAytBxn1HACUPKhgf91JUSqN96VqlMWdkBhbIWw9moKY+uHG 5gOhXxHrQi/WFF135D41hTM+K3e7TDsTorea98IOqcwdd9qxSxwH X-Received: by 2002:adf:ea88:0:b0:337:d649:da82 with SMTP id s8-20020adfea88000000b00337d649da82mr1495551wrm.101.1705856360907; Sun, 21 Jan 2024 08:59:20 -0800 (PST) Received: from david-ryuzu.localdomain ([178.26.111.181]) by smtp.googlemail.com with ESMTPSA id q5-20020adff505000000b00339214d70b5sm6541115wro.85.2024.01.21.08.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:59:20 -0800 (PST) From: David Wronek Date: Sun, 21 Jan 2024 17:57:45 +0100 Subject: [PATCH v4 5/8] phy: qcom: qmp-ufs: Add SC7180 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240121-sm7125-upstream-v4-5-f7d1212c8ebb@gmail.com> References: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> In-Reply-To: <20240121-sm7125-upstream-v4-0-f7d1212c8ebb@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Vinod Koul , Kishon Vijay Abraham I , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, David Wronek , Dmitry Baryshkov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705856354; l=882; i=davidwronek@gmail.com; s=20240121; h=from:subject:message-id; bh=8+nVfXj0pK+UjGyYY9L8MCyBz+TFFNaW6LNlpt4ylqk=; b=kfHyJ/tjpR2+eR1yN56hNm0nYVS3p8pzrA69vt9HClWzleBmTA8xfzM1UGjRKCjNUZ3gJoXeK xrtY34kSzyyAqbfw/wsmQQZWdSqyTCxxbx2lA4kyLhZ2PefdBtNDzaa X-Developer-Key: i=davidwronek@gmail.com; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= The SC7180 UFS PHY is identical to the one found on SM7150. Add a compatible for it. Reviewed-by: Dmitry Baryshkov Signed-off-by: David Wronek --- drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 3c2e6255e26f..0276de802d78 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1880,6 +1880,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = { }, { .compatible = "qcom,sa8775p-qmp-ufs-phy", .data = &sa8775p_ufsphy_cfg, + }, { + .compatible = "qcom,sc7180-qmp-ufs-phy", + .data = &sm7150_ufsphy_cfg, }, { .compatible = "qcom,sc7280-qmp-ufs-phy", .data = &sc7280_ufsphy_cfg, -- 2.43.0