Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1275735lqp; Mon, 15 Apr 2024 00:55:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUL/aGNG+VJPdi9UdibUcXlskrhsMoqmDNlrdB+9APioQ9AhF6W18cjAF1RI/eZ8ITQQIbxil/UxtdglwIzAU6hsrHCi+t7p5HnpHm9RA== X-Google-Smtp-Source: AGHT+IG/dAsTwwiA6CaqRUibagOdsoM740BtKN2NnRnG5QuYIqv54AEVtbpSuitAkwRyWtDTo/5E X-Received: by 2002:a05:6a21:7782:b0:1a9:68c8:56c0 with SMTP id bd2-20020a056a21778200b001a968c856c0mr11527011pzc.21.1713167717494; Mon, 15 Apr 2024 00:55:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713167717; cv=pass; d=google.com; s=arc-20160816; b=fU/hkf1U/yctsW5QYTvJKdfiV9VGIVobIB7Vwic7r2AIh581zbLiouMmMkkZT6+tFD sBbKHxIjYj3NQWDICHZpVWZ+ZERhtPtkq4Xmp6RrI4+mYqGpQQKA+aXs6fynCkF9lbpH Zs8wOpP+bKexKiPCkbICKJCdEInPzHW5HNJWMfIURhWYo3Tq5xB6Ak3jxkBljvcwOefg HeVS1f3mWYA0bOV8UyGIGjamMPMfuvsnzAL8DCER6nn1oXQ0Hbx45Cvau2z7X1mumb8A b1wb0FOOH6gRMDtoStLmQHs9atCaL2RHy2UMhPs2z2V1BxgCBCoS9v4zspxYQ/Riz3jh VBsg== 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=T7SW3Z45KyhmmAAYkCxh0w7G4d8YSSi4bcN35ekvd9gY9CjhT6zARcM7HQKyvKLQNN bUQ9ypra/B5GCxJafcRo8cAPzhWaoT5Ff98ztoP5zxfc3BMsWh4lT1Itm0DAZJ4BFG4P S8e7UXOhJzKBzRYKTCLhkEOQtLWA+Hy6LdAg8UEazL0W0LpBrC3s5l8KR93LyM97OOWU egL4sp8ooNiCKgsNwOJV3Y5EG1Pr6ojGZVr4wVMQDx/ECqw6i0T7MIbNsTPvNh8cTm8S aQf2mvnXOvWR1dvPAYv3T452282/hL3DhAdSK8lMwpvWzjtqqNY9yW9jDf218TD9iZVi KP8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=06YlTsWS; 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-144702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pi1-20020a17090b1e4100b002a85806f6e1si1584420pjb.172.2024.04.15.00.55.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 00:55:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=06YlTsWS; 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-144702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144702-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 329CE2856D3 for ; Mon, 15 Apr 2024 07:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C0733A1B0; Mon, 15 Apr 2024 07:54:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="06YlTsWS" 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 4C5602E851; Mon, 15 Apr 2024 07:54:22 +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=1713167663; cv=none; b=AciU1TuGNKEMMtUDc4z0iD5soNksM3faD3hIvnwHi3fXlBGCyCXkNnz/zZp1Mt6LjFqcOW7Y7mjGmP+rXwonPeRll76kyor4meg8gRvG9HPXsBhR03LptbtLuEHT/Jz7a6A8qf2gRzML8P5RKQkEdwq2nD9eQ11Dew+rET7Z2Ds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713167663; c=relaxed/simple; bh=WY8EthFDmZfJZmt27wVTY3epf3S/NvCwlH2R04NWsW0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OKUsy53HHRSglMpRo6nBhOfKGA01lWDPuFM+gS56suBZuk8+N0B4OCwC77qZUJQhxvLJwHhBs17DZeonfCIdkE+yuxKBuZ9fixoOceGEv4PyjYFIvvzCQSuJlG53yhY4IWTRZwAks+GqFkaZ0DlyGMg7yw+yFQkqB5vZQeWfWs4= 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=06YlTsWS; 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=1713167655; bh=WY8EthFDmZfJZmt27wVTY3epf3S/NvCwlH2R04NWsW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=06YlTsWSw3P6sipl21AV67ZJAklMLTB1VvDKsbs4zFwaFu9kNK/aopglKAGrhMTlQ 6pPzsjN2z7W8PGAwfP/0BNYqYx7AfxMJAYIWlbWxnhbFxmI7slGXJzKh5pq+EtFtD4 ybNyWDa/8+iUwWz4kKwvXpRLQDINSuBsV8y3/rHlCu3e52BFqp2f3A1KT3PADf6YW9 Dc+RlzmFpEIEEPKJuyWkyDLRQI6szHjKkZPKPpN1+6iupPQ9lQLom16OTXTXSn4F+w mYl/qiwedGS1CdXv/k6ekANa3L4Cu7ZXor01RrCFyxR/0dhPU/36i+9pJ/RzwEJPUT haRALaePvEhEQ== 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 CEA123782043; Mon, 15 Apr 2024 07:54:13 +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 v3 2/8] scsi: ufs: ufs-mediatek: Fix property name for crypt boost voltage Date: Mon, 15 Apr 2024 09:54:00 +0200 Message-ID: <20240415075406.47543-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240415075406.47543-1-angelogioacchino.delregno@collabora.com> References: <20240415075406.47543-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