Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp23916rdb; Tue, 19 Dec 2023 08:23:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IES4SVsjKSFGCjbVDagSDEgbxztCdf2ozvQOEOJCiXxQT6/3zEfRE5iAMJLQx/aOL9Y7/Bw X-Received: by 2002:a17:902:ce8d:b0:1d3:de64:e2a6 with SMTP id f13-20020a170902ce8d00b001d3de64e2a6mr731955plg.127.1703002990307; Tue, 19 Dec 2023 08:23:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703002990; cv=none; d=google.com; s=arc-20160816; b=havRBgiKvLUeFNj/QRLLV1WX1C2BPUz8foaaL8EUTQStGxsprV34DioT4P4lyO1acV Y2GnGAJ85JFBdhDkkqd9rfRDcWECSzRCnvqPSIm8YrdKyDU8rW9dxZMlEDqULQq51SGg dRv3zMN7PHjIVHXUFZgRdWV2xURmD/woFLR2RGjIB3xiwSFL3NQz1v5k5AOgbdH1MiFV jG/qwiJ6fechT1Cvm1ScwQfZ7fH8FUtCtIIjh2LAzdzfKjgYfKWPUUOOvqIwQVvVaR+h ogA/7pIoE9+xtkBcDaZQUmUvTs1rH7HdRwTnSAYreIcV84tXUVqLJO88wFrGKAs6xUky VxyA== 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=oKlVzZgU5jI7sjtBC5RAKhTgt9UgPatJwd7doHfElgQ=; fh=kBHKCwXJBH4kFo7p9QMlyiOqiFi9v8kc8OTPdJewg/o=; b=uUpcBlHI+28bLlnbR3rNYj5nMydZP3ekCCfeU1HuUyUTE0EI3PuLqBpA3fleC+PJhd KYdjAJLxi+NtoQvyoZJBrRI33uhwk7V3PpWs/H2kHUNOKhadNvv8349F2gIiDH8O4h7g a1dKfRpHcD4JeEi8U2OHYef5lHc1QRmaYlW4mmb1d6N1GcBI6UOFqEjXOkiQKNu4FQh0 k99hr/5XLuFbLGjgnaFoTnXG8IhjJh8GWcjav2+cApOTStrIOA6HLIBzY0Hwa/L2aEQe 6e6cFVosB1yr8/uZPIX2k97QeuXMu02+oFzKm9OisJACp+0XEO6WBFKlwhGuV7+Gla2v 3Uyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="Y/ofg3Zu"; spf=pass (google.com: domain of linux-kernel+bounces-5547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jd3-20020a170903260300b001d3e50305e4si721784plb.287.2023.12.19.08.23.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:23:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5547-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=@broadcom.com header.s=google header.b="Y/ofg3Zu"; spf=pass (google.com: domain of linux-kernel+bounces-5547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5547-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E1DE7287A81 for ; Tue, 19 Dec 2023 16:23:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D9B31D555; Tue, 19 Dec 2023 16:23:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="Y/ofg3Zu" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 C61F21D53C for ; Tue, 19 Dec 2023 16:22:57 +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-qt1-f182.google.com with SMTP id d75a77b69052e-4277c62426fso3503131cf.1 for ; Tue, 19 Dec 2023 08:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1703002976; x=1703607776; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oKlVzZgU5jI7sjtBC5RAKhTgt9UgPatJwd7doHfElgQ=; b=Y/ofg3ZuG4Nacq8lOFqlHTLi+4k0rg8SHqDASRJET2Osw//qtyDsvhyyV2/hblgFsx Y1vwA+OmU58LoJ6ng6VhRAIrXq6walgZdQD76Iszae0h337pUsQ91vBgTmuiKuJxsj3X uCkoW8Du7iwVjVWhuQ6idTmBvOGZCD0DVTyhA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703002976; x=1703607776; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oKlVzZgU5jI7sjtBC5RAKhTgt9UgPatJwd7doHfElgQ=; b=k5Hqk7hYQP9NztnHOg3KY8TGDQkrccvIC54X6brFUJFIwNgg/RhmxtcXMsM00QE5QW dwX482xaaw5xjV4JDfiIJgiHi/bsPS1b3yfchZ4LP7kxQc3iB3WwCdZK+zIjBnq9ZCuq /ZfBLzW9LSMHO0j6h4i2PDpyVNJKZ+CqRnHwXAuo5JmucGgIGGQozHCYklOuWIjYmsS9 MoiNivRP3mP4MX9DFDxQNauvI8NX8BiFszBG9FZJI1JPZHQUJdpPisYpZl9OisKba9Md 9M0Y3TcGIg/OPNf8/7xzzwy4OI+R8SefSrlYb48dFfGtlJVgWiidyKojzRFVniwkdten Ye/w== X-Gm-Message-State: AOJu0YwPxecF6Ar3gjMTc2iBB1rHddH7b34VKCDyv2vhfAf8/qGGZHtK hJVHRXg4Qb0lOt6QWZmLp9t5iQ== X-Received: by 2002:a05:622a:45:b0:425:93ce:83c9 with SMTP id y5-20020a05622a004500b0042593ce83c9mr23989787qtw.113.1703002976655; Tue, 19 Dec 2023 08:22:56 -0800 (PST) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id o15-20020ac8698f000000b0042388bce404sm10363166qtq.57.2023.12.19.08.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:22:55 -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 v5 0/2] mmc: add new sdhci reset sequence for brcm 74165b0 Date: Tue, 19 Dec 2023 11:22:34 -0500 Message-Id: <20231219162236.36609-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="0000000000007de32f060cdf4728" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --0000000000007de32f060cdf4728 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 | 67 +++++++++++++++++-- 2 files changed, 63 insertions(+), 8 deletions(-) -- 2.17.1 --0000000000007de32f060cdf4728 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 AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9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