From patchwork Sun Jun 9 12:58:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13691244 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 0DF15C27C53 for ; Sun, 9 Jun 2024 13:00:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ylw20tAwN+a2t9bWNXwyPeQTEigqWEPcwX7zIBtfm1c=; b=yDIDI7mGQP+Z7z 13HFssmGcMHtuGG2YH63d+o0M7+F5aCOewLNdcz8r54ICMlCWvF7um19vYU3LzoJNyrJz/+ouhH9j Nf4KiMWhMKnM6oN/sOxwpM09WL9LIa+yvMdxb2zJ944toNs+Gh4OJOkWsjjS+8oOpkEy6cbp7m7Ps c/X6umVZsh4unc0ItyleGk42j9tweFU7Ts6ck/bk/87AVosuyxvhmde4l37yicnqib9V1VCq8GW/b RzopspxseDLlXG1b5YnJ3BJTaXdh+6x3Yaz1WG7CfXzHvAwHjA19O9SuoHxk82+NURICWX0TjRLIW 6thxNI3jyU1FUsdVInsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGI9R-00000002bhg-2l7S; Sun, 09 Jun 2024 13:00:01 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGI9N-00000002bgp-144M for linux-arm-kernel@lists.infradead.org; Sun, 09 Jun 2024 12:59:59 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-52c525257feso1509227e87.1 for ; Sun, 09 Jun 2024 05:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717937993; x=1718542793; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zvgraGsdwP8qNq0CbLRpBxfSdVjyK/qpe06H5/qHpTM=; b=iI58fi7CzVJ0p7YSZozfJQmnvjA7VEk9p+M0VqOcfCiRPfd7kyu5nAgMJI5sbTYlLY o9LTkExxSdk4CMAF4yFtY6D0G8AN2igdH9q0Vt1qwXxPrsAST1coWucijratlRzn5oyJ Ak5OEg4e3hyIyYqZ1PgwVJViDdjI9iQFj0ul9UNxgq1w3KOevV/CC1zkQo4qa0/T4NoU mHd/PuVCm5qNlyywvspgAHverig+NaOZ02/giWAT/Sw9u2xNYTISUDfW5qgZU9SGfUbg MJvzb4CkiaXRoqtosIvb5aBxrmV76ZZzKKCQzm0vyDKxT32LmwGNY/iwrCrwwTlwXSPo +OHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717937993; x=1718542793; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zvgraGsdwP8qNq0CbLRpBxfSdVjyK/qpe06H5/qHpTM=; b=HtkNP3i9azPOt0kC3JPWJ7DyhqxI/v6aVVsTvzx/FfM8/EZclZpMo1WSupe/Didxl3 XeP2Rnz6c1aTMMKGCaTmb5TrbLpoSiLzesFtgskrkfaYfKO9NXPVmXpE2+wN50e2LvF1 xKhzZQyfkDH/nEgHUC+W070JrhBI5IrjoqyvDxd7pDSeXY2WV6Uk15FK3KG5tflW7IsO 0uN5nRqqNu3cztA16c7dqKXKCFyiKcJZft5U36keJxXErDcjCj24wLqiIcZjPVY+l/jn /haZsfEhkwqZHaphaNScUDNpHhFXZAe53Ba233Rs+qPqzGLDC4NY0dYQqa1TK4bkLfap PPgw== X-Forwarded-Encrypted: i=1; AJvYcCWv3hg+tDyag8uE1w4NzXUBeZwvtWqE1eH5f/JyXALQTeuhrW23O2HfH0mBuWBizDSZfY1T4R2wtHRc0FY+z3U9iO5WW611SbKKghtrge5rkNDB0Cg= X-Gm-Message-State: AOJu0YzJJKaQpx7RlxHMmW65YVELEfLc6QJvxgHSWALkZKMKl3k+SUG3 LZJIKcTtAnQPnjF7zhULxboadcOHAMD6kdRxUEip2mkO/BtiDLw1 X-Google-Smtp-Source: AGHT+IH0kfJd+mvMseVa+3hYIyeisA8ltLtAHrUOGBmoHFRBwQJplxengofSYzowRy3u69oYOatzLw== X-Received: by 2002:ac2:4989:0:b0:52c:7fc9:954e with SMTP id 2adb3069b0e04-52c7fc9976fmr1948585e87.41.1717937992741; Sun, 09 Jun 2024 05:59:52 -0700 (PDT) Received: from lmc-playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f1841fceasm85961266b.70.2024.06.09.05.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 05:59:52 -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 0/3] Add support for imx8ulp's SIM Date: Sun, 9 Jun 2024 15:58:58 +0300 Message-Id: <20240609125901.76274-1-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240609_055957_342824_E3BEC1DB X-CRM114-Status: GOOD ( 12.27 ) 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 i.MX8ULP's SIM (System Integration Module) allows control and configuration of certain components form the domain it's assigned to. Add DT node and schema for it. Its child shall also be included. --- Changes in v2: - Reset controller is now also a syscon provider. - Changed vendor prefix to nxp. - Link to v1: https://lore.kernel.org/all/20240516204031.171920-1-laurentiumihalcea111@gmail.com/ --- Laurentiu Mihalcea (3): dt-bindings: reset: add schema for imx8ulp SIM reset reset: add driver for imx8ulp SIM reset controller arm64: dts: imx8ulp: add AVD-SIM node .../bindings/reset/nxp,imx8ulp-sim-reset.yaml | 68 ++++++++++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 13 +++ drivers/reset/Kconfig | 7 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-imx8ulp-sim.c | 103 ++++++++++++++++++ include/dt-bindings/reset/imx8ulp-sim-reset.h | 16 +++ 6 files changed, 208 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml create mode 100644 drivers/reset/reset-imx8ulp-sim.c create mode 100644 include/dt-bindings/reset/imx8ulp-sim-reset.h --- base-commit: fec32ea96dd90bf0af97e001f380d4a240013aa0