From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D1FC3D6ACFE for ; Thu, 18 Dec 2025 12:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dthtAsPOwOUkAWTKO2bGc2iau0sZjL7efgj/jc5i8mk=; b=wrp07ihVoSIK98 5ZssUJezLc0ao2nFx33lMUF3IJLnIHlVSeQnnWW2uezD5a1GbTrSzcHBueJoJn3tWJyNfQxSlXr8Q bAXDXPqWEggLxbbKLzglU+DzHzmbmu0MqtZHnJv+UYpmctUYr+WS74rmIBQOeKIxkx8w0OQMsDDrp jYhGnDehYLc7YdpgyCk8FxSfBu5bdGOnrku1UeKXDII0tWRF54DvMY4yQFgN27NU4OERq6zECi7cy ZKRv1psDA9JsAijq6pjdhhW5mfJKRbjv7qcWNbhA+RVPELl8cgjfMgFzHfIiLA9C3igeFDR5HFynT NzQo1lyTJUb/0AaGFWHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vWDaS-00000008UEx-1oSK; Thu, 18 Dec 2025 12:58:32 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vWDaI-00000008U3r-2r2E; Thu, 18 Dec 2025 12:58:31 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1766062693; cv=none; d=zohomail.com; s=zohoarc; b=hyywE5dyVcThw+4qeNZ+H14mxwwRPxhf1e3BGLJkGVINGDH8CKvOdxHlTzzFA0EUcbfKxlTvExUQMBuQQdZtoXOLhYDNIj7RkCfvySSxs6UFQC1w95WI1FQCkCjbw1NEVbpL+7n4p660sZCzTXixxt/rWHMaolU8znkFfEJZU38= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1766062693; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=kt6Xk+wA/MGprNVHAljiDI81GSDcfkOv+QkFybI0sNc=; b=MQVgNMhj05ufiTPjNOr8FFnSUjWlETFh2bEXqcoeb4RzIIWz2pmk2Xo6Lxdf10gvETKsxeV1wvCmGD2YLm1rCbGXIRs6YASDSZ+MBkJmyTc4yYXU3NLdpn47ZdxyiscaMlFxlg91P1IVzbEaEcg5KQbJpKad73TGub35+T5v0bY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=nicolas.frattaroli@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1766062692; s=zohomail; d=collabora.com; i=nicolas.frattaroli@collabora.com; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=kt6Xk+wA/MGprNVHAljiDI81GSDcfkOv+QkFybI0sNc=; b=X6ntBvoqAQ7vP3DosBdzHq++GF4v2njQ8691hEHownQyPJuVjkGyUZCQQFHyDoVe Z7GPR1glWSSgdKmdnYRF/YbodxBsheLfVMGRZ2L+AHs/Hym7Ln1SoNzk0JprWu+ApaH 4hFz3x/CVb8Zskv/EPj+KQi+EiQt/b/A4z+6ZFaY= Received: by mx.zohomail.com with SMTPS id 1766062691694245.72284616675836; Thu, 18 Dec 2025 04:58:11 -0800 (PST) From: Nicolas Frattaroli Date: Thu, 18 Dec 2025 13:55:15 +0100 Subject: [PATCH v4 25/25] scsi: ufs: mediatek: Add MT8196 compatible, update copyright MIME-Version: 1.0 Message-Id: <20251218-mt8196-ufs-v4-25-ddec7a369dd2@collabora.com> References: <20251218-mt8196-ufs-v4-0-ddec7a369dd2@collabora.com> In-Reply-To: <20251218-mt8196-ufs-v4-0-ddec7a369dd2@collabora.com> To: Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Peter Wang , Stanley Jhu , "James E.J. Bottomley" , "Martin K. Petersen" , Philipp Zabel , Liam Girdwood , Mark Brown , Chaotian Jing , Neil Armstrong Cc: Louis-Alexis Eyraud , kernel@collabora.com, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, Nicolas Frattaroli X-Mailer: b4 0.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251218_045822_848296_79177B2B X-CRM114-Status: GOOD ( 11.55 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org THe MT8196's UFS controller has a new compatible. Add the necessary struct definitions to support it. Also update the copyrights and authors, without tabs following spaces to avoid checkpatch errors, to list myself as having contributed to this driver after the preceding rework patches. Signed-off-by: Nicolas Frattaroli --- drivers/ufs/host/ufs-mediatek.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/ufs/host/ufs-mediatek.c b/drivers/ufs/host/ufs-mediatek.c index bec726ea15b7..09be752c3c0f 100644 --- a/drivers/ufs/host/ufs-mediatek.c +++ b/drivers/ufs/host/ufs-mediatek.c @@ -1,9 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2019 MediaTek Inc. + * Copyright (C) 2025 Collabora Ltd. * Authors: - * Stanley Chu - * Peter Wang + * Stanley Chu + * Peter Wang + * Nicolas Frattaroli (Major cleanups) */ #include @@ -2243,6 +2245,10 @@ static const char *const ufs_mtk_regs_avdd12_ckbuf_avdd18[] = { "avdd12", "avdd12-ckbuf", "avdd18" }; +static const char *const ufs_mtk_regs_avdd12_ckbuf[] = { + "avdd12", "avdd12-ckbuf" +}; + static const struct ufs_mtk_soc_data mt8183_data = { .has_avdd09 = true, .reg_names = ufs_mtk_regs_avdd12_avdd18, @@ -2255,10 +2261,17 @@ static const struct ufs_mtk_soc_data mt8192_8195_data = { .num_reg_names = ARRAY_SIZE(ufs_mtk_regs_avdd12_ckbuf_avdd18), }; +static const struct ufs_mtk_soc_data mt8196_data = { + .has_avdd09 = true, + .reg_names = ufs_mtk_regs_avdd12_ckbuf, + .num_reg_names = ARRAY_SIZE(ufs_mtk_regs_avdd12_ckbuf), +}; + static const struct of_device_id ufs_mtk_of_match[] = { { .compatible = "mediatek,mt8183-ufshci", .data = &mt8183_data }, { .compatible = "mediatek,mt8192-ufshci", .data = &mt8192_8195_data }, { .compatible = "mediatek,mt8195-ufshci", .data = &mt8192_8195_data }, + { .compatible = "mediatek,mt8196-ufshci", .data = &mt8196_data }, {}, }; MODULE_DEVICE_TABLE(of, ufs_mtk_of_match); -- 2.52.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy