From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D243C433EF for ; Tue, 7 Sep 2021 18:57:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 210E060524 for ; Tue, 7 Sep 2021 18:57:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242515AbhIGS6Z (ORCPT ); Tue, 7 Sep 2021 14:58:25 -0400 Received: from rosenzweig.io ([138.197.143.207]:46204 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237636AbhIGS6X (ORCPT ); Tue, 7 Sep 2021 14:58:23 -0400 Date: Tue, 7 Sep 2021 14:56:46 -0400 From: Alyssa Rosenzweig To: Sven Peter Cc: Jassi Brar , Rob Herring , Mark Kettenis , Hector Martin , Mohamed Mediouni , Stan Skowronek , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] dt-bindings: mailbox: Add Apple mailbox bindings Message-ID: References: <20210907145501.69161-1-sven@svenpeter.dev> <20210907145501.69161-3-sven@svenpeter.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210907145501.69161-3-sven@svenpeter.dev> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + - description: > + M3 mailboxes are an older variant with a slightly different MMIO > + interface still found on the M1. > + items: > + - const: apple,t8103-m3-mailbox Would be nice to document an example of where an M3 mailbox is found. > + interrupts: > + minItems: 4 > + items: > + - description: send fifo is empty interrupt > + - description: send fifo is not empty interrupt > + - description: receive fifo is empty interrupt > + - description: receive fifo is not empty interrupt > + > + interrupt-names: > + minItems: 4 > + items: > + - const: send-empty > + - const: send-not-empty > + - const: recv-empty > + - const: recv-not-empty If the names became not-constant the asprintf thing goes away, not sure that's better or worse. > + clocks: > + description: > + Reference to the clock gate phandle(s) if required for this mailbox. > + Optional since not all mailboxes are attached to a clock gate. Do we do anything with the clocks at this point?