Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4010930ybg; Tue, 29 Oct 2019 00:24:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpTt8hHUvT1iAJ2OkZDLVOUzjyutzcMnz5K2AIdk8VF51RIUrrtGALKwmpFMaQcXTh83X3 X-Received: by 2002:aa7:d389:: with SMTP id x9mr24058981edq.219.1572333847190; Tue, 29 Oct 2019 00:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572333847; cv=none; d=google.com; s=arc-20160816; b=Z/hZfZG4KW0pvxByeHM6Dx38rlo3InXpcb709DFW4fb53lK8F5cY8ixxA/NGD2g3dd 1TX0KC8raHT8+JTofLqcmjPBCG+rTFXk/ockTSp8ROsYoPzaZXO+vmHzmI5HaxRdhfjQ 4rPoTwZkZh5bLC+XJS9YYPkwHJGFJqQuxRqFw4Enfjo2mRLs6A7anLWfw2grNQD2fr58 fU8/Pg4DVddzmPTxktCH06Q0HiEDBKJb8RWlVUcbl08wiDrMGOcLkP9ABup3XBygyX1B iwqRmaIx/bMJJubNIVyNOTLvtX9JPzCAFaulZ9i6emq86GN1v4QWENObz4VHq2YfJzTz zqhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9BL3Z1A/tEWwa5UAepvAQv367j/DZhoKZ8WMU7Awauw=; b=YWIjzxKuWkQSltN+DDtuZeBSbR7r2lzTFVhYOn/TCXea59uS6VZ6PTfS0aukTKgFGj KEMzFI+IWJyuM2QCpR8Uc/xI4BxtjhQ2vZVR/JQ0/9Jlb/DcEyuNxUinYDgcWYDyUxRU q/YnJdO7ypFDeaEtwLLgYLE72DDQndUaXicGcyF+0+AxwtVRBhIthrTwY28PFdKJB2ra 5km/ELps3Bp8P/QOOhxxwIyx/zeq+/lBMwhHPXAPsrOvlpehi8AMd8M92VVNF+u9paQZ M9ompxNI0dVfM2Z0fnSfLydJB5zTtxMmNYu16EgZybfKg/+M6tjzXOX/+QNtviKjbKN+ ii2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gj9si7712717ejb.215.2019.10.29.00.23.43; Tue, 29 Oct 2019 00:24:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729448AbfJ2CB2 (ORCPT + 99 others); Mon, 28 Oct 2019 22:01:28 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:33447 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728489AbfJ2CB2 (ORCPT ); Mon, 28 Oct 2019 22:01:28 -0400 Received: by mail-ot1-f66.google.com with SMTP id u13so8470280ote.0; Mon, 28 Oct 2019 19:01:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9BL3Z1A/tEWwa5UAepvAQv367j/DZhoKZ8WMU7Awauw=; b=FMo/udJcoTk0koZYwYsmVgGNItWh8z0WloKRvpMwU5KFk4L4iPkw3Qc0HNe9lpJaSu BMjvVmJftHpWpRJfB5j5LG5sqqaVZmsFTQBIiHULUvnHQYPMFMM4KxsqXV2lWrxePXYz fX2kmpJNUqiBjr/+k0FfEyQhR5tiejdter/ZORVWZDjanxVwqFENknL1mynh4YoZ7K/c l49KSl/WqrrIKWbmaItuykfg0gD0P6iL26Kn6q8JCFA6Jip3bPA74v64LufYJ46BrRCa 09c2MuzaUcGqs0jiMhJ5rlx0MvvYTYSW4Ck1s0ix4GCRSTaaAflZosIsiZpGc1euLgXb TMPw== X-Gm-Message-State: APjAAAUZLtYBtTmd9WQB9qwSR9VYGUxhKu2va6g+Rzx5eGIInGbyB09n 0+Da3203XYbcI0gFZVBeHQ== X-Received: by 2002:a9d:538d:: with SMTP id w13mr15641639otg.184.1572314486742; Mon, 28 Oct 2019 19:01:26 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id h17sm2203144otr.53.2019.10.28.19.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 19:01:26 -0700 (PDT) Date: Mon, 28 Oct 2019 21:01:25 -0500 From: Rob Herring To: Jianxin Pan Cc: Kevin Hilman , linux-amlogic@lists.infradead.org, Neil Armstrong , Jerome Brunet , Martin Blumenstingl , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Jian Hu , Hanjie Lin , Victor Wan , Xingyu Chen Subject: Re: [PATCH v3 1/4] dt-bindings: power: add Amlogic secure power domains bindings Message-ID: <20191029020125.GA11182@bogus> References: <1571391167-79679-1-git-send-email-jianxin.pan@amlogic.com> <1571391167-79679-2-git-send-email-jianxin.pan@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571391167-79679-2-git-send-email-jianxin.pan@amlogic.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 05:32:44PM +0800, Jianxin Pan wrote: > Add the bindings for the Amlogic Secure power domains, controlling the > secure power domains. > > The bindings targets the Amlogic A1 and C1 compatible SoCs, in which the > power domain registers are in secure world. > > Signed-off-by: Jianxin Pan > --- > .../bindings/power/amlogic,meson-sec-pwrc.yaml | 42 ++++++++++++++++++++++ > include/dt-bindings/power/meson-a1-power.h | 32 +++++++++++++++++ > 2 files changed, 74 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml > create mode 100644 include/dt-bindings/power/meson-a1-power.h > > diff --git a/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml b/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml > new file mode 100644 > index 00000000..88d8261 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +# Copyright (c) 2019 Amlogic, Inc > +# Author: Jianxin Pan > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Amlogic Meson Secure Power Domains > + > +maintainers: > + - Jianxin Pan > + > +description: |+ > + Meson Secure Power Domains used in A1/C1 SoCs. > + > +properties: > + compatible: > + enum: > + - amlogic,meson-a1-pwrc > + > + "#power-domain-cells": > + const: 1 > + > + secure-monitor: > + description: phandle to the secure-monitor node > + $ref: /schemas/types.yaml#/definitions/phandle Like the watchdog, make this a child or the secure firmware node. Or just add '#power-domain-cells' to it. You don't really need a child node here if there's not other resources in DT for this. Rob