Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp544187lqo; Fri, 10 May 2024 07:36:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwbIhnWcuvlg1p7Lx6DyMImyLBFgA1OHITAvv3+YvZZ7LYx3KyZ0KZXumHuFcNyGg13rWVyrq3UZ43kDIiGlZJug8bJzwsXIt89P02vw== X-Google-Smtp-Source: AGHT+IHO4BMtqNMYqpVYwCTL3DmO4C2pNH0jqkXwV8TZC2d8Hp2//paKQABySvHWennMNW6nt4lq X-Received: by 2002:a17:902:784e:b0:1eb:3daf:ebaf with SMTP id d9443c01a7336-1ef4404a932mr25989385ad.57.1715351807723; Fri, 10 May 2024 07:36:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715351807; cv=pass; d=google.com; s=arc-20160816; b=yCfls7YTfskHA0c6yNivN8Ogl17pQ6K/of+PgYwMTheXRT6aFpLPsBW7eumM1rLhK9 GkGdJ8ElLZX3dQmPBfO69vxtzxVDy55Qla3aMM2Wev1Deedaol7zKxKCOKycr6C/3DqZ e5eJl5vr2v6qqdHxkV7uKlwQIO7egWXIv0lVC+X5emDVfElHGe2KeRChZGglNWJ+jpmy wtKefDCyffUZvOgXkbcy1ulopsDefimcerQsdQ3XYmFsGFQG5XhBbZkG170DqMR3KMDZ oS0BExWZVnse75gb6pv4gyzD609ZgI5aHYDlAkocDZm6GXXWJLniB5BcqFAk743lvySf klMQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fJE6iq5KMzfXhNp8cO0cJHNPNYoqLhn2RR6V0vH5QBM=; fh=MU2/08wcxZGG2FAWSpzRbWXJfJiwWRVh9+VziZdMJoY=; b=rhuZrijjDSeMZpBX+xzMPp92x3pUzwmdPj1FNn+FdIrWg7RmpXiwfp+vuFbWVK5CKX SLajOUi3IVBlQhT/kxtX71lZl+AUTZImsXzS2Eaj/G9BZ74lUOyhvKM+worFLeo5/dEB h9Fy0m/5QzBrRdC/qU1KJQh5STqLiJNHnxnVXQsTZUYI2sPKid+HTaFlywre+vFcAGUF nStzsd07YkcBtdSpEZ5nV6iouaWdhD8oYr2qOKWOMvwioLp8nRBwTcwD+QyZu9pjsyzA BAo2GmQL40oRGK543nZSjHFhZPIBXTg94BK4OUzLKz6lDrk+TIvS4HHXgBOyZSywStvg hHLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=ROHqB4m2; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-175907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175907-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf3137asi39046615ad.268.2024.05.10.07.36.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 07:36:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175907-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=@suse.com header.s=google header.b=ROHqB4m2; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-175907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175907-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 00BA7B240B5 for ; Fri, 10 May 2024 14:35:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 876A117088F; Fri, 10 May 2024 14:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="ROHqB4m2" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 9577616F910 for ; Fri, 10 May 2024 14:35:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715351730; cv=none; b=IZr0W38p+nxNcTNajsA5pBy+q9jMElmioFxeFgIEkGmaDHeT4ONku1Cikn/oDZtT68QYJ4PKS5slqg7h/7Ao60jh+ATfzFIqe0cjAlu/aIvdlsz3lE2zSSENdr2Zgb7/Xjskp+dfqTdPClpI3NcPTxrnNsG91NT3VHPbBSOk6f4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715351730; c=relaxed/simple; bh=P92kk6BhCHW3muExoIcLcwA5qcNfUfMADu6b2AJa6JA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pTKzGDayMhWbFnCBawa1FzvdBOCXVZtazIrIQV5SuCVYn/QHOZA+/RYJikkvVDls40S2Em1u3hKsGR+xrCmYIuby5VaykuBtXds7q9wXiau3h5AWoYE27NR427rdMbQ7/KZxZK4TEYUQRYyCg1o0rP2gmDup3QI8rZxySkLdZZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=ROHqB4m2; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a599c55055dso549027066b.0 for ; Fri, 10 May 2024 07:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1715351727; x=1715956527; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fJE6iq5KMzfXhNp8cO0cJHNPNYoqLhn2RR6V0vH5QBM=; b=ROHqB4m2bwmUAfyqROd6dRtM6BST+qJEOTL/Voj49JLC+hzHMfFPxNQPLN8KCzJCbp +iSdYwX6IRridt4tSm7D3gkea4E9Rm+wFX8VbCvEZs4+ucEePY0NdM3LZd5wx0yJcUUP wonQgTFaz9pLp/dca/DM46ymG/wlOzu0jNupxPMUHVnfiJ2LsP2AfcRNFPSfUVmPs4Jg mXTtA+1cvPm3aXNG88VTB7Vx6d/fO5JjG1QJuwmoOq5flpZXOdhtVBGkvGmEkU4gj4Ec 2pHAFkWbvXSjQDE0eRQwwIA357Nt+VCgRL1dNdYbm0n0vs/MjL4EASrI43DDkyPZdHQp xZTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715351727; x=1715956527; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fJE6iq5KMzfXhNp8cO0cJHNPNYoqLhn2RR6V0vH5QBM=; b=Yh/rosIkA6/7Zi2e/1io0tZGujJXFCOVlnA/5QbAeCJsnTEoLHt1byGGuVAaF1pWly k3WR29tu1GfS8hNFBaKtJ6gt5qEl4MxQn1U5HRf5FjuqvWgkS5DFn5crkOMDKGbjTmQ/ DkyteurhrfF452//dFTRW/ncndW1i3wbaPrVWOgXxY6FMjPI/V14MMb+wVpLx6yw7ow7 cB8yfdq78HuvDD9Spp3LMOdfdPJsRapldJ1rDaE2xHt2v/240LbM5QRvLewQoVTM8Mb9 4gc7v5emicXdk0cekS3yrEpLGb7pHvMrV4c8Gvu1503hc+u7Nmvw9g+VmndZpjw33uvT 7Iuw== X-Forwarded-Encrypted: i=1; AJvYcCWbd7SIOk/VL6WaStV592S09BYRPcj+zPZ/aHJJGCBhdBIT2dhvUeM4RoppN4YF4EvuxnCpre8WJ7tLMOWopG4fAc7tGI7HAJ4uyDEn X-Gm-Message-State: AOJu0YzQH3LtRYUPpU3GzitXDAm4c9DXU3gJ9NoFXxH/yTny1uZhVnAc CeUX2KcFlbpiqsEx4lGJsQW7yjELYv0KBWatZb4JFGRal4tlYbl7x4KsI5s+oAA= X-Received: by 2002:a50:baeb:0:b0:56e:2ebc:5c4 with SMTP id 4fb4d7f45d1cf-5734d5ceae0mr2015999a12.20.1715351727022; Fri, 10 May 2024 07:35:27 -0700 (PDT) Received: from localhost (host-95-235-217-160.retail.telecomitalia.it. [95.235.217.160]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bea6a36sm1882673a12.12.2024.05.10.07.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 07:35:26 -0700 (PDT) From: Andrea della Porta To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Ulf Hansson , Adrian Hunter , Kamal Dasu , Al Cooper , Eric Anholt , Stefan Wahren , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Andrea della Porta Subject: [PATCH v2 2/4] dt-bindings: mmc: Add support for BCM2712 SD host controller Date: Fri, 10 May 2024 16:35:28 +0200 Message-ID: <1f0c4fa62d6849753e2138cce5498693cfc3a230.1715332922.git.andrea.porta@suse.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The BCM2712 has an SDHCI capable host interface similar to the one found in other STB chipsets. Add the relevant compatible string and relative example. Signed-off-by: Andrea della Porta --- .../bindings/mmc/brcm,sdhci-brcmstb.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml index cbd3d6c6c77f..404b75fa7adb 100644 --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml @@ -13,6 +13,10 @@ maintainers: properties: compatible: oneOf: + - items: + - enum: + - brcm,bcm2712-sdhci + - const: brcm,sdhci-brcmstb - items: - enum: - brcm,bcm7216-sdhci @@ -114,3 +118,22 @@ examples: clocks = <&scmi_clk 245>; clock-names = "sw_sdio"; }; + + - | + #include + soc { + #address-cells = <2>; + #size-cells = <2>; + + mmc@1000fff000 { + compatible = "brcm,bcm2712-sdhci", + "brcm,sdhci-brcmstb"; + reg = <0x10 0x00fff000 0x0 0x260>, + <0x10 0x00fff400 0x0 0x200>; + reg-names = "host", "cfg"; + mmc-ddr-3_3v; + interrupts = ; + clocks = <&clk_emmc2>; + clock-names = "sw_sdio"; + }; + }; -- 2.35.3