Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4932228ybp; Mon, 14 Oct 2019 12:25:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOQmSaoSKFkqYlCXTkSI64JZNoSYRG/mkWOAcGDAVbyTGWVtLKcE+NgyLUm64wVwaV2PCY X-Received: by 2002:a17:907:4366:: with SMTP id nd6mr29635353ejb.97.1571081131421; Mon, 14 Oct 2019 12:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571081131; cv=none; d=google.com; s=arc-20160816; b=MSdZKe0+yc7IpohCs5eSSEkaYbcw71WXUYqUkZGPVKQy/4XDjbypIGBgSdd/rR2zgv 8md/wRwAcArsBC48SBPBaR/AVjWhX9VMEEQURqnnviY2vI07M3+Sog9BM7eEh18YEowI p1vSPKar7yBM1oPU8f3TnOhpDLC0SokhF7AERV77JcRqWGC4KlmNxD3E7HLWX6qZG3a/ 23YXzMkSDACITLOyjiy5fSxtX7HdFgl9qCgYdMPObhyMbV9SLZkb+2lxuNw//qjiM9Qw dV77e/YoUyxeb5D+nF4T+fV0UogQ4UguLl9qPMUFiZYTvIiK7pGZ9EJlo6WNCGB1xw1q 4tgw== 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=WreGjKNejizDLrH2DJ0lAxbkyZ+jrNSgTeuzICqx9Z4=; b=qouidNmP5YTIWNGPKtWjG/fm8imX7m9nbVJviXkvjuXTrJnTlYJs2Enly0mReb3ILk J5XOQlUJBsWYePuVoxJ8UUn/OGtErd6IUTopdSf05p2XU4nuQ7csJnkTS7Tnayww/W5J 8jfXGsE21l3FRBIAVkERqmpzgSWbUSQldeUiKZ4SKlO/1oq/fMhB9tVUhUrfTO8q2ROj WfwrIkqO/Ec3UCokQu2Gw+xMw41jpUW5HmVk0qaVkASPh4dnO83OqkmwmM86YmfzrFm9 xAbkSLRE2Zrt41heT+XpnR9GzWpevFnsBKGAHadclzFDv/teIfwpqdxInhPhmH9i73MI ZY7A== 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 l24si11620840edq.90.2019.10.14.12.25.07; Mon, 14 Oct 2019 12:25:31 -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 S2388564AbfJNRjD (ORCPT + 99 others); Mon, 14 Oct 2019 13:39:03 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46475 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730466AbfJNRjD (ORCPT ); Mon, 14 Oct 2019 13:39:03 -0400 Received: by mail-oi1-f195.google.com with SMTP id k25so14405212oiw.13; Mon, 14 Oct 2019 10:39:02 -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=WreGjKNejizDLrH2DJ0lAxbkyZ+jrNSgTeuzICqx9Z4=; b=Ps+BXYSncxtbGCQ/GHAeLojTLAhVtin33gIyD+TrRbs37kMSMo2NurG7cCWFw79dKM R4uIkUu+wSZofGcOljMq78mPQ0C15PEh6rK/0LJaXHxagVn+Paw9+5T0/ybMBcc6WhXM 9ekXSjbiCNLoHLQUxvb7FsWMQ3h1jG4i7njjq1U3+V6ccixmwXjKRn+Bq/3kHrnvOdcn bsMVCQ6EPRndVRmW/PaBWjRWeJENPPU6NIAcOsYogRO5myerD0RSlWs01Mx11aLQ1Jws p5e86swtgGsFdNXfmfHhwg/zI4eUgzGOsdxv0nv00K6DIPpIzGEy6m5845COWIxhpbiu 3Ghg== X-Gm-Message-State: APjAAAURg4u9TZjnm+g91+opGlQ9xE84rw4vRTj1DS4c1ztlOmmnC+QP JZITTjVPtJDZ85xzdqjMPw== X-Received: by 2002:aca:da41:: with SMTP id r62mr24442959oig.47.1571074742140; Mon, 14 Oct 2019 10:39:02 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u141sm5690928oie.40.2019.10.14.10.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 10:39:01 -0700 (PDT) Date: Mon, 14 Oct 2019 12:39:00 -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 RESEND v2 1/4] dt-bindings: power: add Amlogic secure power domains bindings Message-ID: <20191014173900.GA6886@bogus> References: <1570695678-42623-1-git-send-email-jianxin.pan@amlogic.com> <1570695678-42623-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: <1570695678-42623-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 Thu, Oct 10, 2019 at 04:21:15AM -0400, 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 Why not just a child node of this node? Rob