From patchwork Thu May 13 15:34:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Dudziak X-Patchwork-Id: 12255925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5DBDC433B4 for ; Thu, 13 May 2021 15:39:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C9E9611AB for ; Thu, 13 May 2021 15:39:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C9E9611AB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=snejp.pl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EtKKUsYPD2WeSISXzAR5Db35sBq2dRkI61p47MkFYXw=; b=hxFF68/QqrWJaLupwe+ynZz6H VesNuYe7Bvj34k0BLZAE8ahV+Ypimhu1CUdpbex22xJSpWXm5O/mR6ov7U8piux3RDpeKBj8ZnC4l 67+/AZZ0fApumpjbmDkfIiCrrHjqr7mIOf392Z+LQio5O0C2ZGskhU1aWmrk9cUjHd9v0XrLgEuUj S2WDWVJRcrdENonnaBOBF164JPpsGAlsCcyNUq/xAwlyT6ZlDplF/3tzx+PQ4v5FC3EJjycIvFP2l 8iXVb5nVbJfD4DODS61BjT8Nw/IQziR8tM96mwzNGMXtmBR1s93CA8LEk6Q6u9vgnDvkyaG82FNSX lmLMgZfgw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhDO9-005sg0-0M; Thu, 13 May 2021 15:36:38 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhDNu-005seo-QV for linux-arm-kernel@desiato.infradead.org; Thu, 13 May 2021 15:36:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Type:Content-ID:Content-Description; bh=RckDkE4qxGZvjN5zfkyL3EzM+dPcbREpj6loS+q+SAE=; b=kSXVfj9br7jOOPkpOFophx1Gah WyuDNfkDOjDZx6enk6CU1vijDxIKJ+bTDHDj5k+jpFxXxWs33KEqFeYy8KAOEFvBemEDTm4RWW82H 6x4QzL0qSp+6Uj81nP+4D+8g8Av/xOHPfTf1nowQcGC6K8shxLGumyJ3HkkZGUkDYCoiUABfXXtwW ZNvEoD4KhLzOkVWgAu3Ic0cqilchqUEaS9S7XdHb8Ke4GAoG9iMs+MIlsu9Jk4Eqe9FzSjSOwt79t utiF/cPXhRApEbTkB+Eoszv5moIc2PFGC3RpiMqyGyqG4AyhlEF7CxZXWMpn9HmWv1idh+rj7ngfg 75Joaz9Q==; Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhDNq-00BMJe-Rv for linux-arm-kernel@lists.infradead.org; Thu, 13 May 2021 15:36:21 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a4so40502989ejk.1 for ; Thu, 13 May 2021 08:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snejp.pl; s=gmail; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=RckDkE4qxGZvjN5zfkyL3EzM+dPcbREpj6loS+q+SAE=; b=Z1bjBN1rPw1kra+FSpbyjHXyc/0KOwdODLr6/25TeA63e6qPQRiBsIcjGYjuI9AGKO QhH+Hu+0DFv9H5gPzunFiRj9W/u9yie/W2h5WbfYoug7FUip8MTzI27vMTGgUvutGORe KSheWdpGjrVbODw/a9Llf8RmCLWrc6ZF22TRUpeALRmD9351hZMe/TJjZ9EivmIEVGUL fTxoc/A7sRoGhuzChAb8BgkbZs2KeEvZf/hvL5Y9dWLQSiV6hltgEL+VX9Tyt/keM8pC cXofJK5Ytoce6gw3qbw7l1x7jEfUyb9PUGgDainNHb1T0GnSLJ1McLDdERv3QBG2B1AN LEKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RckDkE4qxGZvjN5zfkyL3EzM+dPcbREpj6loS+q+SAE=; b=cFhJuqoZy3RWDsWvYQAp5E+I9c3ny5tbV4zVAO2ceGnxNAVN3sew6b8IlZQHUjJBKb AqBFSfGDSjojZw2v8VP0LlthiWdrmQy/RkkfZ85UilJWlVwK/xj0G1bhh2czp+BzwmqB DXjRSXkTmF5DR7sXRQdMkhAwwtaCyTQ6k4dYwxOr2ce7vMvbJpH31PcekeSezoDLMrXe 5A3zXcz5uhR7n3UDWZ6LbxK/ehpU9i47PPOMvOazHw7Ou3mOPLY7evUinpNAh/02ViUZ uR39b80Ef0WzdV6/C4wooZXKLU/8FIW9GChkl8tdbZp0xN+XQSRjiPnMcATLHqvKwNCn JRmA== X-Gm-Message-State: AOAM532KP5hcnoD8qBHv/fyfag9DvELWmBXQPV6KZRcvgg3pe5hVH3OQ XqqfvcQ7qiaETZIn6xUBJ/yAFC/jMSjTL9Da X-Google-Smtp-Source: ABdhPJyKtgSTJRy3WlO2USF9K2vb/hRxtEk/WS3n7MnW/wxd6N5U3N3Iska23ccWXSgspmzDb3lKhg== X-Received: by 2002:a17:906:b191:: with SMTP id w17mr44527233ejy.200.1620920176435; Thu, 13 May 2021 08:36:16 -0700 (PDT) Received: from PackardBell (192038133011.mbb.telenor.dk. [192.38.133.11]) by smtp.googlemail.com with ESMTPSA id gb26sm2217950ejc.25.2021.05.13.08.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 08:36:16 -0700 (PDT) Received: from localhost (PackardBell [local]) by PackardBell (OpenSMTPD) with ESMTPA id fb9dc804; Thu, 13 May 2021 15:35:48 +0000 (UTC) From: Bartosz Dudziak To: Rob Herring , Andy Gross , Bjorn Andersson , Russell King , David Sterba , Jens Axboe , Bartosz Dudziak , Lorenzo Pieralisi , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: arm: Document qcom,cpss-acc Date: Thu, 13 May 2021 17:34:41 +0200 Message-Id: <20210513153442.52941-2-bartosz.dudziak@snejp.pl> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513153442.52941-1-bartosz.dudziak@snejp.pl> References: <20210513153442.52941-1-bartosz.dudziak@snejp.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_083618_926098_309D7130 X-CRM114-Status: GOOD ( 15.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The CPSS ACC binding describes the clock, reset, and power domain controller for a Cortex-A7 CPU. Signed-off-by: Bartosz Dudziak --- .../devicetree/bindings/arm/cpus.yaml | 7 ++-- .../bindings/arm/msm/qcom,cpss-acc.yaml | 41 +++++++++++++++++++ 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,cpss-acc.yaml diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index 26b886b20b..f391e15184 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -204,6 +204,7 @@ properties: - marvell,mmp3-smp - mediatek,mt6589-smp - mediatek,mt81xx-tz-smp + - qcom,cpss-acc - qcom,gcc-msm8660 - qcom,kpss-acc-v1 - qcom,kpss-acc-v2 @@ -276,7 +277,7 @@ properties: Specifies the SAW* node associated with this CPU. Required for systems that have an "enable-method" property - value of "qcom,kpss-acc-v1" or "qcom,kpss-acc-v2" + value of "qcom,kpss-acc-v1", "qcom,kpss-acc-v2" or "qcom,cpss-acc" * arm/msm/qcom,saw2.txt @@ -286,9 +287,9 @@ properties: Specifies the ACC* node associated with this CPU. Required for systems that have an "enable-method" property - value of "qcom,kpss-acc-v1" or "qcom,kpss-acc-v2" + value of "qcom,kpss-acc-v1", "qcom,kpss-acc-v2" or "qcom,cpss-acc" - * arm/msm/qcom,kpss-acc.txt + * arm/msm/qcom,kpss-acc.txt or arm/msm/qcom,cpss-acc.yaml rockchip,pmu: $ref: '/schemas/types.yaml#/definitions/phandle' diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,cpss-acc.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,cpss-acc.yaml new file mode 100644 index 0000000000..54efbc5e3d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/msm/qcom,cpss-acc.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/msm/qcom,cpss-acc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cortex-A7 Processor Sub-system (CPSS) Application Clock Controller (ACC) + +maintainers: + - Kumar Gala + +description: | + The CPSS ACC provides clock, power domain, and reset control to a Cortex-A7 + processor. There is one ACC register region per CPU within the PSS remapped + region as well as an alias register region that remaps accesses to the ACC + associated with the CPU accessing the region. + +properties: + compatible: + enum: + - qcom,cpss-acc + + reg: + minItems: 1 + maxItems: 2 + items: + - description: ACC base register region + - description: optional ACC alias register region + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + clock-controller@f9088000 { + compatible = "qcom,cpss-acc"; + reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>; + };