From patchwork Sun Sep 15 11:43:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13804777 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 330E5C35FE7 for ; Sun, 15 Sep 2024 11:46:24 +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=MMukAaRv6lsduEQXd5W1x8cQrcsYqXKgAlv5XHYkQXQ=; b=cZf+Zj9RePEUxhEyCFYcLBVZGf mQsM6QKiCnsy39tks1eYVcLRHN+QMhBulRn8Ji6hGpwCA/GSnHyFIBpZk+d+VXkCel5VObeP0yjkL ZbBq1qD1xxC2QQmSOsd6utnufk4i5H6E07Sfmya1ykWobHJ3ERGoYznI6m1vJjG+WSutlKEqpsKsj bo7IHMRz385wWQUIRBagItbbeEyG8cjz4KaXUwdmoWVHQIzHVqHIDbSJKMByeI5+fkHQUD3/F+gMo NFHVsSqCbiYNBQNMcjilc07FqZQ7bmzOR434fUKn8AsL4D+ddVOd4m2rQGW68qc9ciYFM565WpRON 5bYhtyTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spnhm-000000022Vx-3YMw; Sun, 15 Sep 2024 11:46:14 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spnfk-00000002299-11AL for linux-arm-kernel@lists.infradead.org; Sun, 15 Sep 2024 11:44:11 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a8d56155f51so456381666b.2 for ; Sun, 15 Sep 2024 04:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726400646; x=1727005446; 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=MMukAaRv6lsduEQXd5W1x8cQrcsYqXKgAlv5XHYkQXQ=; b=XJ29SADO+n0GAzqJ7yjVYTKpJU+zwVc8b9ity+2in6YFDMTywgmfStN9BBYg7UqybR 706IPbeWXORvcMcJi7mps5wowKNBox6exHHW6gPzSi6fcnfz8OYnKwQXPMglk2C40Y3s MxSXXcbXniCYs9tPQN9TOdUmWAF3J1ZEVSGXx7kNJ2UuCrgvSuXC/Su5kc7A4nNXdOjW aSJ5Jw9A7bJ4HGUE86wTDi/huE4e9dQ3WWr38sR76u26apMIfkkSNZlitcqXigPU/32M 5j6ECRicUaXW3iYn/cluiPq8xUUOzTgK8GNwIA7Cq9Clj1naCHDYhc0oPOOtNRqY+VZK +xlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726400646; x=1727005446; 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=MMukAaRv6lsduEQXd5W1x8cQrcsYqXKgAlv5XHYkQXQ=; b=M6IaBQJbUxd8Tkn7SH3/EjhTM2Ef/BybF03gRdiUWHRVHib5t7dKYpFDWNRu1vBenN WWvKHn+up886YEUmP7bD+8Gx+g8phZqHdrXimamQSmbVIvnWvpkfz72eNTnOJbGrDgNw Oxxa4drdKNKrjqIiir4123DXlJLbWlP8K4tzDm5AADcf8mc2na9b9ZpaCNP1ZAqmxHmK nKFTxDBQCIlosV7Pk0AEjJG3DXgDBTm75HNrxV2xi0R/I1oZajPnkq5M09b86K2n9XXP 3WqcRxFLRA3QBrr1DRKYfpntA+4iZ2jtMgYwN6TveppozySv3NWa1Mj8XW1V+G/2K0YW nesA== X-Forwarded-Encrypted: i=1; AJvYcCVyLqM5fwYNL54JvRuGxDT7tqR2rlHCMs6CcXiRdZ9mO0emEwaOqnwM/KoEnhQFvCCUM6P7/0M3HIm6E23GwlAt@lists.infradead.org X-Gm-Message-State: AOJu0YyxEUrHjUorNXIvxHtZpyWrFVDc0tjX+f5STC89sw8Yizw6EWBu fPKQmm49P/+rfulEizFcsaO508KUDHoJEDy4wkas7iGuEjxm4Zhl X-Google-Smtp-Source: AGHT+IE31cvGT/N6V95eA06b6sHMWCe5xvfNaDUEwVbsa4UyYKFSiLYAh+OpvI2B3F+xUi2OqHNUUQ== X-Received: by 2002:a17:907:26c3:b0:a72:50f7:3c6f with SMTP id a640c23a62f3a-a9029432757mr1209442066b.14.1726400645566; Sun, 15 Sep 2024 04:44:05 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a906109676esm188778266b.33.2024.09.15.04.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Sep 2024 04:44:04 -0700 (PDT) From: Laurentiu Mihalcea X-Google-Original-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 v4 1/3] dt-bindings: reset: add schema for imx8ulp SIM reset Date: Sun, 15 Sep 2024 07:43:09 -0400 Message-Id: <20240915114311.75496-2-laurentiu.mihalcea@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240915114311.75496-1-laurentiu.mihalcea@nxp.com> References: <20240915114311.75496-1-laurentiu.mihalcea@nxp.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240915_044408_302172_9EFEEAD6 X-CRM114-Status: GOOD ( 13.39 ) 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 Add schema for imx8ulp's SIM reset controller. Signed-off-by: Liu Ying Signed-off-by: Laurentiu Mihalcea --- .../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>; + }; + };