Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5127088pxj; Wed, 9 Jun 2021 09:43:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf6YGXwTDP6LtOergiLTT9mgZ7FIF60cPCJBuFfbEoD7D53s7lu6oMyUCjePZMGVsdNlUO X-Received: by 2002:aa7:cb19:: with SMTP id s25mr367452edt.194.1623257010289; Wed, 09 Jun 2021 09:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623257010; cv=none; d=google.com; s=arc-20160816; b=OEN5i+1jxeN+Ds7Oy7UN5hX45jwL3/ah5yvlbxnhjWj9NRUWht7sos002bcENGbYBj dasCR7l8tvqG0Qydym0Jsp7qf4us+jlIrNPVujMydL2rHkkRh1J/EbutPDFAxFqBe0OA PBB42yYpnn4eqfHrkPDvEqvd3mvLDTnZdXtgRldwL4PVE4tK1sV/XNkB3vkmcT2k9DMY 8KcA21E+RiMdYoJKI2aRb5IXY/IEhhQlSW3c8yx7mJduJVsDU1tLQgqDKpCgwlV/jP8R BAavkd8XA3WnPPMpFnwqpOzPBmq1LfyZod3k8XTKCfQLG8JzwVJRKd+eWH0r0E8xeqHF Jgvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=coDkH0Svztr9WPMh76iICB3tJSMkUNsPXcqpPdho3E4=; b=YXrKN0/FFgXTT3mhYKLH/fpUZu8rSMma8WvsWk+WAi4xnIpdWuVGrqetH2rKRXPIQf NIYnfPh3EaMQAZTsapn2GavgNloCRvfx1gSXZce5J8/UxSxgjKMyyFKYrQtdOLlNEMdz /dNiIvgYA549rWs5+k3G91c036/S1ovpexZtOUL/o7OTVOEVPs+xoVq2LGfZ+JoIhY9B CWLwIfeKy7zMxoKQMkiohRqtbTsIjVuwc3MBpR6oWtdrAY5rKPL9pq2sI4pFUTQteyE1 MJfl/Wd8zWUHRQL8fPXS8//Abak4Ocz1BUGsmpJwVVPtDCnGYeoJw0XfcdLVfKb25oDT /zUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si203270eja.295.2021.06.09.09.43.06; Wed, 09 Jun 2021 09:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233272AbhFIQjx (ORCPT + 99 others); Wed, 9 Jun 2021 12:39:53 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:37427 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231991AbhFIQjt (ORCPT ); Wed, 9 Jun 2021 12:39:49 -0400 X-IronPort-AV: E=Sophos;i="5.83,261,1616425200"; d="scan'208";a="83736873" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 10 Jun 2021 01:37:53 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id B918C40A2B81; Thu, 10 Jun 2021 01:37:51 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Magnus Damm Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2 1/3] dt-bindings: power: renesas,rzg2l-sysc: Add DT binding documentation for SYSC controller Date: Wed, 9 Jun 2021 17:37:15 +0100 Message-Id: <20210609163717.3083-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210609163717.3083-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210609163717.3083-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT binding documentation for SYSC controller found on RZ/G2{L,LC,UL} SoC's. SYSC block contains the LSI_DEVID register which is used to retrieve SoC product information. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven --- .../bindings/power/renesas,rzg2l-sysc.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/renesas,rzg2l-sysc.yaml diff --git a/Documentation/devicetree/bindings/power/renesas,rzg2l-sysc.yaml b/Documentation/devicetree/bindings/power/renesas,rzg2l-sysc.yaml new file mode 100644 index 000000000000..49f95065a274 --- /dev/null +++ b/Documentation/devicetree/bindings/power/renesas,rzg2l-sysc.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/power/renesas,rzg2l-sysc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Renesas RZ/G2L System Controller (SYSC) + +maintainers: + - Geert Uytterhoeven + +description: + The RZ/G2L System Controller (SYSC) performs system control of the LSI and + supports following functions, + - External terminal state capture function + - 34-bit address space access function + - Low power consumption control + - WDT stop control + +properties: + compatible: + enum: + - renesas,r9a07g044-sysc # RZ/G2{L,LC} + + reg: + maxItems: 1 + + interrupts: + items: + - description: CA55/CM33 Sleep/Software Standby Mode request interrupt + - description: CA55 Software Standby Mode release request interrupt + - description: CM33 Software Standby Mode release request interrupt + - description: CA55 ACE Asynchronous Bridge Master/Slave interface deny request interrupt + + interrupt-names: + items: + - const: sys_lpm_int + - const: sys_ca55stbydone_int + - const: sys_cm33stbyr_int + - const: sys_ca55_deny + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + // System Controller node + sysc: system-controller@11020000 { + compatible = "renesas,r9a07g044-sysc"; + reg = <0x11020000 0x10000>; + interrupts = , + , + , + ; + interrupt-names = "sys_lpm_int", "sys_ca55stbydone_int", + "sys_cm33stbyr_int", "sys_ca55_deny"; + }; -- 2.17.1