From patchwork Mon Jul 15 16:45:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13733659 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 B12EFC3DA4A for ; Mon, 15 Jul 2024 16:47:30 +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=BE107BcHqsNE5dZ7htAOIriFiMS47OFGE7QlqBRD04Y=; b=i+j4KSbI2Wn8XJWkogcUCVEfuv 4JjqTCBaTz1R/Gzhpkgs2+FG04Ge9iSbkN7pA8nS0NdWvHKp4jn7ZgfsYq7h0pzNxDbRNWN3ibeHS 4I4phLB5npGRBO17/RkV4vT5m/9PPy5an5qTbukux/bCwCrdCuUL7BC1oZWM1ETASgurwrXb6MLMW qP3rNYjQMIvmDEilUNgi7+Qz8WrqJhaPUsJA4uEp/De+YFdX65qHB35qSOGv3bY8DrGQRW+ctD+ue 4+LwyY9ausAmL4+qapAtaUGLGDfCTcV10YJuF74Kvix/ap9f65GZ9gyehCdaqhrnPKWScRfiY4Rq8 k661hukw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTOr5-00000007mOr-3mtQ; Mon, 15 Jul 2024 16:47:15 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTOqZ-00000007mCP-03hR for linux-arm-kernel@lists.infradead.org; Mon, 15 Jul 2024 16:46:45 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4279ca8af51so26631155e9.3 for ; Mon, 15 Jul 2024 09:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721062001; x=1721666801; 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=BE107BcHqsNE5dZ7htAOIriFiMS47OFGE7QlqBRD04Y=; b=YTUEJIOvJeMgTZH/qhgwe7/MEeByvSdGnoGxDm1ozadtw9/fRKAUl6DPMcenB+Dp1z erDFRZ9s76e2d6A2sCbZBYR5VNWwCPblMjpTI7WbNbh2eHk2y9y2Z4gCPpJDMyin5ScK jLnAs2+CzpXLL6yrtuf9Q+zZzDUpNoVajBWsJqEBZoR9YohyvP1PWCr1U1LUWfm6zjvC KxrEPQ1wCdsF7Zzr9pSw9yrrmhlLby6pEfgLzY60H//zpGgQag/xbzimEF3KJKCwFFHd MmSCvBLWjlB+3TLJTLnYYzqaT8rbRhxp4sAzSZ9ab7PWyuz3tt6eIXnuq9+1TP2qe1Kw SeXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721062001; x=1721666801; 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=BE107BcHqsNE5dZ7htAOIriFiMS47OFGE7QlqBRD04Y=; b=qantydSinTA4M0L9XA4forTdeFWtHKv/qGjlXNCbRwphC+FZw38gmGD3Qyn2vfYp1y 7RtD3bBw5Llrd0atnuiK8Yw2ZyHnXpaUGtDnIYR5qaSYyLKeJmYhI6TASpwfVNb+wyuN jw7mTvZgZveqx+ucBofOiTFeEOsx3ZOrMw2iWLgtrZrDOnQKANEv3rW3en1hJ4kARqzk jELvJXNauZfvdKimeElzQgAF3iNuFJoTMwy1nqXZCG650s2srrFdGJElmqCL4xokeXhU cWKPcfkUTjbTEhE843rnCZqLO2Um1b4HIO+VpRJoksEtCRvVoN8PAl4D6tWILsgZrQF9 OlUA== X-Forwarded-Encrypted: i=1; AJvYcCUVDgo/Qde2qt9SBI/iyB4vF3zypwoYIn9Bfxm0l+mBiPJGuaxBJB3EfSUNhyfEjQtwZZALMbO25ujkZrylkJr/Mj9ed5Ir9nxQ2etBlGBExXTq4TA= X-Gm-Message-State: AOJu0YwqN0h3phP6LUcL1zi17RsAQGfo2uQfBVp9PXlIEoIZbmn1ORPX 088ytWKJqIREGrtK0/CMCfCjnIWcfchhpHoNxtlHw59S9K49lL9X X-Google-Smtp-Source: AGHT+IHIy6chjAutKf/iJIZQURe9szXYTSWbYLQqamzyq1p7dzNS2ZlGs2F6yEGiZtrsigYIbUcOnQ== X-Received: by 2002:a05:600c:4e90:b0:426:5d0d:a2c9 with SMTP id 5b1f17b1804b1-427b8893008mr1417175e9.10.1721062001372; Mon, 15 Jul 2024 09:46:41 -0700 (PDT) Received: from playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427a5e7749esm94316975e9.2.2024.07.15.09.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 09:46:40 -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 v3 1/3] dt-bindings: reset: add schema for imx8ulp SIM reset Date: Mon, 15 Jul 2024 12:45:12 -0400 Message-Id: <20240715164514.8718-2-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240715164514.8718-1-laurentiumihalcea111@gmail.com> References: <20240715164514.8718-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240715_094643_088594_1970097E X-CRM114-Status: GOOD ( 13.49 ) 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 --- .../reset/nxp,imx8ulp-avd-sim-reset.yaml | 59 +++++++++++++++++++ 1 file changed, 59 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..ae03c5750fa7 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml @@ -0,0 +1,59 @@ +# 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 + (e.g: 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 + - '#reset-cells' + - mux-controller + - clocks + +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>; + }; + };