Message ID | 20240216-b4-mmc-hi3798mv200-v2-0-010d63e6a1d5@outlook.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp424077dyb; Fri, 16 Feb 2024 02:39:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVfTWIo6c7bmNH/otYTS72gTlcs/Ctn7ucLrd4VxRvJbiTeM6B8ynDqAQ95pBuDHa8WPAGBBCa4QAJVjhNAQ6E6QJEHcQ== X-Google-Smtp-Source: AGHT+IEFfan5KPQF+e8WlebMQTj6Y4mLv7Z8Z49AEop0BfLC+zLKQ7bCr+9s+QuEip7rd9g1ytH2 X-Received: by 2002:a05:6102:3a08:b0:46e:c5e7:f7bf with SMTP id b8-20020a0561023a0800b0046ec5e7f7bfmr5200379vsu.27.1708079964182; Fri, 16 Feb 2024 02:39:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708079964; cv=pass; d=google.com; s=arc-20160816; b=hwtDTiroQb7RNhd0zGVcjXcqH/OifjFhYvP98mmjP74OHyXD5gnhiNyEzMNlXss/L3 6LYGCNJtaLwsn5KXEhcGTOVSsf6YSYdZ+l10o31UIy9RLf3h+S66h5pTjdONA2Fln1NU 17rNU/UdnyYwo9CnN9KdQw1mHUcg64QPQ3WsjakbBbEZf92ZfRz8iIIaQpynJz0nom+N Xis8zNuB5jD79FweQhQDCL40Wfr3JmYboqonpbo6z5n52+Q/RgPp71xIZNk+Ud5fuWXR P57VlL+U1zS7de26R+Kwx7fr7Lzx+QCZKobi5Y5UJOja6ctXYrdbFgAB9bqLR2KkeuEh Aj+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=0lheNdII3BdXwt6/DSpdjpLSg/1g24cmqVPhWzXDtBo=; fh=qrLD1Bzw/v8uOtvD8TPeCBb7psUcqsm97yGxLmHNFfU=; b=PWTNlkP32xgEiE3aQMrxVI/IeKtX9YA1OmoBmendW2VQWRzpCuqqJT1XmoRpt8ta+Y FUsYiww8D6ZeQoWNO7uhbysG0dexcDCQ7Hy0gas4iqwBAE5OfYm61L297vdnPyi+WdRR yuss+kqkoUx2I5KjTB01ZLIAk0H1AF/kaS3VkRyc2jfVSH3w3N6i+aTBTXMOAqpvCgQ/ XFJ+t1Xqzt+UcmjHEtnM+pj/UYPofuPwY/dzo3IEnXKTDow3yBWT+rce8EaAGgTyOnUY yHsVnAb5tdMO/vZ+Eg0zwmJ0GfC9ZbHvs7szAsi4+I7e4UKxQw+VJpwdNmxSHjXVjJ2Y rgEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bPzBMoqw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q15-20020a05622a030f00b0042beb743fcbsi3975295qtw.446.2024.02.16.02.39.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:39:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bPzBMoqw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68456-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id F39651C2205A for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 10:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E5E455E5F; Fri, 16 Feb 2024 10:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bPzBMoqw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 764595024B; Fri, 16 Feb 2024 10:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079897; cv=none; b=Nay488cUUdlDALR9NVDSDwK4tWWihLPs2lcoWHS0OhuHU9vcj2+EXgUCFBqEAyTYvblCP6TFpI4W56ujR72my2/1vmLhVBQUzlhT6TCYP7HEoz1ZOPqSGWoG7SVMK2brJ8hl8GUSnOo9RmL7ybJJdG7G5SviaJufdx4vrCkG1Dg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079897; c=relaxed/simple; bh=9w2bI+hdTEUkHwmJZgqnNrTm3dF8JO/74q7G3Kshnzg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ayuCIDlZO2jtlAQobO+xgV9c0C8GHmZh08WoeAsF0yDG/VStXm5LulLbpNDO59TketrHZoepdwhitoRzBhZDlOCaw7RL6Qg4kwVth1kb7jnRDiM2qYL5aZ1UFAMRPUPACIucBgYNZcj+CkGgV1W/LiBPZvUUx/NvnDIeboJHKfw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bPzBMoqw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id EB2EAC43390; Fri, 16 Feb 2024 10:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708079897; bh=9w2bI+hdTEUkHwmJZgqnNrTm3dF8JO/74q7G3Kshnzg=; h=From:Subject:Date:To:Cc:Reply-To:From; b=bPzBMoqw+0+RGoWMMXGH+sZy9gF86vpad0FvBYFg40+uCw7fQZqLZxxigctYBc2MB kD5WGbnx4gXWsTdC72CYWhiPsmgD02mwxvwwh5K55VrTdVCDtMvAYaWW43KRC9grej KloAmA/tIWzQvGa3YXo+FKVXr9avBeYbOHQFc1/9Yv8ihUCiT3Xnk7KQ+1A+9Ec2gN sgxzFRY8GGBN+MVQbvqB2NCBh7+udQsEzudNYEMBH3EecPFlvdDKx+wHkIKvVZ5zRN HPU8FU0BSGTZv/s2I5eFMAqNtIGSMGP5r+A2hbR4Ekf5SUn3wsCcTXUg3RbuScEUxp rBj+26qoDAnsw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7984C48260; Fri, 16 Feb 2024 10:38:16 +0000 (UTC) From: Yang Xiwen via B4 Relay <devnull+forbidden405.outlook.com@kernel.org> Subject: [PATCH v2 0/4] mmc: add hi3798mv200 specific extensions of DWMMC Date: Fri, 16 Feb 2024 18:37:58 +0800 Message-Id: <20240216-b4-mmc-hi3798mv200-v2-0-010d63e6a1d5@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAY7z2UC/22Nyw6CMBBFf8XM2jHtUB668j8MC2iLTLTUtNhoC P9uxa3Lc5J77gLRBrYRTrsFgk0c2U8ZaL8DPXbT1SKbzECClJAksVfonMaRi/rYuERCYFfWhbB mkEQa8vAR7MCvLXppM48cZx/e20eSX/vLkaz+5ZJEgbVRlekbVXa2OvvnfPf+dtDeQbuu6wel1 ClqtgAAAA== To: Ulf Hansson <ulf.hansson@linaro.org>, Jaehoon Chung <jh80.chung@samsung.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Igor Opaniuk <igor.opaniuk@linaro.org>, tianshuliang <tianshuliang@hisilicon.com>, David Yang <mmyangfl@gmail.com>, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen <forbidden405@outlook.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708079892; l=1790; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=9w2bI+hdTEUkHwmJZgqnNrTm3dF8JO/74q7G3Kshnzg=; b=GVrFnTkcI2ByMKXvsctj030QF9pOAZcH1VUk/BLXeBrS/jKXbM2IJzv8YHTt6Q+PNh5oH4MYT zh4EJIa0HHBCk5BmMP1L1yDacgy6TQK6dnyRUkiswHr5UAdADAao5i5 X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen <forbidden405@outlook.com> Reply-To: <forbidden405@outlook.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791051656875410400 X-GMAIL-MSGID: 1791051656875410400 |
Series |
mmc: add hi3798mv200 specific extensions of DWMMC
|
|
Message
Yang Xiwen via B4 Relay
Feb. 16, 2024, 10:37 a.m. UTC
it's modified from hi3798cv200 driver, but quite a lot of code gets
rewritten because of the hardware differences. Actually cv200 DWMMC core
is called HIMCIV200 while mv200 DWMMC core is called HIMCIV300 in
downstream.
Pending on:
[PATCH] mmc: host: replace 1st argument to struct device * for mmc_of_parse_clk_phase():
https://lore.kernel.org/all/20240215-mmc_phase-v1-1-f27644ee13e4@outlook.com/
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
---
Changes in v2:
- dw_mmc-hi3798mv200: use dev_err_probe() helper - Suggested by Krzysztof Kozlowski.
- dw_mmc-hi3798mv200: add missing err=0;
- dw_mmc-hi3798c(m)v200: remove unused MODULE_ALIAS() - Suggested by Krzysztof Kozlowski.
- binding: rename the binding, a lot of tweaks suggested by Krzysztof Kozlowski.
- Link to v1: https://lore.kernel.org/r/20240216-b4-mmc-hi3798mv200-v1-0-7d46db845ae6@outlook.com
---
Yang Xiwen (4):
mmc: dw_mmc-hi3798cv200: remove MODULE_ALIAS()
mmc: dw_mmc: add support for hi3798mv200
dt-bindings: mmc: dw-mshc-hi3798cv200: convert to YAML
dt-bindings: mmc: hisilicon,hi3798cv200-dw-mshc: rename to hisilicon,hi3798-dw-mshc
.../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 ----
.../bindings/mmc/hisilicon,hi3798-dw-mshc.yaml | 92 ++++++++
drivers/mmc/host/Kconfig | 9 +
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/dw_mmc-hi3798cv200.c | 1 -
drivers/mmc/host/dw_mmc-hi3798mv200.c | 235 +++++++++++++++++++++
6 files changed, 337 insertions(+), 41 deletions(-)
---
base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d
change-id: 20240121-b4-mmc-hi3798mv200-a5730edf122c
Best regards,