Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp540201lqo; Thu, 16 May 2024 13:42:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgZqpLZYUlxwqTZyxTEKiBgB/s7QCZNpiLL1aSZdF+Vz+po+GXfNyXTDeIl4+ZyOcnB5O9v9IIKqi5seql2VhGiK7uLGqOKOkt7bLTfQ== X-Google-Smtp-Source: AGHT+IG3Zt21O28WQIVMEan2WDeRrm8dEyidbHIesOYtmtiji9O/9IGJD878rPHgH3QhsuSRPunV X-Received: by 2002:a05:6a00:b86:b0:6f4:669d:8c64 with SMTP id d2e1a72fcca58-6f4c8a5d5d3mr32026669b3a.0.1715892137064; Thu, 16 May 2024 13:42:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715892137; cv=pass; d=google.com; s=arc-20160816; b=X0JSg6WS/IgvSonK2P/9Z60HXVlVBEY/xJog+PYHCGLpYxly2A8zav9AhdFj/R0gmA xUkVO4nAoEggF2qxBZnughgSRoUnSRT9B/Ie6TU2YuN3ZGhFpUrNEqpiA1dpNw9PgrI1 ec9oiXd49/jYwoMvRhJirWSKkfYGAicGf2lwoazJ81gOMK13AxJEvqkIJ3JaIXBpg9JV 6bfzvjDUDpaRdjEY9ZUJZLwTmZ/VEO3lg+pZQuC1x7pLppTiECUWcQL+689i6uRNN5NT whny7ZE6KeMCY1SuWjTZW0bYiNbEjyPscXrAWpYN9BPV8fAQ4LJWfB032rXGQk7kp6Ms DiGg== 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=Opo8rK0GjT1pcxD/DdT5h2EA1MA57S7z8/+NMoMMi8Y=; fh=3I2YVaaXBZnXiKOAML1u0ItWTZItv4+BfxQMrrfpH4w=; b=EwEn2HL7JY5U2UDyff5jGu1Y4aBQ/+dA49QkHqhJK13foJ0/4us4a2B+13bipV7Ysk k6cPiPeiPVzYsUmxV2bw6lSTdAKR0AWaAWQ2JiE43MblsmpR4em2jIRvNsQrJIkuh25N KQf6zcbmjkikulQez+g3gE+Z34kwZKgz6S0etNFJHPir66lfHko4KJcXbNVBDoV+bIhS McM1nyGv6XPWbrFjR8oc3K1Gq7zc8i4n1llJAK/yhRPyZ/31fM8zUXEsnzFMHDHQOHii V/Z/ny5jQzWYNjMB6ORCoGDuD+xA5Es7fqe2dtWN0wzGWVxBEChPf/MFNBla3ZrINtuO jIKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JGGxbfMN; 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-181571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b1d0b9si2318423b3a.237.2024.05.16.13.42.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 13:42:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JGGxbfMN; 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-181571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181571-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 92929283C27 for ; Thu, 16 May 2024 20:42:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DB53158A29; Thu, 16 May 2024 20:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JGGxbfMN" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 BFC84157E6B; Thu, 16 May 2024 20:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715892096; cv=none; b=t8sxvCPr3uHegp0TySAvgSUvllHIxx916RmL2TZnn03aHgRWwygtKQi70tCLv6GYNwFP4W6JW1mYFZK9rTV5ZoC96TgwZt5HmjIVvhruinlSyue7DX2D0ARujsRbTZm2+ig5WEHq/ORdchdD+J/eDkpm35qHyAg/wUgcDf10Dqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715892096; c=relaxed/simple; bh=YG6Irvok/llj/JOUak/E8yE3D7cWV/e/rGxYwg0Av88=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GJD7Cf3FhTmUMT0WHOW4uYhPemHmuFMTObFitPfbnDEYbg+qhfb1lG6cELNCIZfCDAJm8s6wy4GnDsUIf6T/rDWfelGao2Y4dfCAJvHUvePmhiwJempR/zxJqQKNQz2jersTa6GyG6O3s4IeZUWmSIaGLm1qf234pkqg+/YW9FM= 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=JGGxbfMN; arc=none smtp.client-ip=209.85.208.173 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-lj1-f173.google.com with SMTP id 38308e7fff4ca-2e3fa13f018so14866691fa.3; Thu, 16 May 2024 13:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715892093; x=1716496893; 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=Opo8rK0GjT1pcxD/DdT5h2EA1MA57S7z8/+NMoMMi8Y=; b=JGGxbfMNsR4ZvvMm1dkE3vkw1vvsptr4ijDwB4QUWetjqGptOT1tnKisJX6ucNa8mb 7BuGJy2vIVTxae48NROxvg/C5rVYkj6Ooq6y/PHEJm5vciANety7pllwd51Shai/W16Q Kr7wvRHlU1AIdl+d2CFJZKnsYm62/WCdnefHMUwpz05Hy9r0qHT78mjm0ASPpRERzhbH nZsFKa//uUZJ62sXp3BVW6Dw0jWBk92d95hwLKaoDoQRdYQpe5nnZEaNK96+l//RRpqT adqT6bAVAyLajT903W0WhddpUZDA0fORVbYPSPZY5T8fsN2JOVy3fXqFddIv67bfqrqT FZ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715892093; x=1716496893; 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=Opo8rK0GjT1pcxD/DdT5h2EA1MA57S7z8/+NMoMMi8Y=; b=qQi1yR8o1SJQW+xURgFNeoMnN5tWFJ83joyyc7W3nBRUnDcZOUJYwgctyBxZDcqxIQ Z0tfRYYUR41TmwxGohkK0bScPtBJE00KhRluP2h18OTkgrdct5gy9XpdoYThbVoZi749 kjXl6EPGamPRQGBdytEAabRvJ0ip4QsR0fH2v6YvfFeWlFFG9nU9RErkiCPDYeeZPrit yUH/G6KZrgBfhRRYJcdIpy4XLxcRdLRwlO+Oh9mrqdXS9gso5wDkxjTt/dAXsxhg4Kai CAshaT3b3oMe3qbRkZSW7ttRHz95uYA6ZQGVQmI9WTxhtMTogivW/gdSKw0gqvi8TPxN dmZA== X-Forwarded-Encrypted: i=1; AJvYcCVgMzc1wXfjiUuocF9K7b0HR/SRb968i03MLIYzmCzuPJZa6NYj0PrQwxmHdDTexFwIQbHHO3bS6TQW11FOpD3tdh90ydihxGg0aBmbow4LAbAteiw8CjdO0ARAmz9g7CL09BVtV1zZfQ== X-Gm-Message-State: AOJu0YwgsG1l3pgA86SR+F+6N7zaK2oCs+InI2jo0U6dKqBw6kP6eiHm 6DEZtZYG9BXoMVm0YcfSUcTHfFbNwiwKEtX/Op1R0bV5KqLELiLI X-Received: by 2002:a2e:7405:0:b0:2da:c37f:655e with SMTP id 38308e7fff4ca-2e51fd4a7a6mr124569501fa.16.1715892092957; Thu, 16 May 2024 13:41:32 -0700 (PDT) Received: from localhost.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c2b8f7fsm10859828a12.66.2024.05.16.13.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 13:41:32 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , 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 3/4] dt-bindings: mfd: add schema for 8ulp's SIM Date: Thu, 16 May 2024 23:40:30 +0300 Message-Id: <20240516204031.171920-4-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240516204031.171920-1-laurentiumihalcea111@gmail.com> References: <20240516204031.171920-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 i.MX8ULP's SIM. Signed-off-by: Liu Ying Signed-off-by: Laurentiu Mihalcea --- .../bindings/mfd/nxp,imx8ulp-sim.yaml | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml diff --git a/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml b/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml new file mode 100644 index 000000000000..fbb17c06e3c0 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/nxp,imx8ulp-sim.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ULP System Integration Module + +maintainers: + - Liu Ying + +description: | + 8ULP's SIM provides control and configuration options for + some of the chip's components. + +properties: + compatible: + items: + - enum: + - nxp,imx8ulp-avd-sim + - const: syscon + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + mux-controller: + $ref: ../mux/reg-mux.yaml + + reset-controller: + $ref: ../reset/nxp,imx8ulp-sim-reset.yaml + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + const: nxp,imx8ulp-avd-sim + then: + required: + - reset-controller + - mux-controller + +additionalProperties: false + +examples: + - | + #include + syscon@2da50000 { + compatible = "nxp,imx8ulp-avd-sim", "syscon"; + reg = <0x2da50000 0x38>; + clocks = <&pcc5 IMX8ULP_CLK_AVD_SIM>; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x8 0x00000200>; + }; + + reset-controller { + compatible = "nxp,imx8ulp-avd-sim-reset"; + #reset-cells = <1>; + }; + }; -- 2.34.1