Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp495276lqp; Sun, 9 Jun 2024 06:01:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGIQWGSLKgzENxe1jK3SvKSG4mU4kBIZB47GKoRDXa2ctCI0gohp2NnMeZWbIx9blDcQkGp8XhxiOCJsctvYBAcNvWmMVRSy5IXxXQhg== X-Google-Smtp-Source: AGHT+IHmfsDZwF8MalMbSkfVS114sQWiU//z5yJs2vR/xxGsdq/EbUSCB+OzERL1rHpuBmFsgT1Q X-Received: by 2002:a05:6808:17a8:b0:3d2:200b:9258 with SMTP id 5614622812f47-3d2200b93cdmr3540155b6e.14.1717938079883; Sun, 09 Jun 2024 06:01:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717938079; cv=pass; d=google.com; s=arc-20160816; b=cELBl/qJlIrq+I0JCEzoWW9qTZJ9sBqn5Vr4Nx9t0qlsl6uqyYqLxDmo4at2MYP09D VOrA8OsFAer6yJwBd9hKFEHzZ8BrXKlXhfXDFxMGkd8iEjmRzSRQN5H/WCFoZeNrIObP lC49EPWocd3epgTM7VFya7VaFsl4Yop330wonCy5Q7biR5mB7a8KDxS0CphbTLvrq8Cx lZ9Nh7tl2yH2nuprdokI0l9lMnyuurgpFOls13p4yQw54OKVVsr9rMF3XVdf/Y0NIgBl idiCiDK/0vtZOZ/oC9Dwsr3wmFPl2UE+d6Zgg/1Uj7XZ6TGxdAEDfcyX8hKHUX4mcsS0 +cSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=REsRox1e0RuQ8D5QAaZjLhlhSVKgshVITv7B++1K8Ss=; fh=iFHU8vwG3121I2ZO5LN7MojvSuznBABZsOmlxvzBt5g=; b=M/LpQZVGRDQb25Val4tTe6p8vdOeuCrZCv5aT4quF7iaIAMKS/v7parI9SWujqOHmQ +nnttY0Ge4tjvvdgGFbR1kqJsQlSkk+Km0YwQxHaqDUfnfdP458k7rbbvrc7XkI8X+6J +unMIuVta1fb5jy/oMwN3HJ1Y/ZGU15WKV570rl+S8rCbdGA4KjF5WP56xUYs1crQIL/ 621gWRx1cYplihqFFYfv8GW9McqaWS524s2BnZXj8DqXEaPU/uXv3rJER3ARLpMqQEMw 3b713KusWbuCOGhbkz3CRnTZeBk1u9ht/1mNwuTdgxrDMfBdgExWJHG3o1riJTddNr5x goUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HdhUKMyC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038a86ca4si85302621cf.222.2024.06.09.06.01.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 06:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HdhUKMyC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 94D0E1C2090C for ; Sun, 9 Jun 2024 13:01:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37DBF40851; Sun, 9 Jun 2024 13:01:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HdhUKMyC" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D89A6374D4; Sun, 9 Jun 2024 13:01:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717938072; cv=none; b=SZyFd9l100OmM7aDmXzsW7W2pWE7qlkA488JnbIdWZ4xfLEUDDRacmnuSt4JgM06uHwLXnVEpQJ5NCcW+CcwHX7nn1N3wD/ttuElAWqjBsRcxZpz08bN8fsRZMtothNzQ7EVEDQCOLFhQTNhdtGi9hs2Qa70/DGxo3hNiSRsB6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717938072; c=relaxed/simple; bh=j49VU9MU24LvpW7FfwuoiEMwbcnOP7x2EnhIo7iP/Mc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cOoVuasI5h/Fl2TcBg+8f/QFnqsSvsJCgZJm61vy6YbJ0xssTtA56W8uDVRDqrrinfaS+Z/nyOZm+9Owm+XT8SAgw/3YFI6FlcdAp9Wfy5sJV6fWARgPrUnbVqU/X/6PwrBR8syES0XchsXaMvFFPAP6wMmKzLHAhcNQxzw6uCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HdhUKMyC; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a6ef64b092cso180202766b.1; Sun, 09 Jun 2024 06:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717938069; x=1718542869; darn=vger.kernel.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=REsRox1e0RuQ8D5QAaZjLhlhSVKgshVITv7B++1K8Ss=; b=HdhUKMyCszV2EXAMcPngB/2Sh7n6BzLfYP0YgdbD+7hWlS9HwYKAhBpL7rQP5PJ3Ls V48NS5RJDXW0DXf/qTn9P9OTPtHDwDjV014PMhwB877PBZQzAu74h1ZIiAHQIfliUYNo CsDSWuCSsh2wpCeHhxauQJzomUGBnC/ETmGom1Az1JJfTPrqe1TsirCD4tytLeFkEuPv 207eHL5t7q1JQ+VFXFBeLEFJ5Yw2rBAdWSjB+02THcWLcfD/lFhwFbNslD/LDYNj3VZR 9uuAchz2QqaiYBy2UQAQhiq38VNIMp9Djrtn4CKYrPoa2FuXG14wVMKiaiWRuz0FA4nN QAQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717938069; x=1718542869; 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=REsRox1e0RuQ8D5QAaZjLhlhSVKgshVITv7B++1K8Ss=; b=YcpqMDN/0o14aVnbSpilSqojAbxq/C0JGR9uZuWE4mbwkZc3D/wcztXkVe60aYHxtM jD1S9Ih/yhDFjErfo9lV9KxPEMycQKg7VpgqJRPnMbn6tSe15gddiXcp60acJQupDDJ5 3448NKHY57rTRK+uiQiv+ZOUywmoWTJ3+QTP3ZBr1GaJT4HgbTHnzxe4A7OZMCg406pH OcX9Ww7gT1/DCkip6bxtbm2xQ6dSmy2U1F+tM/wAjYxN6oLGlVMQGje2COF1xExbvJ+Y BH3gIV7JQzehm4OhWBiS71GmGUth+UetImIWUfOiW/Tjrk5zzuwC8xznpWpa//0KK3z3 V59Q== X-Forwarded-Encrypted: i=1; AJvYcCX0xXO+ul8kXzAfEnl3HuorZ5IHsPrNun2eMbsxJuU0uHqfmJbRsB8m0fN4y9MyerCyPKQ8Rn4+IC5bSl8Q/n1LiMy7/hm2aztwdB5vTYQCiosTxamn1WEmZKHO07Pb1SIZi5I5eAur1A== X-Gm-Message-State: AOJu0YwAmjUxstuwAwok3Al2odBro6l+p0Z+CsMQ4XNJKX7q1FoZ0Jmj TxPgBG71Uj3MSSpVrKcs5Qo7MzjZOiRX/s/LVUMQJEVO8nrkHjeD X-Received: by 2002:a17:906:4a4a:b0:a6f:74:d389 with SMTP id a640c23a62f3a-a6f0074d52fmr240671266b.14.1717938068825; Sun, 09 Jun 2024 06:01:08 -0700 (PDT) Received: from lmc-playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f1841fceasm85961266b.70.2024.06.09.06.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 06:01:08 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Philipp Zabel , Liu Ying , Sascha Hauer Cc: laurentiu.mihalcea@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: reset: add schema for imx8ulp SIM reset Date: Sun, 9 Jun 2024 15:58:59 +0300 Message-Id: <20240609125901.76274-2-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240609125901.76274-1-laurentiumihalcea111@gmail.com> References: <20240609125901.76274-1-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Laurentiu Mihalcea Add schema for imx8ulp's SIM reset controller. Signed-off-by: Liu Ying Signed-off-by: Laurentiu Mihalcea --- .../bindings/reset/nxp,imx8ulp-sim-reset.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml new file mode 100644 index 000000000000..e7faec55ff36 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/nxp,imx8ulp-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: ../mux/reg-mux.yaml + +required: + - compatible + - reg + - '#reset-cells' + +allOf: + - if: + properties: + compatible: + contains: + const: nxp,imx8ulp-avd-sim-reset + then: + required: + - 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>; + }; + }; -- 2.34.1