Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4574057ybl; Mon, 13 Jan 2020 16:22:17 -0800 (PST) X-Google-Smtp-Source: APXvYqw0VYGgtsBfwGGwvt3ZjjZkh4I0JizceCaKbks0PxmkpFQ4G+aQSDZuVd5TnFzualOauYzE X-Received: by 2002:a05:6830:147:: with SMTP id j7mr15294803otp.44.1578961337767; Mon, 13 Jan 2020 16:22:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578961337; cv=none; d=google.com; s=arc-20160816; b=f6p2kJDHoav9o+3USGnqhChiCe+M/bS+4vC04YQdCEYGTfrAtnQD3Y/VOU33BGBoEp 5vuLimQOurRL9gqt6F41BXcGH3AUSSIeGnrsQ4qfZ4tBU1rBHo39vVdVStEqWPd3Da2a Sfom1oxVfZnL9c9CEigl7Gcxz/UV/sTEmLn+DqrDJzLwSPOLkrqdV8AmAiH7coaH7InG /otR6O1HT7tutWsTMKaC2rz4iDgqDvrqmtAi3V9BVAEu2DE9Vg/GZcub5oBAra4PT1i9 VmQVO2ejbnseOIR4b7JQLiznawej30qUPxPXn5f3W62SBkfQUJfS7MvJFHYDcf/TS6dk WKoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=URU0nYVVIvG9fQe+g2UcCIBs+6Op8N6XSVfeKx2sX+I=; b=yCCilUKCERl+/yj1bHtO0Kw5O0omsKTcBUrgoF1eReLW3M9StOHzYjoxg8X5FhnGWK OG9EsVcOOyUsvZHB2S0e58VSwW+/SOe+NErbmcFthihOLp6Wv/UCY+dhU4S6nGKXB8hh WLaZgVud/iVhrT2IN/MflGPsBA2kGwHhF3YKvRnYpJ98PC6hZQ4H3A4ZwfPb/zv180/C WQOJbOMJMaW807VjSEblvpKPW6TNxuoK6KzyAt1fwL/lIvI0HVoxYr7jfC6Ue609xpNH nXjO4bSx7rq12chURSHwWQGfKCG/7qZjCW0Tinwd9Q9ZH1IY4RTN9WGV2OFPFy25uftX DUKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="b/ab/jdX"; 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 14si6518124oij.200.2020.01.13.16.22.05; Mon, 13 Jan 2020 16:22:17 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="b/ab/jdX"; 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 S1728897AbgAMXhE (ORCPT + 99 others); Mon, 13 Jan 2020 18:37:04 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:38575 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728769AbgAMXhE (ORCPT ); Mon, 13 Jan 2020 18:37:04 -0500 Received: by mail-pj1-f65.google.com with SMTP id l35so4975832pje.3 for ; Mon, 13 Jan 2020 15:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=URU0nYVVIvG9fQe+g2UcCIBs+6Op8N6XSVfeKx2sX+I=; b=b/ab/jdXLWIU3ED09YHc4yD7PEZYMen7BL6s7F1/kjYZZ83fH7thRSgRFb4nvmHi9+ I8uOh4axY1udmFUQ9CRB6Ak22NsM0Q5kOUrMSui9gEu5AZwkkiQGPJxHY4Ek0jT/BU7x dN3GGRtSBhufBlwxACNUPr6YqSRNplN/UB1VyIzSrV23VJ/BxtF8x8jOUP/NEUxtfkff VucOsF7idPxxRbVhU5/fTAEEDTXLWM6GxHyPAO3/NDMx+eTcgWfIn5rfkPyTksPsZSjP e4eZNbaY5gv76V7loiTc0SQ3nvjtNOKckOayZ/Icwb44Nfq+t/qB4ZXVB/jumkX3KfWa mBoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=URU0nYVVIvG9fQe+g2UcCIBs+6Op8N6XSVfeKx2sX+I=; b=IMyl5cTkmtBPJnGxuu6VpAmVH/xyqqhcFVetW4+WS0BwdGmtsfnrQcGwUp1/biVlOa 4v+DHD2NGybLsL5Wzjgylqnbk4vShP5argr4J8ybizJBMwMMoNYh8dpe3srWYv6lXWeT 2qneyCoFcAdRoNImTpCaginGeRSyDwuW3ona//wR4J9T74TzPQAcSZETUnE78YVHWgJa j42Vaq9ZzJLc/F6/xhYPMhYaAMakqwUs+Q1OyEiCQGBgWlk1qzjMaCeJ8BZf18VLF/BZ jzid0uQMYFiJyKoHnGqbELH5e86BRvCPO0mC3KKjT9AQqYTepXOwCd8ifjATaPBZo+Se RRzQ== X-Gm-Message-State: APjAAAWP2T+kR0zjNNry6NBJn2NDxYDkYEcaOIJcKULsSh460PjHO3L6 OdTXrYuw5cLlvwQ5xSg44L264A== X-Received: by 2002:a17:902:bf0a:: with SMTP id bi10mr17117837plb.324.1578958623194; Mon, 13 Jan 2020 15:37:03 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id q15sm14613132pgi.55.2020.01.13.15.37.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jan 2020 15:37:02 -0800 (PST) From: Kevin Hilman To: Jianxin Pan , linux-amlogic@lists.infradead.org Cc: Jianxin Pan , Rob Herring , 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 v5 1/4] dt-bindings: power: add Amlogic secure power domains bindings In-Reply-To: <1573532930-39505-2-git-send-email-jianxin.pan@amlogic.com> References: <1573532930-39505-1-git-send-email-jianxin.pan@amlogic.com> <1573532930-39505-2-git-send-email-jianxin.pan@amlogic.com> Date: Mon, 13 Jan 2020 15:37:02 -0800 Message-ID: <7ha76rdj35.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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