Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp494495lqp; Sun, 9 Jun 2024 06:00:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1ZSpZrYKQZIgczGngyAd2jRb35z8+q0tGpKap2QVHg0gLC4/dITenTTcFgwPFa0m97uICBh/BkIE+1X18hnif3IQBB62VSZk/Qfnu2Q== X-Google-Smtp-Source: AGHT+IHtqvScUlR3xo8XZ3ih+ceHrBn2TQU2HBkAJxq/j6QS0mp0ouGgBxxFXX6SL1fyFgix5oSB X-Received: by 2002:a05:6359:4584:b0:19f:51e9:d308 with SMTP id e5c5f4694b2df-19f51e9d354mr714555d.18.1717938010211; Sun, 09 Jun 2024 06:00:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717938010; cv=pass; d=google.com; s=arc-20160816; b=b5CmRGRZZj5NZbV5VRMbyNnXSe4vWvSlhFR8h+yf3i3jMdG62njTqO4xHwkCVa9CHd NDwh7pbCb4/YluKa79sc8s2GyTZeBjBPr7h+BpenSe+9JEIY9Mp2LklPcSK++jg1CdM3 46/rPaVIBWzumTOpdx2IxFErlEdyHD+yrLgYMCYsfalEb6Zz0yomTaOyK3ul1JzKhnlW OJtbZyRkbe4l1030ijsbzKN/PAryprd66deDNIY/De6bfvbaGyHHfgExWzOIdujsvbGY 5A8qNY88RWdJuw3YTK8hvmEFkNp6CBQtt7k4Xjz6pV7p1C2R1MZdRfLcEppWjnEH/FvF TjRg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=zvgraGsdwP8qNq0CbLRpBxfSdVjyK/qpe06H5/qHpTM=; fh=EvjbS+IrAcYW/BDSSYEm2R2krw/uYAN4fxgk2wkWvkc=; b=tuGc6TTBKtZCPjNS5KBp4fN6UklolmNoC5W+OCwDvrgXQIVEWmDLygGBsPA1k/zeGt BWEGZvFwCorpg4qpxctQAtL0b4W4PTuJdeBK+qYUzURjjYcdBsSGx2bcegHezM3r9Dn0 4m4rzvbcvKVGIbUdUH7sRmwbvuzBk5aZExYN9EwJqWi16P8Spjpd7ARHkepdimzP0iN9 H0gB04vwdewo6bwfrvNgqCkJ3nLgd14Qj7nyDOkfYQMz4483Dndoa018zbavcOe3/V4X 6p7VQupsPa4idaIcpJzgQ9MjACqJhaNy8xbIOgp4K3r34bO5zN1M8gmlIL519gdnu651 27Iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PehTp77C; 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-207361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e761f91efasi2606436a12.608.2024.06.09.06.00.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 06:00:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PehTp77C; 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-207361-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207361-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CDECEB20E58 for ; Sun, 9 Jun 2024 13:00:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50CF5405CC; Sun, 9 Jun 2024 12:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PehTp77C" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.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 E32DF2230F; Sun, 9 Jun 2024 12:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717937996; cv=none; b=TfMz2aULYKmuRW24xHP8R3NU5S4adJSmUfpOqx47fo64S51y/M8j9oRpxv99xo3S3tmlGxed4FxspFmJJ3TFSCKTUh+YiG2yFf/Y+nk0nLlSyRCBKRGc5fYFcAudoapHO6hYmbIN2JHk0G51ArftOVyEdesVSfQh96NI1QXQbtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717937996; c=relaxed/simple; bh=ZBEzRfn+mFCbyufKXc/4c7RplCyGr6rZvxeGQzawPT0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GAD3ZT+xqj+G0ARGEX6Qt3my5UV5DQfjSYkum23gpOpuZcdlAu+saYP6N999rFWKeun9PiVzu7qSQnn1ccB0aGjYxgwhKidtR8ltFNSzHsyi2d/YQpswA77Ew68HZSjfFg49F6L/PhSunkWr9OdLV2moGIlBmRoYbZO8FqsZvgA= 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=PehTp77C; arc=none smtp.client-ip=209.85.167.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-lf1-f42.google.com with SMTP id 2adb3069b0e04-52c8342af5eso685016e87.3; 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=vger.kernel.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=PehTp77CFUMUerE7WxPgl2P+14sl8WKYQI8JuBiC5+4MtE42hAxZx2CSpm4nbY5BD5 gmBgzlTpQ2C602MYeLJGcKIHtqq1jTPTeFtFXwUxMjIn/vOXqp/xPue7qeeCVRa5KHNk 0zGv8UEzagiHMHOJuJ1EI3W7BwcYB2HxrbPGE8Ft8ZRghxeT9O1mSgN1BU/ADdDFDtLV qskdsCEXfU1ETYW2xaazqZHcBLbePm+r0waD/Ku+M2mbpcnUWoQKi9vGzvMiw7nG9TsB yr5L4Vw66U/5rle2eDepA2rQb1mbwlpKICZOcNYJOBOrwSBZFWMSWRrE1LmfM9AxhgWl kjTg== 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=fp+SZyl9Q1FyMRT3vlRpaEjopXXHKBtlPn0N8PTqK/DnmpAFYH5d/TrkwDQeU/z1F3 1EChkz7qNw2GAP1NXTm/KNlICO3uVVTw9vMGxxv3yWwVn77QQA4qNN6ZxZQji2KqaoWg ST78Z8swvtVJ2QAdF3iBwiD6cF2wqI1Kx3g+pOq5AO6EjE4MtFTrjZINXVAsKEv9+s9b 8PIvkwkwNYmFreSWvZW11oBT4Si3fMkbe8z8q2QH3VRXxnWwxUjrplpWj/OmG18iAn6b ua2rxcShc66fm0UiUrC08ddqDNHt/EQaQVPdQG5nV1gB64Ie6J7lFGbR3sSilyGFxgTg maxA== X-Forwarded-Encrypted: i=1; AJvYcCV8bNjDc1emHn/AM2ZvTmOwmO7wPnGAehMigxx9YVyfGvkwCAh1ZXUlI9wB+ZYdh31GlipobBhsSG1oFLh2f1L+0t+bx0KD/iregHVRl6sw6XXvTxTBOXT+TYZ/PIM2bLRH+TJl3wB2uQ== X-Gm-Message-State: AOJu0Yy8qTumiTJpJXHHbVmVAYm30TuXA8YkfPbtPCOgNBz09BXiSMr9 zCw017BmuCjkqOdQG8XH8OAmLi39nJmCBkdAbq3yHpMiXM5StjeX 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 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 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