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: 755811 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 00F5D73462 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="cInRFzXk" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6cea0fd9b53so1852245b3a.1 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=xbBimoVyC1pYwdsljbjZX2euQue8buyq0ZSdvStMBSY=; b=cInRFzXkNpoy4aPRQWX6kAYeg/UV8RtdzjKJNRDlR5nhjsaue42r1qB7sze1yidSnU g9q9XT5MjdFK+SShSfCSzJW5iftnoTTj6rn3QKPv75la75fHVsrxCjP1waFV5hfWnzI4 CfB7rv/RkWF8ANa6CB752xH5ez0xa54sGxpfI= 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=xbBimoVyC1pYwdsljbjZX2euQue8buyq0ZSdvStMBSY=; b=hNZanz9ijY3WOUyHfGhYhDpgC4WKlri+6sm/gNQ0lmC6Mb7N5XF4xaffaY87kO2BK2 UIVpH0e+z3NYb8CL5VBlAiP4kRG/qB0c8OhGozImrPlg989wxh5AJXvq4U3Sahjdc8tJ LTQe9/5AabfU4He1YPTHPdZblrlUVLeqH87hMNpiCB9ASPn4GxhNSj7YC4A1aQ/mmZOQ BLMVxQAT6JlpAQ8EPImBHfuYEGf8+kVKhmFt8C6AIGGCFflAcUVITlVZ2hGEwKt7EFTp smvNxkNk4RXVrUvbI+H2Q4pwUAnV/56KLpYPpn933f8swEgqeyQlpWzcjePt5wq/FykA nKOQ== X-Gm-Message-State: AOJu0YzFmVyFtf4mcjLyCsS/P32qiwxw7wGTmoK1HeQT//J79HcZwmFF cV01XjO1FKbDZdockt7o1oJfRw== X-Google-Smtp-Source: AGHT+IHn6EAt7EFxj7XZeGrGuN6Z67x9x2lFzX+Vp5I/I178DJ6ZnpBoU/74VnkGDxvAxXJsoPwacQ== 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-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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(-)