From patchwork Thu Feb 27 11:19:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 869164 Received: from mail-m1973173.qiye.163.com (mail-m1973173.qiye.163.com [220.197.31.73]) (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 1AB95227B9C; Thu, 27 Feb 2025 11:54:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740657294; cv=none; b=pCyaL/AH9LUO7UX8sFoSGHYrm/Ya7Sv2ytvFK9SEGZz/FMZtWQEOHAwVf2CUZbqDI7lN7ePsTNpqoyQ+Y/dAMtz+d8Q8xf3H4VBdPcP/2f5a7bKp6uFfqvEHvgIYn3dfpfbOPVRHKR+MuCbT9ggmi8Gr0Xa+aVpbQDEz9zNn3ZM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740657294; c=relaxed/simple; bh=dhs0V5nmWdNo3Y0T8n5/DBHytdtpe0tD6ouPJ2TeqT4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=diNcBGClnlRwjtYwpNKIZ7JiibdCaZ/7yM7eeNZpb9RSGHv8rORgYyuYicn8VEPE5CSSbojUkvqnTLAhkxQqkRZRQ1sQyBzdZR2sJwIGX3PJG6QU30+Mqxv6pMpPAKKcFQaN+cAJCzxSv+IwjM9TkcE9hJDdcwUjSCqiSwrcMVI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=RzsR3blO; arc=none smtp.client-ip=220.197.31.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="RzsR3blO" Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id c65f97d1; Thu, 27 Feb 2025 19:19:22 +0800 (GMT+08:00) From: Kever Yang To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, Kever Yang , devicetree@vger.kernel.org, Conor Dooley , Rob Herring , Jisheng Zhang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Ulf Hansson Subject: [PATCH v3 02/15] dt-bindings: mmc: Add support for rk3562 eMMC Date: Thu, 27 Feb 2025 19:19:00 +0800 Message-Id: <20250227111913.2344207-3-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250227111913.2344207-1-kever.yang@rock-chips.com> References: <20250227111913.2344207-1-kever.yang@rock-chips.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGkhOTFYYTUpITklPHk5DTRhWFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ X-HM-Tid: 0a954721f69203afkunmc65f97d1 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PAw6DAw5MjITNw0RAkI4HlYU TQgwCRBVSlVKTE9LTU5OSk1PT0hPVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFKSklONwY+ DKIM-Signature: a=rsa-sha256; b=RzsR3blOXsXwdI9HOvFzOcLEQVZBRtujcQhvm2zRbJadsYsjAdqa88MYo/taqnfh1GaY0m6Nicn1uKLkOGGjwJlRcWrCUcKd/nvb4c3AoVEhx9goLwFHlvDQ06ya2I3N3N1svmtzCtDbqUgxJHdkP+BcWjZW5V6e3/BhHsuY10E=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=wng6RPNu0umxr4Kc1/tX7hihuPkkSZn7r6Whp2T9fIM=; h=date:mime-version:subject:message-id:from; The eMMC core on Rockchip's RK3562 is the same as the one already included in RK3588. Extend the binding accordingly to allow compatible = "rockchip,rk3562-dwcmshc", "rockchip,rk3588-dwcmshc"; Signed-off-by: Kever Yang Acked-by: Rob Herring (Arm) --- Changes in v3: - Updae to fix dt_binding_check fail Changes in v2: None Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml index c3d5e0230af1..2d5c9931f623 100644 --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml @@ -14,7 +14,9 @@ properties: compatible: oneOf: - items: - - const: rockchip,rk3576-dwcmshc + - enum: + - rockchip,rk3562-dwcmshc + - rockchip,rk3576-dwcmshc - const: rockchip,rk3588-dwcmshc - enum: - rockchip,rk3568-dwcmshc From patchwork Thu Feb 27 11:19:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 869791 Received: from mail-m1973177.qiye.163.com (mail-m1973177.qiye.163.com [220.197.31.77]) (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 9604F229B23; Thu, 27 Feb 2025 11:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740657296; cv=none; b=bCFCIwwZ+gMUb6cfyV7aEaHnbTIQXR8eHNc2FlngMIHXzmwyPVN2UDTB0iyheGLN7P2aTf3nzAIQ4sO1m4sh7SlE9n2FZdR87BPvQ574T3Qvxq5XeScDV2jeLcxU+ZpcVWiIo+OCbbLvfnQ0TYEEA+aDBco2NuNXg7ZFOVKe6ac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740657296; c=relaxed/simple; bh=mvcA5sV3+oNGQiv5fRK8feC9e7FFzhZHTWYlL/1AySM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=p7Lx8H4co6OmG+UNjClMd3r9kvAMhmLEyyOBDD7jnKLWUbFRcGFsFcEB4owFMxIU0Hlk0JssgGbAo2KC+LaTUboXPdug/FgobK+s1F++oEB/nOA861+AmrMHrvV3gyEbnvwBeYf/CcystVICPXGaO0YSO7KRHF2m7qCqjNmuAoo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=PHIrBApM; arc=none smtp.client-ip=220.197.31.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="PHIrBApM" Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id c65f97d6; Thu, 27 Feb 2025 19:19:24 +0800 (GMT+08:00) From: Kever Yang To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, Kever Yang , devicetree@vger.kernel.org, Conor Dooley , Rob Herring , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Ulf Hansson Subject: [PATCH v3 03/15] dt-bindings: mmc: rockchip-dw-mshc: Add support for rk3562 Date: Thu, 27 Feb 2025 19:19:01 +0800 Message-Id: <20250227111913.2344207-4-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250227111913.2344207-1-kever.yang@rock-chips.com> References: <20250227111913.2344207-1-kever.yang@rock-chips.com> Precedence: bulk X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZQxlDQlZKShlOT0xOGk5LS0tWFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ X-HM-Tid: 0a954721fd0c03afkunmc65f97d6 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6KyI6Dzo*FDIQHQ04Ek0#Hkw6 QzdPFB9VSlVKTE9LTU5OSk1NS0hKVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFKS0NJNwY+ DKIM-Signature: a=rsa-sha256; b=PHIrBApMVXT9zti3L8tS1YLRYOuXmNkqOv8CKgjzyZcMB2nKS14j24mRLttFqUhQ8OZ7pQBHwVda2BLXnWYFWGRnLqtm/eaNYyJFFFOFum/rZSoaajES1k2BaoKN4YRLAqHojmYeTjq49UdCh1c7xGaMb9zLYHt1st3vbvkzOSY=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=gvHFJXiZUej2/rw2Y0TEZw4Mh/rNQelI7yzxW1da/8w=; h=date:mime-version:subject:message-id:from; The dw-mshc core on Rockchip's RK3562 is the same as the one already included in RK3288. Extend the binding accordingly to allow compatible = "rockchip,rk3562-dw-mshc", "rockchip,rk3288-dw-mshc"; Signed-off-by: Kever Yang --- Changes in v3: - update commit msg Changes in v2: None Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml index 06df1269f247..772f592291bf 100644 --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml @@ -38,6 +38,7 @@ properties: - rockchip,rk3328-dw-mshc - rockchip,rk3368-dw-mshc - rockchip,rk3399-dw-mshc + - rockchip,rk3562-dw-mshc - rockchip,rk3568-dw-mshc - rockchip,rk3588-dw-mshc - rockchip,rv1108-dw-mshc