From patchwork Tue Dec 19 16:22:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Dasu X-Patchwork-Id: 18310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2055248dyi; Tue, 19 Dec 2023 08:23:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEBITIjLKUIO+9JblXESLYi2TjmAIspc2xvQjD1oNvfXuRECDAC7F5vvxiUzst7yJ8To/T X-Received: by 2002:a05:6a21:4982:b0:194:74b6:d6df with SMTP id ax2-20020a056a21498200b0019474b6d6dfmr1784716pzc.25.1703003013593; Tue, 19 Dec 2023 08:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703003013; cv=none; d=google.com; s=arc-20160816; b=aAV7lHVvAuFijtmt4QxgTI3WGMWwUaeZRae4tlB8oc/vXLzLwMKgu0B6fInVJNgZSO KkYzMegeG46efdlybfCYz8zpwxWWbJsq0H8j6+byqMjBYs4Nt0iB6p667E3nTnnNmkwG Whdp1q5IftgkP6988WyApV7p1FG3i6nJ95OIJKWzZWSeWffraNABVEnRC0gJHvmCfgpF Xfow6tqHzDSa4qKQxtwEGGMFld/BLNFNzYSzss39QaYLDIOSa1XHRkwAp43tYb5u+Ehp t7ZloV9FVEql+d3C2N4gJ6nC5yo2Z53+5Sq8uNw42OnIvhAzgLb4ijXwd60d0nGgNT9A L/xA== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5547-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d11-20020a056a00244b00b006d0b617fb6esi12290083pfj.403.2023.12.19.08.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:23:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5547-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5547-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 81673B24A75 for ; Tue, 19 Dec 2023 16:23:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 821011DA59; Tue, 19 Dec 2023 16:23:02 +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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785728087937997785 X-GMAIL-MSGID: 1785728087937997785 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(-)