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 D6645ECAAA1 for ; Tue, 6 Sep 2022 15:04:25 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-ID:References:Subject :In-Reply-To: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=zU7V1abVklYAm36LkwpstObc8I8/+DsTBYPpJgNUZFo=; b=HxJZ5gNrMQyI3U IMZMfoHcCYYtzQBk1smZlDGvAyNedMIsRgzntuS4GSeiyo8tb+eMlx0QSWzc9y6G/OY6Kjc37l63x biL0b3fOh8XRPvamelPBk7nX4ITukLmpzzCxU58t6A/ptEoxSb7qEtUKmYTaqKhLdx/hqQgB3yfCu yQIE5C9sGkZWsUFeQBPL+vmSalMBxd9xAm5W/eQdSirmIjvzUJ1NMac9fwOdW/yyMWHANIT7QG/xl hKe8wdycrMGXf5eSnVTwa2XqvaW/d2NKeok8dSkB0ZLDwU/sPpSWzfrK7ceJA9Am5cdcePQllwRDE 6sZqUKhL61SbWuo/iwaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVa6R-00EY4b-7a; Tue, 06 Sep 2022 15:03:03 +0000 Received: from 80-61-163-207.fixed.kpn.net ([80.61.163.207] helo=sibelius.xs4all.nl) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVZBc-00E7ni-G0 for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2022 14:04:23 +0000 Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id 81783d33; Tue, 6 Sep 2022 16:04:14 +0200 (CEST) Date: Tue, 6 Sep 2022 16:04:14 +0200 (CEST) From: Mark Kettenis To: "Russell King (Oracle)" Cc: arnd@arndb.de, lee@kernel.org, linus.walleij@linaro.org, alyssa@rosenzweig.io, andriy.shevchenko@linux.intel.com, asahi@lists.linux.dev, brgl@bgdev.pl, devicetree@vger.kernel.org, marcan@marcan.st, corbet@lwn.net, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, pmladek@suse.com, linux@rasmusvillemoes.dk, robh+dt@kernel.org, senozhatsky@chromium.org, rostedt@goodmis.org, sven@svenpeter.dev In-Reply-To: (rmk+kernel@armlinux.org.uk) Subject: Re: [PATCH 1/7] dt-bindings: mfd: add binding for Apple Mac System Management Controller References: Message-ID: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220906_070420_877457_8E91C962 X-CRM114-Status: GOOD ( 14.69 ) 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: , MIME-Version: 1.0 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 > From: "Russell King (Oracle)" > Date: Tue, 06 Sep 2022 14:19:29 +0100 > > Add a DT binding for the Apple Mac System Management Controller. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Mark Kettenis > --- > .../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 > + > +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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel