From patchwork Tue Jul 28 10:03:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11688793 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4259B159A for ; Tue, 28 Jul 2020 10:03:35 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 3D4C920838; Tue, 28 Jul 2020 10:03:35 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1C221207E8 for ; Tue, 28 Jul 2020 10:03:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="aZjlb1Tl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C221207E8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=daniel@0x0f.com Received: by mail-pj1-f68.google.com with SMTP id c6so4647618pje.1 for ; Tue, 28 Jul 2020 03:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UGsiii/VuwmqPfClt9nZik7lgTCfAI/hYH2Kw3sm0tw=; b=aZjlb1TlqNvnHjgbpdqBb3Zqpxfsv5kqxXU5K0hc7pxtuRjGdbxT99bec2EbRjReh0 Lcr0m7kvXywHYDcrxwdqcmRpq06W1qwMj5Ie3iZyNh7vNUwGiVS0iam9CK5iXvt++CU+ McY66LsbpIcc74LqmkM6683uVifmqZWHfif+0= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UGsiii/VuwmqPfClt9nZik7lgTCfAI/hYH2Kw3sm0tw=; b=sE1/0o+z7ZJdskCe83MNGxkVYXjMLVTZzlc4kF/qMLXq6qPt9cvWULiu9kl8zqScFL 7nSFa+w5dtQK40O1eUcPUU+cH+6yrsYP0762TH7QM1jTv/62EVCHS3abrjTub1Rs8WzZ vOpu8cujS3/Oa9TcdcEy6lyoCvB6XFKkvttqBBLz8kjt/ZKmFqQ9SFodZB4W3AvK9S4C lXzDPwfpUyL5152jcQzlBZbwP+16QZEDU8fCW9kKgoc4sGr6JpQLRNeelPlggrhV8gDB Gz7YmQeoyXGpNZVnwJ+ssgm+EwbJGzC5unQ4yfhZPEJ929F74X27Od2nDk5KtiBhGeVR HE5Q== X-Gm-Message-State: AOAM530Rd+P17llz1f5l5DxX9La8MzmYyrlaac/fwEDgAWjG5Cba2o2p Yddv+I7ncR0qQ6ssr9It5H6wSmoVRwk= X-Google-Smtp-Source: ABdhPJw6UyQBkFA772dimnjAycW9U2WNs/tw98zNz7om7aaCJC9iZPBD3XhE6+p0Oh65J2mhjvouBA== X-Received: by 2002:a17:902:b693:: with SMTP id c19mr22444382pls.102.1595930614254; Tue, 28 Jul 2020 03:03:34 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id u66sm17779018pfb.191.2020.07.28.03.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 03:03:33 -0700 (PDT) From: Daniel Palmer List-Id: To: soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, robh@kernel.org, Daniel Palmer Subject: [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep Date: Tue, 28 Jul 2020 19:03:13 +0900 Message-Id: <20200728100321.1691745-2-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200728100321.1691745-1-daniel@0x0f.com> References: <20200728100321.1691745-1-daniel@0x0f.com> MIME-Version: 1.0 This adds a YAML description of the pmsleep node used by MStar/SigmaStar Armv7 SoCs. Signed-off-by: Daniel Palmer --- .../bindings/arm/mstar/mstar,pmsleep.yaml | 43 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml new file mode 100644 index 000000000000..ef78097a7087 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/mstar/mstar,pmsleep.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MStar/SigmaStar Armv7 SoC pmsleep register region + +maintainers: + - Daniel Palmer + +description: | + MStar/Sigmastar's Armv7 SoCs contain a region of registers that are + in the always on domain that the vendor code calls the "pmsleep" area. + + This area contains registers and bits for a broad range of functionality + ranging from registers that control going into deep sleep to bits that + turn things like the internal temperature sensor on and off. + +properties: + compatible: + oneOf: + - items: + - enum: + - mstar,pmsleep + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmsleep: pmsleep@1c00 { + compatible = "mstar,pmsleep", "syscon"; + reg = <0x0x1c00 0x100>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 991814ea6f76..432fcc867ed6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2140,6 +2140,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained W: http://linux-chenxing.org/ F: Documentation/devicetree/bindings/arm/mstar.yaml +F: Documentation/devicetree/bindings/arm/mstar/* F: arch/arm/boot/dts/infinity*.dtsi F: arch/arm/boot/dts/mercury*.dtsi F: arch/arm/boot/dts/mstar-v7.dtsi