Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp247333rdb; Sat, 17 Feb 2024 06:55:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX0VS3N40ekLt0fVX2WuuiCDkLXSpRiwNCQLIClBY14MiJdJmy7wJmxr7bRHjT2xu4Khh/yu4/k2WwtppRvE3nIaXN751SIqtqm3U9RuQ== X-Google-Smtp-Source: AGHT+IEwEEKsTULi+bS6cMUBNbaOMV3PVUYDddSAkVDLyvvBuW/a7+0JbERqIX42nFusGMQEr8BI X-Received: by 2002:a17:903:11c3:b0:1db:7195:5fca with SMTP id q3-20020a17090311c300b001db71955fcamr8122688plh.34.1708181713067; Sat, 17 Feb 2024 06:55:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708181713; cv=pass; d=google.com; s=arc-20160816; b=a/rPfpwGGAThb7fpWtlZV+DU+noheJJt44FBTBDTx7vNNUEwjAbNzGS014zrQaEQQr 2SQnkIAnyzpzO+Gz6ggkKBxoVFtQ/f6mNNy3CqwGowd+EyIxyMji8m/YeMiP5By2VgGn iXncMYoLHb4T+37vpRSf4wr+VTr4SS/3CICL4Jj9085riKARn8L2G0p4z55Bfqd1iOf2 O+SOJbL5j/0DmXyyOLUdJd4gtMxKFfe2A/iNY1Ox10NFEqCi7ibTEIAXBqiYPQ3nKyY2 IcF3zgqsDb9FV/1lxgsocz//8xHjgrvGNnpTZ4UoKNJKZMJzYnsLCHywNS/cEJloskHK 0A7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=a1NlKvxYnS62i1NhuKUv/M63S/rqhxqp6Rdz5QCCl/E=; fh=YW87K6Vt763fZthPFgm9WUxxgo906V8yVrhU07HdvuE=; b=MHlBdrHy/dAzN/W5yEsCdHZHJ0X4aKCjhYSMVGLoDxUOWv8Uf/ziLodmd6M2IyzA/+ ctUvDa3sLtG/OHXrb52C3GL82HmHkcXqtYryd8MQeqH4p4mkgL/Hizvx89cIZrnmW4Ap VCsLTd1pkBFog7aoj7LLzt7+GvhRHVfF8xcLmKq9FCBzKCpJ3BS/S/vtikHKUrgRNehZ Y0AYnvwDgtghMYWDdoWveqzd2tvF8gb8mYHlCv7EN5cl1RNcpOwXwnp/LMXyJiBpj9eI BOsgL/0nO3L7liIKPkhO0mmLsb9X8Ws5dLAz7yLrdnL5Ede1oKaAnlmwu2AKfU29UchI yyvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=prRb962i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l4-20020a170902f68400b001d7857c99d0si1595953plg.282.2024.02.17.06.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 06:55:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=prRb962i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69913-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69913-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 73D02B21EA0 for ; Sat, 17 Feb 2024 14:55:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C14ED7C0B1; Sat, 17 Feb 2024 14:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="prRb962i" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFF3B1D543; Sat, 17 Feb 2024 14:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708181701; cv=none; b=HafZt7Q/QCbNdWqXv63MaKi7rv58Hk2cSzA5alq1l0CndSxUx661GAr04ZWhzwTQKHG/E4HNW+1YCUZQiPkgvcmemhj7ZauGi/I7+DsuQJf3wTFN0b+6R2moLWWpcQgurmjGs4DQ0/mOYWGRA4jBHarHxzOPpp0EZgHZa2MkhXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708181701; c=relaxed/simple; bh=Yi5Gd0jnq8M0zygFXNIozQY9SSvV949fbUeccyzerYY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mhVRX0N8IZzhv4HArsz5ySc9WOaR5o688outEVC7wzyz30MOQZnMgMGQokRIUKu5g4BkFHQgB30em5i7d/2SDwlBvP3s00R1yssvP/lf0NXnQpb+tSBxXeQovHGPADAre4/vHwYvpM/Ik6AHE28Mo3SGQEnzzz0pUZSbPW/Ozbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=prRb962i; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B9E2C433F1; Sat, 17 Feb 2024 14:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708181700; bh=Yi5Gd0jnq8M0zygFXNIozQY9SSvV949fbUeccyzerYY=; h=From:To:Cc:Subject:Date:From; b=prRb962iIfd64tAiJtAt+ySH250xUoL0By4O1DslWr0WnDu6BW+Ccc9Nvkowq1CXE CJNNW0A2XR9nO3jlYgEqvzHifu6l95YzbFISYmCcdu16NwGKypa8cb6tnUNRl6SYFl +Hhv6nL/8CFDQCh5O+qPJoP8rBn10/99yN5zFPAwrfgDOLkdc8ihkQRYIE2ls+R2W/ gkUnRMjjjHlPTBC97DqjO9dAtYLYSocw4YYZ12gTvJL7bh9huLgPJdQSK3RQ1FTEt9 cYGfc0UU87TVPJ5tDyGmrq+glKxW5J3Fph4xGy5c0F81wopekm/kIa+x1i3DrRyefs 2vcHrEccXIBmg== From: Jisheng Zhang To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Adrian Hunter Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 0/2] mmc: sdhci-of-dwcmshc: support Sophgo CV1800B and SG2002 Date: Sat, 17 Feb 2024 22:42:00 +0800 Message-ID: <20240217144202.3808-1-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add support for the mmc controller in the Sophgo CV1800B and SG2002 with corresponding new compatible strings. Implement custom sdhci_ops. Currently, only sd card and no-1-8-v is implemented and tested, I will try to find a board with emmc and sd/sdio sdr104 support. Jisheng Zhang (2): dt-bindings: mmc: sdhci-of-dwcmhsc: Add Sophgo CV1800B and SG2002 support mmc: sdhci-of-dwcmshc: Add support for Sophgo CV1800B and SG2002 .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 2 + drivers/mmc/host/sdhci-of-dwcmshc.c | 66 +++++++++++++++++++ 2 files changed, 68 insertions(+) -- 2.43.0