From nobody Wed Nov 27 23:35:10 2024 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 B64841D47AC for ; Mon, 7 Oct 2024 14:03:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728309826; cv=none; b=Xi9ZGk0SXQtB55Bpf3Bfxq3QMpuRJY2YJhzaZMF/viiq0vn68N/epPO4ys6BsVUP8sjC5qfM6oZvgYOa7PaxzymVW5AKp9WXzPrH5qeqdZsWCySX9UeJgyf0urBR6WpFQzzPigXGZVBIAC/9T2+krOBK0KiDuz6Ng+4pSjP0Lt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728309826; c=relaxed/simple; bh=SmXwbLj1U8rjBh2iS+iEiicfCOuWdXkKgQjKYKtfHqM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Tc2LJ17ivpuGcygE7nUMEGZsK0doivCVBKoO4Tz2CyMsCUtXXvQf/mnN6ZzyEF9bHV0DXanATE7KiKanLxgZcn58oyv6a1+g0oW6Em8DWub6TxqFHVMmvMC/KbkR+NhZhYekQiAlaO5j5dnlYExnRkypMxmgpBGqSFH+BWY5B68= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=jpATgP1V; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jpATgP1V" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-37ccc600466so2265281f8f.1 for ; Mon, 07 Oct 2024 07:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728309823; x=1728914623; darn=vger.kernel.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=jVr2IsS8iU7XXkbiI5A6nAOUFZD6qR/TZqOX7q9TN0o=; b=jpATgP1V6eKcmeL/V1bH459yYdflTMIQWPoi8z/dLRpHvIRrq9AAniWS2rDvygappd FVl6cFPBl9pyAfsycEPbT1VjJ1A4MQQHggF8EQ5Vi76BFnUPyc/1KSRq2sZsH7X02z1v hlsJ/wHhn20lAovkv7SmhH5GRPCmmaX6UaebiHmCtspcWXekYx/DaRdrVt8Bitw3TgyS RbQjHebPwppscwzjr197BSNvLizjUQS+zrmFE4fKqNVJoiGUbpAYcbQtjSJpA4ojC8ci 3wx48ZcehhZTf3Nj+3tK1meGBirXkLGiix58691KhgpXPrQzQGF6bOGbn8TljwqHe+5P Pohw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728309823; x=1728914623; 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=jVr2IsS8iU7XXkbiI5A6nAOUFZD6qR/TZqOX7q9TN0o=; b=KQ2TZw+tzwuUVOEdEBeMSxfuOF83d4zQRCkcr9MEXDXcUK5M7qW0jjEBc4FqfDfaGI 3/Es1QjtnH4zI1PZIMAjbNDNZ1EXcgBrdCBrWrYfOEFU9wq+HebrwfXXPup9mRBIkBMA 07O7JsKxnwLD1sZL1YVXdCCdRX4tGxliAboW1RF8+x0gUh9W2dFxMRSaSsXI9R+w3itM qq2T7Pq3kJRZfJNN6/B5pvnOwoJaMSpmVv2dw599LMvx4aZsT9PgqEPBpBkBSRJUcmGV 4zvNMRucUSQPcdRKWEi+yBIEKNlF3yITahmy+uYxDjv5O43lNwibe6L5f6IuOYG181wb Bg5g== X-Forwarded-Encrypted: i=1; AJvYcCWAvrqRul+bLvgUjSFA8c3pHfxIN9xyzuNJRv8jpqNaHNa9JKsZt4pu/BVN4o0gr9G/gzUMB5KIv2YF29s=@vger.kernel.org X-Gm-Message-State: AOJu0YwLfyNP1gxn8djamHy0htgKTSK3FTeJYp0LaNuZ2Foo5KzDfEoT vvE5FKLW9nIZTzI2V/OwDTpfJnNaARABhW0JJNn68tNXw1+g0TXEslqYnTlsLgU= X-Google-Smtp-Source: AGHT+IGlBNXL6jiOlms/arATbqvK6hhh2vVVMJy1TrndVcuPBAQGVFEaobZODYSQL1Q19P8IilBrzQ== X-Received: by 2002:adf:e502:0:b0:37c:d2d2:7f67 with SMTP id ffacd0b85a97d-37d0e74b62cmr5560682f8f.30.1728309822881; Mon, 07 Oct 2024 07:03:42 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d1688a486sm5857022f8f.0.2024.10.07.07.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 07:03:42 -0700 (PDT) From: Neil Armstrong Date: Mon, 07 Oct 2024 16:03:38 +0200 Subject: [PATCH v3 2/3] dt-bindings: mmc: document mmc-slot Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v3-2-ad4eb22c2a8d@linaro.org> References: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v3-0-ad4eb22c2a8d@linaro.org> In-Reply-To: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v3-0-ad4eb22c2a8d@linaro.org> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl 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.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1648; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=SmXwbLj1U8rjBh2iS+iEiicfCOuWdXkKgQjKYKtfHqM=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnA+o7cZJhIrF6hF8cjd399Jc/9d5nYl5wIUhGC5sT 0WLyFyWJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZwPqOwAKCRB33NvayMhJ0Tc8D/ 45ev6BkuUccE2pSpmdlc0jNfrqmQszhJwQW2uiW7nwQORHrKMvj7awhcYSKNmaGfHH/KiXVbB4z1Uc fc8UwsNPWT0OKhb0f97u0paen4NF8WYBpotA9k7fbj6imzErUCbv+mlgKyPpHjBDOJc/RLhDNTklBE ASp0MaFM15Z37P21YmDl1MmsMxcKwQ7qsfu/0ImeHgS6oKtb3HLb1KXVXeP5NPdzAeu/BodBxMC+BG MXIpNCYXbOJ9Gs6A/BUOcarerc9lKXTbeJ/TB/TtgD/7J0/DWPNoj5WYqDLR643fkSW0unqnWg/AEF rWpgGsVsGyW7G6L82j4kOuQ4leeOZC/Yzn8oz3/6G3cRTQvkLw8dEt/YMR7XGdsO/2oLdi8yIlbSrK uATBmu9aC+UJuR32inVQTU3kt34qXNSmFs4i1yaZSfZJ1ifxNEl1ReJz+xo2XaiA/m7hMExLPF0SPz gDkPNE5fta0G+7exL8XuKSVFdusT7zWHUZQWKkyjWVWLHFWxugKbNs6gevKcLKMf7dKnNiUDmWiWuX xSKO3C7SYT3r8Yzk3EmzWD3ajdb90rArZGftMMFTp+aJs8WeGzZXWZjNK7gqWmJAunh/9l87mEdJWZ eRr/RmnsRy58Lut4z2c8XY4fijiRNQtuFXmXupLBedVx+X2VTvgt4zM6wwAQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE 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. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/mmc/mmc-slot.yaml | 49 ++++++++++++++++++= ++++ 1 file changed, 49 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc-slot.yaml b/Document= ation/devicetree/bindings/mmc/mmc-slot.yaml new file mode 100644 index 000000000000..1f0667828063 --- /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 =3D <1>; + #size-cells =3D <0>; + slot@0 { + compatible =3D "mmc-slot"; + reg =3D <0>; + bus-width =3D <4>; + }; + }; + +... --=20 2.34.1