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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9BA1C433F5 for ; Wed, 27 Oct 2021 14:53:27 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9335160EFF for ; Wed, 27 Oct 2021 14:53:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9335160EFF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8gkNpwDbfFoXGuBxQdr7MM4FZy3I0e0xu9uDx5uskJw=; b=0r/RcjuuRJ++y5 LXS3u3fGU7auj5CUwrAiNEwfDciWwf/NmlSMjWfOQwt4BZ43I1HJ85avC6JYQj5NDDLDsECp7M5f8 jWpbSzlH7HRDh+FCAyUrSWvfU+jeV/ybj0MSazf68uDt30D2sdGmhA2xMlvPG4EUMjo8S1RM7TdHx gPla3rvByMR1NHWVwPV3qmxc6eK71aKw4ryDmb3MNwFHBYNks/aL77/x3iNgXo709ecapJkOsvMcY MDJpBEGFOIgmBb9JLXalp3ZqjSkYgaalpp4A95Ih+CJENi7W2tkJEmLEe8b4jPWIKcCOyhaszLAby JrdS7Popf+//wRAeNu5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfkHj-005Cao-QA; Wed, 27 Oct 2021 14:52:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfkHg-005CXE-O7 for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 14:52:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id E99DE60F21 for ; Wed, 27 Oct 2021 14:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635346328; bh=jCF7zHosdvzzC3lK9XpQpm6nByjYxKG8ydJZgwi1wco=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=O6ahoHt2O+AEoJfwdvKe3gL8uEyj5ijIr7l1ydbt4ERVOJm8wFkIi5syTc6qFMIP0 loIrPzC7lAzNjNwXWODmTZx/4zNI9Dv24RbmyTCG4VbqO93IwcM607M3A3v9Negzck NqxFDxeqRVMci/65trYn68BPryHtPycJ8kFUpa76pKmH+SKA7YyO1fs66+Fs25OMCe ZXbc4ODQ3EqdOvIp66M1+TzsA5hsOtU/RuPwpqFw7O5w+nG0kTk2v8SRJGji1jS7sQ sUulN27H8C9pdPRDuznqr8R+IwZRkbTUmHS1VyVmiBjKXh0OcTl0cyUvTSfte6efiM IyLGyfhVK4DZg== Received: by mail-pl1-f171.google.com with SMTP id w16so2185280plg.3 for ; Wed, 27 Oct 2021 07:52:07 -0700 (PDT) X-Gm-Message-State: AOAM532yyZeDpWKRibuAFFbtnekwCwiyUsnJndqh5nM2mP8SIeDQWB4z R3j6joEfSGhpzPocDjV7gdPAKzTItIdt/7HIgT8= X-Google-Smtp-Source: ABdhPJyR9QS5NFHNCKidSwQc01bWPNUjQpXYWQZE5lYJBuHqjoD2gS8qKMmvGbUYMzRhRQ5V7HBAJ5A261AtA79TRC4= X-Received: by 2002:a17:902:d508:b0:140:42ce:c7b1 with SMTP id b8-20020a170902d50800b0014042cec7b1mr21910801plg.89.1635346327562; Wed, 27 Oct 2021 07:52:07 -0700 (PDT) MIME-Version: 1.0 References: <20211025144718.157794-1-marcan@marcan.st> <20211025144718.157794-3-marcan@marcan.st> In-Reply-To: From: Krzysztof Kozlowski Date: Wed, 27 Oct 2021 16:51:56 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/8] dt-bindings: arm: apple: Add apple,pmgr binding To: Hector Martin Cc: Rob Herring , linux-arm-kernel , Marc Zyngier , Arnd Bergmann , Linus Walleij , Alyssa Rosenzweig , Greg Kroah-Hartman , Mark Kettenis , Philipp Zabel , "Rafael J. Wysocki" , Johan Hovold , devicetree@vger.kernel.org, "open list:THERMAL" , "linux-kernel@vger.kernel.org" , linux-samsung-soc , "open list:SERIAL DRIVERS" , Mark Kettenis X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_075208_848982_0EDFA0D8 X-CRM114-Status: GOOD ( 19.45 ) 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 Wed, 27 Oct 2021 at 16:44, Rob Herring wrote: > > On Tue, Oct 26, 2021 at 10:38 PM Hector Martin wrote: > > > > On 27/10/2021 03.25, Rob Herring wrote: > > > On Mon, Oct 25, 2021 at 11:47:12PM +0900, Hector Martin wrote: > > >> + compatible: > > >> + items: > > >> + - enum: > > >> + - apple,t8103-pmgr > > >> + - apple,t8103-minipmgr > > >> + - const: apple,pmgr > > >> + - const: syscon > > >> + - const: simple-mfd > > > > > > > > > 'simple-mfd' means 'there's nothing in this node that any of the child > > > nodes depend on'. You should be somewhat certain as dropping it later > > > creates compatibility issues. > > > > Hmm, I see simple-mfd turns this into a bus which I guess allows child > > nodes to be probed without the parent node doing anything special (then > > we use syscon_node_to_regmap to get the syscon instantiated). Do you > > have a example use case for doing this without simple-mfd? > > Drivers calling of_platform_populate or devm_of_platform_populate. > > That of course does mean you need a driver. We could probably make the > syscon driver call these if needed. > Hi Hector, I thought I mentioned this with your v1, maybe the comment got lost. We have it for Exynos PMU: drivers/soc/samsung/exynos-pmu.c arch/arm/boot/dts/exynos-syscon-restart.dtsi (extending node from arch/arm/boot/dts/exynos5420.dtsi) Maybe you can base on that. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel