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: 13497590 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 900F8C35274 for ; Mon, 18 Dec 2023 21:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=MiaJT5RaFpvUuX9bkQJk8ExXvbiFNmYAUaZm/RqK2YI=; b=zrg 83e0+PtBJpzdzg9hsRtnnMxvDx6RceZz7ohdntcZqC61en6oaU45gGOa0IO5Rr13zvVeRDbX6cmq7 8Rt/U8L2PBPu/j6YWDoNJP//wlmO49LP7GQ1DsUUyIVONsMsa2M0gHGVo47ctKZq4wHXV6snBIAFS 0AZWgXvrHYc1oW5jeezztcaO7T4ZTf06tTFUD3/+zXbGQ2o/fzDUDAA8am90IKU5lNts/PMwTKm9/ hjc1WiF199bnByrfdVLfsedGJDcr9lUfedInQDsfS3lA4guwthviOH/z0ZOqgtpNa+vjzQDqCZ4cg QuIweXPZN4H22pX6gyMQcyldT4TylUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFKpd-00C5Z7-07; Mon, 18 Dec 2023 21:07:21 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFKpZ-00C5Yg-0m for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 21:07:18 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6cea0fd9b53so1852244b3a.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=lists.infradead.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GqEjgC0BzG+J+cjk+mjLyxKoTLWlFTsyJPYQ9TmlMzc=; b=PZhP1td8USEyUf0mKqAdBHd4yIK103ojUFITdxswo66wBocGqc1XPsXCLad/lEGzef SzZr2C1Aa+1TpyFsOsFgUy9sOwinWYCuN6uSr869EO70ctR8r/37M3PFK5kWMTbu/3Pb EhHMlhYHwevNOBnhuB1aUqnIMJj+8D0AJI3Lc= 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=GqEjgC0BzG+J+cjk+mjLyxKoTLWlFTsyJPYQ9TmlMzc=; b=w7JXgiq8Z+m8pJnKgx8s7xgsl7jwrTmKERns1o7yMa8BkSzRTLkfI9k3Xpl8fq0E9u NChfWY1YxGIK3dFwQsHcxo1GYJa+T1Nejq430hJdhu2NjqWTVoOc1Nh1YbnGeoUvmPP8 k8rBw+VGFnP+EOK0FnEEX4nDh673u2Ez7+7UCDtToARSd/ZwYTGdpcK9GuCQSblWimjY RT9apqIjLt+xs2QZCNuqVtOQlwvOj4FPicd0huNsBfA5nG117dmC8jVXGh3+3x6ou2n/ 1wHu2FWx+eyImQ2V2thOLPDaor8+nn7NMYcX8lIGW4PsHP8Zauj0rioeIo3dxJO3ig7C Bvvw== X-Gm-Message-State: AOJu0Ywi/7fxj+v94hLtcTfXZWuPJLdQsiBFrnqeqdwJ7Y6UXU51oPuy Y24YOmMnScHfg/7wXHVVlWtt+hi4wFzv7Sz++RA4Ng== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_130717_350373_8959E9D8 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-)