Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4715909ybl; Mon, 13 Jan 2020 19:20:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzREC64ImNhKrBowlTjEpDhJUF0GYNl+6qaIaFVRn0YJVznFkymxdlc2iqFIKOUavblSngz X-Received: by 2002:aca:5d57:: with SMTP id r84mr13060432oib.42.1578972003931; Mon, 13 Jan 2020 19:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578972003; cv=none; d=google.com; s=arc-20160816; b=qBwcWBCaTHVVaSE/77aI2hqRZnyKhl4kK3RkNspIu3KcJUrHZNl5+Bnog0DNMFfobU A+YogSW0n4NQ4TkTDFcC6ZWnMcsDFtL8Lcxd6NNDYMWcUkL7XRICyCBl5gw/KV0MJm86 0DBAzz4VIC5IuT6u4yoYKHRAxGcZv/5Fi1/J/CX8NClCK8JKK4Mf44ZnQKSbNT2j/qA4 NMtVwQjD39vJl3fCZ4h+Nesz/7874x4caazZVkuRRDWFJ6OHdvok6fajnfSB6ANmElVl BDltBiUdHvpCvLWNwdfuSSW1/9NT7xPzp0XBZlIEnk6M9wJWCAuFhBE5+mG/Rpj8bWbv Fmow== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=XrqTwaQEd8wgGl5PE4k1uV7caWNMCS3suCp0uutcQkM=; b=f0p/eb06YHOrp23yo8e+GK04qCHIzR3JelYeOwfgIHXwugBhIZHBtvzEedtr5xC2y1 BZDM6VPhOJnnodvgWn/mALbr5+Gc/6i/1U/l0WU+eCBu1b8nwS9ui+4vMVtUZbCtCPB2 6pj5Dl9joiuf52BsvXXmibThW/sleP/56FlkUoJWAbbf2qhAl4XeEJ3/ujIWFojm20xm NUSEyP2Q/VJOBJeMZUUak/noZ1r8dKgtvT40E0SFLuzEKNJbqfM3e+XmZ+2m2Q7GbwRW 57ig/0e+b6IGhGUwALEnVVDfrCdA+Nb0pD/Ytk6sZc9tEqQJixSl0wMvI/Zqc7LLGrPI qpkA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si7866248otq.217.2020.01.13.19.19.52; Mon, 13 Jan 2020 19:20:03 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729454AbgANDL2 (ORCPT + 99 others); Mon, 13 Jan 2020 22:11:28 -0500 Received: from mail-sh.amlogic.com ([58.32.228.43]:47518 "EHLO mail-sh.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729253AbgANDL1 (ORCPT ); Mon, 13 Jan 2020 22:11:27 -0500 Received: from [10.18.29.227] (10.18.29.227) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Tue, 14 Jan 2020 11:11:52 +0800 Subject: Re: [PATCH v5 1/4] dt-bindings: power: add Amlogic secure power domains bindings To: Kevin Hilman , CC: Rob Herring , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , , , , , Jian Hu , Hanjie Lin , Victor Wan , Xingyu Chen References: <1573532930-39505-1-git-send-email-jianxin.pan@amlogic.com> <1573532930-39505-2-git-send-email-jianxin.pan@amlogic.com> <7ha76rdj35.fsf@baylibre.com> From: Jianxin Pan Message-ID: <61dcfe1a-e987-aa40-34da-71150554f708@amlogic.com> Date: Tue, 14 Jan 2020 11:11:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <7ha76rdj35.fsf@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.29.227] X-ClientProxiedBy: mail-sh.amlogic.com (10.18.11.5) To mail-sh.amlogic.com (10.18.11.5) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI Kevin, Thanks for your review, I will put pwrc under secure-monitor node. On 2020/1/14 7:37, Kevin Hilman wrote: > Jianxin Pan writes: > >> 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 | 37 ++++++++++++++++++++++ >> include/dt-bindings/power/meson-a1-power.h | 32 +++++++++++++++++++ >> 2 files changed, 69 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..2ed269f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml >> @@ -0,0 +1,37 @@ >> +# 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 >> + >> +required: >> + - compatible >> + - "#power-domain-cells" >> + >> +examples: >> + - | >> + pwrc: power-controller { >> + compatible = "amlogic,meson-a1-pwrc"; >> + #power-domain-cells = <1>; >> + secure-monitor = <&sm>; > > As requested by Rob, please put this under the secure-monitor node. > > Kevin > > . >