From patchwork Sun Sep 22 17:42:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13809180 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 070A3CF9C69 for ; Sun, 22 Sep 2024 17:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sAjYhVQ4C8qjWITifRAvYNMOE8p4qGOmbG7rB+b/sOU=; b=MV6tMUSiEi6DXNpPeov4EcLzro DXnnlQ0dhWyQ4T0lWSqTqbVG6B1Fh0A2oFmK819fqaqtZ+P6uDY6hkrkO70YdDH9YBizXaYIjtYhx Uqxjw6XstkuVh83BuiNdlFt7iHMmpgdCz1mo2obSn0LI8pnfngrvEi8ny90ZquCz6At+frYi0HRC0 zGUnGV2y/6Qf5So90Deh0CMqW00fC14qD/CI51pikoxTkSAsJ+O2mQOuXPLtB0y08m4Grv2558ryb +XPX+7d3y0iDh3UwhSfmfPGZpmjzRQc0IS7GYQNbGsaWmAUkBOL1iCTH/H4hcDHBmL4oliqXwJRDP yGNnUThw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1ssQeD-0000000FVqv-3CYj; Sun, 22 Sep 2024 17:45:25 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1ssQcH-0000000FVZV-42KL for linux-arm-kernel@lists.infradead.org; Sun, 22 Sep 2024 17:43:27 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-42cb6f3a5bcso46045005e9.2 for ; Sun, 22 Sep 2024 10:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727027004; x=1727631804; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sAjYhVQ4C8qjWITifRAvYNMOE8p4qGOmbG7rB+b/sOU=; b=ep8vHSwoHuzrONZzgTER0wHQyzLwHreVcLSwcXLwnnzGk+Px7FfTSE471W5ew1ohAX 6NiIeEVuAbF9SI/fLtP01qUqFMRptJ9sEhIE5qXt6ATQQBm27M/QP9eIt2Hr95eL49mP eKxw+hFREamDuFRwUKJmueQVw+VHJsW2Vv/UgawWKZxuBuBZv1/BiSWEQTZ0pABGXHzo BGSF5zGM8/ELDdSYbfNL1X+67hDKbhbMaJah0COzHvQ1RgqyXexLX4PqtMss7H11UIvZ UNKKjykxVqYD/4gFG5ZTvuMNLGNrLGjwqjawnwcoQYxS4uI7bAqbaTd/QU91OHicnp94 VWrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727027004; x=1727631804; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sAjYhVQ4C8qjWITifRAvYNMOE8p4qGOmbG7rB+b/sOU=; b=AwMIbziLELCNCVSDGvX+7EVae6ZQOf27st0adyE65+2viw6cNAccYRxWIqwdt4gL24 hth6+fxKIXwIPmc69ChvAs8rBM3P/rMwhZblZGIIBZQqe8H6Ac31E1c3fd66ZyCyPp1t Y6AMjRE9kCLcU3ZjhNP2ql6Tr6B4qB/SH1Vvc87SHyMGp17LBcNsvFmSzooVfaa7XGcP PuWvpVxMN7pTzoemexIzToTcoqmF8DHEm7d9ms/nZYElYLzkYZ0ggr3QtRL83YFjLSd0 Hr7BrqwylZbJbi0YEO8HlEi+/gmIurMJLTs+jjUuFxAS7UIKRzr168Q9MSEaluOZ2e7B mY+g== X-Forwarded-Encrypted: i=1; AJvYcCXMkHpfyx1QFnX5on1bNV/kkTw2zQoczwu6mBESNE0NukK75jNz3QQoIY+1Xs+E4EGvZO5EHPYR+ZQYtHH3M0UY@lists.infradead.org X-Gm-Message-State: AOJu0YwBwhGMfX/ThAed9XcREqb8MY1iED5HqXMXjh6HpODBgU3kNBrH us0pgX3K7EcEcQOJqIUjDBXJcbLAFeeBvqyqwdwZ1E/NVgnhK+FG X-Google-Smtp-Source: AGHT+IHp7HvXth4+/t06EUgh6Jxqi0dI/PkunLPhvuAKvjxVJB+S7Y/BjsFPWYMR3mh0rKxVkNkSRA== X-Received: by 2002:a05:600c:1e23:b0:42c:bcc8:5882 with SMTP id 5b1f17b1804b1-42e7abe418fmr105816945e9.7.1727027003879; Sun, 22 Sep 2024 10:43:23 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e7ae60ad0sm80758535e9.1.2024.09.22.10.43.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Sep 2024 10:43:22 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Philipp Zabel , Liu Ying , Sascha Hauer , Conor Dooley Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 1/3] dt-bindings: reset: add schema for imx8ulp SIM reset Date: Sun, 22 Sep 2024 13:42:23 -0400 Message-Id: <20240922174225.75948-2-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240922174225.75948-1-laurentiumihalcea111@gmail.com> References: <20240922174225.75948-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240922_104326_013587_FCACD789 X-CRM114-Status: GOOD ( 13.03 ) 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 From: Laurentiu Mihalcea Add schema for imx8ulp's SIM reset controller. Signed-off-by: Liu Ying Signed-off-by: Laurentiu Mihalcea Reviewed-by: Krzysztof Kozlowski --- .../reset/nxp,imx8ulp-avd-sim-reset.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml new file mode 100644 index 000000000000..f6797966fd35 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/nxp,imx8ulp-avd-sim-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ULP System Integration Module Reset Controller + +maintainers: + - Liu Ying + +description: + Some instances of i.MX8ULP's SIM may offer control over the reset of some + components of a certain domain (example - AVD-SIM). + +properties: + compatible: + items: + - enum: + - nxp,imx8ulp-avd-sim-reset + - const: syscon + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#reset-cells': + const: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - clocks + - '#reset-cells' + - mux-controller + +additionalProperties: false + +examples: + - | + #include + syscon@2da50000 { + compatible = "nxp,imx8ulp-avd-sim-reset", "syscon"; + reg = <0x2da50000 0x38>; + clocks = <&pcc5 IMX8ULP_CLK_AVD_SIM>; + #reset-cells = <1>; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x8 0x00000200>; + }; + };