Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4138254ybg; Fri, 25 Oct 2019 13:57:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+kFL6RYIHUVAGD9Fxti93FUm2H2sNF1j8ZdRbdbtHHBNc+M0HMGubPG0Mb1u85j+1GBnb X-Received: by 2002:a50:f058:: with SMTP id u24mr6318448edl.288.1572037037720; Fri, 25 Oct 2019 13:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572037037; cv=none; d=google.com; s=arc-20160816; b=ngzDDHutwkKBDFa6MO5OZUs/BrixQ9bAdlGH39CrSfTiApi+M7Uonj4s6rDPBEtjDW XasSf76wOVz6xf1hfP7BuQ76p6yV57K1qYMIndNqrETTsRbxOQc2f75kXlVzdt387OqF Zg06q4DrxoThbl0bom2buuecM9fyubZv0t4NVTNZMGoSc7VRyoBe8PzjsbDqPamW5xkK 8Ht4wSMa2xT8HBPfd3rImhYx/9hO5pBFKqvLtR4b48fwyclmP+KJ6Nrw2gV+fdax3Nnh ii8Ie3olxGHwOAdvqA5lY6GvQwO5T+2/Z+rwj5Xmn0a8WRkaszkobX3l/1wStKTSS7KB XjEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1KjmSiYGKU6k+jY3XzVB56y2OsubznY6JxvWoPIBA4E=; b=u4PSaoOXdZOZePn/YWCkvY3hbLHV4DmbnKJWdWAlAC79Mh8Ka5Gghn2E2+toQrLOGh 3JkRIeJAWaLJoi108zbCjuZLC2pohGtnX+iB/NmO4l7zXgMUeVARGBQ6s8+TRN+ukb0F dCrhSyZk80wZZ2IY6PAODHSDdtUXj7DXUshR/F7iekIHQ0W9nr6/kBgrjlr6w/+1a8Qd SVSdQjvnxT3t/Bm+5HTeVHdT55YyeLizEmcbHZnbiOEiozrU7VOrscGgChwyj/2NnZge yLoeCGLoKamfL4A5RFV2EwsqGean0ARVIwEY+NzyIcNn/XXLpHjBppLKLckAIwSj3Jum ISnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UqeviibT; 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=pass (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 ec21si1685841ejb.26.2019.10.25.13.56.54; Fri, 25 Oct 2019 13:57:17 -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; dkim=pass header.i=@kernel.org header.s=default header.b=UqeviibT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728103AbfJYUTt (ORCPT + 99 others); Fri, 25 Oct 2019 16:19:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:48768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbfJYUTt (ORCPT ); Fri, 25 Oct 2019 16:19:49 -0400 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7CE3821E6F; Fri, 25 Oct 2019 20:19:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572034787; bh=0zDH0Fbrijq1CDlKb/eS9UolHwf/vrJ4mzyY2QBJsBI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UqeviibTuNZv2SaUyRGiB0nQifeY/W01PGm9s6G/Tvxny0L1/LfoH23izCCNYZcPU N82wKD6IFXMHPN6icjNVj+/HPv5IvXnZjRkL3mPFMBg5rHzQXVlCi3b+e7zr8iW165 vpp9AXWeviqIGQAfeFQvRZ278d69OpkhbTEl6dWg= Received: by mail-qt1-f182.google.com with SMTP id c21so5112295qtj.12; Fri, 25 Oct 2019 13:19:47 -0700 (PDT) X-Gm-Message-State: APjAAAUMHNP+4F0vMMQKYK+CBVCz7wIWoPhTwNvp4YBih4N0z5/9LaHR e7MflwU6HuxzYtGWS1blDElI/9EGEyumbHIHfA== X-Received: by 2002:ad4:518d:: with SMTP id b13mr356862qvp.79.1572034786614; Fri, 25 Oct 2019 13:19:46 -0700 (PDT) MIME-Version: 1.0 References: <1570695678-42623-1-git-send-email-jianxin.pan@amlogic.com> <1570695678-42623-2-git-send-email-jianxin.pan@amlogic.com> <20191014173900.GA6886@bogus> <622c7785-8254-5473-6b35-7287830f3c60@amlogic.com> In-Reply-To: <622c7785-8254-5473-6b35-7287830f3c60@amlogic.com> From: Rob Herring Date: Fri, 25 Oct 2019 15:19:35 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RESEND v2 1/4] dt-bindings: power: add Amlogic secure power domains bindings To: Jianxin Pan Cc: Kevin Hilman , "open list:ARM/Amlogic Meson..." , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , "open list:THERMAL" , "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, Jian Hu , Hanjie Lin , Victor Wan , Xingyu Chen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 16, 2019 at 6:26 AM Jianxin Pan wrote= : > > Hi Rob, > > On 2019/10/15 1:39, Rob Herring wrote: > > 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 t= he > >> 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,me= son-sec-pwrc.yaml > >> + > >> + secure-monitor: > >> + description: phandle to the secure-monitor node > >> + $ref: /schemas/types.yaml#/definitions/phandle > > > > Why not just a child node of this node? > > > Thanks for the review. > > I followed the style of the previous series of meson=EF=BC=9A > > 46 efuse: efuse { > 47 compatible =3D "amlogic,meson-gxbb-efuse"; > 48 clocks =3D <&clkc CLKID_EFUSE>; > 49 #address-cells =3D <1>; > 50 #size-cells =3D <1>; > 51 read-only; > 52 secure-monitor =3D <&sm>; > 53 }; Looks like that was not reviewed by me and is only in linux-next. Please make functions exposed by secure world a child of the secure firmware node. Really for power domains, you only need to add a '#power-domain-cells' property to the secure monitor node. Rob