Message ID | 20240102160910.15485-1-kamal.dasu@broadcom.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-14584-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4535871dyb; Tue, 2 Jan 2024 08:09:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1nAkTrx+B9kLPINXD38NgTxYA9c9hElmW2toU+gmy5vDRd+szCyc4/YAxqBt9ZcI/r9D6 X-Received: by 2002:a50:ab54:0:b0:54b:f643:e45b with SMTP id t20-20020a50ab54000000b0054bf643e45bmr6965307edc.37.1704211778858; Tue, 02 Jan 2024 08:09:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704211778; cv=none; d=google.com; s=arc-20160816; b=Bs7pMr+INjV5JmXOFrkNGU6ajMcHrMQbMmOOBtpuDc/yffBqjSz2X6NPEaOytGnMFg 2d53gH+dOkTsG/rtr8x+xw75HueXA3WybWwBOrS3260GwoaUrTDRE2/fk+qUyTPO5rsz IAowpQpa4r8GWGSotsE6Zb+n0/eFRZu7jxybvbuLCexuRYFsIQzr2CnIpH4ypCV5sivU XBnabXpA3VmD6vsRZSxj1PRPiQLatoTmIWK72Fw3lhj/3yHPbr7gNSqzI19LFEAH/D7L 5Go2jVFslxBKuo5OmZbfyNiym4/BaQi9CrdijcxU69sEVpLidfm+p+9yesNEbR1a6slM eTzA== 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=KXTAzFDVVgj9LNljTaRbzi2Q9njUlQgmjfVoSu+dvbA=; fh=kBHKCwXJBH4kFo7p9QMlyiOqiFi9v8kc8OTPdJewg/o=; b=gbZY/HO7XX2AnB4Ys4/ZhsASbGnOTK6fJqaA3i7FTQlDij0QcR8D9TL6A6OLV0dKdB rcaEl73n/jQwC0rQavNwbADgn9ah0DB4+kZ1HOyVgLbdvl387eYuU+7U5tU8I6FsZXy6 5WCtKPnYETbCKsMoU1HhokXjozo6yfX3VqhPskUyJNEwpxU11ycob7Bn6kOVQogBNNCr O+2LMfdnYwGypYYULLONBMzIFjp7SqBG2VKWYtq+V8nZ8aU3VMBLnU0uaEVWisFNv0LV ZziJSd5LNbb+n8O+Jn6ut3cgsFYhdy8kN/QfzJQwq3It5m0j6Kz2mudcy8H+pfn80QsY 6oDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=SS3H2LVO; spf=pass (google.com: domain of linux-kernel+bounces-14584-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14584-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ez4-20020a056402450400b00554b78f1a9asi8140330edb.144.2024.01.02.08.09.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 08:09:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14584-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=SS3H2LVO; spf=pass (google.com: domain of linux-kernel+bounces-14584-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14584-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4F5461F228D9 for <ouuuleilei@gmail.com>; Tue, 2 Jan 2024 16:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0895A14F8E; Tue, 2 Jan 2024 16:09:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="SS3H2LVO" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (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 ECF5414AB7 for <linux-kernel@vger.kernel.org>; Tue, 2 Jan 2024 16:09:15 +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-qv1-f45.google.com with SMTP id 6a1803df08f44-67fa018c116so57318516d6.3 for <linux-kernel@vger.kernel.org>; Tue, 02 Jan 2024 08:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1704211755; x=1704816555; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KXTAzFDVVgj9LNljTaRbzi2Q9njUlQgmjfVoSu+dvbA=; b=SS3H2LVO5UBDqcjmBwCHpdQ5lmFGnUjeIZwX1UHH4mDrqVETlN9Q/A3EyZlMiDazKs gGzrepzM2xVYqxQRqabJWYV4vp/ceDX8meF8pLf+JtlK2+3ECu7I673+f70JEG5dGiKe ErAymDu51+55ahf7T/cprisOSauz5Bu0NfHeM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704211755; x=1704816555; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KXTAzFDVVgj9LNljTaRbzi2Q9njUlQgmjfVoSu+dvbA=; b=ddw2nzo8RrkOE3sxjdgWuSJ2iME/9G3lm0emGSOpm1IpF8UC9NlWvn8zxlZyawmmki DmssjsbVPhSpzyAj/X35xT8W7Y6j173ZOWyQNPo9cb1stMYM+DlpWCPK6Tyc63IN5frE d49Vud29CbTJyi1AWuFH9Qa8q9v7F4TVTDjLuM5n/DacnI6bcqiCekn9t6vWC6/nxW/Y pZPycxmkPUu9ug934TNtAJRc8iPu5AiFmR/KkQ31N3oVU7DViQB4i4rkPax+oNDp3Tl0 I6vuImLpkZ93CKFWi64n7Mh20+Dpx2AX7swSAaN2AkafxbmDIAbfMtvs9oT3Buf014Ww eZwg== X-Gm-Message-State: AOJu0YyAejrJSEkNZuPbVt57NiswqEvydXQVVINCuhHDd/5L6H5K/O+0 cqIseodqz4zF9DrBq4NPX+Pfjf+waGBS X-Received: by 2002:a05:6214:ac5:b0:67a:cd6a:754c with SMTP id g5-20020a0562140ac500b0067acd6a754cmr31351747qvi.33.1704211754836; Tue, 02 Jan 2024 08:09:14 -0800 (PST) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id hf8-20020a0562140e8800b0067f6f8c2a66sm10137520qvb.126.2024.01.02.08.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 08:09:13 -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 v7 0/2] mmc: add new sdhci reset sequence for brcm 74165b0 Date: Tue, 2 Jan 2024 11:09:08 -0500 Message-Id: <20240102160910.15485-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="000000000000496bfb060df8b8b5" 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: 1786995570106330295 X-GMAIL-MSGID: 1786995570106330295 |
Series |
mmc: add new sdhci reset sequence for brcm 74165b0
|
|
Message
Kamal Dasu
Jan. 2, 2024, 4:09 p.m. UTC
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: 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(-)