From nobody Fri Dec 19 08:07:21 2025 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 DC2A521638C for ; Fri, 20 Dec 2024 13:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734702603; cv=none; b=bd+tHYezTPGEq6DM241ytz67zJu6lgub87DxK7B4qEhdCjb6J1wah4vcjO5mQL1ftYMsPGU9EgfTO4+hYKuJX8sze7TxpMjdSu7Q9PExZMeJDab/Wt6yZ9ORUXi0Ko/bxqv8t4NrB4ndAjjKz1123co7bRQyFOl+YuxIUbi6MIM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734702603; c=relaxed/simple; bh=98UdmgNXZR4Odm8WAK3DNauL946xSKIV8vPYFoFzXtc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EoBDcyhFFXjE/4m3MIVbWAkYaW9Ad76TCt6Kub1tI5KdIQ/t0l3EbHJt4E6MrQUrf9eAOatz+p7g9G3A2WTQltWWKGra9XF+z+QbYSz7nCSM762QnTMSavxMITDZ17F268i2LMKy3HDaU9eZyIDKhjNQLLmldqvOILiFm8QGmn0= 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=SI13F7aW; arc=none smtp.client-ip=209.85.128.43 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="SI13F7aW" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4361c705434so14138955e9.3 for ; Fri, 20 Dec 2024 05:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734702600; x=1735307400; 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=vYqkobOK+CGs+TgrhYtB4J6Yl7NbzklVF+5ziOlA9ss=; b=SI13F7aWZl3ze+TueJuL9j8JTC/efTOY+yljHQaEfuee6GFFAHPCCBkXwhCWOhJtIL W3SIv5QC2jH1CybtmnJxWj7it9TImIY3uY4eq5HhN30B91LcASl0uoKXsSbdA7bGOGSq yICR7nrilO3WtqeSG1X8dUY952nM7ZGCJK2Ny2bZqyBQPhP6iBHFf7TxAVFL+kut66zQ AXtdse/24bgOBzCyEHWXVktyeRRBbHuso6F5tP+iqZBuWtwXVuDcxVDAkCX3XwV4u9BD azOvY1EChZeol55huPOgRYE0jI+pLc3xhS/6S3ThsUfpan4Z6wtxRGo9EcGLqIvyWIIY vTSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734702600; x=1735307400; 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=vYqkobOK+CGs+TgrhYtB4J6Yl7NbzklVF+5ziOlA9ss=; b=NjLX4cq+SPVgjpAUg33VXxbS9NdhIgDMCBp/dDspn+g6q1smR3nL8dd4Sf33B081p2 ZKWgCmEGDlBeLpvtsiXPYCQwb5gvX6IAe3SZw3ZNqu90gRkjcq9W/o4tD86B+r6CqNA6 m36d8c5jzxrpPJEH8VU+YAFU03dsUZoyvyKMLMddkfBTpiiYmo5N08CiTgVD8iCzcguY wrfRqPVghSgTf3YdqetUhlgW9MeRnIeDExyxO/mOlgBHX/rLq2WmXILW0m/jitZHE5lj iy2vPiVB4EgG+Id4nLj8ptfXWD4cFOFzJ1p2Q4bZSvpq7dvWZGuVyXEYlyoEJw8+MuED EtEg== X-Gm-Message-State: AOJu0Yyy0KPB3GidkWRASCB8vEZCS19G2q++EBg9yCMe7PkcB0NTesln OqhSDMFFSeCNIjbDF4rrHX9jbyciTCPW2WdHsnMdmZq7m/mCXY3jbGusxSthqa4= X-Gm-Gg: ASbGncsWIPDXL7LCZ5xDIVgnIvdS/sz9rwI24tQpUsX4+kjvKwvnsSrjUArt6W8Y0i4 /CuD0QeSKI6vW+xoapwoW4WT302htBES1fI7EUGwn3WeNZ3ji000lDlLEDV+Ex8H8ppTmu9ivPJ mV4TU6twnPPpleC8oJGJgQ6Q4T5SDlFBrngSgBb1D8hURAhu+S2Ad+knlvhFJvJXfIOuix7O2JA gapvM1kOuR5lH9RQEUFdtw5pfOivFg+zWt9apGSfr8nDH9iYZRjXD55SMjggAuC4tmZVmkBDa43 zPfDMDTIypmyUb6F8Vgzmj9LGN/j6FFf7ZW1 X-Google-Smtp-Source: AGHT+IHmrkvtNC0bpXN3WfagnYqTmX3f/cgHqADtcvMIQyUNWR5Q5Jsopz545p5OgeVnpUJdIYXklg== X-Received: by 2002:a05:6000:178c:b0:385:dfab:1643 with SMTP id ffacd0b85a97d-38a221ff705mr2979256f8f.27.1734702600234; Fri, 20 Dec 2024 05:50:00 -0800 (PST) Received: from ta2.c.googlers.com (130.173.34.34.bc.googleusercontent.com. [34.34.173.130]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c832e74sm4044313f8f.30.2024.12.20.05.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 05:49:59 -0800 (PST) From: Tudor Ambarus Date: Fri, 20 Dec 2024 13:49:56 +0000 Subject: [PATCH v6 1/5] dt-bindings: mailbox: allow #mbox-cells = <0>; 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: <20241220-acpm-v4-upstream-mbox-v6-1-a6942806e52a@linaro.org> References: <20241220-acpm-v4-upstream-mbox-v6-0-a6942806e52a@linaro.org> In-Reply-To: <20241220-acpm-v4-upstream-mbox-v6-0-a6942806e52a@linaro.org> To: Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Alim Akhtar Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, ulf.hansson@linaro.org, arnd@arndb.de, Tudor Ambarus X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734702598; l=1213; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=98UdmgNXZR4Odm8WAK3DNauL946xSKIV8vPYFoFzXtc=; b=L27tekKbbbVcK6U5BoYlAcu5YGoP7VilFJa2kRv2a4piHaSjgl6c8pZq3lyr2xXRNPu1TQkQh AuzOHGFoQW1DsplvHHW5KhfrQXyL0uUAXa/BQ4Qcems105t6N1TPsWA X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= There are mailbox clients that can discover the mailbox channel identifiers at runtime. For such cases passing the channel identifiers via DT is redundant. The framework API will be supplied with mbox_request_channel_by_args(). It will allow clients to request a mailbox channel using the runtime discovered channel identifiers. Add support for referencing controllers solely by phandle. Signed-off-by: Tudor Ambarus Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mailbox/mailbox.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/mailbox.txt b/Docume= ntation/devicetree/bindings/mailbox/mailbox.txt index af8ecee2ac68..fc31a4a3b637 100644 --- a/Documentation/devicetree/bindings/mailbox/mailbox.txt +++ b/Documentation/devicetree/bindings/mailbox/mailbox.txt @@ -6,8 +6,7 @@ assign appropriate mailbox channel to client drivers. * Mailbox Controller =20 Required property: -- #mbox-cells: Must be at least 1. Number of cells in a mailbox - specifier. +- #mbox-cells: Must be at least 0. Number of cells in a mailbox specifier. =20 Example: mailbox: mailbox { --=20 2.47.1.613.gc27f4b7a9f-goog