From patchwork Thu Nov 28 15:16:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13888162 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 A2286D69115 for ; Thu, 28 Nov 2024 15:22:11 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AaT+qBmGOImfuaIC82/qtGS1eSxJfGKzsJg8xC2TEW8=; b=pNKUD0CJwjAW9b 6/QjwZvOW7wyj9HPxNTEfFloXotVLotqk89iWdVU9sdmp720+iLAaSMfEuS2N+nnd/s4+YkVQionO oBFzN8jmnOF7ipBE4D/YbczXAbC6btYYyBrmSVr3IFpndWusZOOUsP+9EAdY72kh4XoIewc2MMRcP eDvCuN3Mr9IWpeGU0K+T4NuzMUyUWHLw+7JqHgCoLTici5rTE4UoG6I9rJ8nBUPeUXKdhwGVqMnVW dzilMkoE5DA1/DAIoF+dufGYCbMlJyqGCdQNnKonsJL0wzQYsIXq/8UwCovSnwxc5z88mosiVfw8z AMsXh5IgKiaRIwa1jzHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGgLI-0000000FsDj-1TQT; Thu, 28 Nov 2024 15:22:08 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGgGC-0000000Fr6A-2o4Z for linux-amlogic@lists.infradead.org; Thu, 28 Nov 2024 15:16:54 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-434aafd68e9so8509155e9.0 for ; Thu, 28 Nov 2024 07:16:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732807011; x=1733411811; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=S5Q6Qv7Q+7NO9XRjvZFVeABmFoVh33eCRfYHhRmvlpw=; b=f0lrrhg8yK5ZRr529HoMBwZIyOnln24wl7NwRadesFKdpawgpL2rYsgv3tWeKY+qEK wFOkkFi97wqagkG2CH8pEmpmMmwkjafcIXbpK8fp/wQLO3sqMo2lrvz++pu2JjuqzNg1 S5y4q84zGUPhyFAx7eldqDRZWM6XAnDVLe0IpSAhTuJJF7CarLl9anvOT/D/k/Z8szkf uWsWLOy9M/icsb950V+p1pnxyBGxhwwbEJQRGMhSCH1TNZ3cvqH/Qopyz5Ip1MXokWrl y19RGJ2ntLQtq0xSLh02p9bdetEPabFwm8+H2TTbE3TNyZoCYUecffTvncW3v4sFRMam uUHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732807011; x=1733411811; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S5Q6Qv7Q+7NO9XRjvZFVeABmFoVh33eCRfYHhRmvlpw=; b=lYHwo/w7Cc2p5y6MRBmu/e4QQUYGte37YpBlaOtTJiM8EuxmFRczBPr8Zr/TRk9LMb 2O0FhdzVVxrl+1VzNiBJCeMo6JwCmk/uVMrHOu4SFR0TfaJ97loIPBVeRR6Quo5ti5X2 35MFyCCWduBhdHmxV9eHFMp0e/TpGgywdPmyeQDQnqMoYc6eZiix/JGfgMG9yw3Q1SEk n4JhcKFmJ4PjWfAzw7/WiYytdmJDhV95II6zt5RztJMyZd+XMoKtROzLuvZqAVcoRTnH nyCXG7EdJce7WzQ/sMQmrEtMb/CixpA1yNeH7UYeeKP25TmwSDsg+rMMHNikLyvWxiK+ vTaA== X-Forwarded-Encrypted: i=1; AJvYcCVLvcj2ojEY3JNwJalP4LEzBTkqHX1MEw7Ku9TTO0e5Ih/mM98A+LQtITpiNg+1et6qSxTbY+F8NxbRaE+6@lists.infradead.org X-Gm-Message-State: AOJu0Yy5qFUFKUY2P7T2XUqZtGSitCgZY4liJ5Uj8Y1cM+4sgwxLhM6G YSWzCHITLVtvs7GXb5pNIququy9rktWwlVTw5Ym9Y72HWXVptnq11q+nfiFsM48= X-Gm-Gg: ASbGncs76ujn9p2IrQ8uOF1DknCDBfUvZiDAWtP8f4CJe1W3PoxTs3g7NhpguS58mHw 30/9qxPO3tOf2zguIzQobB2LMJWawjLqoUtbH2sH/AIRM3Ra6VW+Qi6cv2gUV96O+3UHM65zkqx Yo6QTZg8EQgAXt0jeh1ok+uXNkANc2dWLpumlITlxXiVWv59I8QqYSeQRg1lzCoF/kEzUL3jKcE ooqyGS3SnIs6fdKKRr1YgEkji10UiM2J9KIdk9ZkCyPW/ccXnevFBC/ABqddj5O2hR7nYE= X-Google-Smtp-Source: AGHT+IF0iJc1B5czbddvWTBnzzA/XHuEcHL2hR6LyPDDF8y2Tqjitcp7kVj8ES42GYzv1qAY3kVKlg== X-Received: by 2002:a05:600c:3b29:b0:431:57d2:d7b4 with SMTP id 5b1f17b1804b1-434a9de3be9mr60030445e9.26.1732807010910; Thu, 28 Nov 2024 07:16:50 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7e4fe1sm55867025e9.38.2024.11.28.07.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2024 07:16:50 -0800 (PST) From: Neil Armstrong Date: Thu, 28 Nov 2024 16:16:44 +0100 Subject: [PATCH v4 4/5] dt-bindings: mmc: document mmc-slot MIME-Version: 1.0 Message-Id: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-4-11d9f9200a59@linaro.org> References: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-0-11d9f9200a59@linaro.org> In-Reply-To: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-0-11d9f9200a59@linaro.org> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Maxime Ripard Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1754; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=KH6tn61/Aofb7L+ocHnF34SBttJAGs8D9xM5t0ckYwk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnSIlcZZ0QyhefaYAilsotWqcLqgfPkSKK9P1RiHTk FklhojiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZ0iJXAAKCRB33NvayMhJ0QNtD/ wJTQlrjKH0PY65pp1YvHE/K8ab0MOAghsuUJS/CYKI6D2Ee2EewIuUP5zLVsm1tq2+EUEOrJBqIlLM xgxNnGjNR2QEnoZfWeNFEEACal3ui9bkPZi7c2/CSi4KUw5SAT9ycCwBaNCH2JVbX+ubMcQJo6XQW2 IoqziEgnTD32MkJP+gFanL4SoBxlVE0sGU3QiDu3scymKJ9CCFANE0EOsuBmNS5RIR0h4CEuFSsBPd cKefbWZxv97HOPZPXeGrVt5CIkqZ1R+Ajel9T8zVeQ12NZ86wXD6ytuxe1LVXq0pNiQWZ7pvk/zH6m SBIZe9BM6HH1ggbkmp77J6HTXaFZxP4C2HjNPXsWg5Mzx8X4jF8318t+BkiRcaBmDxWAc55M9FAS7h B3I/6SO7VdKxmRjJc2HKqMDiMpk28uXgaManIKOkN8gzmJtp7QZgYgTTRuO4wasH3yifooaU7AEUpL lo71weRzjMjo7d3Ev8mUidV+EvTIgqsbGxAMqmfoZvQROyUkcFMLMFvGmVWMznw35s+2k1yh4zxq8y h5JdkysR9IUT/SlbHfkuFR70LYpUIEROx4wThdLGqLVbfKf/2Ci9iuiiWlMOtthQcz60C8+m+Kg5qs OOD2zGlhE0zLGIpNpIlTBCYvq2DwHZlzV71aErT//1OaZGZHMJFbMGvvIomQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_071652_711854_1B31830B X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Document the mmc-slot, which is a subnode of a multi-slot MMC controller, each slot is represented as a full MMC controller, the top node handling all the shared resources and slot mux. Reviewed-by: Rob Herring (Arm) Signed-off-by: Neil Armstrong --- .../devicetree/bindings/mmc/mmc-slot.yaml | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc-slot.yaml b/Documentation/devicetree/bindings/mmc/mmc-slot.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1f066782806341a9f72460edd8e6454ce22f4320 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/mmc-slot.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-slot.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MMC slot properties + +maintainers: + - Ulf Hansson + +description: + These properties defines slot properties for MMC controlers that + have multiple slots or ports provided by the same controller and + sharing the same resources. + +$ref: mmc-controller-common.yaml# + +properties: + $nodename: + pattern: "^slot(@.*)?$" + + compatible: + const: mmc-slot + + reg: + description: + the slot (or "port") ID + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + mmc { + #address-cells = <1>; + #size-cells = <0>; + slot@0 { + compatible = "mmc-slot"; + reg = <0>; + bus-width = <4>; + }; + }; + +...