From patchwork Thu Feb 15 17:46:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 20452 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp10519dyb; Thu, 15 Feb 2024 09:47:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXP8DaBtvkVFeX+5HFp20orxcUXGK7rzDAnG2vfZqhH3RqcovE+ZIePOy896zAQvVsCNg8sirkwFXmPiaOFIeld8p/IpQ== X-Google-Smtp-Source: AGHT+IF5EL6eD5bei5zEvCa7sKBHuEMJ9ITo1kv/ROPgXEgYvy3dlwhzDbLelpiOxq+Dxjow8wIS X-Received: by 2002:a05:6871:88b:b0:218:44c1:bc24 with SMTP id r11-20020a056871088b00b0021844c1bc24mr2520463oaq.3.1708019247852; Thu, 15 Feb 2024 09:47:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708019247; cv=pass; d=google.com; s=arc-20160816; b=rUvLp2rMqOxROQEH5oKK+r2f7GGfPq/z+BtFUKqGGcwv07Q8LwTjzqjvoHWbvSAWeI hfdU/wJ1aeNa3V3yRLfp01yXxxE85tqXIVZscUn2Zno1IdXalg2tn8cOHNH31Wac16cF g0b/Dp2orzPLfirl/DRC0NduO2BWdhGXqG6Izxvt82GOkzxqrboQg56GxbLfDTdieeT2 U0s+Pr2iqp6xsfrHElkQnSLRxYC+7lbLtLHAS03kA60GTpIJf4nDl7cQH+KALuyUY7tF b+GlBklAnZKLSjEVvDsiMShKDdZe7+HRrG+VKWxHA22LYJwXt8A2GtKBdMCRnz3CsKxm ZX4w== 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=FxD2IFT4FUJ8obw+B3QW0AXr5ZTp4rqJ3jnlzYtdoGk=; fh=qrLD1Bzw/v8uOtvD8TPeCBb7psUcqsm97yGxLmHNFfU=; b=cOMMYD4o2A5OhhPjl4FACU3yODeS+h3oNMncx8KmKrblisyhAY3YjbJ6BpPbD6TZlK 0yAgklYaEThqIV7twMEwybDOHM7yH3yq4buSYdpn7AQvfUbi2ppXoJUAUJXD3alIrQLW r4XjtBI2UdHMhtDUcEtPVZqvMKTX/LggdF1GB68eHrya/SHsgtCME+Fk9Ca+ZJr96U5t L95bK+HjckwWBWUY8tG6ngaFANNHwGUGzCWZLFqEoKZ0opsK4QOZfa7wY6Y5sQZGykG+ Qb7ZJUKwxidwp0JICUFmITWpT1MwfzYwGCgTnh7V0plWHY2hNr5DpAHi3EJouw+gi7Q3 gVWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qi6EPdrC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67429-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67429-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v25-20020ae9e319000000b0078553a07226si1935111qkf.570.2024.02.15.09.47.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:47:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67429-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qi6EPdrC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67429-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67429-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 A0ED11C220A9 for ; Thu, 15 Feb 2024 17:47:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 296B11386C2; Thu, 15 Feb 2024 17:46:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qi6EPdrC" 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 36EA9132C04; Thu, 15 Feb 2024 17:46:42 +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=1708019203; cv=none; b=pUw7oHNiZpavvR8xGhHkRj7IOhd1Yisu2zNmfh0VjB6jbm/WGV8HCglGsg65ovNlfThvLvg/LO6KM47+XNpvn6hmPIFRcAlnBtoMGQXebTnepVrELCTsHmaMp2D+3TIRWP/B+25LotiNgb2iALCKDhxnqYZpKBjpF8bVO7WyFe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708019203; c=relaxed/simple; bh=3SmWmcck5G21RkHFmC4DweIdttsir78RJ8t2utgkGNQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=XB6SJ5Q0pAvWsA8RlMLi9Uqp2kpTJzQF/Tu/OQiMVD5yZMNagaQVmgJktGH9c5+7kRIH2VS5Bkgz6ZlmTvQo9uRLmHG+7TBmyYQIGOGM0ISX/cVnV9M/Z5iyz2kUlpcybl44erp3zocChi+PkQeURUce7XuKgGg9M8s6rnFe4dw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qi6EPdrC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B1690C433F1; Thu, 15 Feb 2024 17:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708019202; bh=3SmWmcck5G21RkHFmC4DweIdttsir78RJ8t2utgkGNQ=; h=From:Subject:Date:To:Cc:Reply-To:From; b=Qi6EPdrCc9v89k+Gm73FXJRcklShAe0JaStEoTGaOsHOZx4A6nJXfUYHCZxr1eYwa 5DSX3gfAdzLA++F72H7WqmfSwfNZMDydaRqr5fs7lHXvWX8msxP3RVnqRZWSkCYF9X qCHY6jcWZQjpX15S1u7w9OD63YARQWxjOLk3ThEgU/XqEzjARRV0pCvVhB5s2nQ9Lh g8e70In+BINtknlacjzN0NGu8FtK9Lbg1wgq08dAaNXLwp7XjRXeDG15W4DhdtjSAo 0aIATAYjiCCE5VWtfGaQiIss1ecWHhvt533cUwmF6i2ewOB7mycLbxqX6H1QALLowr RcB78yQblUDdg== 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 9081DC4829E; Thu, 15 Feb 2024 17:46:42 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH 0/3] mmc: add hi3798mv200 specific extensions of DWMMC Date: Fri, 16 Feb 2024 01:46:41 +0800 Message-Id: <20240216-b4-mmc-hi3798mv200-v1-0-7d46db845ae6@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAFOzmUC/x3MPQqAMAxA4atIZgNpVPy5ijhom2qGqrQggnh3i +M3vPdAkqiSYCgeiHJp0mPPMGUBdpv3VVBdNjBxTYYNLjWGYHHTqu27cDERzk1bkThvmC3k8Iz i9f6n4/S+HxbAM4FkAAAA To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Igor Opaniuk , tianshuliang , David Yang , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708019203; l=1049; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=3SmWmcck5G21RkHFmC4DweIdttsir78RJ8t2utgkGNQ=; b=iDJmQqTXs95Iec5RYgBkbeSZNLygTPRYG7YrVtIPzwwKnTycoUIsL5xoH+f3o+MFsRz0AY/z3 hPEFez78WuhDTV2TNtdCfyP+ZoRA1tu2zw+hH8asPLXEDBC5PvPIlWu 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 Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790987991041481115 X-GMAIL-MSGID: 1790987991041481115 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. Signed-off-by: Yang Xiwen --- Yang Xiwen (3): mmc: dw_mmc: add support for hi3798mv200 dt-bindings: mmc: dw-mshc-hi3798cv200: convert to YAML dt-bindings: mmc: dw-mshc-hi3798cv200: rename to dw-mshc-histb .../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 ---- .../devicetree/bindings/mmc/histb-dw-mshc.yaml | 130 +++++++++++ drivers/mmc/host/Kconfig | 9 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/dw_mmc-hi3798mv200.c | 238 +++++++++++++++++++++ 5 files changed, 378 insertions(+), 40 deletions(-) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240121-b4-mmc-hi3798mv200-a5730edf122c Best regards,