Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp107471rdh; Mon, 18 Dec 2023 13:07:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IESNH4Ra6s8fhkbXWjBtdgfQjDevpsw+Bk3GJr9blVKVnQV2u9qoPy2Q0QCDd3lKZoblHT+ X-Received: by 2002:a05:6e02:170b:b0:35f:aa70:6886 with SMTP id u11-20020a056e02170b00b0035faa706886mr5534533ill.51.1702933648530; Mon, 18 Dec 2023 13:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702933648; cv=none; d=google.com; s=arc-20160816; b=OeCwGkemym86hOTYQMq+O88+0hkqJfw4Cmv1aVsuP8K5ZiRolg1YpjO5r9G0sSYi4V ExQeEqlzd0qJXMF/guXFnAYzTEMrU0Vq4ZLZgVy2hyuder1gP3jIDZnqRuVUy/4XgcHS pBoX48N1czIW8TktYGGwKsty/82XFdQWzLvtfR/80qIUwbHOi1uaYph42yhyKvme841i sGDfyV6AqNKHRyqaq5NapaMk/rBg1EhsWMgGj7gE0g1X85h3/cNApTTIVMOGaEbIrBFf KOaj9hi45AkvpB5h/ltgEfiSG2/mCd5J1KU05Ba64OtjyZ4w79jZYkxW0zuJOXHBHKoy U1Ng== 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=5055lDReJLj1kHw7iMD+lxant6U5JN409HWhq31YHOI=; fh=kBHKCwXJBH4kFo7p9QMlyiOqiFi9v8kc8OTPdJewg/o=; b=femDGfsWRSEJBacJkmWglk0yZpq1OztHZ8W0vsT/j8wsF0Lym5M+3NWFGXZVl3dYDl 6vrZUi1jVOg4KJsaTZ+TJ5P8klL3Yp4I0/pWNB3GYfSO4C9+G1s+Ts1J2P8wWs0KQK+F nOMvizz1CKAi6Dk7yunR1CVvfiVP9W7PqFSclwxSpUmNc4rZLa1/WWRcZJkRQeEH4Tj6 cDO6zHEOFIwTaAs/cBjIXJts1I2ysk39OiZbwb3lOpXEafDbhGGBXsmkG8/hLIXwutkQ W8gbdgflt/L5OJnHMl64oAs4B+2RXJnKBHcZiOxxWoQ3YfeR7b7RMGFSLgIY+MrOBCnb RAPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=LzpRk9dF; spf=pass (google.com: domain of linux-kernel+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j190-20020a638bc7000000b005cd84b844ecsi4193156pge.844.2023.12.18.13.07.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 13:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=LzpRk9dF; spf=pass (google.com: domain of linux-kernel+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4390-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AF185B235D5 for ; Mon, 18 Dec 2023 21:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7D2A73498; Mon, 18 Dec 2023 21:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="LzpRk9dF" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 00F281E53A for ; Mon, 18 Dec 2023 21:07:12 +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-pf1-f173.google.com with SMTP id d2e1a72fcca58-6d3165ac96bso1090343b3a.0 for ; Mon, 18 Dec 2023 13:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1702933632; x=1703538432; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5055lDReJLj1kHw7iMD+lxant6U5JN409HWhq31YHOI=; b=LzpRk9dFCg6yi0c/XcOHK/lI+MY76Swx7z/cA54wLZg2D0GN26zql/2v4s++pt7IYk LJjLEwi01DPdG+lagtyAhY7f3f+p/8cG+lwzecCcYyIhpcRZQrST3WnZEWz1F9K5S1Ul 71daVWOXtJviw22KBvG0WIjym8eyIiO1I766A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702933632; x=1703538432; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5055lDReJLj1kHw7iMD+lxant6U5JN409HWhq31YHOI=; b=pEMvPmgr2n2tRMmsC2iQk3MdbPIuvAtyc97Fs1Uhc6oW8jdzvlTkBg9IqOpEmijegf lLibkBFU/dd05aQo21Y1N+h5CUaB9h6mWGRUeGf3TNK+MvZGAZmgkN09HpR5Tl2jroP8 k5JoXxeyqWSC5c4irJbi/9qyZCDyS7JpEtbPqURNmlfZKjVGpgvzBsnhPeEq5jIUQKiO Rw36Z7hRrWMQYJ/MC61NSv9jyVTf8X1dKRxX3ORSyzeHPlzre2F92BkevxrOQKDPShFD Ei+78O6Of5Fdr4wHDAPImWq7nWZKMtFURoXlOvAvLc9Tx4J+4EmTaxn5GDR38Agv+MYr 3pKQ== X-Gm-Message-State: AOJu0YwVWBfuyU/3Tkh4LUCuR6UM/bxzjNkW0aLlmTItchCUXuLBInt/ xNawqGlObwCkuLed950ORdqubQ== X-Received: by 2002:a05:6a00:6c9d:b0:6d9:31bf:4280 with SMTP id jc29-20020a056a006c9d00b006d931bf4280mr198824pfb.52.1702933632318; Mon, 18 Dec 2023 13:07:12 -0800 (PST) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id i17-20020aa787d1000000b006d3b2008406sm4473417pfo.50.2023.12.18.13.07.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 13:07:11 -0800 (PST) From: Kamal Dasu 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 Subject: [PATCH v4 0/2] mmc: add new sdhci reset sequence for brcm 74165b0 Date: Mon, 18 Dec 2023 16:07:03 -0500 Message-Id: <20231218210705.38201-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="000000000000406077060ccf2262" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --000000000000406077060ccf2262 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 | 67 +++++++++++++++++-- 2 files changed, 63 insertions(+), 8 deletions(-) -- 2.17.1 --000000000000406077060ccf2262 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQZwYJKoZIhvcNAQcCoIIQWDCCEFQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2+MIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBI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