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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DE3FC6FA89 for ; Tue, 6 Sep 2022 13:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238804AbiIFNuq (ORCPT ); Tue, 6 Sep 2022 09:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239707AbiIFNtv (ORCPT ); Tue, 6 Sep 2022 09:49:51 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74276B7E6; Tue, 6 Sep 2022 06:40:01 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1C1F85C015A; Tue, 6 Sep 2022 09:39:32 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Tue, 06 Sep 2022 09:39:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1662471572; x=1662557972; bh=d3 HdEUqOxRr2NiqMbqhCIYCoCrUQqQyaV7J3bTAdtKQ=; b=srbEmYpKatpJZaqV+u EFOsbgo7m2H/U8VWxATh+56Yut4FnULRHAAxEWYKjbWvkDwI9/PkdFPV7sImol/v SiF0APg8HpeutY6HX0NEL40SUOZTpDU01fFWNDZunzpyQOD030nV4sjtziblw0B9 tlA+Q+OegM1YuaZisrMnjn6gqj930t/XB7KzVC4VFKGjnZFSqMmgkEZHdyjY6VBS 3gd4d95nxsTRwY+u2lqcQHDeFD3pIEz5kvlZGg4jMb8OQQNcmaFy5Swi5VyfzIi5 EBgGRHlhYPWGOECzQYngj7kkpY7MxKG9Z83Kr7lhE83isBKJErxsV3scJEU21Y7E duag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1662471572; x=1662557972; bh=d3HdEUqOxRr2NiqMbqhCIYCoCrUQ qQyaV7J3bTAdtKQ=; b=AVeNnzBS2wOwJ8jOObc8OzW9MrE6rIpFOOEZudovSkIg gXyp523yoJlctVcPCuC0jxNGyUGKyKskj0SxVZtGvgn8YK9BwI6aXuLEIi97echU 4LxN5ih9IdSgsxigVApgk+EIu1mdXh0oph+ID7ptdJnbwz2szKsvXpeb1BlVZwGL pQvHBPSaSM6i8MTsYHPfsHwlRUc8c2xT4kQokfkWNSCq6M8sUfUMqqmPBzCSafvZ z4g9Wlr+/d1JSYxSpkf7B4nFV9ptPWU/s07PzJ5ET/jzSeixSv3coKRAzpWtoiJu YhKoJAIYsh+z+uG+WsbIxJPjiy7RKLbMAas+RN6XeQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelkedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfufhv vghnucfrvghtvghrfdcuoehsvhgvnhesshhvvghnphgvthgvrhdruggvvheqnecuggftrf grthhtvghrnhepleevgfegffehvedtieevhfekheeftedtjeetudevieehveevieelgffh ieevieeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshhvvghnsehsvhgvnhhpvghtvghrrdguvghv X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CAC2BA6007C; Tue, 6 Sep 2022 09:39:30 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-927-gf4c98c8499-fm-20220826.002-gf4c98c84 Mime-Version: 1.0 Message-Id: <99fb8d30-a75d-4709-a4e7-47d2f700ffb8@www.fastmail.com> In-Reply-To: References: Date: Tue, 06 Sep 2022 15:39:10 +0200 From: "Sven Peter" To: "Russell King" , "Arnd Bergmann" , "Lee Jones" , "Linus Walleij" Cc: "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, "open list:GPIO SUBSYSTEM" , "Petr Mladek" , "Rasmus Villemoes" , "Rob Herring" , "Sergey Senozhatsky" , "Steven Rostedt" Subject: Re: [PATCH 5/7] platform/apple: Add new Apple Mac SMC driver Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Sep 6, 2022, at 15:19, Russell King wrote: > From: Hector Martin > > This driver implements support for the SMC (System Management > Controller) in Apple Macs. In contrast to the existing applesmc driver, > it uses pluggable backends that allow it to support different SMC > implementations, and uses the MFD subsystem to expose the core SMC > functionality so that specific features (gpio, hwmon, battery, etc.) can > be implemented by separate drivers in their respective downstream > subsystems. > > The initial RTKit backend adds support for Apple Silicon Macs (M1 et > al). We hope a backend for T2 Macs will be written in the future > (since those are not supported by applesmc), and eventually an x86 > backend would allow us to fully deprecate applesmc in favor of this > driver. > > Signed-off-by: Hector Martin > Signed-off-by: Russell King (Oracle) Reviewed-by: Sven Peter