From patchwork Wed Jan 3 22:23:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Dasu X-Patchwork-Id: 760106 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 33E121EB29 for ; Wed, 3 Jan 2024 22:23:44 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="NLQa3Lvt" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-28c93513462so3017231a91.2 for ; Wed, 03 Jan 2024 14:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1704320624; x=1704925424; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8O0uAaB/UXTeyxyWaDMH3IHMQMn2oksKT8bn5GpLUaE=; b=NLQa3Lvt7juKgwZn51E9lOrG4F5X2UQiBpuJMyzKp0zaAMx3KD1/5iBwxA8DVs82h2 AG6g5FGQ7zKB/k/yPAKy+6YJYBGBAwnu0NoEBjCBRlHyhiPkeSCgKzQSzmueEDu9Z2SU LrCi6xfVSgh2e2f/NfQVS6NBiVirCeF54pd7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704320624; x=1704925424; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8O0uAaB/UXTeyxyWaDMH3IHMQMn2oksKT8bn5GpLUaE=; b=oYdCIMmbYQUxA6zAwh39QN0Nkz8r5w5mqm3IGa6mgVnxemNsHpIy4uZK4nY8ZK5Qzi j+cvEQXRn+QP5Z08QA/nHOwwOgOVPTCWlNqUNz36iGufWJEHZsFpM7cqY3dg379fI64r ZrogCnEVCC7Ny/2vimVJ47fPNyo5pcEwlTt67eUkBR6V8Ai0qiX+5SPGolcEPA/vTfF0 FiOdXG/Syzskj2YvDXnmzuZe1ny8yf4AQlEA3PtgHBTkA+UE9Zz+QJ0OG2y9uJBNItFJ c59rFCxby7UelOHRBcZVUBcdLy500TmsbNXaRBdx9xrJlge1/Ce1RDsA4DaaxWJavyhB fzUA== X-Gm-Message-State: AOJu0YyM6MNEgB9y2UWyNjad6yDHwGsegzlvgHsGnL2PwY3h2229c0Ym vj9lE8TGfNZxfuZaq7RiFD6JpZsDp/iw X-Google-Smtp-Source: AGHT+IHNw56QAMR3+GChgesnZKJlHCJW1EPAHaWnasMP7S5oWV+myCLkDTtne+tcWWHUHIEAfyZ+9w== X-Received: by 2002:a17:90a:aa0f:b0:28b:de59:47fb with SMTP id k15-20020a17090aaa0f00b0028bde5947fbmr6525593pjq.62.1704320624364; Wed, 03 Jan 2024 14:23:44 -0800 (PST) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id j4-20020a170902c3c400b001d395d3df30sm24197846plj.130.2024.01.03.14.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 14:23:43 -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 v8 0/2] mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0 Date: Wed, 3 Jan 2024 17:23:36 -0500 Message-Id: <20240103222338.31447-1-kamal.dasu@broadcom.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: v8 changes - Add subject as "mmc: sdhci-brcmstb:" to PATCH 2/2 - Added Acked tag to PATCH 2/2 commit message 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 - 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: sdhci-brcmstb: 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(-)