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 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 6BF30C54EE9 for ; Wed, 7 Sep 2022 15:42:22 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7y16Bkml0yG5yycIlbqIk5mkMfimXbYdmuWSUEYSkVg=; b=Z3ATM5srg5C1I5 zH6jyFeq0+iOayP8pMiHbyVoaGvFsj3zHy81mnkEDdn1b7e463AGHX2AXmqcDLcgZ2KTC1k1u8Fof V11fSvAnqDK9OaqdYrZ2/fLxADaOUA68upbiIIS8IkxQJSwQpTfRRQaKPaO0wxOiPFcKMWsNW0PDH DPV7shsxGkEuu0pgA7zRdYwqLEyXe4Y9HSUd9j9iBBsB45MBaEvJDagWMARA+EoqAi7jNuaHCHtB3 kc5erHnOi9N6D+LZy9Ab7l4GdtJ8EMjY7dC8pHx9OVs1oO7Z1id0Z7mmLfaNmoVp9TbEiatkop3a8 xdxvjMLUDJYMG4d8Bg7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVxAy-007Ptg-PA; Wed, 07 Sep 2022 15:41:17 +0000 Received: from mail-ot1-f49.google.com ([209.85.210.49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVxAt-007Pqo-Ns for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 15:41:14 +0000 Received: by mail-ot1-f49.google.com with SMTP id v2-20020a056830090200b006397457afecso10503975ott.13 for ; Wed, 07 Sep 2022 08:41:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=btKRTicmLvDCX1hJOEXkDhCFvp2y2mAwN4dxOJuI9Xs=; b=ShL1/rM4cgW7zTOxXA1mfFfOkfu94QDnMM4J/5iRuph8vkBKwILQ2I0IQIWfRcegSc e7FVP+T0VwS9QkX18WbUf6aAF1K2xUp+XcNy2QzfbjeFlmwRkCMYYOcjxK0HVNnE8R7X oaw/QH6NgnU8qCb1dZMC/ONWhc7aMD2H6cgbJuOxSDNcoxjGODXdjAiJa7aqvp4NP5rH cuDF/L4riEK2ls4dMHMxk+ZfXzfnQaveIyGH4xY5tloZ9u4ICZJrMZ8aG5y2egkKIOxV d5zNB89O2CZ5WhRp7qncxoVPhYfFnyar1OMxN3ky8x8Z3qeKyVZIgRvH7NRTuyxyIkj+ W35Q== X-Gm-Message-State: ACgBeo0uWXph0p6UTl6gImwfZplIz2UldepQegahEkKOr0/4LDwiNaX+ 0Pct71Mdg3L9t/Wt577Omg== X-Google-Smtp-Source: AA6agR4p0eaTsxXGe9aZXFV+W851SwM/FoDIIR/4L+/Kvd6bS7Rk3DlqEa0K4TyDOXVuPAnToLaI3w== X-Received: by 2002:a9d:77c3:0:b0:637:36c1:475b with SMTP id w3-20020a9d77c3000000b0063736c1475bmr1673088otl.346.1662565270329; Wed, 07 Sep 2022 08:41:10 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id l14-20020a4ac60e000000b00435ae9a836asm5174440ooq.15.2022.09.07.08.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 08:41:09 -0700 (PDT) Received: (nullmailer pid 3502719 invoked by uid 1000); Wed, 07 Sep 2022 15:41:08 -0000 Date: Wed, 7 Sep 2022 10:41:08 -0500 From: Rob Herring To: "Russell King (Oracle)" Cc: Arnd Bergmann , Lee Jones , Linus Walleij , Alyssa Rosenzweig , Andy Shevchenko , asahi@lists.linux.dev, Bartosz Golaszewski , devicetree@vger.kernel.org, Hector Martin , Jonathan Corbet , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, Petr Mladek , Rasmus Villemoes , Sergey Senozhatsky , Steven Rostedt , Sven Peter Subject: Re: [PATCH 1/7] dt-bindings: mfd: add binding for Apple Mac System Management Controller Message-ID: <20220907154108.GA3498574-robh@kernel.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220907_084111_833645_6FC9FF0F X-CRM114-Status: GOOD ( 18.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 06, 2022 at 02:19:29PM +0100, Russell King (Oracle) wrote: > Add a DT binding for the Apple Mac System Management Controller. > > Signed-off-by: Russell King (Oracle) > --- > .../devicetree/bindings/mfd/apple,smc.yaml | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/apple,smc.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/apple,smc.yaml b/Documentation/devicetree/bindings/mfd/apple,smc.yaml > new file mode 100644 > index 000000000000..168f237c2962 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/apple,smc.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/apple,smc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Apple Mac System Management Controller > + > +maintainers: > + - Hector Martin > + > +description: > + Apple Mac System Management Controller implements various functions > + such as GPIO, RTC, power, reboot. > + > +properties: > + compatible: > + items: > + - enum: > + - apple,t6000-smc > + - apple,t8103-smc > + - apple,t8112-smc > + - const: apple,smc > + > + reg: > + items: > + - description: SMC area > + - description: SRAM area > + > + reg-names: > + items: > + - const: smc > + - const: sram > + > + mboxes: > + maxItems: 1 > + description: > + A phandle to the mailbox channel That's every 'mboxes'. Drop generic descriptions on common properties. > + > +additionalProperties: false > + > +required: > + - compatible > + - reg > + - reg-names > + - mboxes > + > +examples: > + - | > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + smc@23e400000 { > + compatible = "apple,t8103-smc", "apple,smc"; > + reg = <0x2 0x3e400000 0x0 0x4000>, > + <0x2 0x3fe00000 0x0 0x100000>; > + reg-names = "smc", "sram"; > + mboxes = <&smc_mbox>; > + }; > + }; > -- > 2.30.2 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel