Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp274955lqp; Wed, 12 Jun 2024 00:44:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEDzW+u52Ff4DbkNzKLkIi6lJxrFwi7fEpZ3OIQH4wbX3Z1Gs2zAC5WjIO2wr2Tz3u2r1k6EQXmN6j4+8qzo0IoEdGAwSzKzvuLriLjw== X-Google-Smtp-Source: AGHT+IEz0XN+NSDnHdGan7EKuDgUVuDOBZjNCQ5F5I0i+gAXaZWayprnmDZWgycd4oyQ4sXCYliV X-Received: by 2002:a50:c082:0:b0:579:e7c5:1001 with SMTP id 4fb4d7f45d1cf-57ca976a585mr558875a12.23.1718178251267; Wed, 12 Jun 2024 00:44:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718178251; cv=pass; d=google.com; s=arc-20160816; b=R34pRv97fmkN59jRJfjoNFvSQ3oQzOQimG/AUeII3ysJCYXIGsSycnfc5wvacF/Eb5 r9N49PXf1i11DUozFHxL9j0jDhZhPuFccIOr/aP2RmwTbcI07fglf05BDweOickABb7a cluWPunlpaqIVvS+smJ97N3HwrKFwwX9d3KVad/QXmniC2iwZMehpMnfNp/XHOrIafQb Dwwp7TD5zauGaVvIEremWXJK4TDZULH4odCkVcUSCPI7qI5Cd5nzMVJlNt162/HrNyGu mY/iOBQJpzLDFXpZO7cq8MKdCe8bFIsO+CqrW3X1izH32JsxLaDY6PAZlNn+Xjzq/ieO qhnA== 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=TD3+RsWf3MsLhUMrRb4RsEzRQoOCBBF8D1SVSH55h5Q=; fh=oWMdVgkqmnRIAyyDwk/SB66OBEgnRGZ7+sVKUaV49JI=; b=n8nBmCFt/jztK1H4WlqtZzTqOVWqng5FoWOt9BvyoAulkGXo4LJv1+IjIYsIUFzeDc atCw2COpA76BJ3BuiuAuUd4jmUGhePAxV3bu0vHQNbUmjYSIheaVBp0QTrhTE0yJFLi0 V0E1to2iLUq3Qu60VKbCtw/OQvGz0gRGO7fkRon8vIDiK4F3jfQkSQclzGKN04iowMDD E6LeCSzamJVUmonshWdbcqRZN/ydKNzXpEYu/fRETlCQUoX6gc58Ssgey0mYUBdHBpFe 4UFjzEoH2v8b2f800sWKs1Ig9nTT4gPvFyUjlnmbGJDeNOXu4GTvxR/SnkSSeakvoSr/ 7Lfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=geZhYr5Q; 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-211087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c86932788si2625801a12.131.2024.06.12.00.44.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=geZhYr5Q; 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-211087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211087-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 00EE41F2468F for ; Wed, 12 Jun 2024 07:44:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD40816C87F; Wed, 12 Jun 2024 07:43:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="geZhYr5Q" 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 83BDB16C451; Wed, 12 Jun 2024 07:43:26 +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=1718178207; cv=none; b=Iua7hh1QvQ2zajlenQ74jMC58vuznaUk+6oWSRsk8fE1ubu49SQbFcCTtoay/0+BwyQAV44isbPekhNRp/7B8GWQbr0MUmlKh/qL9ZNgR71ywjgkZX/2h0wQRTfdJbKXT8qFUXFRiTR/G1pcJnlzcxRkLaR4DVDpSo2J6enYv70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718178207; c=relaxed/simple; bh=6lsXc7rT10Ac9XA0NZVkBiPzRFq97QkmLLktkh5oOi4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iPCguzVHVRoI8l5ajjb42767zo9R2fELo6syuUY5PswMjZjZj/NT/MDBQ28MTM6uQgclmjvcGyOdah0LDm28++HP0GBNG7G93nMaSSEKcIFRDajaBVRVUgOwrdZ/ZpQ/wNMc8so0Rp0nG6H/XbheT12dEuCQNULNjubxCHxYy5o= 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=geZhYr5Q; 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=1718178204; bh=6lsXc7rT10Ac9XA0NZVkBiPzRFq97QkmLLktkh5oOi4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=geZhYr5QvEFA+deCcJn5kv2L7dxx0xl4Q7/ztkSlnQc0OfrjoCcsFonA6YuWE6uC+ 01wxJsriWa8BtIwB+C0XAjCAaOa5yXuS4+wCcZWtq3b9ssXcnlJkXPZL8snyl1B9i4 /GtFfo9kitkIiQje2NSd+PuFYuf66Jl/ybbFkdXnW5g+eHTcXnnYdJQmRzVaHYenkU o+/oTnJFlgSBrTbCnA2eJyGsd2agQW2uIBP2g+51zUHi970XMA8vLG6tfV1rhY11aP tcTQG6LOZFSwxebLj08iOZUpdVtBjgajo68Mmg57HPhAKDxQt9+JVlh6WUfzEAh/b5 U6ACclK17pNzA== 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 A811C378216D; Wed, 12 Jun 2024 07:43:23 +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, jejb@linux.ibm.com, martin.petersen@oracle.com, lgirdwood@gmail.com, broonie@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, michael@walle.cc Subject: [PATCH v5 2/8] scsi: ufs: ufs-mediatek: Fix property name for crypt boost voltage Date: Wed, 12 Jun 2024 09:43:03 +0200 Message-ID: <20240612074309.50278-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240612074309.50278-1-angelogioacchino.delregno@collabora.com> References: <20240612074309.50278-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 47c7d34b9be9..23271eb1a244 100644 --- a/drivers/ufs/host/ufs-mediatek.c +++ b/drivers/ufs/host/ufs-mediatek.c @@ -596,9 +596,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.45.2