Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp484746pxb; Wed, 6 Oct 2021 09:03:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0RVsyAn5ofyXviRSKCYKc+UQWZ0saeITVfGkBw41yYJzijHlZPQOF3qOXP7sgnIF1c+rH X-Received: by 2002:a2e:761a:: with SMTP id r26mr1650416ljc.166.1633536208992; Wed, 06 Oct 2021 09:03:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633536208; cv=none; d=google.com; s=arc-20160816; b=vmRJrVpUXhxNHvyXG+Pal/nsC+MBhrbo/OoCdBT/Npgl1B4OG0vZrM+YQcbj2ZYmLz kQ1Fb8QRGrbdj/oPaPhDTNH5ibitkTSkFMpTb4qnXR5MGn02HIkeF22rf+Da7JUyYGBs p7kfON8Qt3UL4WuvWZkSlFQCReF7/x6ks2gsIesKva+m6m7H1wQ49+ea6t9pMLcQNQ3l aFWAm2efEfQM5Dj1sr+omKSePaFw9Gm5KEWM3gaiKJ7Rj2eKLmXl71eIch0BZMk4h4/R yj38Z+bhTcpbxQg54npfgiuXsOWdKXwG8tYyaFfGyoqaEVAOCcwibTip3SsW4qSfB0d+ HeNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to; bh=bP8CZm0P1wVWmiQzNwPH8xYPgPtpIEWFey5DMq4CVoc=; b=Xx40xSQXauxo3a+ri3tC1wA45zsNnjG7AY5GGgABl0EUA6M5LxytlmJkRhKwV3VXgG VFFhICRqRgDFAp/qGSDayTpvCJuaLujAyvP/4cM2VhahNLx7AMy1W74saLLr/h6Xf+v9 Yoq0iErKGxAlM6H+Of8tvpx2TbNbNrDGBpdqigGeHyl2SaTtbe3UNNP9V4fJA2PLUk8W +vOx7FwlShJDSM9NV6JJg7nf87MdHWqm1yjHDS/VpZv6lPIDTxZ3bD8+DDKkMKu14j/F ie5il+wMpk6uwKLCFkpJfbroophhm7yth8445yzM7S2urm00tVhxqU2Fv3Ktf3OV7fRZ yYxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp6si38291752ejc.477.2021.10.06.09.03.01; Wed, 06 Oct 2021 09:03:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238049AbhJFQBj (ORCPT + 99 others); Wed, 6 Oct 2021 12:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232004AbhJFQBi (ORCPT ); Wed, 6 Oct 2021 12:01:38 -0400 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5D9C061746; Wed, 6 Oct 2021 08:59:46 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 46D773FA5E; Wed, 6 Oct 2021 15:59:40 +0000 (UTC) To: Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org Cc: Marc Zyngier , Rob Herring , Arnd Bergmann , Linus Walleij , Alyssa Rosenzweig , Greg Kroah-Hartman , Mark Kettenis , Philipp Zabel , "Rafael J. Wysocki" , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org References: <20211005155923.173399-1-marcan@marcan.st> <20211005155923.173399-3-marcan@marcan.st> From: Hector Martin Subject: Re: [PATCH 2/7] dt-bindings: power: Add apple,pmgr-pwrstate binding Message-ID: <5b89aed0-f9b7-fdba-16d8-a8bd9e2d7437@marcan.st> Date: Thu, 7 Oct 2021 00:59:37 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-ES Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/10/2021 16.05, Krzysztof Kozlowski wrote: >> + IP cores belonging to a power domain should contain a >> + "power-domains" property that is a phandle for the >> + power domain node representing the domain. > > Skip this last paragraph - it is obvious in usage of power domains. > Specific bindings should not duplicate generic knowledge. Ack, I'll drop it. >> +properties: >> + $nodename: >> + pattern: "^power-controller@[0-9a-f]+$" > > Usually we call nodes as power-domain. I had it as that originally, but these aren't power domains. These are power management domains (they can clock *and* power gate separately, where supported) plus also do reset management. So I wasn't sure if it was really fair calling them "power-domain" at that point. >> + power-domains: >> + description: >> + Reference to parent power domains. A domain may have multiple parents, >> + and all will be powered up when it is powered. > > How many items? One or more (if there are none the property should not exist). I guess that should be encoded. >> + >> + apple,domain-name: > > Use existing binding "label". Ah, I'd missed that one! I'm glad there's an existing binding for this already. > Your parent schema should include this one for evaluating children. Yup, I'll do it like that for v2. Thanks! -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub