Message ID | 20240103222338.31447-1-kamal.dasu@broadcom.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-16068-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5297250dyb; Wed, 3 Jan 2024 14:25:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJrh3YygzJ3AD2lt1/ObNsr9mPNI8xZbxoqkezK33MlTJeFw7Ju7Zc7eogflGH6qb7h3MW X-Received: by 2002:a05:6214:2307:b0:680:c1e3:74e7 with SMTP id gc7-20020a056214230700b00680c1e374e7mr3684480qvb.100.1704320738523; Wed, 03 Jan 2024 14:25:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704320738; cv=none; d=google.com; s=arc-20160816; b=BbiM/PLTrfwoMAqchxV3j0QL22VH2omBiJr9OcnhCyW7rFfxMGxbncfHDhZdaNQsif WcS1ZUww5bQkisz5ANbe+DhzyKxo9gjzV+zGaoNAzvcr0ksAiOIFyAsIV9nH5Lcu6RTE 3pnoZ5anh3yXH9Ec/pEr5RXJ5lulH+3xyIVDyZrUQh/AowmQvZxM/wdnX1ET3mQ60Zia Paf8951wzpKcqrfC/whYB/OBCYZJdIHwHq95r+AGQeorYJ3iiE7QXE8u4AyYtEQZrChi xTea5fY/OUSOwts36M9KvaKZ9O2adRxoDB0gwbR1fgkc2l3iDiCqAunViHiDEKY+SY/X 9Lsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=mz5M3Rpa/D7a+Oadz3YsxjCP5QIcdZuPdfY3bEJub8Q=; fh=kBHKCwXJBH4kFo7p9QMlyiOqiFi9v8kc8OTPdJewg/o=; b=bT7effrb+SRuJ4N1h3W7wC8M+RxwqzMnMedSexaRm2xC3GKbDE8vwylAjcBePXHnqr jjy6t33UGzPdhBavX895q0AQQUDela4JwO9kIkeBhOxhAuS4qyhTVvlB3JB092kLKdh7 BhhuI7k6zrB+jlfyIDLfiqJZijRwrdJO1k4BCOS+S6+jqzya5jY0FvMBlUAeqCNxjmuk G39CzLh2COml42pv2gt6IQPcRdE5CB8rGWRjWzCojNK4mXXkE1m7om6kpGnXgM1HBIA8 EuMgoEH2y3M7TmRHGiaac+ari0y3MS+lFkfff65OlTryCFVSLLTRT0xWEewbAVowIgE/ ltIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=K+mkQqaU; spf=pass (google.com: domain of linux-kernel+bounces-16068-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16068-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e5-20020a0cf345000000b0067f96a1ad16si28041908qvm.215.2024.01.03.14.25.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 14:25:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16068-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=@broadcom.com header.s=google header.b=K+mkQqaU; spf=pass (google.com: domain of linux-kernel+bounces-16068-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16068-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 27C0D1C20EE4 for <ouuuleilei@gmail.com>; Wed, 3 Jan 2024 22:25:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58F3720322; Wed, 3 Jan 2024 22:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="K+mkQqaU" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 2FE921EB21 for <linux-kernel@vger.kernel.org>; Wed, 3 Jan 2024 22:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-28bc8540299so5061430a91.0 for <linux-kernel@vger.kernel.org>; Wed, 03 Jan 2024 14:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1704320624; x=1704925424; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mz5M3Rpa/D7a+Oadz3YsxjCP5QIcdZuPdfY3bEJub8Q=; b=K+mkQqaUDRA0bl+qxc8LMRh4RW++YIGYgrpwGdVi+BUMEb49SadV26BX2+yHHJJ0x9 4bQnlGEHMuOtF91T75lcnJCwuUwjwmXMuH1vyQn4AwWP2Ft0V1hmbKw3jwI451jf0Ntk 52bWOWsjLcJjWWz95Wdmy9/WuZNXsajkNeKXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704320624; x=1704925424; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mz5M3Rpa/D7a+Oadz3YsxjCP5QIcdZuPdfY3bEJub8Q=; b=Rb93Jcz8tHUHagWPD3wZ/4Lmluhrlvn3WyCRHI40NThmj7Twhl8rvMfaG3stnlJgNV UmnTLpxqze+pdqUKw+YVrOdDf3yyiRTtpSIPjoIfA3N8RiAQUrk43PUn8J7BKR08Dhux 0lTen0KwgvL/aDarsdblWsLV2bT4bE1UetSMVlNamykGaDmf0r473AqFhu5bHB1/9ztV kBVPrvFe2dRTQW+YLSYfMf4cODEAwzLNfNKvhw1yRU7zMe/APlIyTA4Qx3dAggcOkFeU GBJtAw9lPVlFXZw8oV1aOSLzRjLIfswaP0zl9fVBOdkGK3EyW/mn1djbrSjShoTrT7Gv viqQ== X-Gm-Message-State: AOJu0YyNI7FkwwNtDVu7NG4uSEfLFTjmHcpbP0nqYQ+Dlxv+Wn2oNpnh V5muoo3mXkMU6vbeb1UM7LW6qq7coE1E X-Received: by 2002:a17:90a:aa0f:b0:28b:de59:47fb with SMTP id k15-20020a17090aaa0f00b0028bde5947fbmr6525593pjq.62.1704320624364; Wed, 03 Jan 2024 14:23:44 -0800 (PST) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id j4-20020a170902c3c400b001d395d3df30sm24197846plj.130.2024.01.03.14.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 14:23:43 -0800 (PST) From: Kamal Dasu <kamal.dasu@broadcom.com> To: ulf.hansson@linaro.org, linux-kernel@vger.kernel.org, alcooperx@gmail.com, linux-arm-kernel@lists.infradead.org, adrian.hunter@intel.com, linux-mmc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, Kamal Dasu <kamal.dasu@broadcom.com> Subject: [PATCH v8 0/2] mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0 Date: Wed, 3 Jan 2024 17:23:36 -0500 Message-Id: <20240103222338.31447-1-kamal.dasu@broadcom.com> X-Mailer: git-send-email 2.17.1 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000006b692d060e1211be" 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> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787109822968902000 X-GMAIL-MSGID: 1787109822968902000 |
Series |
mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0
|
|
Message
Kamal Dasu
Jan. 3, 2024, 10:23 p.m. UTC
v8 changes - Add subject as "mmc: sdhci-brcmstb:" to PATCH 2/2 - Added Acked tag to PATCH 2/2 commit message v7 changes: - Moved variable longer line to be first - Used read_poll_timeout_atomic() and fixed break condition as per review comments v6 changes: - PATCH 1/2 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> - PATCH 2/2 replaced readb_poll_timeout() with readb_poll_timeout_atomic() based on Review comments v5 changes: - got rid of 'Reported by:' and 'Closes:' tags for all patches v4 changes: - Fix for v3 changes that introduced dt schema errors - Fix for v3 changes that introduced sdhci-brcmstb build warnings - Added proper PATCH format and cleanup commit messages as per review comments. Added proper 'Reported-by' and 'Closes' tags - Added comments for 32-bit register access as per review comments - Replaced wait loop polling with readb_poll_timeout() helper as per review comments for the sdhci-brcmstb driver changes v3 changes: - Removed extra emun arrayfor possible compatible strings - shdci-brcmstb checkpatch warning fixes v2 changes: - Fixed devicetree bindings for shdci-brcmstb and removed 74165 compatible string as per review comments Kamal Dasu (2): dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0 mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0 .../bindings/mmc/brcm,sdhci-brcmstb.yaml | 4 +- drivers/mmc/host/sdhci-brcmstb.c | 69 +++++++++++++++++-- 2 files changed, 65 insertions(+), 8 deletions(-)
Comments
On 1/3/24 14:23, Kamal Dasu wrote: > From: Kamal Dasu <kdasu@broadcom.com> > > With newer sdio controller core used for 74165b0 we need to update > the compatibility with "brcm,bcm74165b0-sdhci". > > Signed-off-by: Kamal Dasu <kdasu@broadcom.com> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
On Wed, 3 Jan 2024 at 23:23, Kamal Dasu <kamal.dasu@broadcom.com> wrote: > > v8 changes > - Add subject as "mmc: sdhci-brcmstb:" to PATCH 2/2 > - Added Acked tag to PATCH 2/2 commit message > > v7 changes: > - Moved variable longer line to be first > - Used read_poll_timeout_atomic() and fixed break condition as per > review comments > > v6 changes: > - PATCH 1/2 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > - PATCH 2/2 replaced readb_poll_timeout() with readb_poll_timeout_atomic() > based on Review comments > > v5 changes: > - got rid of 'Reported by:' and 'Closes:' tags for all patches > > v4 changes: > - Fix for v3 changes that introduced dt schema errors > - Fix for v3 changes that introduced sdhci-brcmstb build warnings > - Added proper PATCH format and cleanup commit messages as per > review comments. Added proper 'Reported-by' and 'Closes' tags > - Added comments for 32-bit register access as per review comments > - Replaced wait loop polling with readb_poll_timeout() helper as per > review comments for the sdhci-brcmstb driver changes > > v3 changes: > - Removed extra emun arrayfor possible compatible strings > - shdci-brcmstb checkpatch warning fixes > > v2 changes: > - Fixed devicetree bindings for shdci-brcmstb and removed 74165 compatible > string as per review comments > > > Kamal Dasu (2): > dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0 > mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0 > > .../bindings/mmc/brcm,sdhci-brcmstb.yaml | 4 +- > drivers/mmc/host/sdhci-brcmstb.c | 69 +++++++++++++++++-- > 2 files changed, 65 insertions(+), 8 deletions(-) > Applied for next, thanks! Kind regards Uffe