From patchwork Mon Jul 15 16:45:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13733658 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 BD1ECC3DA4A for ; Mon, 15 Jul 2024 16:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=eL/AZF0Nl9JOTvoaifBbGBBpS8fEo+MN57T3BTmyTWk=; b=rAPuRT7cIKnGcTpK66aCFk+3J1 p5hf0WGstSNOmfE98PwE2OSqEQADmJi9Glb4q+4Ocy9yt5ya98BaXgl10vH0nQmjjGfihss2/eyyP ctASEdxlHFUErv9qtDHOS2lefqMPnuL2/h1Oq+rNjUmlU1ID/qAb8fQ3DPgeSP+mgVV+knJI5b2MQ PoqhhegD6X/Sc23fHEZUud0ZFteq0WiHTn4240EBFNC4u6RYycpYw195KvrrSSROAQqt/63y0MAHY LgGEmnHct8BCIbJDOGyTLDJgTt+/7WTsTe0XaUNVSe+WL1w1a8QnWUXcNUwUKaR+6SNMsT9FhzAZm 2uI0buiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTOqp-00000007mII-2c3M; Mon, 15 Jul 2024 16:46:59 +0000 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTOqU-00000007mBO-3dg8 for linux-arm-kernel@lists.infradead.org; Mon, 15 Jul 2024 16:46:40 +0000 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2ee920b0781so45776171fa.1 for ; Mon, 15 Jul 2024 09:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721061996; x=1721666796; 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=eL/AZF0Nl9JOTvoaifBbGBBpS8fEo+MN57T3BTmyTWk=; b=XwTMelxyHIzmCRKNvaYZi5yEkBwVcG97X0Udud+ojfXl2+NBqG7HJzhgxa1bNQ3q5y OxzmBBZBbDjmcXy0G72jBM66/43pXzgagB4SbHuMT5f7gEied/nQDgMzvo4xrStQXsnI 5kopy2CTyhtai88Gh5faeX/m8wRcESmntuVPac5HFXd+/5p9Lmmi1ylVuO81uOiFSucx KAKunxL3D+c8E16VFOPZ5GChrXcLL5kQF7HKpGl2NsReAB+BhalbnM7BxryG2PZFX0qG QCNj4Poo9v/3w4KXrriuttu0K6/yDNJfyRR5hhzwLWlOA2xeT7m7eHDBe7jU+tVNpq8d YczQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721061996; x=1721666796; 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=eL/AZF0Nl9JOTvoaifBbGBBpS8fEo+MN57T3BTmyTWk=; b=A0ErdzKQFMIi+mkZem259nB5lgQsNZ10MpcN/x9ZQPKs8gLpWimk6FbIEVQ18Z9tNG Q3z96zotYAzk84zQt3npzM8XEj2Uwzh0winI1kvMataEtMoHu0HyWxm0gnSiE06lWlnM Swtnr//ka1D5p+5aO4/OqROMUvNtOBrSpaLpa+3vYSK/1ccn4DSPShS6tQMjakHbbkfF mKZ91+5eEWGsYgqwop7HjGi1AV9O6VMAtFr0lg2dqqxfJxoPrahzYjkXmBLEG7uTqbg3 oRud4TY6cMvtnDDBSr61sY61O+nbOLJ/bAt9Cd/hKdOXzPBgw901Pr4unX/VhGdl5VdR 1W/g== X-Forwarded-Encrypted: i=1; AJvYcCUtOpDk8g8Jze2/MmJWNKGqsXyuweAlE/Hq3jtBSyAJ1Tlolj9gUNgnjFFIRVzRQs00dJgG9D6mUPQBrL21PJ59NELau9OZ2E1flI/iDKW5BJ89Ms0= X-Gm-Message-State: AOJu0YzWQLy3wt+AMKY5e+XHbX++Lg3MR55VtDnv+Mmw16cFCG7KUPbq 8/1gIyO4GtiQ45oPXQSjCNqvOEC4ouPqVBzQD73VJsCkrkXnGeyF X-Google-Smtp-Source: AGHT+IG8rnVQYsXD0i3Gs8pZTZ5c3cJcdn0hTvsIVtcTaVANdf0u4nlLOVSzLYvdx+l7EpEEqs2fuA== X-Received: by 2002:a05:6512:304f:b0:52c:def3:44b with SMTP id 2adb3069b0e04-52ede1b6ed4mr57286e87.31.1721061996292; Mon, 15 Jul 2024 09:46:36 -0700 (PDT) Received: from playground.localdomain ([188.25.209.252]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427a5e7749esm94316975e9.2.2024.07.15.09.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 09:46:35 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Philipp Zabel , Liu Ying , Sascha Hauer , Conor Dooley Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] Add support for imx8ulp's SIM Date: Mon, 15 Jul 2024 12:45:11 -0400 Message-Id: <20240715164514.8718-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-20240715_094638_930773_04A413A7 X-CRM114-Status: GOOD ( 13.17 ) 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 v3: - Addressed Krzysztof's comments - The "reset: add driver for imx8ulp SIM reset controller" patch might generate conflict when applied to Rob and Shawn Guo's trees (for-next branch). Tested all patches with linux-next, next-20240715 tag and no conflicts. - Link to v2: https://lore.kernel.org/all/20240609125901.76274-1-laurentiumihalcea111@gmail.com/ 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 .../reset/nxp,imx8ulp-avd-sim-reset.yaml | 59 ++++++++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 13 +++ drivers/reset/Kconfig | 7 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-imx8ulp-sim.c | 106 ++++++++++++++++++ 5 files changed, 186 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/nxp,imx8ulp-avd-sim-reset.yaml create mode 100644 drivers/reset/reset-imx8ulp-sim.c --- base-commit: 91e3b24eb7d297d9d99030800ed96944b8652eaf