Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1989085rbb; Tue, 27 Feb 2024 07:24:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXR3KpmPo23AMak0RqtZa/BFALG73BevkmxL6E3KnkUGtJvZ3aITvYqhIQbTraX6yNLwwU1MsAfV8jj94yR8bHrjRhAgU5jmg9WZ4kFgQ== X-Google-Smtp-Source: AGHT+IE2Q9HOjE7yxV9wbOd6u8UdaiR/lS/3Z4OX5h5Jr8BQnbxckMsJGhOM66bx+3Yagpw7IBzx X-Received: by 2002:a17:903:244d:b0:1dc:93b:8981 with SMTP id l13-20020a170903244d00b001dc093b8981mr15409378pls.14.1709047463833; Tue, 27 Feb 2024 07:24:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709047463; cv=pass; d=google.com; s=arc-20160816; b=Jr3fa1Ad+OpK9tdwHoNmI+JKN8go/8OXGxlucZOXNfnPur5vWncTSBtjocoKFQN3Tf hnPXwwllAhdyT3O4YwcvmOFFKza821rTwvqCkLtgopUp4PHbTuAr84UUE4EQH1baxvqO aeyiTx1EgbxLWYJSI9LjILH1mjwKhm1IFDbwCP+dg3YQHWSkTMD/Vd1+LykI5MBBwDOw zajzX+WLASI4/oRjN8nI/SQmaLlBTt3PZFIpI6sdoX+lXNqkxWYEX7G74wwpArU2d1dA eelhfrZKS2xq4SB29bab20VVxOobwHpq8e4T7HdsKIXVyMxk4sfYSHDwzE+4UijftFGU 21rQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=2SQHtHx9/7D+RJHlwNQ3ZmvXdbc7JG9vTHxtAChltzg=; fh=qt5HgzOV7vXZMOQ2EdbxVvcyEV3Yy/a7rbd4//BMRgA=; b=ogEoraxC7WL0BjaUQguI95UpfklsKt9SVvndVgqN9aKtJU2Zg1P9+dpuZwlbYGO+eK Ko/NwYcYCfdM9li322Gt04u1V4igHNm2orLk6K4m0h3zgrOvEUH1XXrtZIuzNGCgc3tr d97aunH/e7CG33cpjB5GS3ahF7+wKlOd/SBs2gqbn8/f3X1tjgCMfx/kmfYyXSQ4UsVH xLU0EEM58ImvDhSrqlqiS9v3WFIG5osg1khqPX6k/PBbRhTDVB6SlMJF2T4xoW4a6hzv BXexcEqFpEZx/ARnvTp4OuvsK559ile/ixMTI7XlriKcI7xKgYae3JkF7kqCdOmzlBC0 MyPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aE64fVmN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-83496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u14-20020a170902e80e00b001dca82fc6d0si1579166plg.39.2024.02.27.07.24.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 07:24:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aE64fVmN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-83496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DBED8289183 for ; Tue, 27 Feb 2024 15:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3796149DF2; Tue, 27 Feb 2024 15:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aE64fVmN" Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53FCA149007 for ; Tue, 27 Feb 2024 15:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709047188; cv=none; b=cqkUuMVkOqYHJ1em+P/F4CMzgQgobASJtUOVXStg0eXSDiylca64g+dHfBBcCr4sUtAL+zlzwXF1/F4kffu/uQzxj3J3bi08YXaW2nzrk/RkyE1zWYb+RgIWIoTyOgSVmVj7yNkEHumywrliEIuzA0wiFi//7rM3LH5/tABuQq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709047188; c=relaxed/simple; bh=1eNIzp2hVyu86ifPWamS4GJF+6ehiaBwAfMIgJI98O0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tKw64lt+BwNI5Jas4od1AlsGkKkRw2XnSf3LXFCqkN34IlACQON2Kg/ESws72dAh11Eq1ii8jHmN+IlHZOsm4lrE6HjjQhNxx59LtVT0VpZeqg6TZempq9L6CqWVAD+8BjHapSo8+tY5ZrSKHwWL6UrCn7JINxayDbEFJl/aBGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aE64fVmN; arc=none smtp.client-ip=209.85.128.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-608c40666e0so31978797b3.2 for ; Tue, 27 Feb 2024 07:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709047185; x=1709651985; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2SQHtHx9/7D+RJHlwNQ3ZmvXdbc7JG9vTHxtAChltzg=; b=aE64fVmNGIjZhNMl20RnJ1Z2vNik3IIUBO1amccpbHT4pH8oEB8ulxHSOO2WoN4mLr ADGwefDOnlhk8Fse/HYl12Woa+Utw+/A9hfexP96r2pmuYqRf4wJSZod4y5G0SGcmT4a kj/+Pe0Dv6odiC7qWIGjLA9N9htLUbOZvTNxxc3xE3SCOj/jWnDWoZF7Y/iKzX9CRntn gCeobmLT4nrL+zeuFT1Z3Jq/Psw5IgHaw7n2C615nTNK7jVcSCS5eo08ZzjpRBx0TSBk DKH/pCCIeOlh6FUt8k672fmorGBEcqNlHU2bPsm01Jl5GOOd7CkCByoIXD8YQvxxV5dG OpVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709047185; x=1709651985; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2SQHtHx9/7D+RJHlwNQ3ZmvXdbc7JG9vTHxtAChltzg=; b=Yk8v7l7O78Vg2enZ9LoCoNiLa35GtCsC+WnWGifCvRSj3hkcMGzTL8ewFtDM4oDZDP +h4+3MucgPhhyHiMjI+7t/Og3jJ5BMbeH/rkoVZAI9hG9BBNj5k2fqRDv7E4wX6b3Gy5 zfbY3QUcEL42mm0Zhq8I/BBwYVhohNHyUPPL/ZyDIIO6P+tmQBLfOJUOQ5DjLCEWgWbG D1isffDHCJarrAYjqeO2VE8qHfT3PR8UA0KIP5MIrgRGo47uDoyuDNQZyLvAUZseFTYJ UZVyc7000Cqt5yeQIeYQ7Vx8CWLFVJf1CB7goKK6bfWD5UtW+bzw0sQ0d40pbXyRU0qK zO5A== X-Forwarded-Encrypted: i=1; AJvYcCUqSTigIxd9P0rWcFdYEyKeHyQOn/RWOTMcCoV3fBV4mzF9gEpbS+2Qeku7XswzoDYINlg+pIjk14SIj0JPL+p/tnZ9KfGiEfRTJgBY X-Gm-Message-State: AOJu0YxxDFgbW0HIec2ywzADl2R/BCLbpL4lsRukbp0xhuAybvcp7DAQ nZ82AQe4l9K86Y0/DIav/im6ODbwNuj4qObYezCVUmTxdiOf3pWl81sjUf8E6d6Yu71NxkBHJxh PaTP/U3viSsaHUgyMCyk019Tf/s+k6sbRagJoEA== X-Received: by 2002:a81:5d84:0:b0:609:23fd:a3b5 with SMTP id r126-20020a815d84000000b0060923fda3b5mr2212466ywb.40.1709047184552; Tue, 27 Feb 2024 07:19:44 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240221-b4-mmc-hi3798mv200-v6-0-bc41bf6a9769@outlook.com> In-Reply-To: <20240221-b4-mmc-hi3798mv200-v6-0-bc41bf6a9769@outlook.com> From: Ulf Hansson Date: Tue, 27 Feb 2024 16:19:08 +0100 Message-ID: Subject: Re: [PATCH v6 0/5] mmc: add hi3798mv200 specific extensions of DWMMC To: forbidden405@outlook.com Cc: Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Adrian Hunter , Andrew Jeffery , Joel Stanley , Igor Opaniuk , tianshuliang , David Yang , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Paul Menzel , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" On Wed, 21 Feb 2024 at 13:45, Yang Xiwen via B4 Relay wrote: > > 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 Please re-order the patches in the series so the changes to the DT bindings come prior to the driver changes that use the new bindings. Other than the above and the few comments I had on patch3, this looks good to me. Kind regards Uffe > --- > Changes in v6: > - apply the comments to the first patch, add their trailers > - Link to v5: https://lore.kernel.org/r/20240220-b4-mmc-hi3798mv200-v5-0-f506c55f8e43@outlook.com > > Changes in v5: > - pick the dependant patch: https://lore.kernel.org/all/20240215-mmc_phase-v1-1-f27644ee13e4@outlook.com/ > to fix the bot build error. > - edit the semantic meaning of hisilicon,sap-dll-reg property (Rob Herring) > The suggestion is from the CRG driver side: > https://lore.kernel.org/all/20240218205741.GA1561527-robh@kernel.org/ > - Link to v4: https://lore.kernel.org/r/20240217-b4-mmc-hi3798mv200-v4-0-0fdd9bd48532@outlook.com > > Changes in v4: > - rename dw_mmc-hi3798 back to hi3798cv200 - Suggested by Krzysztof Kozlowski. > - add r-bs to patch 1 and 2 - Reviewed by Krzysztof Kozlowski. > - Link to v3: https://lore.kernel.org/r/20240217-b4-mmc-hi3798mv200-v3-0-f15464176947@outlook.com > > Changes in v3: > - dw_mmc-hi3798: fix bot error (Rob Herring) > - Link to v2: https://lore.kernel.org/r/20240216-b4-mmc-hi3798mv200-v2-0-010d63e6a1d5@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 (5): > mmc: host: mmc_of_parse_clk_phase(): Pass struct device * instead of mmc_host * > 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: add Hi3798MV200 binding > > .../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 ---- > .../mmc/hisilicon,hi3798cv200-dw-mshc.yaml | 97 +++++++++ > drivers/mmc/core/host.c | 4 +- > 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 | 239 +++++++++++++++++++++ > drivers/mmc/host/sdhci-of-aspeed.c | 2 +- > include/linux/mmc/host.h | 2 +- > 9 files changed, 349 insertions(+), 46 deletions(-) > --- > base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d > change-id: 20240121-b4-mmc-hi3798mv200-a5730edf122c > > Best regards, > -- > Yang Xiwen >