Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp338854lqg; Thu, 11 Apr 2024 04:55:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVa5h5oS3UENEOR/zMGh2NQAPbiqluJE6Rhxngj+5xw9aF5jRhWs6TWPmqI8fSY9IIMBAOEMG1Rg1iW3M5A73d3LVTIPHtHNP7cVHol9A== X-Google-Smtp-Source: AGHT+IEdqNJ9e96zkSmIOAucSwZNG/Oef+fngYyrZig1lk0LPGjjjMqfo7h9zRgJcfQ5oEgWEygg X-Received: by 2002:a17:90a:10d7:b0:29b:b5a4:c040 with SMTP id b23-20020a17090a10d700b0029bb5a4c040mr4473990pje.46.1712836519450; Thu, 11 Apr 2024 04:55:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712836519; cv=pass; d=google.com; s=arc-20160816; b=STWqQL/awxhTtFI2cXMBjNM+PPwdmDQA7nEGcSLy3VIzXF8L2DTrd0NGhayTYEbCkY 3g6C9uD3rxLmPWkJw9i11UyxgndWOITb2YhamrquHb4Bf8uQlGPvK6OXGmH8luTKGTHw NFyWZIZvIp7p6PEWU+GJ1DKm1LlQX6s8nOacpoVxcSEdw+jCjhgJoIadqGWU4rCdVWOb wiD802DWS1Hnlfi5BjO2hHspALByedXH4BU7qbPgcbeq917zgbDP5Kg8+La/+ElsSjIw dwVCK4Xey4k6r2Y1HpthaO9IpWllZ++8f0fvYMKfIFKtbIDhanXSypfs10oUkhHzpAYi 2LLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=d15KKmj1rzMZSKvrUErUSxv8gH8zIFvSlOvTQNvxNgk=; fh=YO+sIdXsWdUU+5L7O0nZBZ8oGksKYVzXes8TS5B+v/M=; b=kNjsSCFXpkSW7vsCrXo9t2zhqYMBuTYQo0UpcyNHlUK5ROF2x2nMk4KkfJOXS2Cf6U LJ0F59Qb/l32yEWJHfsJYFWpJG+srq+sYlfbyEY6eCqqKo6sf6wjB2YMtrHD5bINIdWz gSCyuqndT5uwxeXQXOG87rEA3QGBPEHhlpfrP79DXJ2l0w1qzVJPnFrvugLMjwXQzDNy YgFsSpklRUoKPOETbsNaoq1Nb4D/Kpdq1/cABT7wEJ1X6GiIj1+Zs8z2qwTipXNrq2xn 74YfaqK9aCpCco6cT8Y8Kdqd76ervFxAVxDAtgthubIsDhEQ9wNzAgR4bunfN0aMshJv sbMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kxHDWBg6; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a8-20020a17090a8c0800b002a5d029da5fsi3170901pjo.36.2024.04.11.04.55.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 04:55:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kxHDWBg6; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7C52AB25134 for ; Thu, 11 Apr 2024 11:43:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C7F214B08E; Thu, 11 Apr 2024 11:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="kxHDWBg6" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10D8814A4C9; Thu, 11 Apr 2024 11:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712835791; cv=none; b=j5SYSbhVr2q6B1sUv77KeJXtgbUJdwGUKJ/ShTHXfccxMywo0RvALcxPyQY1tgisP/7o8zI4aN3WoJgRE9k4zEFkX4gZTc6wDhY0lyRs7wG+xnLpWhppvOGIjf3YKX2n+qkdGtLCyCvtNLgjaG15687JEj0j2Fb1p/lKgAsRGN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712835791; c=relaxed/simple; bh=WY8EthFDmZfJZmt27wVTY3epf3S/NvCwlH2R04NWsW0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bXPZ894YDgVVQa5dLjLwWB9Fk2m+X6J+2mNentN3DMEV8SerX8BwCeYPgzGf0rRBVZMTpNp1ivHLPAjVvdgxIIIiszMhH+CqqS5eDqa4wclJoAYBAHMludOjUR8xMssRlMV6ZwIOh3bKYBNPV5za61XnD89c1r6SGUEQry4RpzA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=kxHDWBg6; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712835788; bh=WY8EthFDmZfJZmt27wVTY3epf3S/NvCwlH2R04NWsW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kxHDWBg6kMZ/hmakMBcUJO5B+plR1FtTqjl+jJoXt/I9+WRe/r4HuV5xZzwmHcG1+ N0ZieA87gA7dd6tL0vj2dJKY/j71zA2BO9kcQSm9RkcjpIOokasWMS4Zku/3VNCRY1 l1I0+GU/51yL88+4v6Tli4T6WH8kGV0DhRzzaDypvBgAVwf6sZSgLbxE9E2MpNkweJ wyMH/JbkG1YiWCuHny9Nyd3lQEKyXgmzz2Vc6BU5YR4dqj9jzqxVnO6304telWxIA/ 4IIDEgmQvbghXdFoozQKN5sDGjEes0MmgoDsi4B4vqQQPx97XuV2jCr2uvnMgoIYVC +A88O46bfQzUg== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0C08F37820FD; Thu, 11 Apr 2024 11:43:06 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-scsi@vger.kernel.org Cc: alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, peter.wang@mediatek.com, chu.stanley@gmail.com, jejb@linux.ibm.com, martin.petersen@oracle.com, lgirdwood@gmail.com, broonie@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, stanley.chu@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/8] scsi: ufs: ufs-mediatek: Fix property name for crypt boost voltage Date: Thu, 11 Apr 2024 13:42:54 +0200 Message-ID: <20240411114300.169055-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240411114300.169055-1-angelogioacchino.delregno@collabora.com> References: <20240411114300.169055-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename "boost-crypt-vcore-min" to "mediatek,boost-crypt-microvolt": this is a vendor specific property and needs the "mediatek," prefix, moreover, this is not defining a minimum voltage per-se; Even if technically a call to regulator_set_voltage() does indeed internally set a VMIN for a regulator, the API also supports other calls to set VMIN-VMAX constraints, so this "vcore-min"->"microvolt" rename is performed in order to avoid confusion, other than adding the "microvolt" suffix to it (as this does take microvolts!). Fixes: 590b0d2372fe ("scsi: ufs-mediatek: Support performance mode for inline encryption engine") Signed-off-by: AngeloGioacchino Del Regno --- drivers/ufs/host/ufs-mediatek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ufs/host/ufs-mediatek.c b/drivers/ufs/host/ufs-mediatek.c index e4643ac49033..688d85909ad6 100644 --- a/drivers/ufs/host/ufs-mediatek.c +++ b/drivers/ufs/host/ufs-mediatek.c @@ -595,9 +595,9 @@ static void ufs_mtk_init_boost_crypt(struct ufs_hba *hba) goto disable_caps; } - if (of_property_read_u32(dev->of_node, "boost-crypt-vcore-min", + if (of_property_read_u32(dev->of_node, "mediatek,boost-crypt-microvolt", &volt)) { - dev_info(dev, "failed to get boost-crypt-vcore-min"); + dev_info(dev, "failed to get mediatek,boost-crypt-microvolt"); goto disable_caps; } -- 2.44.0