From patchwork Mon Dec 18 21:07:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Dasu X-Patchwork-Id: 18265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1532892dyi; Mon, 18 Dec 2023 13:07:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7l2Tew04QkkLuxXXK4+dE3d1DdWRqeHkqKTpMfOLmutPQAB7zGuTABcISnCw0tZJofvIV X-Received: by 2002:a05:600c:18a3:b0:40c:2548:2e29 with SMTP id x35-20020a05600c18a300b0040c25482e29mr4893205wmp.334.1702933654384; Mon, 18 Dec 2023 13:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702933654; cv=none; d=google.com; s=arc-20160816; b=xvK/rXBMke4SRF6eBnp/KWHaQtNEX/dqOwSdwbQUEOlWKO0B7wtDu1Mp8UMQUtExt9 OqygtIpH1Ofbui+KGv4E2gCcu8QS5hQ3QD/O3v23ZlWQSXWdeOSDQMjuP6fcP0uRaGfE l1GOopxDxLp65Xe2tYhXefGe6nMi5zHc6N7HZIcoKZsCUaQo4SBdRWW1PaAvWq55jVuP 4PZMoh//gZhhtJFKcT3ioPpDr14W45wpE52nJsUQtvYg9phHAJb0G4HbegtuIUJ0Szhb h4rrS7jp4PfE1bR2sPpUvwbqiYK5ZGrt9CmkLWottFGDce530jDm9ZdcU2JrSuzFYpbB D19g== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4390-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. [147.75.80.249]) by mx.google.com with ESMTPS id mj21-20020a170906af9500b00a2355318d06si1292783ejb.492.2023.12.18.13.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 13:07:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4390-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4390-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 CE4391F233C4 for ; Mon, 18 Dec 2023 21:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF5FD740A5; Mon, 18 Dec 2023 21:07:17 +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 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: 1785655359669455437 X-GMAIL-MSGID: 1785655359669455437 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(-)