From patchwork Thu May 16 20:40:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13666519 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 B8D4DC25B78 for ; Thu, 16 May 2024 20:41:44 +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=ZPnjpOQ6awF01Kc1SQhUz7ORkLriJPxE7rN5gUIXTPA=; b=IaM8VuRkenGtpV wLYqEiyee8yp1iJXwZVVaCsoa04SnydKeweNjvvPcEqoPwy4qzNQc8IqD642Ifb3NL32w9d7qAWnp aa1lQSCpQVfXXW5H4qDuzTDwepCEuUX7Giv4QvoYi6vimDMIytcIP7czRG/8nN1S/DFcRnJwGlpV2 aUkbMLgs/1B8g353NNaSp+obhpIcVPWV+98qtSIolgCRZgiyEelLvY7fnW7ISw1khNxF++GpskuSt qTXPdYAaYW7VfNVnzGM726yhJOBhmU0kRszrTTyiY6AMWMOL5wc5DenY0qR8+oxoHdSfhNsvl4E+R UWGnP07imGZLIXEHrHsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7hus-000000065gs-2fQv; Thu, 16 May 2024 20:41:30 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7hup-000000065fz-11iS for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 20:41:28 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-57342829409so5490434a12.1 for ; Thu, 16 May 2024 13:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715892083; x=1716496883; 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=hfEGtxZOwWbYAEnG2Y0hgMrgm7NoPpGTjppO5Go7vv8=; b=mon/4T3jzvUvC6ooXvLrkeWCAqIMya5GtqFpyXO8LUl6JlyILTqFB1orJ6yVweSq/g L+1cCpo+vygR2hO1uEY1fa7mBcBteiwpJIbzo98f0/yEQAbEfJy0IP1opQohiYY+HLfU EVLEbAGkCmVKZ6/EecBipKj2oXRVjQd7zp97kXz7DjDBjaJv7QM3LIRRStmnq1ajIriB 1B8HRazJOnHi/4IT2MoEV/8moqEUkFlcw0Gb+dzW32PGggp41fvV4HJYE5GkG1bIrC8K uW/AwrFd1mEwc5/cirJHrxxHkR3ol7mzv4bZSKlSAw8b5lkzoDZEx1zHkbIYEEKLUpJc NA6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715892083; x=1716496883; 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=hfEGtxZOwWbYAEnG2Y0hgMrgm7NoPpGTjppO5Go7vv8=; b=wwvyPexfUCbrWYwOWP57/MIAaIKH8m41xGbMeLJ/yXq8ucFmtKfIShzXp+WHz4FSQQ V0Zn0mO1jGMFY6flIphqiYv6UV4A1KVGAJqUUQXaUdsDO6IpdP+RHVTLMKle6RGKVbzv kf90HYHX/xPgrbwXb4AFJDmc+c6xwL4woJbxTjY6yOL0GcZpy6Yl5qxaLG25d4+VkBN4 uWZcPGg2HotW1gLttOE+mOaqZXjYJF8nOzquxYV3byI0A5bDnas/Qb6aCLeyCQwrH1wm 0QJdPjsCxJcP5u437Ic9xxfSIPHb+ihredi7LqR91j3rIdJFGsQPQai/9CCxe/lo2/1N Cmkg== X-Forwarded-Encrypted: i=1; AJvYcCV5v4J2/SIKVCuCBy16focF6rU0DZ4i6qdeek6F55h2wF8WaksbzSHhCSzGbDWh6KLrsxgur+5v8ayyUweuiNXq3yXr50T/Q1v+gncno+Zqj9NrmpI= X-Gm-Message-State: AOJu0YwhzFKAIcN54+X5N20QcmxFnWF0giIiPJF4Qc7ReJxA91d+OKta 8Uo6Ph+9MweQ+sjuzEhoqiaewjpRZwuSCLBQnB1m1Ta8IUASus58x140Bui5 X-Google-Smtp-Source: AGHT+IFjova7aUv21pnribbviNXI9uhtkJ+qKzW6NfePPjfYjxJ1ILWWZ0Ax5zrU68mh6c4a6ARE2g== X-Received: by 2002:a50:c18a:0:b0:571:bf62:81ce with SMTP id 4fb4d7f45d1cf-5734d5e35c5mr17006879a12.9.1715892082576; Thu, 16 May 2024 13:41:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 13:41:21 -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 0/4] Add support for imx8ulp's SIM Date: Thu, 16 May 2024 23:40:27 +0300 Message-Id: <20240516204031.171920-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-20240516_134127_309606_E8B6D918 X-CRM114-Status: GOOD ( 12.55 ) 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 from the domain it's assigned to. Add DT node and schema for it. The children shall also be included. For the reset controller child, this also includes a schema and a driver. Laurentiu Mihalcea (4): dt-bindings: reset: add schema for imx8ulp SIM reset reset: add driver for imx8ulp SIM reset controller dt-bindings: mfd: add schema for 8ulp's SIM arm64: dts: imx8ulp: add AVD-SIM node .../bindings/mfd/nxp,imx8ulp-sim.yaml | 71 ++++++++++++++ .../bindings/reset/nxp,imx8ulp-sim-reset.yaml | 43 ++++++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 17 ++++ drivers/reset/Kconfig | 7 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-imx8ulp-sim.c | 98 +++++++++++++++++++ include/dt-bindings/reset/imx8ulp-sim-reset.h | 16 +++ 7 files changed, 253 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml 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