From patchwork Mon Nov 25 08:18:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884604 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34EBC18FC89 for ; Mon, 25 Nov 2024 09:02:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525376; cv=none; b=X0uyF4ZZJSUS12smzx/Zj1h29q6urXyfRvi35OqLgn1ghIYrorgNIlo5zKy9X1p6tqK7mFi2kCyHWajZaaJBqR0zzKaSNCHIeYv8lk5FydF+N2aBqztLz5KZS3B4ID9QR9pqD2egxbduAbdMqP97Oh6Ee/22N1xN7eqsyorSa10= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525376; c=relaxed/simple; bh=Uda7953howVUmeNOhjn5oQVxx2RPhTS5RXjowq0nkqU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=huydMVxqo0BYteI+NFe4OsJjsjm8yAZp+pmmL42UPapp0mpsdNaG+1DSRjzr13fcGD1fbKMJxeChxfqhKa7SwJn3qSjSReUT/Efz00/BIRw2Yz5B3FM96p9SElwA55olp4So8NbxJun1iwsVK23X7escD6/skfitr9nIBorVRS4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=DA0YIWZd; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="DA0YIWZd" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8lEkVLzppht425ev0cm54WY5kvUL/Y39nOpsptm+9Ao=; b=DA0YIWZdrFTMRJKivwK+y4vlDi f3NStfIfYkEeE+DBnP+weK5f1ouJZH/bZXad7M7rTNHFcXm6IW0t/uL/xpCKEcXhrRJEyG5X9HMKd HLIJqnjxBPoCZWadlIAEQrUUaZxTrxN9eedCsw54cbWYYtWizKmph0WhLW7G4dVLuwNdIA2AD8uG7 jkvt0fWJVwbwq9Glv+7Zof9h+2MakNgNgn67qPZtWMazX3sKDNIjaxRg1Xae6FeBWOWnqJ/P2NG8w Sq64wZlNaDGLAovoCOXmcsx+vNWEBVABikNYUIp+wBTUetzR/7jsho3Ru/ANsel4CC+sTHHoesA0L K7O/l0KQ==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIn-00Eq70-0P; Mon, 25 Nov 2024 09:18:36 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 01/15] arm64: dts: imx8mm-phycore-som: Keep LDO3 on in suspend Date: Mon, 25 Nov 2024 09:18:00 +0100 Message-Id: <20241125081814.397352-2-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Teresa Remmet LDO3 is also used as switch for enabling VDD_3V3_S and need to be kept on during suspend. Disabling this can lead to an unwanted reset during resume. Set LDO3 to 2,5V as the voltage should be fix. Signed-off-by: Teresa Remmet Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi index 6069678244f3..7761acc5c510 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi @@ -161,11 +161,13 @@ reg_vcc_enet: ldo3 { regulator-always-on; regulator-boot-on; regulator-max-microvolt = <2500000>; - regulator-min-microvolt = <1500000>; + regulator-min-microvolt = <2500000>; regulator-name = "VCC_ENET_2V5 (LDO3)"; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-max-microvolt = <2500000>; + regulator-suspend-min-microvolt = <2500000>; }; }; From patchwork Mon Nov 25 08:18:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884605 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A925183CC1 for ; Mon, 25 Nov 2024 09:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525380; cv=none; b=EuYOFBSYD5ueIqn5xfuH6D5LFrQuM4Xrv1Q2It5ML/sJgKvtU6ACZ4qxSNwwm5jna2s7e5L7Pmu46mEjc1M47h4I2uRkR7I+fcGGGzwGe5k0DhFZJj3G+8GoosBHtCWDG68VWMcxP8ZRN8MLQCbK4CbuU5LPPFzh6MWEgbzkCBw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525380; c=relaxed/simple; bh=KlS2Fm1vD1XgNW8+r3sF9L/0rvt4PdEVKRqTQhMdNjA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=C1cN+82gIV4YQvdboO9kzXPPMVdktRgaNd+Dt22j1uCc2IKaIlzKcPB24EY4fomWiS5hBHsDVgn32/oygFOMBl9FHPF1eoxvP+hegxH1FJ0bErGfjIiDCHeQMa2fPWESnn0ILVTg/ZtoblR6mcB9F4HHqOsQhy5gKpnAMpOAkCQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=FepjHvPc; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="FepjHvPc" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fhotsrxHfKTgb/uu1BGoR5rFJUT8/x1ISfSu/K39MtM=; b=FepjHvPcSeDHJ6tWzp4hEdtyeb d7TQifMCIgTAG9QljC4Tk2U38QKVZ6UKUJcel5gN+wRCbvS8rWBB/9AiGJsuxUvT+5Hssb7MbPt7s aYps98qSNO27uWpNFj32h45wNULpqWt22/46nVQMWGuvyXL6YMjnn6sn4f/D3JTzm3uCYIvbCdSOe CoxbDA6frE/tcgpRbxMIA7Pcc1NMD40+RcaZx8PebIvr5lwJVdN/CQbG4K88tv2rpH0pW3HIkbTPR j+u1el1NMPPnt+MnpH/avk/m9+aT1pxYtCqObMzidq0ajekXt4IVvFuk5ILVuSwrOAd2/kZ9vHcUJ wZPaS8zQ==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIn-00Eq70-2i; Mon, 25 Nov 2024 09:18:37 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 02/15] arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source Date: Mon, 25 Nov 2024 09:18:01 +0100 Message-Id: <20241125081814.397352-3-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: Not using pull-up on the host wake-up line triggers the wake up immediately after device enters suspend. Fix this by enabling internal pull-up and setting interrupt triggering on the falling edge. Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 5eacbd9611ee..31d5c57d3c24 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -255,7 +255,7 @@ bluetooth { device-wakeup-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; interrupt-names = "host-wakeup"; interrupt-parent = <&gpio2>; - interrupts = <9 IRQ_TYPE_EDGE_BOTH>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; max-speed = <2000000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_bt>; @@ -332,7 +332,7 @@ pinctrl_bt: btgrp { fsl,pins = < MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6 0x00 MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8 0x00 - MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x00 + MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9 0x140 >; }; From patchwork Mon Nov 25 08:18:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884595 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DDC318F2D8 for ; Mon, 25 Nov 2024 09:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525205; cv=none; b=iix5m8Z1eUlFM4cpfWPhVKypk5acP57EDbuEHZvPIhhEOuv7PIPMV4c6v0PKQuzTv43nAQCnyj+BfESfnaP8AZDktHr37rxybW1GG/Qqf3gzKxleoM1PgtD98XvidwES087mNe0qhyZSBD79spe1wHqfR0B0PkYR8imBPbjxkWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525205; c=relaxed/simple; bh=csjcfXV3CN2ALKI/1ludNXYw8ASjSMwU8C6nJA/jRZw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QR1C+CatE0r2xRmhcleAl5snVLvGW900MlRv3y/3SmGf5gx4GNStavb6g0ERvGgP9+Cm6xXzvDXwSdycg4m+5lByE9NAQmzdYUTLMkRzFE/M3cLYpMKIMVGhK7oa73ZPbfnA07fiF9WKOdOR99kYrMuazERp4QDhsiOEr5F/eD0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=eBq6Vc5X; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="eBq6Vc5X" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wWUv3FkBKHF+8McgMhLSJ10i4Rx+uwnusU/56aljWuk=; b=eBq6Vc5XnQ4P5bI9JLTp2aoS3W FS8oEeqjnxDf+/g5rQr4nzC9rTlIUdD9qZVC3dsjn8gcxOoDwvo87FQbZwdtAMTDJPJxTsk1XI1e7 ucXZFw6dyQsftR25ct//qTmLf1X+AAFy74OhPT+PMt/0WAXy535LpWQ0F3NlgjEAdiVwxya+Wuw4V 4W8XeMyKoI6InYemZsRFxXryBMWixXZLGHf1NqesZw/DX+5DSvarsBGVDGZ2wYlAdamRVE00x1C5U /EpW8T5ClDj2x9CQJPMlMG1Vku8y3LXy9ejOugHkiJZwSfb4rnK5GrtZN4xWPR5Yhood+hGfvuBNJ BxMU/QNA==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIo-00Eq70-1m; Mon, 25 Nov 2024 09:18:38 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 03/15] arm64: dts: imx8mm-phycore-som: Remove magic-packet property Date: Mon, 25 Nov 2024 09:18:02 +0100 Message-Id: <20241125081814.397352-4-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Teresa Remmet Remove device tree property "fsl,magic-packet" as WoL is not working on the SoM and so not required. This also saves a significant amount of power during suspend as the ethernet phy is not powered down otherwise. Signed-off-by: Teresa Remmet Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi index 7761acc5c510..8de5a46512b0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi @@ -69,7 +69,6 @@ opp-750000000 { /* Ethernet */ &fec1 { - fsl,magic-packet; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; pinctrl-names = "default"; From patchwork Mon Nov 25 08:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884603 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50DFA18FDAA for ; Mon, 25 Nov 2024 09:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525371; cv=none; b=bzQl16mZ7iLylAhXkPjuJ/Z4hdsL7Svk54JUj+NT9diyzYy/xoP2jLIxQ1Yk8LYVuZsi3WJcIakizR5OK1OLqjbv/cN8a+cl78iw/JEbbzQgV7I02ZMAtwz3+sG0VtEV/qNDMvWt2Rm7R67OVFzgQ/6qcXboa2zswWCazkLVvFc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525371; c=relaxed/simple; bh=uZT2iBXe9UuhlJ9TygrX1VqYtFP+FE4SxrxENxyx7QQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=chsny/jnCWLyGjIOufIOm0GhdnX3e4rQWTY0lqoEfnYavAEmGLqEAoN6ljUT0OdCAL2BOHn+XzjBxS86RfLsb8dxHDgxWlow+iIIq4A3X+FnHv2lR13KOHI/+47fE3wasnLCHnyBxSBppQBxS9VznByTITG4RUiwMnbgqMMJf+o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=Vv/Ejg7m; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="Vv/Ejg7m" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2VSk0YkTxmS7lNUnuFUnvEgxZ7d4xlsb3g/LizjVEFY=; b=Vv/Ejg7mXXs3XOL0J+2qpzgPC/ x6atx0vBWZIaDYLP1fJGIbY7DsKduQ02SiTIusyF6/uEpqmbGre24O3EL//tRc//JHeGdyhf21RHA ZZ8304pDgeanf5XQy+4XLAr3j93kA4HUD1hLYEjJMHJqzPSm1NSpvj6tQwL9icJkla8aynUE6916O BitYvWDPaTV6uggcR7AznGzf82lGwxlRgzJfdBaGm2lliHPbcZi57T2INdtSwRLZfKY4eEsGEua2H mEuqIcDJzcoBErh42TA1kreiq47N9Ck94gW1fF8dVNP3l0dyH82nvmbXTWxzXJbiww/ZpOZvrzhNX 7muhO9DQ==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIp-00Eq70-0m; Mon, 25 Nov 2024 09:18:38 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 04/15] arm64: dts: imx8mm-phycore-som: Assign regulator for dsi to lvds bridge Date: Mon, 25 Nov 2024 09:18:03 +0100 Message-Id: <20241125081814.397352-5-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Yashwanth Varakala Add a missing voltage regulator of 1.8v to the sn65dsi83 (dsi_lvds bridge) node. Due to the absence of this regulator, a fallback dummy regulator is used and that triggers a warning message from the kernel. Assigning the appropriate regulator avoids the warning. Signed-off-by: Yashwanth Varakala Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi index 8de5a46512b0..7e859c65317a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi @@ -286,6 +286,7 @@ sn65dsi83: bridge@2d { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sn65dsi83>; reg = <0x2d>; + vcc-supply = <®_vdd_1v8>; status = "disabled"; }; From patchwork Mon Nov 25 08:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884602 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B06D45003 for ; Mon, 25 Nov 2024 09:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525368; cv=none; b=BglCBGBeeRDSJl60HTtA34dIry7N5N5Au8x6SqbBIb8wQuLrt3tRq5JVHXa4n57uE3VbnYI6YZ/1x1FNOwZ1YaycBNPLTfwFBgTsXeLDeDUkx9XxlUF+9CPlB28RjrJul7fgxC3OmJw5raz40B6xScuAX+TpGG+a67UVSTq54LU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525368; c=relaxed/simple; bh=moye7+rAbEF75I8Vz7/S5oWD/NyLQi99at0LkLw/DpI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YLJymtxEsiTAlzoTseFnE9U4AC6ljx+7jeSydpeiv68TmCAcuR09yY8l8ZDhfKQ9T+DRZza6EeuAkiSaAMCckfTnlCL+QBMoV9g3digmnQaTTxYyr6+Ad+Y2g92Q9tsKAC9SjHlpYF5ODN80X5N/2VbBAKacjGV+FTR9R0ivJ5A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=iv1oiJ65; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="iv1oiJ65" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=V+qSCG7OvsEXIIRRw7Pi0nnCo1fiNOSsrVbS8QaQL6I=; b=iv1oiJ653Ry86VW5Opkp5TEqbr /ILa1wWx/FRaIP35zd4Hx9reHJOswpyZGnuYxxs9ZogIRAE88FBxuKRp8le+IGLLxb7IoTYcIOiA9 jRCuxxLIAsh45GnBZfA/QFjak7DtnaxWvMg/rRWZX+pqB3EehTEQb2fkAweCr7bBuDHycAypsjINl 7qAKVHMy+Yjj0aqav1Q9s+TSdvVI8CdOZUi4CvvPyQo+XZB36CN2TXiDYxwe7YTaTFFoRZjmE6NlP POJUAuv12Y7H7xzeK2HHpH7m2+Y0DBIBbhPpK55CRw8A4aOeCkb9WdxUtmvPOi/IYlsdIXJwPnqtR eNW4sEcA==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIp-00Eq70-34; Mon, 25 Nov 2024 09:18:39 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 05/15] arm64: dts: imx8mm-phycore-som: add descriptions to nodes Date: Mon, 25 Nov 2024 09:18:04 +0100 Message-Id: <20241125081814.397352-6-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Yannic Moog Add missing EEPROM and RTC descriptions. Also use eMMC with lower-case "e". Signed-off-by: Yannic Moog Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi index 7e859c65317a..cced82226c6d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi @@ -290,6 +290,7 @@ sn65dsi83: bridge@2d { status = "disabled"; }; + /* EEPROM */ eeprom@51 { compatible = "atmel,24c32"; pagesize = <32>; @@ -297,6 +298,7 @@ eeprom@51 { vcc-supply = <®_vdd_3v3_s>; }; + /* RTC */ rv3028: rtc@52 { compatible = "microcrystal,rv3028"; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; @@ -307,7 +309,7 @@ rv3028: rtc@52 { }; }; -/* EMMC */ +/* eMMC */ &usdhc3 { assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>; assigned-clock-rates = <400000000>; From patchwork Mon Nov 25 08:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884596 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 285F918FDBC for ; Mon, 25 Nov 2024 09:00:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525209; cv=none; b=QIxm1+fG+YciOMb0nZj/RU4oHSLX3qXg590610IO15i30SSkGeUHjtKlBj7BJzktzFO7ZHzjwoiiwP16EKtDR4kOQ0zr4Scj59KTkGNxVknMKThvrfeihPi80n9jLkRHqMnRfChbzF50vIGY/PYRonwdFUzl2kxMG4OUkWPXPeE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525209; c=relaxed/simple; bh=cCjwqiypvmHR3YiuotuXhVmxvnHRJGZNNvmMo/P2KuA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dO/joAX/3TElKtLebJa4Bn6EbRStrkucqDxECLj4PXyAmUTAtVwfidTYqc0bljbcna/QPiiLLJx6rbc9izahUBghNtc+YG18/Q4+zwLpauarXJc/sySXG+TeeZfpTsV/lb9nyVUKIu02mLEufCImlKsrGketYl648UgrrM5KIII= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=U5HN/MgF; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="U5HN/MgF" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xrEA6K10caIyYSUnQG5tc6sO1syANSVcfUKDl8q12Go=; b=U5HN/MgFwm/1e/fUu/RbSqbrrz h8eUDc1CO8l9wVbZzFNCWaNrClDTrRD88UOtpRXaPtbsCqjKFeUwhzYroUfU5hk5yrVZi8UbAKCix mJ7RGId+cWK+cNeVD97r8iqAbAFvOwoqBcyW07Px+Tne3FzHjQk7W6ToXusCLjAn8uOsvyLNm7crF Kzg4g7MjAMyJb07pXm51xI3xdrYnhWWDSTmYvlPYdSrEU1UHmR+vtkBDaPKuovoBRuXsqVvLvFzzx 0Ptwfi5n2Mf7j6qt5KpuPuXjwARCJWNOh3cmVHP29JjgtBk7FbRw6QK8KgOx7dOfpDVGmOpXOFhTY M8mZGxRw==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIq-00Eq70-2A; Mon, 25 Nov 2024 09:18:40 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 06/15] arm64: dts: imx8mm-phyboard-polis: add RTC description Date: Mon, 25 Nov 2024 09:18:05 +0100 Message-Id: <20241125081814.397352-7-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Yannic Moog Add RTC description. Signed-off-by: Yannic Moog Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 31d5c57d3c24..6c95257119d6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -219,6 +219,7 @@ &pcie_phy { status = "okay"; }; +/* RTC */ &rv3028 { aux-voltage-chargeable = <1>; trickle-resistor-ohms = <3000>; From patchwork Mon Nov 25 08:18:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884597 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D884518FC7B for ; Mon, 25 Nov 2024 09:00:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525213; cv=none; b=MmKFIlq//9FOHgkMJMr1oKkG8VDAeN8ndZDdJl9P8xERu9xKAc2fDyP3/QLxjODH7KLHNG+odg5QSByV6/+YPnZVvq8eymy2wILn7PrKgp01VTeZmiofNnS83LH3eyoinFUFM+OicZIxXWzSZsHVBvg+9/7fuObE/7JvH3HchtE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525213; c=relaxed/simple; bh=P0VxazLqNTE4yoG5sYRoWSvw0IVV4rpPxlq/5ASEH5o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=t7F3vGcxYVY0Sx+rw8E+zI1h631ytVbfp02E+hAFAaix6xqpiZDHQYtQNXUVp6wbMhy5ssY2vs7YIo2Ler2ocjaCZOpEIZFtWKnIkudBhYu26uAR3yOEakOXzTOyR4BPcRGvM4E6Tv7mtdk1gQ12TNqXsmvKu1gT/O6561E0TkA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=ciktTgDM; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="ciktTgDM" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1dzaABlyBSIv+A59mAzCEfDd1bQYz8WOCUm8CNI+AfI=; b=ciktTgDMdjuTVssUTG6WLN6R3O OZwgB8JLgyyH0NteENs/nYm8+JCKQMvMQJ0aRTU78WHCjjOKlP4YJyMjsNKozaE49xtp6/pVrBTjH 9PAWMhOiIdePVKuBwkvX6bkAK0lkc95mzZ1MbM2X6UQ4PjEZGtCaxxRKZDUeMQmcNUvNMTiiQjy+r K8uEBNpCrDYbVH6bbFq0Lb1WvurdBx70XMOnqsmQDSPfyQjIoYSDZ5QG9ZsUW2Gimt9Cb0c3OM2LE X67OyF4RlcQ58EQw/z19ucV++7U74/CfVXLH8Sl6kfM/C+4OF/CRD4aiqcsc6srNe56TGmyaDjoiI iQUxNBRA==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIr-00Eq70-1G; Mon, 25 Nov 2024 09:18:41 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 07/15] arm64: dts: imx8mm-phyboard-polis: Set RTC as wakeup-source Date: Mon, 25 Nov 2024 09:18:06 +0100 Message-Id: <20241125081814.397352-8-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: RV-3028 RTC can be used to wakeup the system on phyBOARD-Polis-i.MX8MM, mark the device as wakeup source. Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 6c95257119d6..7aaf705c7e47 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -223,6 +223,7 @@ &pcie_phy { &rv3028 { aux-voltage-chargeable = <1>; trickle-resistor-ohms = <3000>; + wakeup-source; }; &snvs_pwrkey { From patchwork Mon Nov 25 08:18:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884599 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0064218FC8C for ; Mon, 25 Nov 2024 09:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525284; cv=none; b=ejXW2ERJH33/c8tOcz6RVisTOsSF1q8bNvJszrbfgCgBhRJOd31dDbXCEiXaG06Ld78woOFoezd5Uk0Hbd6Pu9fD4Ec2pktjBoBnuYimbpNrgfg3ziXWhJvFZocxiEFQm/Xwg0Sj9PIZpIDdZ53+1NT/HgSmLymLC6JwJ8ioXGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525284; c=relaxed/simple; bh=r6vKdV90dcyXKE/YzBzehUQ/3Bi+TPEkC28IsMtilSc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=C3eoLnyeSIHyLGE8Xf4OedtJ8yrgwmI22c350w3yINOdRX+3/EDmAPQLMuMxA2Q+r2WjL2KGKdEk/IHNhR1Pdl0hl0zWnMKfp5e72O4dvlsI3kFig2Z3Rven+6wI2E4Jf17+yDCi0yk0nUELq68XH/4v+3ZL5El3Dipd4f7cxSk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=ieq8Uimo; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="ieq8Uimo" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PQU3zYencAw/qwBE7f29L0tLXXnnnc4bmngXZaP6VWs=; b=ieq8Uimo6G1s3L8p+bcoGH4vJ1 tnIav+L023XBLyz0CNuJYPC5qZSJfOiDLoIpXsChB0Kfie09WZpe2CgTX7GxRjNb1GFSMODosN5zc H1gU3X4gSWkmG0kuKdsMK4e3KzBCzSfkKMRWu2x8b55k2YJ125PRfF1CJjE1/I1fmOEA7CHwoPh5I d+HQBSqQtpG6xH29jUt5iQoeJlPwtOm/V27QvEddr+veNHMZso0Oy4txUjyLmsQwqPJtOmOS/uybu hyZLZHY8wlnPfXHPWtGcNKAWGmKum7SwojJhfj1lUQTs0dL9djBfCfZZqLaJlYS8Zyn2lEttMrBsa L4M/1i7Q==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIs-00Eq70-0F; Mon, 25 Nov 2024 09:18:41 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 08/15] arm64: dts: imx8mm-phygate-tauri-l: Set RTC as wakeup-source Date: Mon, 25 Nov 2024 09:18:07 +0100 Message-Id: <20241125081814.397352-9-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: RV-3028 RTC can be used to wakeup the system on phyGATE-Tauri-L-i.MX8MM, mark the device as wakeup source. Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts index c3835b2d860a..c9bf4ac254bb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts @@ -217,6 +217,7 @@ &pwm4 { &rv3028 { aux-voltage-chargeable = <1>; trickle-resistor-ohms = <3000>; + wakeup-source; }; &uart1 { From patchwork Mon Nov 25 08:18:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884600 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CE7F19007D for ; Mon, 25 Nov 2024 09:01:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525288; cv=none; b=lLgL+PPi1yqHlr6FDiVdzF9Etfykl4i/sVmfFteTmE1dlPZGL8scRRTRGYE+cR+r3evZrnPYkcUp6ryIaqlOULBP4x9b5K37u9J1MjPHaHdYmCjLKzXZvkeHkpe7d8POHTJOix+xqrAHbtKFG526sGe7/pq3JjsLD+kSAaBF6eo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525288; c=relaxed/simple; bh=w/soCacKPpjMdFZ3tk4vbyPiDg+AdL89p1uSrPXja0w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pcR0j6XpYLbZ1fHKdpIuD5hLQv9hA8mXEoGTCxqPcfLzUN4y7g528iBQzEp5x2e4gaApZZx9zpNO0rWTMojOznwsz3641V0RZgrfpSezaRKiZXX+kWitOavsynCGzgs14uBgsFoNK3LaH+paOV6KXrHGasIY0WA9PIx3JL0gTwI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=nWipbfoQ; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="nWipbfoQ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BnHdfh91G6T+ycFdjp0k9hFV7z9eOwmLyOOxZ8pJsTE=; b=nWipbfoQ6TkkG9eDB2uuc4V4Ba gLA0Tn8IXz+/u9861hheMd5Js47LEirSh/Fv3SF4nBl0JxIQLC+UnSXY2u3axCT+vgc+4VWUH70i5 ER8RuSgm3zGSVOdHVy5AVteV/fv2CuxTf/UwNMG1jeS6JCP+A49rltdW8SqNqKpIsTSRl8ZBOsTMn +9dEr9FcRDI6ow+kaFd+aMuR7cQFRlF4VzfmbxVlmefIS6N2u+Lg65lOz3qGqwEWY/CUau6fRnpox BnaPErBGgbU7Qm2p4I8rHL8ROnBLm2Mt/ukj4AY+3vHbBVIHrNcltDn1+t8q8GD/WS6JsvID+kDN/ RCWabBVw==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIs-00Eq70-2Y; Mon, 25 Nov 2024 09:18:42 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 09/15] arm64: dts: imx8mm: move bulk of rtc properties to carrierboards Date: Mon, 25 Nov 2024 09:18:08 +0100 Message-Id: <20241125081814.397352-10-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Yannic Moog Move properties from SoM's dtsi to carrierboard's dts as they are actually defined by the carrier board design. Signed-off-by: Yannic Moog Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++++ arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 4 ---- arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 7aaf705c7e47..f5f503c3c6b9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -221,6 +221,10 @@ &pcie_phy { /* RTC */ &rv3028 { + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 = <&pinctrl_rtc>; + pinctrl-names = "default"; aux-voltage-chargeable = <1>; trickle-resistor-ohms = <3000>; wakeup-source; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi index cced82226c6d..fdfe28780d6f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi @@ -301,10 +301,6 @@ eeprom@51 { /* RTC */ rv3028: rtc@52 { compatible = "microcrystal,rv3028"; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - interrupt-parent = <&gpio1>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_rtc>; reg = <0x52>; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts index c9bf4ac254bb..b7b18d5a4f68 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts @@ -215,6 +215,10 @@ &pwm4 { /* RTC */ &rv3028 { + interrupt-parent = <&gpio1>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 = <&pinctrl_rtc>; + pinctrl-names = "default"; aux-voltage-chargeable = <1>; trickle-resistor-ohms = <3000>; wakeup-source; From patchwork Mon Nov 25 08:18:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884601 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8598014885E for ; Mon, 25 Nov 2024 09:02:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525355; cv=none; b=MP5pAvNPcL7tFngsvb2NFdyLg579FXifLYHmfX2GZzWx5X/JI+ZNmh0c57/4XQTEkobC45zntbwvwoAozSB1YecCO9aBruaRK1agGUAAac+7Lxd1Co9wSqFdLW/QTLg4buLQtj4LB7jho9Vuu4TvgCqXRzj/4mPSdHvN+6z7imU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732525355; c=relaxed/simple; bh=uJXExFdZHf6SBVQ9PilFPTPrzrw19XFPVd9ZOVy8v7Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=M3hMjXQsGmLWAjMwcn1iUJpzUaJ2S6Fz4jXHDf78ipxo0Wtc1gFXp/qIqusfEgsDPEQpaSVl7CMj13wyZ1jBsxyLnE5LHaPMA5ztICfiBzxNcBxGJWBXXcK+x0JXtPY6GsGlB1aY3g9AjLxahgmJZs3TvuL9kRIVQx/7YiQm26M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=ppKY9K0Q; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="ppKY9K0Q" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VokN2zx5/a7fgGVGyKWlkWcp8WKF3/t1J4RYnujfUYQ=; b=ppKY9K0QngzwQmsmUbJNKx2azH 5f1UvKpoGUdXhA3yJc/v8yO7nYpk612Ln860A5xTeypGMSYaRSnTKX7rkgGC4aRwIuEobC/adEz+J gCxfc0dN8aN0Hfsxw/mcT4+uU/AhFQNCXdMwcRRqe0Li0PfSGPYQhTHRJ0BY0fWylmoX09pEnlUSI 3lFHuDHN6u5JThxKQk0pWMcJZOKN5pMr/0N1jlgjSYmsj8OGQ3XLsi047LzHzGneTrSJ98CdN65Sh 93dZVgLUuErELOcFDZZ11lFFeG2WaErC0WveQptEFzvCjPe+mM4kNG6jj9OzCW6P+DrTX9D2Emjrb KiALj/Rw==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIt-00Eq70-1b; Mon, 25 Nov 2024 09:18:43 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 10/15] arm64: dts: imx8mm-phyboard-polis: Assign missing regulator for bluetooth Date: Mon, 25 Nov 2024 09:18:09 +0100 Message-Id: <20241125081814.397352-11-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Yashwanth Varakala Assign the missing regulator to the bluetooth node. Absence of this regulator triggers the warning message from kernel as driver uses a fallback dummy regulator when there is no regulator assigned. Signed-off-by: Yashwanth Varakala Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index f5f503c3c6b9..defe59d957d8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -266,6 +266,7 @@ bluetooth { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_bt>; shutdown-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; + vbat-supply = <®_vcc_3v3>; vddio-supply = <®_vcc_3v3>; }; }; From patchwork Mon Nov 25 08:18:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884536 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF7FA1A296 for ; Mon, 25 Nov 2024 08:18:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522727; cv=none; b=iIN3L7UxEnYBbrVrnpyLQZ9HAQSdm+maIF5wjG19Rp40kHZmdKZI2ZhdhUrQwk4LXzYXoeIUa7E6khWWKuRN50yIdDuSsWhtDgXZ8q0wLfuEJybf3HdeYrTC++7i0UDvKlCQ3+0cVqJ9wJ7H3U4MYVj2J84owI4YqCopewwtA3w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522727; c=relaxed/simple; bh=x+OjlsSswDeHDUjfGS7SsM6lq4dsPQkyisgWVq6VdT8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IYpTF9OBrUCodQMet9mZmSUKN3ImcIZzJulK0eG9vIY01I5tUPCGYs0iz/ITeADLZHpdsYJNizSVVntCsxEVjE+b20AsUwTzw/1sNhsapImsrqAacWWwGzbnhe2IMMXeXcxZnmLnSMXxEVHOKAK+//AtWs6pSLANzqK4uorrAZg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=qE46I8Pc; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="qE46I8Pc" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Q9A9zS7HvraKzjdgfn8Ov4S8PCWJdU9OXYoLlZl+Xp0=; b=qE46I8Pc3z2w2J3YnMWbv2Z1K4 PRZmexis1BUMzS+EWwDLe02MAATE8lZ2d71upjYb7m9O+gf3UX9DNNz5nSNtMCMtsDi3Xh4gPvTXp cGBExHbnkcUIYx+F88RPF5igvSE/2cA7iuVPbqUPG46rqBambtVAB9Jam+jFFMJ2Yv9Xf7SNZzdf5 wYBgiI5dsOaCJmY3UCINCO4gG+V0OJ9YLwnNhJFa5V47aVHJGGTL+A5RM6vOvsgNL9HCu2GbPOAWG np3EaeIRxD/HaqAt8W7Jh9HyjD+oovGdJvEL/7aUFThRjxrr/t2wYeV3UwzemOD1bdF+SMIuAHPAN JX4zTluA==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIu-00Eq70-0d; Mon, 25 Nov 2024 09:18:43 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 11/15] arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10 Date: Mon, 25 Nov 2024 09:18:10 +0100 Message-Id: <20241125081814.397352-12-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Teresa Remmet PEB-AV-10 is an Audio/Video extension module which extends phyBOARD-Polis i.MX8MM. With MIPI DSI to LVDS bridge already populated on SoM the PEB-AV-10 adds support for: - connecting 10" display, - audio with TLV320AIC and - EEPROM. Signed-off-by: Teresa Remmet Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 5 + .../imx8mm-phyboard-polis-peb-av-10.dtso | 237 ++++++++++++++++++ 2 files changed, 242 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 9d3df8b218a2..b411d76c3d1d 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -122,6 +122,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-mx8menlo.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-nitrogen-r2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb + +imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo + +dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb + dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-tqma8mqml-mba8mx.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso new file mode 100644 index 000000000000..a9de42cf14be --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso @@ -0,0 +1,237 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Teresa Remmet + */ + +/dts-v1/; +/plugin/; + +#include +#include +#include "imx8mm-pinfunc.h" + +&{/} { + backlight: backlight { + compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lcd>; + default-brightness-level = <6>; + pwms = <&pwm4 0 50000 0>; + power-supply = <®_vdd_3v3_s>; + enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; + brightness-levels= <0 4 8 16 32 64 128 255>; + }; + + panel { + compatible = "edt,etml1010g3dra"; + backlight = <&backlight>; + power-supply = <®_vcc_3v3>; + + port { + panel_in: endpoint { + remote-endpoint = <&bridge_out>; + }; + }; + }; + + reg_sound_1v8: regulator-1v8 { + compatible = "regulator-fixed"; + regulator-name = "VCC_1V8_Audio"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + reg_sound_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3_Analog"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + sound-peb-av-10 { + compatible = "simple-audio-card"; + simple-audio-card,name = "snd-peb-av-10"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&dailink_master>; + simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,mclk-fs = <32>; + simple-audio-card,widgets = + "Line", "Line In", + "Speaker", "Speaker", + "Microphone", "Microphone Jack", + "Headphone", "Headphone Jack"; + simple-audio-card,routing = + "Speaker", "SPOP", + "Speaker", "SPOM", + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT", + "LINE1L", "Line In", + "LINE1R", "Line In", + "MIC3R", "Microphone Jack", + "Microphone Jack", "Mic Bias"; + + simple-audio-card,cpu { + sound-dai = <&sai5>; + }; + + dailink_master: simple-audio-card,codec { + sound-dai = <&codec>; + clocks = <&clk IMX8MM_CLK_SAI5>; + }; + }; +}; + +&i2c3 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c3>; + pinctrl-1 = <&pinctrl_i2c3_gpio>; + sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + codec: codec@18 { + compatible = "ti,tlv320aic3007"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_tlv320>; + #sound-dai-cells = <0>; + reg = <0x18>; + reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; + ai3x-gpio-func = <0xd 0x0>; + ai3x-micbias-vg = <2>; + AVDD-supply = <®_sound_3v3>; + IOVDD-supply = <®_sound_3v3>; + DRVDD-supply = <®_sound_3v3>; + DVDD-supply = <®_sound_1v8>; + }; + + eeprom@57 { + compatible = "atmel,24c32"; + pagesize = <32>; + reg = <0x57>; + vcc-supply = <®_vdd_3v3_s>; + }; + + eeprom@5f { + compatible = "atmel,24c32"; + pagesize = <32>; + reg = <0x5f>; + size = <32>; + vcc-supply = <®_vdd_3v3_s>; + }; +}; + +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + samsung,esc-clock-frequency = <10000000>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&bridge_in>; + }; + }; + }; +}; + +&pwm4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm4>; + status = "okay"; +}; + +&sai5 { + assigned-clocks = <&clk IMX8MM_CLK_SAI5>; + assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL2_OUT>; + assigned-clock-rates = <11289600>; + clocks = <&clk IMX8MM_CLK_SAI5_IPG>, <&clk IMX8MM_CLK_DUMMY>, + <&clk IMX8MM_CLK_SAI5_ROOT>, <&clk IMX8MM_CLK_DUMMY>, + <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_AUDIO_PLL1_OUT>, + <&clk IMX8MM_AUDIO_PLL2_OUT>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", + "pll11k"; + fsl,sai-mclk-direction-output; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai5>; + #sound-dai-cells = <0>; + status = "okay"; +}; + +&sn65dsi83 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_in: endpoint { + remote-endpoint = <&dsi_out>; + data-lanes = <1 2 3 4>; + }; + }; + + port@2 { + reg = <2>; + bridge_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; + +&iomuxc { + + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c2 + MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c2 + >; + }; + + pinctrl_i2c3_gpio: i2c3gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18 0x1e2 + MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19 0x1e2 + >; + }; + pinctrl_lcd: lcd0grp { + fsl,pins = < + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x12 + >; + }; + + pinctrl_pwm4: pwm4grp { + fsl,pins = < + MX8MM_IOMUXC_SAI3_MCLK_PWM4_OUT 0x12 + >; + }; + + pinctrl_sai5: sai5grp { + fsl,pins = < + MX8MM_IOMUXC_SAI5_MCLK_SAI5_MCLK 0xd6 + MX8MM_IOMUXC_SAI5_RXD0_SAI5_RX_DATA0 0xd6 + MX8MM_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC 0xd6 + MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK 0xd6 + MX8MM_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0 0xd6 + >; + }; + + pinctrl_tlv320: tlv320grp { + fsl,pins = < + MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28 0x16 + MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20 0x16 + >; + }; +}; From patchwork Mon Nov 25 08:18:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884537 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63009155747 for ; Mon, 25 Nov 2024 08:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522728; cv=none; b=Bk9+p8cP2pT5DAW62k6kz5vijwlHZjZPFEJtYkJegZ1ZbQDyR9z2gcoMC/+ZZKy+PRrnouXx1l4s0Hf8GTr2aKgWqyQiBaz1eozqGK59rGCwxxriKFyNNFOykQ1/7KwNoEjjxKOX+E5R69AVWqrVkTqlyiwgUBkVQtFedbq0oMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522728; c=relaxed/simple; bh=KnqnM3EiiQIKMTCcAgbqYuwPpCHp8oCBSGnljYGYwy0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vDgBiWl05+yR+5j3pg4mzXe0F4fkNJEDjGNXUNXddTLsU0B2DPr3W15JmopJkrrqpoSQ33T5ZEzWnDoTYtOG7VgqBvQQkEPsWuxFFAJwAtO3tr9ViKr13uTgIyelvzBHnZttfeyuWgLZCtyYofCFZqwxGhIV2EcM/QhuXy+9OfM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=IQhVL1qA; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="IQhVL1qA" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AeNTD5NpcQgE4jhk8SfjST6p9d7CjYjnHUOcQ0YjnOc=; b=IQhVL1qA0dtlfDO75GsFDcyV2H 8jUEGI0kNZZdtzVWu5Tr4OLZKMgE5WyPXqnCpG7l+bT1DP5jYPFMO1ARdJwuRxc2E+rK+ZjctvrX1 p5loEpjG4M/u3EJCaXmwh5rKkGUTzi2QP/No3yD53znNqSR7vWShHG4Gly9SeHXlL9E9xK2AIyi4E DIbxbNS0c9ZfVAEEs6NO0Muocc1zqsmmasrbLvB62XEnSvK5/t+1HDkH96ctCGnIQMgTFhOWnYvi+ RWawUu8PmlUcpgm/iXDzAk8adWsr2ZzEn4Ct9oqECS8m2tAb64HWCm9ZjwTCOwNT8AoKAc7ynfgJf c/a/E+cg==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIu-00Eq70-2u; Mon, 25 Nov 2024 09:18:44 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 12/15] arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01 Date: Mon, 25 Nov 2024 09:18:11 +0100 Message-Id: <20241125081814.397352-13-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Janine Hagemann Add support for the PEB-EVAL-01 expansion board for phyBOARD-Polis-i.MX8MM. Signed-off-by: Janine Hagemann Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../imx8mm-phyboard-polis-peb-eval-01.dtso | 72 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index b411d76c3d1d..99be36a04db9 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -124,8 +124,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo +imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso new file mode 100644 index 000000000000..2ca4ae6e2bf2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso @@ -0,0 +1,72 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Janine Hagemann + */ + +/dts-v1/; +/plugin/; + +#include +#include +#include "imx8mm-pinfunc.h" + +&{/} { + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>; + + button-0 { + label = "home"; + linux,code = ; + gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-1 { + label = "menu"; + linux,code = ; + gpios = <&gpio5 29 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; + + user-leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_user_leds>; + + user-led1 { + gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + user-led2 { + gpios = <&gpio4 15 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + user-led3 { + gpios = <&gpio5 28 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; +}; + +&iomuxc { + pinctrl_gpio_keys: gpio_keysgrp { + fsl,pins = < + MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17 0x16 + MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 + >; + }; + + pinctrl_user_leds: user_ledsgrp { + fsl,pins = < + MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15 0x16 + MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x16 + MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14 0x16 + >; + }; +}; From patchwork Mon Nov 25 08:18:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884538 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E283316FF37 for ; Mon, 25 Nov 2024 08:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522728; cv=none; b=AVWg4JTffYvnbuFNYL3xCdG95lmp+bpTCXuuQoCBe+BF2HZcheGDH+gjp4Tq0av8YnaSvZ5lkb7Os+I3erhDSeROqYIgaZ6S/qYhW0NzpR0oIGQKICVQy1RXY9gq0v80yo1MTR3ZmjfMclLFxP5C+rocWkw/CmKgRLO/yMOuvaI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522728; c=relaxed/simple; bh=RTVMg6aODRhmrsmdLquCJkmn6/aYi9qu7MGBoc7sL34=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CffhTL14+GkLaDKtTz+KYrdZjQemIPOpxpFoxfezJ8TB6pu3wdRC2Z6p7X1psvcerOFkoWqL3xIlyXxgG/0qHvc//Cn90+O3gqYbowutl7u3VsqgprMgSGvBazwr9ihU5urOkfUQbJVTQpp/SCXhM2YpqBuQBTHNj/cswTGYrUA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=CY96ymFT; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="CY96ymFT" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=UvBsVBpX3voCoAWFLFnnP9rlYFWzirgUE1dentUjJ3g=; b=CY96ymFTSe/mfKfTY5po+b/QMh gnJJllv/RIGVVFX5AVkyi2eNHS5ly6XvTyBjGb6wm7C5fNctJpRnH6mwgEFNI6cSdC5OVwKj5WvX4 2nFd+5K2ozP5UfHRMgXMI6jUQGN9Z/CO1863m1vNf6lETFvbmWphJ/xjn5/YTsav7kdTFL/pqUEaq aJ0HcYpxTUdw3wRdnj6mxfWbUIsf2at26bdVozQGc1dap+EUMKWsO4j8Gq/NFsBnSNFg5A6kuS3L2 SKQObTqxKdbM/vd+821m50aFg0ssn3DLBJ1zdZDdr5K76f2+rb8XVSI649bX5a4xQ9EpK5xQ9Adnb lyP6fjAg==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIv-00Eq70-24; Mon, 25 Nov 2024 09:18:45 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 13/15] arm64: dts: imx8mm-phycore-som: Add overlay for rproc Date: Mon, 25 Nov 2024 09:18:12 +0100 Message-Id: <20241125081814.397352-14-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Dominik Haller Adds a devicetree overlay containing reserved memory regions used for intercore communication between A53 and M4 cores. Signed-off-by: Dominik Haller Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../dts/freescale/imx8mm-phycore-rpmsg.dtso | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 99be36a04db9..5bc083a7b778 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -125,9 +125,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo +imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-prt8mm.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso new file mode 100644 index 000000000000..0c61946f0cf8 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-rpmsg.dtso @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Dominik Haller + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + m4_reserved: m4@80000000 { + reg = <0 0x80000000 0 0x1000000>; + no-map; + }; + + vdev0vring0: vdev0vring0@b8000000 { + reg = <0 0xb8000000 0 0x8000>; + no-map; + }; + + vdev0vring1: vdev0vring1@b8008000 { + reg = <0 0xb8008000 0 0x8000>; + no-map; + }; + + rsc_table: rsc_table@b80ff000 { + reg = <0 0xb80ff000 0 0x1000>; + no-map; + }; + + vdevbuffer: vdevbuffer@b8400000 { + compatible = "shared-dma-pool"; + reg = <0 0xb8400000 0 0x100000>; + no-map; + }; + }; + + core-m4 { + compatible = "fsl,imx8mm-cm4"; + clocks = <&clk IMX8MM_CLK_M4_DIV>; + mboxes = <&mu 0 1 + &mu 1 1 + &mu 3 1>; + mbox-names = "tx", "rx", "rxdb"; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, <&rsc_table>; + syscon = <&src>; + }; +}; From patchwork Mon Nov 25 08:18:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884540 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F20517E010 for ; Mon, 25 Nov 2024 08:18:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522730; cv=none; b=cTGIzfu8Y55fKgR6X2FL3MhjoDE/mTPSmeJHtplmVDNCAts+TYU3ojNyCXOsBByhgLZH5wP/BoMBooJ6uKNE/d339FbeJxZ1eL3zR+BGPsW7fsTb5JL58mBaFeg1+eFpuWGpl3zvXkTDa7sQLuOGjbLIG+2RuHE63A5igWB502U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522730; c=relaxed/simple; bh=HSGbcxcpCnIjzIER8Q65nHkgT1znY/xVpPQxT3m2tjc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=a+T0w+Yugu+/NXajqFuuXZem/3VIQ2HRSptsfNmjli62RwkDvkxe61mCBkbVSXend7V3D/WXZ+e2cG4qa07VIHJaKXfgeYS6QTYDrmsaFgulxqeQjJOrTxA20ReMRUE766j+sjLMeDF4jvVxCVn5wAF3xxLqFRobP/BC0R6cOXo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=FmmNpQy3; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="FmmNpQy3" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=haW48oQXOuo8ByUf64fZOxiyomoePVLzMuucW0s/YDA=; b=FmmNpQy3Y2OUKU8QsWyab3YgxQ kt9YVOu1iwPNj5HOSzxrljCP2W4HMbKt4sQhwTGE7mpEBmuy7epTYDOD1FTXQudE7wj4uAcr3/y7V J5J2hz+PuTWV8WxcNGEulDVup68bqltIPl0aa9H4jG2v7yYJt8UZslyau6ZPUMpCqOh2eHXzWROyK IL4nQinY0D82rQwsgvhOu3CauC51avWauksQI7RZebe7/eBJTWakirubF2keCGr/Ag7Yll8Mwz4ko DUXmjUGg/Di65WTAP1LSeUrjh5ysmHcfA38l0kdSZlpoKsLLAgMSQ6C2hYFg86FcaaveFAlhnUV9b zO6OkBOg==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIw-00Eq70-1B; Mon, 25 Nov 2024 09:18:46 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 14/15] arm64: dts: imx8mm-phycore-som: Add no-eth phy overlay Date: Mon, 25 Nov 2024 09:18:13 +0100 Message-Id: <20241125081814.397352-15-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Teresa Remmet There are SoM variants with no eth phy populated. Add overlay to be able to support this. Signed-off-by: Teresa Remmet Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../boot/dts/freescale/imx8mm-phycore-no-eth.dtso | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 5bc083a7b778..da6ddce6b7c7 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -125,10 +125,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo +imx8mm-phycore-no-eth-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-eth.dtbo imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-eth.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso new file mode 100644 index 000000000000..dd66ccfbb4d7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-eth.dtso @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Teresa Remmet + */ + +/dts-v1/; +/plugin/; + +ðphy0 { + status = "disabled"; +}; From patchwork Mon Nov 25 08:18:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13884539 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50F4B1885B8 for ; Mon, 25 Nov 2024 08:18:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522729; cv=none; b=uSqU2QEd01a3RP1ObCr4FaLGjN2Ecpa1IECh7yGf0K6DF7A68Cme2TGVJc1yjkaY0yMp/k+Odn840u6/Cz3NzyII0MZ2ga6ETEAyeXT1bN1/VKHtddm13IYvPV4gm/NYwQ/85bnDWB4nYU5tl2tZ7sOFLnI+h/nsuMfpckerm20= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522729; c=relaxed/simple; bh=ZX1ZqI1YZjNHBFyWQbcbP5xLEDCCE8n1EjqmEndKfwQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HkpMeuic74Wt9xEpAJ1vkGqtext9xi5ZeogkplLnC7XmIlUD9LuiTos/sToWpYdKbX/U/PWS5bUEEKGuBeDYX0OUVG1SYaySs6/Kv7JHgu+0J+6dkD1AfC4kfxpJLpjvE8M50ryu9R4G3eq1+PIv4UtLxGOpy2s7uNf1p9OZXfU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=GxoXJ/22; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="GxoXJ/22" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Fz+uR78BPobXOPH4VNcUExmCEFHzoQ3zmdQQSjSRm7U=; b=GxoXJ/22YO08Nfly/PaSQVMVDF MFDzqtH5rkViWvXSw5zVi9dNzgF2gAwYLVQ/ESC53yGPfSuID2S+L16QqJBk3nbqDBZoQtXWD4qfS pQW0oADXfBY4JcFtEnVNbr+jNTWsOYDA+L3o3GD5sfGsYGHcR148W0t1d4i3RsnMKorEgaBRFaGkY VgmRs87Y8GpHk2tUqUlgcxWQMboCHd7sz3Z0EMohPTwZRd9QTScsr6W46hhrlo8rxKJFShjYXns0+ cSSHMomdSIkSCyv/AElkJJo4XpLw+fufuGyFEn2azhL4OT6e0tRTlrmG3fd+ZkavxxL6oc3sqYfxt nKoFceTQ==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIx-00Eq70-0B; Mon, 25 Nov 2024 09:18:46 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 15/15] arm64: dts: imx8mm-phycore-som: Add overlay to disable SPI NOR flash Date: Mon, 25 Nov 2024 09:18:14 +0100 Message-Id: <20241125081814.397352-16-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: From: Teresa Remmet There are SoM variants with no SPI NOR flash populated. Add overlay to be able to support this. Signed-off-by: Teresa Remmet Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../freescale/imx8mm-phycore-no-spiflash.dtso | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index da6ddce6b7c7..6dcefd58996d 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -126,11 +126,13 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-av-10.dtbo imx8mm-phyboard-polis-peb-eval-01-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phyboard-polis-peb-eval-01.dtbo imx8mm-phycore-no-eth-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-eth.dtbo +imx8mm-phycore-no-spiflash-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-no-spiflash.dtbo imx8mm-phycore-rpmsg-dtbs += imx8mm-phyboard-polis-rdk.dtb imx8mm-phycore-rpmsg.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-av-10.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phyboard-polis-peb-eval-01.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-eth.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-no-spiflash.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phycore-rpmsg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-phygate-tauri-l.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso new file mode 100644 index 000000000000..71918a3241d5 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-no-spiflash.dtso @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Teresa Remmet + */ + +/dts-v1/; +/plugin/; + +&flexspi { + status = "disabled"; +}; + +&som_flash { + status = "disabled"; +};