From patchwork Mon Dec 18 12:54:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496885 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 39AE6C46CD3 for ; Mon, 18 Dec 2023 12:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wHN8JlEEOMTqcYWqFrXAzTInSmH8E/vkqekjz6lBQiA=; b=4QMx4ySVK6aUMT l5Gze4BPsxUSNtWCdWd8LLZPnKpS8XhNYLO1Y+YYb03x6ItnpH3opaYEDtLKUZ56QtckFHskCpY93 bc0oJ0jSKui3YESrJm11QFwp4NJYcSPY5oN8Y35X+3PVWQw7hpXUe0aSPQN7cLVvTNdYL5xQldFJg GlDabeM21fcuiBrM7kM3vNJPKUp9ew7gPjftRydFt1NtRwgkveMbXxBUB3N6mINJuW8G5yNje7Iqv iJflWsgM2TOuDv4ZEtnGUMIfMvQfOoPYinz1/TvON9KBVnWa4N/nHdZhx4+/S1nikc9Q9mR0IlzNN lBGq/tVL8HrPA6QUw1hQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9L-00Aieh-29; Mon, 18 Dec 2023 12:55:11 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9B-00AiXB-2q for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904102; x=1734440102; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=76ds8r9MyKsEPsAc1KcF+yYhEUmJy5v4is5x2d7KBmc=; b=pXkhLn4U2xXj4iKVpgZctpfqMPihR5QmxqeKvxW5OsdMw/RFqnTzdJx2 bOFfVptpUO4YJ0x2JNTJfGIWIMXuweXJdXYN8AveDIFlJ5I812VSz9+Ns fIN2wIdW8aJc1b9t6nZ/t9Nt6Hxa6Rkhlf8FpgkQKMn4TOubhIcWGhm9G crI3IkDNvmEZpbew3qB30zq3bxF3/3prThKf3NmaVyAYb9BruWEsjCv0E fXh9Bj+P5rnsQitm+hD1sujjBU5LyBrMVwFxG5+SFDuUzvA392iosdXTu Xlzdoo5gBCwXw6EPf8id5iHZ8AmxsATDQGUKMa/u4Tj0Q3L0Opu/32QOv g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562688" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:54:59 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 04478280084; Mon, 18 Dec 2023 13:54:59 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/23] ARM: dts: imx7-tqma7/mba7: convert fsl,pins to uint32-matrix Date: Mon, 18 Dec 2023 13:54:37 +0100 Message-Id: <20231218125459.2769733-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045502_418443_750CEB9F X-CRM114-Status: GOOD ( 10.13 ) 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 make dtbs_check does not warn about this anymore, but bindings mandate a uint32-matrix. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 242 ++++++++++------------ arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 114 +++++----- arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 51 +++-- 3 files changed, 187 insertions(+), 220 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 3df6dff7734a..2e406cc7d292 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -334,213 +334,191 @@ &iomuxc { pinctrl-0 = <&pinctrl_hog_mba7_1>; pinctrl_ecspi1: ecspi1grp { - fsl,pins = < - MX7D_PAD_ECSPI1_MISO__ECSPI1_MISO 0x7c - MX7D_PAD_ECSPI1_MOSI__ECSPI1_MOSI 0x74 - MX7D_PAD_ECSPI1_SCLK__ECSPI1_SCLK 0x74 - MX7D_PAD_UART1_RX_DATA__GPIO4_IO0 0x74 - MX7D_PAD_UART1_TX_DATA__GPIO4_IO1 0x74 - MX7D_PAD_UART2_RX_DATA__GPIO4_IO2 0x74 - >; + fsl,pins = + , + , + , + , + , + ; }; pinctrl_ecspi2: ecspi2grp { - fsl,pins = < - MX7D_PAD_ECSPI2_MISO__ECSPI2_MISO 0x7c - MX7D_PAD_ECSPI2_MOSI__ECSPI2_MOSI 0x74 - MX7D_PAD_ECSPI2_SCLK__ECSPI2_SCLK 0x74 - MX7D_PAD_ECSPI2_SS0__ECSPI2_SS0 0x74 - >; + fsl,pins = + , + , + , + ; }; pinctrl_enet1: enet1grp { - fsl,pins = < - MX7D_PAD_GPIO1_IO10__ENET1_MDIO 0x02 - MX7D_PAD_GPIO1_IO11__ENET1_MDC 0x00 - MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x71 - MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x71 - MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x71 - MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x71 - MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x71 - MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x71 - MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x79 - MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x79 - MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x79 - MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x79 - MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x79 - MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x79 + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + , + , + , /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ - MX7D_PAD_ENET1_COL__GPIO7_IO15 0x40000070 + , /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ - MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x40000078 - >; + ; }; pinctrl_flexcan1: flexcan1grp { - fsl,pins = < - MX7D_PAD_GPIO1_IO12__FLEXCAN1_RX 0x5a - MX7D_PAD_GPIO1_IO13__FLEXCAN1_TX 0x52 - >; + fsl,pins = + , + ; }; pinctrl_flexcan2: flexcan2grp { - fsl,pins = < - MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x5a - MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x52 - >; + fsl,pins = + , + ; }; pinctrl_hog_mba7_1: hogmba71grp { - fsl,pins = < + fsl,pins = /* Limitation: WDOG2_B / WDOG2_RESET not usable */ - MX7D_PAD_ENET1_RX_CLK__GPIO7_IO13 0x4000007c - MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x40000074 + , + , /* #BOOT_EN */ - MX7D_PAD_UART2_TX_DATA__GPIO4_IO3 0x40000010 - >; + ; }; pinctrl_i2c2: i2c2grp { - fsl,pins = < - MX7D_PAD_I2C2_SCL__I2C2_SCL 0x40000078 - MX7D_PAD_I2C2_SDA__I2C2_SDA 0x40000078 - >; + fsl,pins = + , + ; }; pinctrl_i2c3: i2c3grp { - fsl,pins = < - MX7D_PAD_I2C3_SCL__I2C3_SCL 0x40000078 - MX7D_PAD_I2C3_SDA__I2C3_SDA 0x40000078 - >; + fsl,pins = + , + ; }; pinctrl_pca9555: pca95550grp { - fsl,pins = < - MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x78 - >; + fsl,pins = + ; }; pinctrl_sai1: sai1grp { - fsl,pins = < - MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x11 - MX7D_PAD_SAI1_RX_BCLK__SAI1_RX_BCLK 0x1c - MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1c - MX7D_PAD_SAI1_RX_SYNC__SAI2_RX_SYNC 0x1c + fsl,pins = + , + , + , + , - MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1c - MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x14 - MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x14 - >; + , + , + ; }; pinctrl_uart3: uart3grp { - fsl,pins = < - MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x7e - MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x76 - MX7D_PAD_UART3_CTS_B__UART3_DCE_CTS 0x76 - MX7D_PAD_UART3_RTS_B__UART3_DCE_RTS 0x7e - >; + fsl,pins = + , + , + , + ; }; pinctrl_uart4: uart4grp { - fsl,pins = < - MX7D_PAD_SAI2_TX_SYNC__UART4_DCE_RX 0x7e - MX7D_PAD_SAI2_TX_BCLK__UART4_DCE_TX 0x76 - MX7D_PAD_SAI2_RX_DATA__UART4_DCE_CTS 0x76 - MX7D_PAD_SAI2_TX_DATA__UART4_DCE_RTS 0x7e - >; + fsl,pins = + , + , + , + ; }; pinctrl_uart5: uart5grp { - fsl,pins = < - MX7D_PAD_I2C4_SCL__UART5_DCE_RX 0x7e - MX7D_PAD_I2C4_SDA__UART5_DCE_TX 0x76 - >; + fsl,pins = + , + ; }; pinctrl_uart6: uart6grp { - fsl,pins = < - MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x7d - MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x75 - MX7D_PAD_EPDC_DATA11__UART6_DCE_CTS 0x75 - MX7D_PAD_EPDC_DATA10__UART6_DCE_RTS 0x7d - >; + fsl,pins = + , + , + , + ; }; pinctrl_uart7: uart7grp { - fsl,pins = < - MX7D_PAD_EPDC_DATA12__UART7_DCE_RX 0x7e - MX7D_PAD_EPDC_DATA13__UART7_DCE_TX 0x76 - MX7D_PAD_EPDC_DATA15__UART7_DCE_CTS 0x76 + fsl,pins = + , + , + , /* Limitation: RTS is not connected */ - MX7D_PAD_EPDC_DATA14__UART7_DCE_RTS 0x7e - >; + ; }; pinctrl_usdhc1_gpio: usdhc1grp_gpio { - fsl,pins = < + fsl,pins = /* WP */ - MX7D_PAD_SD1_WP__GPIO5_IO1 0x7c + , /* CD */ - MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x7c + , /* VSELECT */ - MX7D_PAD_GPIO1_IO08__SD1_VSELECT 0x59 - >; + ; }; pinctrl_usdhc1: usdhc1grp { - fsl,pins = < - MX7D_PAD_SD1_CMD__SD1_CMD 0x5e - MX7D_PAD_SD1_CLK__SD1_CLK 0x57 - MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5e - MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5e - MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5e - MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5e - >; + fsl,pins = + , + , + , + , + , + ; }; pinctrl_usdhc1_100mhz: usdhc1grp_100mhz { - fsl,pins = < - MX7D_PAD_SD1_CMD__SD1_CMD 0x5a - MX7D_PAD_SD1_CLK__SD1_CLK 0x57 - MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a - MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a - MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a - MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a - >; + fsl,pins = + , + , + , + , + , + ; }; pinctrl_usdhc1_200mhz: usdhc1grp_200mhz { - fsl,pins = < - MX7D_PAD_SD1_CMD__SD1_CMD 0x5b - MX7D_PAD_SD1_CLK__SD1_CLK 0x57 - MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b - MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b - MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b - MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b - >; + fsl,pins = + , + , + , + , + , + ; }; }; &iomuxc_lpsr { pinctrl_pwm1: pwm1grp { - fsl,pins = < + fsl,pins = /* LCD_CONTRAST */ - MX7D_PAD_LPSR_GPIO1_IO01__PWM1_OUT 0x50 - >; + ; }; pinctrl_usbotg1: usbotg1grp { - fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO04__USB_OTG1_OC 0x5c - MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x59 - >; + fsl,pins = + , + ; }; pinctrl_wdog1: wdog1grp { - fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x30 - >; + fsl,pins = + ; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index 3fc3130f9def..e6e40747d5b9 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -163,91 +163,83 @@ ds1339: rtc@68 { &iomuxc { pinctrl_i2c1: i2c1grp { - fsl,pins = < - MX7D_PAD_I2C1_SDA__I2C1_SDA 0x40000078 - MX7D_PAD_I2C1_SCL__I2C1_SCL 0x40000078 - >; + fsl,pins = + , + ; }; pinctrl_pmic1: pmic1grp { - fsl,pins = < - MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x4000005C - >; + fsl,pins = + ; }; pinctrl_qspi: qspigrp { - fsl,pins = < - MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 0x5A - MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 0x5A - MX7D_PAD_EPDC_DATA02__QSPI_A_DATA2 0x5A - MX7D_PAD_EPDC_DATA03__QSPI_A_DATA3 0x5A - MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK 0x11 - MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B 0x54 - MX7D_PAD_EPDC_DATA07__QSPI_A_SS1_B 0x54 - >; + fsl,pins = + , + , + , + , + , + , + ; }; pinctrl_qspi_reset: qspi_resetgrp { - fsl,pins = < + fsl,pins = /* #QSPI_RESET */ - MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x52 - >; + ; }; pinctrl_usdhc3: usdhc3grp { - fsl,pins = < - MX7D_PAD_SD3_CMD__SD3_CMD 0x59 - MX7D_PAD_SD3_CLK__SD3_CLK 0x56 - MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59 - MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59 - MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59 - MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59 - MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59 - MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59 - MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59 - MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59 - MX7D_PAD_SD3_STROBE__SD3_STROBE 0x19 - >; + fsl,pins = + , + , + , + , + , + , + , + , + , + , + ; }; pinctrl_usdhc3_100mhz: usdhc3grp_100mhz { - fsl,pins = < - MX7D_PAD_SD3_CMD__SD3_CMD 0x5a - MX7D_PAD_SD3_CLK__SD3_CLK 0x51 - MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a - MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a - MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a - MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a - MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a - MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a - MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a - MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a - MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1a - >; + fsl,pins = + , + , + , + , + , + , + , + , + , + , + ; }; pinctrl_usdhc3_200mhz: usdhc3grp_200mhz { - fsl,pins = < - MX7D_PAD_SD3_CMD__SD3_CMD 0x5b - MX7D_PAD_SD3_CLK__SD3_CLK 0x51 - MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b - MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b - MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b - MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b - MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b - MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b - MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b - MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b - MX7D_PAD_SD3_STROBE__SD3_STROBE 0x1b - >; + fsl,pins = + , + , + , + , + , + , + , + , + , + , + ; }; }; &iomuxc_lpsr { pinctrl_wdog1: wdog1grp { - fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x30 - >; + fsl,pins = + ; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 32bf9fa9d00e..79a6d82b453a 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -48,46 +48,43 @@ &iomuxc { pinctrl-0 = <&pinctrl_hog_mba7_1>; pinctrl_enet2: enet2grp { - fsl,pins = < - MX7D_PAD_SD2_CD_B__ENET2_MDIO 0x02 - MX7D_PAD_SD2_WP__ENET2_MDC 0x00 - MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC 0x71 - MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0 0x71 - MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1 0x71 - MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2 0x71 - MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3 0x71 - MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL 0x71 - MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC 0x79 - MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0 0x79 - MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1 0x79 - MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2 0x79 - MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3 0x79 - MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL 0x79 + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + , + , + , /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ - MX7D_PAD_EPDC_BDR0__GPIO2_IO28 0x40000070 + , /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ - MX7D_PAD_EPDC_PWR_STAT__GPIO2_IO31 0x40000078 - >; + ; }; pinctrl_pcie: pciegrp { - fsl,pins = < + fsl,pins = /* #pcie_wake */ - MX7D_PAD_EPDC_PWR_COM__GPIO2_IO30 0x70 + , /* #pcie_rst */ - MX7D_PAD_SD2_CLK__GPIO5_IO12 0x70 + , /* #pcie_dis */ - MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x70 - >; + ; }; }; &iomuxc_lpsr { pinctrl_usbotg2: usbotg2grp { - fsl,pins = < - MX7D_PAD_LPSR_GPIO1_IO06__USB_OTG2_OC 0x5c - MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x59 - >; + fsl,pins = + , + ; }; }; From patchwork Mon Dec 18 12:54:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496881 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 82D0EC35274 for ; Mon, 18 Dec 2023 12:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TwCn4aHy3XEW5tYi2FqTVlBl18mVdhPtl+fZFO69JFw=; b=EyG6/pynxzHka5 RN25Z5glB70DvB8YWqNUytan1kJJ55ZT/z839Lxh9av4tXUIEKkWGR2wksF8EprT/PdpjP4Ahjxt1 2/PrlQoavcdjqHfaHFBUWcovL8tCFeUDc4O5DG70fae7zdSd3oKvysLyT9f9tYOxeEnlLEvKgG9Tv 4j2bfI0NUFxUwJ+1zT3ugJnd9xmjlz/po50PMJ4xiENM8mmdP6vsDXBIeQ1/Wtun0+UxrrwzhaiWR zDl2aSYUZlyWz/CBpHrXHD3Pn1F+eDlhJ9KJ7zQh88bjk9Bu+8m5c1OJ8Eh7DgOlZz7BOARVdDSNd iELaGTY0LrslioUPCMAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9K-00Aie2-2i; Mon, 18 Dec 2023 12:55:10 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9C-00AiXa-2i for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904103; x=1734440103; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PyWZK/EiK2Ut49JIy/z+GCFcoRIygV/H7/Sxoqg51rI=; b=fsMJrkZrldUnOZYDc4A0zG0vlvmdTKqH1kiAteyRKYgPIilS1qhwmdWZ /YTwAjOroMkdzo7YaqDhBeknWjaiOZ+cE0Ws68dPRBPVv0z/3INZNI36k DGnNl+DIM+GXhrfPpMBHYoKFvaTTZ73xlc8O0TfvTiDmL2Q7eiJtCKOTM ei3qe9zDWjVxZu0DjuNxa6WiBij5BCJNtXBXIiymjkxztrcaRd6A2mZc9 NmSkvfLJhf9d6tlxrn5keb8kNlPFk3BVuHQwU85j9qP174AjRU1buJnWR onLt0k111sAbYLQ7l2q/LTFWKZ+1XM6cjbtB/yqeXJyGWis/xtmAcANpC Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562690" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:54:59 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 435AF280085; Mon, 18 Dec 2023 13:54:59 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/23] ARM: dts: imx7[d]-mba7: Move ethernet PHY reset into PHY node Date: Mon, 18 Dec 2023 13:54:38 +0100 Message-Id: <20231218125459.2769733-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045503_181554_51F77F3C X-CRM114-Status: GOOD ( 10.28 ) 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 Split pinctrl as well. 'reset-deassert-us' is added with a small safe margin. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 13 ++++++++++--- arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 2e406cc7d292..c2be1a75f70d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -214,8 +214,6 @@ &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>; - phy-reset-duration = <1>; phy-supply = <®_fec1_pwdn>; phy-handle = <ðphy1_0>; fsl,magic-packet; @@ -228,10 +226,15 @@ mdio { ethphy1_0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet1_phy>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; ti,clk-output-sel = ; + reset-gpios = <&gpio7 15 GPIO_ACTIVE_LOW>; + reset-assert-us = <1000>; + reset-deassert-us = <500>; }; }; }; @@ -366,7 +369,11 @@ pinctrl_enet1: enet1grp { , , , - , + ; + }; + + pinctrl_enet1_phy: enet1phygrp { + fsl,pins = /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ , /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 79a6d82b453a..4ea1801a7aed 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -21,8 +21,6 @@ &fec2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet2>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; - phy-reset-duration = <1>; phy-supply = <®_fec2_pwdn>; phy-handle = <ðphy2_0>; fsl,magic-packet; @@ -35,10 +33,15 @@ mdio { ethphy2_0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet2_phy>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; ti,clk-output-sel = ; + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; + reset-assert-us = <1000>; + reset-deassert-us = <500>; }; }; }; @@ -62,7 +65,11 @@ pinctrl_enet2: enet2grp { , , , - , + ; + }; + + pinctrl_enet2_phy: enet2phygrp { + fsl,pins = /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ , /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ From patchwork Mon Dec 18 12:54:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496882 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 04FBAC35274 for ; Mon, 18 Dec 2023 12:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XG+2YW4ORsoV6OxDvHk16ZosVWRjj7ghE4XYDEdsrLc=; b=Bl1PBjzID7zgbW /xvrkkpaic1IG9bf5xQA1eM7fsoeMpmqGylnul7eE1ssOB/n+tHHbuwmic5/iyIw1L05+YtKVdhXK 68WO7RJIlW3tFadztayUOVdlawp4l6DQrMi74hve0040CmcBAS8ePk/POl7sKlWoMiJfOElVGwrML T8NRLBvSFHqERyderqHCXAGQk2YEO6iNG1joGpZIGTlrbwL3r6Xm5H3/ys10nsRfeLxnvWbSO/WdG FUmgvZTQvAkaXO2iOMkyJDrVYjGAjkXYY6dXEob5wnQm4DwFCJkrrlzB5ij6ztaIhty7Nm8lxJWaP DVaA9sR6RY8wCdDZE2Ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9M-00Aifj-1w; Mon, 18 Dec 2023 12:55:12 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9D-00AiXA-0o for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904103; x=1734440103; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p5I4TcGJ1Ezqj2sezo0MIRP2FDEiKxPZifKvwSrzigc=; b=ZTLNfv2hNM+AOH1uq1BOYFyO0r8lHDz3toEGpTtbSXCVQdipCb4CgDUQ QPu7YUZ8JSm+bpMOgGMK8xk3FOxpvORQ1++fKW0aeyQK69g1ZfihXoVxk FSN9XPIDP8LwNZXXL72/BLu8ZVYD37+wruhLZ4SAz4GM002V8qx/UdygP FVHxr1Id05Pnzmvtgo2SuJpKFOiTyrXCZ539uLgkIfdLOWpZRRsOyPNge 0kAfDU6kdT/fS8e9NanoWFznHgoj8wl/vj/2YQpDyo6YpJjXSamUm+MQk 03qKcY1GpgnBGatxjXETtjfsV0LnMzcLoGbfz3M6D14/pjIfEWEFrm1Sj w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562692" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:00 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 7EEAE280075; Mon, 18 Dec 2023 13:54:59 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/23] ARM: dts: imx7[d]-mba7: disable USB OC on USB host and USB OTG2 Date: Mon, 18 Dec 2023 13:54:39 +0100 Message-Id: <20231218125459.2769733-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045503_592871_6386ADF1 X-CRM114-Status: GOOD ( 10.53 ) 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 USB host is an HSIC interface directly connected to a USB hub. USB OTG2 is a direct connection to Mini PCIe interface without any OC signaling. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 1 + arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index c2be1a75f70d..2aef830cf1f2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -590,6 +590,7 @@ &uart7 { }; &usbh { + disable-over-current; status = "okay"; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 4ea1801a7aed..d3a6b81fb1dc 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -112,6 +112,7 @@ &usbotg2 { srp-disable; hnp-disable; adp-disable; + disable-over-current; dr_mode = "host"; status = "okay"; }; From patchwork Mon Dec 18 12:54:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496888 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 E564CC46CD3 for ; Mon, 18 Dec 2023 12:55:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IPuLCUksKSeugYKeAUzaO0pqi3852IeoWtOI9qqApQ0=; b=tneAJOE9lPrh4W VUFgd2i2DUDhgtmecfGa0hyonMopzBK3I86X+SCZnSRIgm7lUDt1BJ0zCvt0rakR0filzaR0/Ymlp Cs2djaPP+Cu57SlQAtWQ36tQs6qh4nHInUpeyp5BXKhiDHe/d1vp1AjHzHdPbDb9sz/MxTJY16uBd er4nEDfkgQBCeA9OF5xKCAnNoFbruNo3svMjE6I+g+dzANAywom63W03mrgyYR35VSBteUVKxXyqA tCqQ62cRjQ9cSHfvaZ+yWMRMZoPHOtOTq6lKp7ci0dpzoE0bvyFjeIwZ49uXa1xSS6LbnAWshAfdw 3iXl+/In/t9wW0jHdw+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9N-00AigP-0x; Mon, 18 Dec 2023 12:55:13 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9E-00AiXa-3B for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904105; x=1734440105; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RaSQSbqrwsmL7+ltsf9YdMqSobE1PbNLc2hW9T5O4+c=; b=KeSu71rYK7UG3p41ecSYsfCiNIBsYUgI8xyAJino+nxR0xqbYzCuADXy gopiTToEvcaYCHPooWmGKLusYe3dorbn6a/aKuldjaetAXRnFY6lsWsbT /2sNi6GECundSsxRO6flgoUlXwqbgFM6+IDcaSl23jqpT+ljQ5TYsfxKL S9kzxQejWy9gYyS622s2c2iFrvOHdN1a80U3GTM1/FiGQEVz2dohQcxk4 BUX3KegefGCa4fnGtIP2Q4AQfkttbztVx1+mtjBCk3e3zpPUd//sghh3a 5kx9wrn7sMQzXsr9wmUVoUupWbRoeUiEBUljXW0zBAeiQr2mlXB1xwVRZ A==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562693" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:00 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B9535280087; Mon, 18 Dec 2023 13:54:59 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/23] ARM: dts: imx7[d]-mba7: disable PCIe interface Date: Mon, 18 Dec 2023 13:54:40 +0100 Message-Id: <20231218125459.2769733-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045505_337426_96175598 X-CRM114-Status: GOOD ( 11.87 ) 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 Using internal PHY refclk is not supported yet. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index d3a6b81fb1dc..34adf76b713e 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -102,7 +102,7 @@ &pcie { /* probe deferral not supported */ /* pcie-bus-supply = <®_mpcie_1v5>; */ reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>; - status = "okay"; + status = "disabled"; }; &usbotg2 { From patchwork Mon Dec 18 12:54:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496883 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 862C7C46CD3 for ; Mon, 18 Dec 2023 12:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mgiiYczMasUG4JvJp5hTbKO01cHSc5YkIoYIIA0Nf0A=; b=LTM4rCYLInbgxw aIpUrxCYmcMsHFcVkwFj6DWhGCo/Y0WeUAvE+t5DMsRZG1x12J1PddV4OdHPN1xV5rKUiv781KhqH v8SFKlKc+ySZ+/lgQpzQgRuS5cRVQHoVb13QZxVdaJ1Bc2i7nGNtlqGoOrmssPt3gpKeCW42LND/s MgurgfbSj+9QofUcbNcjOtFLVVBrVnJvNNsmkblVKYUKROx69pcPfEPLmMC7P6rK+QCwHuytEegew rRbpTwYDDIQXvfG2p/I9RQWhHak468nXRIaSmeHhGY28VuxNU3ceEZ0pikmsQ+mxI9S2i2iZ+a/0C Y4wNfyZjzCsk1xEV80gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9O-00AihO-03; Mon, 18 Dec 2023 12:55:14 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9F-00AiXB-0G for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904105; x=1734440105; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w4vffnCBrf/RiXQUyuxsVyjURmX/KikU3tXyDH4w3Ec=; b=pC8HqUckBUS+ZXqR3yWNgsnY/wMuC+gR0x6WkY+g67RJBsxdTP5PGtr8 8RsDmUebS21tq8/Myb+qJi8wVrYyTutOYwswtJxIzFriyAaO8PRLoB/gF ce5fIB4sHJ2AtloHGFEDe67ulrJO77HhCqOk/Kp3uajQhxAfyTkp6Dpfi gonUzOyE4nXPec27PwWUg52hUB7wi89SzG+Sn8u8RVxMALg/B5mPSWOVh KaXTBAVo2X+Or1QkLkIuRaf+OXKMeP3xqxsk0zfcIifg24ZrLeM9oaIAo jg93SzVq0H6CtcjF0I6sLr/LEp1db5GYRyGehN2C8KzygzgCEFp2qVc0l g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562695" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:00 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 0721928008D; Mon, 18 Dec 2023 13:55:00 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/23] ARM: dts: imx7[d]-mba7: hog Mini PCIe signals Date: Mon, 18 Dec 2023 13:54:41 +0100 Message-Id: <20231218125459.2769733-6-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045505_424990_97D255D8 X-CRM114-Status: GOOD ( 10.97 ) 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 PCIE_DIS & PCIE_RST (correctly named W_DISABLE# & PERST#) affect USB devices as well. So hog them to make USB devices attached to Mini PCIe connector available, despite PCIe being disabled. Supply voltages are enabled unconditionally. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 28 ++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 34adf76b713e..8f2f3898d9d1 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -46,9 +46,25 @@ ethphy2_0: ethernet-phy@0 { }; }; +&gpio2 { + pcie-dis-hog { + gpio-hog; + gpios = <29 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "pcie-dis"; + }; + + pcie-rst-hog { + gpio-hog; + gpios = <12 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "pcie-rst"; + }; +}; + &iomuxc { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_hog_mba7_1>; + pinctrl-0 = <&pinctrl_hog_mba7_1>, <&pinctrl_hog_pcie>; pinctrl_enet2: enet2grp { fsl,pins = @@ -76,15 +92,19 @@ pinctrl_enet2_phy: enet2phygrp { ; }; - pinctrl_pcie: pciegrp { + pinctrl_hog_pcie: hogpciegrp { fsl,pins = - /* #pcie_wake */ - , /* #pcie_rst */ , /* #pcie_dis */ ; }; + + pinctrl_pcie: pciegrp { + fsl,pins = + /* #pcie_wake */ + ; + }; }; &iomuxc_lpsr { From patchwork Mon Dec 18 12:54:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496887 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 8A6BDC35274 for ; Mon, 18 Dec 2023 12:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2MZdTMKYN2RXERde9BaJddW74C+/TZXM2sfZQsJYOlM=; b=2zfhG2fcegkrka bLNBjDrEHqmELqmCF2EzEk5K9urBHxlcy6mpru3gm6eDAIEA6gU33HzJFJBl7NgmxUKp7I7jEaEDo G48hazVuR087YmqbatCSVV/+SjNwLBGbuEl5hXI17cV9dMGjSPiHOkhpUMXtOJSK5uf8gySC0QNYs 0oYlComcvXGqb2QbXzHg0LcRyWWIdwXStNi6RenlGlcAgL9NeLTpSzV3A5L6qkge4rlOQOUtlpmez 7Jkq6rRcIMd22FdoipQtbNod46PU0lUhAPgwVKH+Ei9rMxfhYXs7zOPCvNUG/V+3mpCvMaf8unbfy 44PcDWBi1UqfTQ0Uz7ZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9O-00AiiL-2b; Mon, 18 Dec 2023 12:55:14 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9G-00AiXA-1l for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904107; x=1734440107; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FUvfz8pXuv4S3nEyPlU9Lesurxw9nSkYEmdYOQ09Uo4=; b=JRxOXdh9ToHHhhxwItyTC8xv1Az6szqpFt98HHATUaJ/P/2h/j/LLHhj Hd9WYpxhPptZb/X0dZAC+7/tYk6gq/EIwxdPTyK7f6obRfFDUvwnWiyZe sAS5K4h0+c57/aOb5NIvSKkS3BkSJavISi/K+n3VMrWL7VoBZ0wuOr7U9 ul3kiflGE6KkMgnxyIAsZN+2bsoCVz4TqzjEqxE4sCVVSXdZmyVn2Jucn 3V2Nmu5/OhY1FmyAqJPCxhxpA+H1Vl7L5/ifhvx724mOTvk+fKsHm9HYG Jj4lI8pKmhBB+95Zys+md2n4ZkxfO8PWk+VGRrBmuI+W/2OM1yC1B7NmH w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562697" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:00 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 41A2B28008E; Mon, 18 Dec 2023 13:55:00 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/23] ARM: dts: imx7-mba7: Mark gpio-buttons as wakeup-source Date: Mon, 18 Dec 2023 13:54:42 +0100 Message-Id: <20231218125459.2769733-7-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045506_919789_8341193C X-CRM114-Status: GOOD ( 10.06 ) 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 I2C expander is capable of generating an IRQ during powersave, so the attached buttons can be used for waking up the system. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 2aef830cf1f2..bc5d2e4f0eb1 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -32,11 +32,18 @@ chosen { gpio_buttons: gpio-keys { compatible = "gpio-keys"; + /* + * NOTE: These buttons are attached to a GPIO-expander. + * Enabling wakeup-source, enables wakeup on all inputs. + * If PE_GPIO[3..6] are used as inputs, they cause a + * wakeup as well. + */ button-0 { /* #SWITCH_A */ label = "S11"; linux,code = ; gpios = <&pca9555 13 GPIO_ACTIVE_LOW>; + wakeup-source; }; button-1 { @@ -44,6 +51,7 @@ button-1 { label = "S12"; linux,code = ; gpios = <&pca9555 14 GPIO_ACTIVE_LOW>; + wakeup-source; }; button-2 { @@ -51,6 +59,7 @@ button-2 { label = "S13"; linux,code = ; gpios = <&pca9555 15 GPIO_ACTIVE_LOW>; + wakeup-source; }; }; From patchwork Mon Dec 18 12:54:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496884 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 326C8C35274 for ; Mon, 18 Dec 2023 12:55:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=suNOaKfaBNM3axMWn1oxTbewoQkbTT8ryzeX9N0h9lU=; b=3yUeue+dTWzAOz Jkc0SZTXUnjoEkATGPj1BSm/xqSZp2gqOIjHALhW0o4DMhmnNQ4bgcOJYP48sc/US8u+0oBzfLvng iFU69cO70LUGrJGfQ/OZSmFO9AjnZwwfHheMc4ShDn1bP6YjC1quWk/1QZv5bNa458XYMcsxYAA5u dYFBvAxOe/Ht53rADJbcut+wCQOae/4jbhfvs0bvPeRX84qAz7yVmQW2/la7SNoS/fJ2iCo1s2/EW kDdwV7MW3YrK5+blGg8zbCP7515178XT87Ta93W4LE4dkFekWkvNulXJer0RF6Djjw8OcPUwxfATo J01MJrm4oRMY+HpxltfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9Q-00AijV-1L; Mon, 18 Dec 2023 12:55:16 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9H-00AiXa-2W for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904108; x=1734440108; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MRJsvQQ78Gc8I3qafOxatN9PnU5ZZG8uiaC3LCRZdek=; b=cjZIT2oOodNDZKkD92To+MXw1NTu5sz1R+FcBP4SpuC1Ncrx1pQPwSMN dgUG06fPdVFLj68Fybvbn2k6n7q2DGKpd4+lYKiFyVZ736AzlvcAEpolc HfGOd1Oxbp6yFJ61tNgKcWVZbzeSxLqHyYhu/6n8xT5YxalTmUIYbz/Cf wGlSboqMxHjlz+21hhF7ND/Q/3N3JqPWXJWnML0wHqFGips4d5Dt+zheA lRGFMtN4/wxxo9S6pwS/pCw9fcDnteTuVKaVbvA8gl+T8iSvUbJI0Stor vYSkgOxH56PrTVTSTmpdWfhwALMZ/EskG8BsBIuiUJFzNJ/gwVFB1/mD/ A==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562698" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:01 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 79B20280075; Mon, 18 Dec 2023 13:55:00 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/23] ARM: dts: imx7-mba7: Enable SNVS power key Date: Mon, 18 Dec 2023 13:54:43 +0100 Message-Id: <20231218125459.2769733-8-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045508_140104_E67E57DE X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 This allows using S10 for power down / shutdown. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index bc5d2e4f0eb1..a66414098176 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -554,6 +554,10 @@ &sai1 { status = "okay"; }; +&snvs_pwrkey { + status = "okay"; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; From patchwork Mon Dec 18 12:54:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496889 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 2B84BC35274 for ; Mon, 18 Dec 2023 12:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o2UimdGX9VuGixzVc1ReDeqSeK063UmRvgGbV2m1pec=; b=RfyowtbxhsWzaC +XatOow1oTX+wMYOtJ+8XToKY6CCFWJKtLFmIwhfKDWSt+3JJbSWkCXYtnzsstfaQmdZ41lJGhTsp X2Y6eqF+V5sDlJJj2kLMqIikex7mJkDhb5G4GEXOLa2xwL0+Vgnp2u89Ih5BW4OnytOl0IbHIKYsR Lgu3JXz42ejVzAm46ukqYGSnHvgO5mYAy0f24ay3RV3MG7Hi1L4m7k+o00ktTiDW2XLrbE9xuU83Z nGnb1ywXJaLSWQlxBiqf0ZcwDaNZUi6i1ZMPLUmHMnk9mEZXud2aeqTVz+SncZoJlF80j2jKkctbi 52sREyw4JX5NO9cojA9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9R-00AilX-3B; Mon, 18 Dec 2023 12:55:17 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9I-00AiXB-0D for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904108; x=1734440108; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BZGofRkW9vn8U4aoasQHQQZdc9tY14CTJMXmUQtMqb8=; b=Jt6kbaSPLl3AG44jvYeQO41LuvD5RguK7H2ua/7YjyLUwBouh5zeZQV8 I+5jpOpQTLNE0L8q4ItN34Blciuh1T+SHlq/Y9bgUDUFXEb67Rh1ADPAM mnbBR7o22AXsQnxFwOPGIoGYZCVPUU7nn/palTO6z4IYS+QuG25ZlQyfv Ui1jRc3L6/sOzd4CFUAQoFryYQW/tJ1N3yzTpF3dI+bVltoxy28EFSLfj oufCVg86gieT5gVpJA/98GYlF8Jq0Vuuez/tNw6rJOva1cYgd+j0Yit5g +feWrFgKbIKGks3SD/Aj0o/PF5NIkRJLCc7xEPOc70uaHzrDROYxlibQJ w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562699" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:01 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id BD099280088; Mon, 18 Dec 2023 13:55:00 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/23] ARM: dts: imx7-mba7: Add RTC aliases Date: Mon, 18 Dec 2023 13:54:44 +0100 Message-Id: <20231218125459.2769733-9-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045508_424681_CC8F9E8A X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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 Ensure the RTC devices are numbered correctly. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index a66414098176..7b7bc86265fc 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -18,6 +18,8 @@ aliases { mmc0 = &usdhc3; mmc1 = &usdhc1; /delete-property/ mmc2; + rtc0 = &ds1339; + rtc1 = &snvs_rtc; }; beeper { From patchwork Mon Dec 18 12:54:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496886 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 7F5A8C46CCD for ; Mon, 18 Dec 2023 12:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8oLgKqIT0u3Mc4hbJHWJhC6l8MmG2hbteds1p6HEZrg=; b=Yile3NAOVbQirI 0gLHVf8B4agIvQt18VQzTYBVhHKJWaZJ178dLoqZ/6r3Uy3QaPkMKhBJN7aRYFOYaC/es3tyAGIaN eON7S3G6hQmZ9gfpq2gf+iOAQ6wlnqVlGrPF1g9UocgUCZ0zxOlEBot6tDDCt9KP2N3q8rwWzxTXM Y6YnyA3eqfMv7HUn2rP5HIPVrl/TxfilWBXr9QjBJQPNmozJBj0GPSNsbTBtleRn+bObUuLneNzhs GVNpHJRdcQvv3pjAno2EQSpkpWrbC4QPtvZqEIYc470RsYQG8GPBMHGT6YqIwrDb6CboH9rTwcDxx acsxjqLJGl7JD5SecTEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9T-00Aims-0L; Mon, 18 Dec 2023 12:55:19 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9I-00AiXA-2A for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904109; x=1734440109; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ROKCvixOUKQraTc0wIHbXHqwGgtAARQbRSjoRrhIefc=; b=Dpk/A39dbhXMgjwmP+GGWJStMA5Jc/dUJzyUka9YoDLcQGMAFvjTt4xJ lRP/RvLfRd5tJyli78RrXKf49K35stRzbo6nAqiuKxRR89bpye0G5hS+v 5/tA7gOmExHIyvDTrn1quwtrShqHwwtoxpIH1gklNE5R746g/OA+e5YJ0 0D1T5NNqqo/7vveDbr7JnNo7/2jomD8SZDUho0qydEFVFoG2f3GJSJnIW ynNbbgxFZigdaSSTHzI7Bdk9B88QnmGrUxBtZ2+b1jsawNPfPxRylg3kV uVXpHRe2qg8rg8gY5bNs4K3b3Cd5QdZA5EfUeucOs3IbV17zti3tynxVg w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562700" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:01 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 0FA30280092; Mon, 18 Dec 2023 13:55:01 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/23] ARM: dts: imx7-mba7: Add SPI1_SS0 as chip select 3 Date: Mon, 18 Dec 2023 13:54:45 +0100 Message-Id: <20231218125459.2769733-10-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045509_026571_EE101304 X-CRM114-Status: GOOD ( 11.45 ) 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 ECSPI1.SS0 was missing in the list. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 7b7bc86265fc..e887889816c7 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -209,9 +209,9 @@ &adc2 { &ecspi1 { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ecspi1>; + pinctrl-0 = <&pinctrl_ecspi1>, <&pinctrl_ecspi1_ss0>; cs-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>, <&gpio4 1 GPIO_ACTIVE_LOW>, - <&gpio4 2 GPIO_ACTIVE_LOW>; + <&gpio4 2 GPIO_ACTIVE_LOW>, <&gpio4 19 GPIO_ACTIVE_LOW>; status = "okay"; }; @@ -357,6 +357,12 @@ pinctrl_ecspi1: ecspi1grp { ; }; + pinctrl_ecspi1_ss0: ecspi1ss0grp { + fsl,pins = < + MX7D_PAD_ECSPI1_SS0__GPIO4_IO19 0x74 + >; + }; + pinctrl_ecspi2: ecspi2grp { fsl,pins = , From patchwork Mon Dec 18 12:54:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496895 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 01DA3C46CCD for ; Mon, 18 Dec 2023 12:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6UabhOhIDUTvS6JgKj+H5ORXhtCL6zAHzon/79Lj+Q4=; b=Ruf2PPgSG2oCvF pnuAdji2q31w51QzS1qLuzADghYVn6DXKeW/VdH3u5AVhv9ZIjtGLOt0d1F0LledbffeiNvR+NX9h ZG3Ip6nd1D45ursXN4Wj7OhsEV/vQjZk1zonO4kgkWeMM2VAKGN57YKWOJkovKuPzQ9aF868V7tat axgXQkwfyiWrdH1hHZ1/FqwKXOjGDfLYa9sB3YDHLO7i0nYt4zyIE3hrAxe5XZwPswE/4Kn6THVrI nBjlcqdfp/YQztAKGvcoKe6Vp4b8jeS3gMhHqG3WwAw6yWoVRiIqh/VV9eordcKn9Dk6d7u7HgaGa sIXd6ubG8Al/8DbSdunw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAH-00AjKs-29; Mon, 18 Dec 2023 12:56:10 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9J-00AiXa-2Y for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904110; x=1734440110; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dMNTcEryUPOJQdA6zyo/HXjDgsyIOb6uDssYvhqhwu0=; b=jhO8XBx7D3UPOm1ep6+LzWr+9kURFUCvMBHWztWlUfvwpmm+UNpDUDXN DL6905DO+MKQhvEDgD8OZ/1Q8TJjepdnJLVAxDH8KSXsHaTZZCd4CWLg5 m9agOYnQIM39+mqHT8RBKIA5lklwx+5zt5axXcYsuR7sxU7XjjOq2nW+m 8jVQv2ZIJ0eYX5fNOd85QYREqTmTdQYR2ttjKlGaetVX2JI7inAjCPkMj JMyPDKPmVr9dRdzNX/6l4h4TV5F1mtwhkGA04kAFBWjHWMfNLyzmvBMxk g41Q7AGVvFJYHOoQVXdgUz+P3Gt9Xc4dBvYmiFAYRK64C/3sArGSjb0uv w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562701" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:01 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 49B8B28008E; Mon, 18 Dec 2023 13:55:01 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/23] ARM: dts: imx7-tqma7: Add i2c bus recovery Date: Mon, 18 Dec 2023 13:54:46 +0100 Message-Id: <20231218125459.2769733-11-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045510_132439_70CE4515 X-CRM114-Status: GOOD ( 10.99 ) 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 Add the pin muxing and GPIO settings for SCL/SDA for i2c1. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index e6e40747d5b9..a68f567010f2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -30,8 +30,11 @@ qspi-reset-hog { }; &i2c1 { - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_recovery>; + scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; clock-frequency = <100000>; status = "okay"; @@ -168,6 +171,12 @@ pinctrl_i2c1: i2c1grp { ; }; + pinctrl_i2c1_recovery: i2c1recoverygrp { + fsl,pins = + , + ; + }; + pinctrl_pmic1: pmic1grp { fsl,pins = ; From patchwork Mon Dec 18 12:54:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496901 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 7D1B2C35274 for ; Mon, 18 Dec 2023 12:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pgX0D92IsS2/M/J7EaPDbxsBtA/3yMGvft0B9RFSqBs=; b=1/BCGGvTEZMYLf mk27JzljYj6S84QSX7VSFASZSky1AmcqZu2j5wqnc36w9BsOJNa6qwh9bajTbxTDqOmcglKVsNJuV VE59KHoVHRG3alO8PgQ1fI6ml39EqeeeSFmW7ce78UISckwTlX7Ca1dwGWF6WtunII2+ozHDRwQfG Xm0DofIg773WI/EpJVfVZrnDNJaoB79Ptn4JvzLBRRHxEGhl1Nufd4kULyaGm6UAwi56P5lcPCKCT L+XIRyewte2CstsDubx98u5C0WCAtODuwSZisfequsvq41NzYj0sYoLqlBZTuVXLFATz4nTG+1mJ8 +/5t+Mpo/XefuGmWCjKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAJ-00AjMZ-2q; Mon, 18 Dec 2023 12:56:11 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9K-00AiXB-0E for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904110; x=1734440110; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LhOaiWoTwAnhyIVZhpJf6gdGNYqUMdBRr/p/4Zp+P/8=; b=a0YbRegl1hgLxMh6n2IOwKXlQjLprUux3TCJsQ24vKMSXuoAHtDj6cP/ 9WE7IuszaOIpe0FpUj80pfGL/nJyhufDlDql8djqmLKv49A8+l1t5uj4H sFpcIUry2CGrA3BBIbWWfY2QtM5+O5oVSV1HZuoHmJz9dj5YlubNT6vBv pnA8wDdKqmHI/wRRugzr5+Si/WEBas6xFGLmtiBRe91sTU9a4kL8hD9C4 xQtu8xPYOsPUqB5486eFfBnV+qNBJCHD14/ylURvo+XXK2pCJ9DwM3aDt 8Kc07buuxHYUMsETHO5y2fXh4+uACXxvXqyrjGCEBSoMhBnzC6Mt7ZS8G A==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562702" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:02 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 8441F280096; Mon, 18 Dec 2023 13:55:01 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/23] ARM: dts: imx7-mba7: Add i2c bus recovery Date: Mon, 18 Dec 2023 13:54:47 +0100 Message-Id: <20231218125459.2769733-12-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045510_582737_527A275A X-CRM114-Status: GOOD ( 11.20 ) 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 Add the pin muxing and GPIO settings for SCL/SDA for i2c2 & i2c3. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index e887889816c7..f72fd912e1a6 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -309,8 +309,11 @@ lm75: temperature-sensor@49 { &i2c2 { clock-frequency = <100000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; + pinctrl-1 = <&pinctrl_i2c2_recovery>; + scl-gpios = <&gpio4 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio4 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; tlv320aic32x4: audio-codec@18 { @@ -338,8 +341,11 @@ pca9555: gpio-expander@20 { &i2c3 { clock-frequency = <100000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c3>; + pinctrl-1 = <&pinctrl_i2c3_recovery>; + scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; }; @@ -424,12 +430,24 @@ pinctrl_i2c2: i2c2grp { ; }; + pinctrl_i2c2_recovery: i2c2recoverygrp { + fsl,pins = + , + ; + }; + pinctrl_i2c3: i2c3grp { fsl,pins = , ; }; + pinctrl_i2c3_recovery: i2c3recoverygrp { + fsl,pins = + , + ; + }; + pinctrl_pca9555: pca95550grp { fsl,pins = ; From patchwork Mon Dec 18 12:54:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496890 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 C4299C35274 for ; Mon, 18 Dec 2023 12:56:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RWGeIiEk/zvQpiyH57C+YF7RM9vBDYQ/hN9f89RvFQ8=; b=i9WxdnWK/c9oRr 26G6p+IO0jlTjsaNrdXSh8Q0PLB2OORdV7s8Jo5aZmOMD2S1NPl/nnxNnapJLFu5gsCRyMjUkiT9I ra7Sre6tm7w5tcV7BHu1MBqUcLGHIVwSPsKF+7KTtnApAiHhmKpPb2eVkec5CI4zm86+MnRDC1ylW bdsjFOR2ARpLHicab2yeeu6tsQSAVReoQ8vRafIVF77KNiPymN+dznY2L5wEYNJPtWi5iQphN0od3 irTTT23aBL9sk+bTYYsj0S7e6GTDG8BLSc2VytgA7CCFYRgMeTeHoj1KpcZEuU2MtgtB+0G8fvKAu KuFV2AVGzmtEMgXHRk8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAB-00AjEV-0v; Mon, 18 Dec 2023 12:56:03 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9L-00AiXA-0f for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904111; x=1734440111; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iFwE7fV9ztYqHhPg6uoqRKNXrI41uXMaeLExQ0AF8mk=; b=Rynu6b+XpN+S6n95Rv6Lig1EY3vsoQ2NAQstSSh/wLX3ro4rgXICL0bT V7MpXngcRrYECVfnqOClL5huZxDEnX+vsguHHWe7UP+NwcC8XBCm2kNpM LanBDfU2etD+oulTNhErUT7svfZ8d4lejbUQy8nPRNn2u/HxMRPKKNL0/ HC55HkfZWh16TBpvfgdBT3wuQRlufssiSxrLJdz61WYQ9sbWeJeAzA6ma QJDvNburaw7i1N2zZREmqA/JbiCro4CT2COSxg/2A0PDap+sq6XhDhXfO a6QfgNRMGBub0Lci3d+DN7IfVWI/yEoYgvsmRmoZKxXEOgvFpnU4SBK8E A==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562703" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:02 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id BB718280098; Mon, 18 Dec 2023 13:55:01 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/23] ARM: dts: imx7-tqma7: fix EEPROM compatible for SE97BTP Date: Mon, 18 Dec 2023 13:54:48 +0100 Message-Id: <20231218125459.2769733-13-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045511_571790_09149F9E X-CRM114-Status: GOOD ( 11.50 ) 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 0x56 is the EEPROM component of SE97BTP. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index a68f567010f2..c67f73b0ed5e 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -152,7 +152,7 @@ m24c64: eeprom@50 { }; at24c02: eeprom@56 { - compatible = "atmel,24c02"; + compatible = "nxp,se97b", "atmel,24c02"; reg = <0x56>; pagesize = <16>; status = "okay"; From patchwork Mon Dec 18 12:54:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496894 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 CCBEEC35274 for ; Mon, 18 Dec 2023 12:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qG6hb7N7ZBHN3nZyDuNQPmUlCiJ3pFsoSSAfoMGwUYw=; b=JxQCMKebCGUv08 /ivS6WOzvi/CwvrcX1TVdehkydsd2f/pFETsmS8aA5wCTaTxnDY39XUBU1WU3fUni9LUVtUiKyCce DYdl+wBrcov1ZhTFchrm98UlIv5rD8QDuQ/fBc9SveVdcot54oRHVUbY+zp/5g73Zp6DFbkk+dycZ 0NjFKOpk5iQ7cEW+bhnNyrKOpc9cSvqzdlAbyPL7I4SGMjY8YBg9ORyFLX4Q0wOeM3FUcLeu2HB84 oYjlX9S/HfPS0WQ9iCQD+zKtzN68rWw1Nb7GJqWAbGq++NQEY0RDESSYtJ+JUc8eHBs9/pWIF4xvo /z7YaF7dFNDib94/6wCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAC-00AjFc-0K; Mon, 18 Dec 2023 12:56:04 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9L-00AiXa-2V for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904112; x=1734440112; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YI6oB8xSfd4xN7ORbpQbcbcK/IMlsd9E7bHq6s4iajw=; b=U+ZYWUYwrmdYRdnH7KEulv9eIftFpVuBuOOjVjop55sFemKRMOfIK20L k7FVtYQ+uOhyuPelCAr/xk1f416ifeNjPohrc0x1xQXGO55spQA2SnV/Y 86QuC0BZHdbWnxVGteN7gGyrDkLp00jCrGFz1iqiCLLkeOwDnfHB8rygC sxxplpE+T1fcbVlTayIKErS4FJJE+Owo8rGjpqfIoOEkqDbvJ+8lT+4/1 yQeOht2dqCNEpiLSI788GHmObPZfuGo1lq/5y0k3u3Im1AUyKiEDUeE+F sE2wjaBxyC8jeUQ57J+yE7tJYsPU1531FpjWJKCGxp1UzzbpWJPHTu/el w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562705" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:02 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 0A17A280088; Mon, 18 Dec 2023 13:55:02 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 13/23] ARM: dts: imx7-mba7: Fix iomuxc node names Date: Mon, 18 Dec 2023 13:54:49 +0100 Message-Id: <20231218125459.2769733-14-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045512_132331_1969288D X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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 The node name must end with 'grp' Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index f72fd912e1a6..ac905615ee03 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -504,7 +504,7 @@ pinctrl_uart7: uart7grp { ; }; - pinctrl_usdhc1_gpio: usdhc1grp_gpio { + pinctrl_usdhc1_gpio: usdhc1_gpiogrp { fsl,pins = /* WP */ , @@ -524,7 +524,7 @@ pinctrl_usdhc1: usdhc1grp { ; }; - pinctrl_usdhc1_100mhz: usdhc1grp_100mhz { + pinctrl_usdhc1_100mhz: usdhc1_100mhzgrp { fsl,pins = , , @@ -534,7 +534,7 @@ pinctrl_usdhc1_100mhz: usdhc1grp_100mhz { ; }; - pinctrl_usdhc1_200mhz: usdhc1grp_200mhz { + pinctrl_usdhc1_200mhz: usdhc1_200mhzgrp { fsl,pins = , , From patchwork Mon Dec 18 12:54:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496892 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 47921C35274 for ; Mon, 18 Dec 2023 12:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vFYR9yyNSLPnLVuKurPMzheIeCuIz0+MNNd/xMvItKI=; b=wW0mL52aEfF/tI 2k27bcOE+JsmA5If44KhfyqKv/n42FG5c29+J85c22PHE62OJmcQysmM1JRwNQIU9Y9mE8d6C1gZq KAOGguZPRKPubX7rFUR2E3qM6YA35PJ3P55ICXDZ7Bfod5SzvZCEZ9gg/0bmjbkrs5pocs9skEyei UsTIGXh1ZnDjzsMT+IC4NTMEH1mCFgwooTCv9+jDmJ0gN4h9J+Eg57++vMkpVs4d8qtj49pIrqZmN TPmuyiHv72hb2E224/V46GlJi2aX3K/P5vegB+dIMyzlbsr7gq5ODUT7N5TLGeXT7BZMZ9OZBqifV iFyaEDxBIv94yttiBLpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAC-00AjGM-36; Mon, 18 Dec 2023 12:56:04 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9M-00AiXB-1M for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904112; x=1734440112; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zZLxebhKDoF7Mtmyr1WyKgqpg+hKbNNrYSM+oVkQs5M=; b=hk8oNhEaO+DbC72MWWNcR92iyPJBj1SU4C0gflxZgcoesPunXd9Om3Z2 W8X1eqVniZXfTPUXAXkr3DTLC2rbG0OHXz1gJsogfSxJocpyohPDcjV13 6FmrORSC1hEOeV75XxWylT19TIhOOcf6l2J2Gj/wbWQ54FOP/IC+gZCe4 d5IiU4Ugj5oBPVRz5A7GcxsFYYjD/otTowwQqUzVmIW+TqfXGRH6Zx1Qe jkH+Nf3ThPaZCcxPtB7XKnJUHKH4G8BB2B8cb4wgHbgjrjsFbsT4MZwby /NZJkhyOeC/Gb35zkMTTOeMHTot08eu6Nh+9IzCswIP9yLYA4O385r2Vr Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562706" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:02 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 41CE0280099; Mon, 18 Dec 2023 13:55:02 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/23] ARM: dts: imx7-tqma7: Fix iomuxc node names Date: Mon, 18 Dec 2023 13:54:50 +0100 Message-Id: <20231218125459.2769733-15-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045512_852985_4C75911E X-CRM114-Status: GOOD ( 10.48 ) 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 The node name must end with 'grp' Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index c67f73b0ed5e..53c84393200c 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -214,7 +214,7 @@ pinctrl_usdhc3: usdhc3grp { ; }; - pinctrl_usdhc3_100mhz: usdhc3grp_100mhz { + pinctrl_usdhc3_100mhz: usdhc3_100mhzgrp { fsl,pins = , , @@ -229,7 +229,7 @@ pinctrl_usdhc3_100mhz: usdhc3grp_100mhz { ; }; - pinctrl_usdhc3_200mhz: usdhc3grp_200mhz { + pinctrl_usdhc3_200mhz: usdhc3_200mhzgrp { fsl,pins = , , From patchwork Mon Dec 18 12:54:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496896 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 C8A5BC46CD4 for ; Mon, 18 Dec 2023 12:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/gN/R9iz/M7FwSCmiWV+NV+tg+a2SOtlr1Pm2MjJx3g=; b=PZC7yVvRM9N/MB F+wZPbF8XmL+JNZ8/Bq1xdp5bF8C5j1/aTRmkHo9rRzN/3JN75LVdnnF371WgFhoF+VIJEBthg24W zpzaD/oENp7gF1O41FsoXDi8NBsVqJJ6JyBDULtNuPuZXyi+fRBL3EPZThousw5kObNxIxJONYGj8 TpaD4MuRGDySggG19WNtPn2WHJWW3fjRaZvGqUCGZIhY5eYpJaVuKCaLI1aZ1XYz0emwmNMORtYTh 5Ert1fHzWJht9z0pCCO1mQViVpeMnkEjav/Y2frW33FTrRD33M5KsMvI7EhRCnuOEErNdg/n9B3mw Pq2LZJerZjNosKZ0Iegw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAD-00AjH7-2W; Mon, 18 Dec 2023 12:56:05 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9N-00AiXA-0n for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904113; x=1734440113; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fhKEjHW4QMixz3TuESIx7vyncj794NT96oV1y5cO3jA=; b=IlE2iUUNGyV2pn+OlfkK/fOlyoLb9XLYcG8lQ8tgBz6GGCFRUcyU6uWZ 0HioNv1raeUXmyx/HZIar5FHrDIKqEJcvw+13y3YIXLndtwv/s529tAXp 50Y7/h7gTQYxegBOvpbI8Ww7zH2+FtPV+M96V9SKCJKtegZ/nBY6V5W4c sTO/AX56vhBqnyQddT80wgLBaHYo2tKu3Iuj8FTgLVIYPbxGJW6AWgoCn lQMzBI2mHsgEUxxXnpVvervls+0epRN0l+2DiNaAv2lS6p3saRjTbld/K AjUyD2L0/Pq5p0U6Vg4Rs/mSPqlnlK/FSgUeURQevRGYOP/bHZpK4jEQY Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562708" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:03 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 7E16428008A; Mon, 18 Dec 2023 13:55:02 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/23] ARM: dts: imx7-mba7: restrict usdhc interface modes Date: Mon, 18 Dec 2023 13:54:51 +0100 Message-Id: <20231218125459.2769733-16-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045513_598034_2A5937F0 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 USDHC1 is directly connected to an SD card, so disable other interface modes. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index ac905615ee03..1b1eac33a70f 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -655,6 +655,8 @@ &usdhc1 { vmmc-supply = <®_sd1_vmmc>; bus-width = <4>; no-1-8-v; + no-sdio; + no-emmc; status = "okay"; }; From patchwork Mon Dec 18 12:54:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496891 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 7D5D2C46CD3 for ; Mon, 18 Dec 2023 12:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lkEsqQOjubcEggkzgHIYmt7wwTlsUKlppFkfNMFpqGc=; b=rETqKMJYJP6vey zilyPajrjm1qAF8CnoLxGdXgGkSE9YUcHfRuFAp+hKqVGG0BMe3l+yggtSzhpzFzaNK10u4Iq68Tl gNQH+hF46FE5jvRIsfY172zuLMDqH/a/Diu0wHnZWJrW1BKqo742vq29MCkUkYcrwfzMNJWwJYYx+ axr7Wvfzws9nFXXUw9bERCTGp95xoiNb9NowFDntonxgja6ip2fxbTcvo+u5ZZY3Kct6JNJxuHLBU IaIiN8j632/FZw626Lp8nGjwJ4SIK3DiCYWlPFsidP8QHgapVDmdWT/A9HVsQWpVXsgssLmVEmHOR JsqwQkMPRkK1qRZPAy2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAE-00AjHo-1R; Mon, 18 Dec 2023 12:56:06 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9N-00AiXa-2w for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904114; x=1734440114; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sNbI6WuIJwKgeu4q8cL/Pmax300CJrWY73FOMKaFOso=; b=fkzCW1Zp3SebQJLCs91d/L6Elpvt0MQp+vEgv6BA+XGXVV13pomTEiov YV1YyU5516WTydNn37dQqwODy+54oXRyfeam6BVrEWrQRJRnYIhe4Pz8H 6WuupHKRmqUOLZqyPUYOzYemCDqEWsjXVhF1CAdG5hRXDjzujfEQyDZ92 YOopRpl8CxBxPuNTDQkeG1e/uGhrk5CCKtUMtOMD8etgWegbbBLZxQtHL yRmcUO5HPif8FEe8MyfjK/iDU+gBtS8geHrXBjOwLLcBbJME3d+oz10Zu hOv9cJ0pLimJnhmGivLldgChWA0rsrzvrT22KRb6/qcFsT8uh+S8tvV0f g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562709" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:03 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C0C2128008E; Mon, 18 Dec 2023 13:55:02 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 16/23] ARM: dts: imx7-tqma7: restrict usdhc interface modes Date: Mon, 18 Dec 2023 13:54:52 +0100 Message-Id: <20231218125459.2769733-17-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045514_272555_02868A6B X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. 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 USDHC3 is directly connected to an eMMC, so disable other interface modes. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index 53c84393200c..95c0f3139441 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -279,6 +279,8 @@ &usdhc3 { assigned-clock-rates = <400000000>; bus-width = <8>; non-removable; + no-sd; + no-sdio; vmmc-supply = <&vgen4_reg>; vqmmc-supply = <&sw2_reg>; status = "okay"; From patchwork Mon Dec 18 12:54:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496897 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 756DDC46CCD for ; Mon, 18 Dec 2023 12:56:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YXC/P7+m6Wyaqr/ci48CH0EFOuyahBjpP6PWOTKl1Hg=; b=nqqXnMmIFNrjtK SSVRT4rIPdTqbmMOacunjIlBRQocQvaZzkXFrUS/hvq8iGcmkZhnk1YSH3934zGNiW7Do5j5mp4M6 0r0VL6MWK05esJOtMkZ/S9DcazgPclhMBhiKTX4c/5ENgxoOpPOlfuKGDyN4VfI0FhFaS+FFi+cnN ZigEw6vGGo7JyaYCjJFF5AtaY/4O8mCtYG33ASOq0zs0wbCisbyOzlIDhsvoMdujXcMt+USSV1uxm Su0zxcxXXC7chR6t3VM/ZTmqAFW+cjfoEPWJw3dV+xIS8cVywV77OfBfm294P3sYGbHNZSqkqYX1g c9tBcTEPAH7PO/F8GhIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAF-00AjIj-1C; Mon, 18 Dec 2023 12:56:07 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9O-00AiXB-1f for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904115; x=1734440115; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8LwBnKiABVfke924HYFtHhg1AcP2kWqgNDEVuwlh+fY=; b=H4EHJ++betwhwQT5DJ4fxkTAg/y14aB19YeUnsCUWhNmrnAIv5nqoAI1 e+IkLzDzkqoWANks0f2yaGnsHkODJnTkbFruQyVBj/wRpGXQsOw6FajuM KxingJjEsDJklsDvuCogTlnysuRGW8lcr1ljty3ObX3fIkhocNiBMlV4L XmJFVOsuY4aLgeJU8/CRVoZ8Vr6IF25A8r5+ipQADQcaiybjILIr4b93p dmZnLxD/zzFQk/8jmEaVOV67cbNYEPkMbgq4+9nV966LV6fKtpvy/h+R8 f+kjHtkrgPqxKe2Av7mhwmlGHe0Qr3FLL/cPFUMtKq8Lcvs6WJsyrgCSB g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562711" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:03 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 0F9C028009E; Mon, 18 Dec 2023 13:55:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 17/23] ARM: dts: imx7-tqma7: remove superfluous status property Date: Mon, 18 Dec 2023 13:54:53 +0100 Message-Id: <20231218125459.2769733-18-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045515_555485_9765EEE2 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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 SDMA is enabled by default, so remove the status property. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index 95c0f3139441..f774d74ea20f 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -266,10 +266,6 @@ flash0: flash@0 { }; }; -&sdma { - status = "okay"; -}; - &usdhc3 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc3>; From patchwork Mon Dec 18 12:54:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496893 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 A70CAC46CCD for ; Mon, 18 Dec 2023 12:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LV8nfLQmup1W+24TDnzz54UXAJgGrhzML1n0QtVTha0=; b=exWHZP2vGfY4Vm 9v9yEwP3b0GY11bLXRlaaPR34/oLReIZuyKUafFZ0UrPnZgWWpwPi3Xd+C60VCuTthq1jZL0ky5qt cFalALRgCF49AnZBo9BkHWOr7NIKGHUE31AODBIXSnXlfM4eyyBAHmW70o+wEMDp345QacLxJOdoK qr/GkXcVxlWR9i0gzkjhX6RtRQGfn1AZ/iz5Bx8eJv7+7niJWIir0X+syefVg7GFl6I8ojnbI5oCk Sq3w8RJqP43dgYBkhGKdiTvef95HMr9t8VnFmgUwwRXxYc6CRxWnDljcUkuottRcbxBUhMNx+m/M0 IV/yDziJyAfVAE+ZA+zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAG-00AjJK-0F; Mon, 18 Dec 2023 12:56:08 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9Q-00AiXA-02 for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904116; x=1734440116; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ExaUCyXX9MNh6FG7wmeXot0GQIr9qR+CEyOBOdGllg8=; b=CWOm5TtzTy6tJFw3IPzBu4OHxV60Q5UW5+mOl2HyCZWeUDBS215h0AnW g7vBUz8weWXgetq1fxmiXzFFxgMicBkDPZ/wOQe+IH5QZzyWERotZlWoj iyg3w9x/3qJPEyXwkJhxLV0LY4nKCxDZ37m0Z9o/a9pvUR4BTJcqYzNsK dw6A8mydBrfSpmgpclDSn/x5PV5YAm7ubc5TGwGYEKzbMua4bUhG4yWJm asCU7M9CdG6nZAjTS2/02DyIsPZXazfw4MAvWd2h+Gej5OY1t73s0dKip vJiNpHvwooKPXjt4z2yl6ZLpKEdcFIdzdNCjKMWt01IiPhUXAHlHmTVR3 Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562713" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:04 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 535E4280088; Mon, 18 Dec 2023 13:55:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 18/23] ARM: dts: imx7-tqma7: mark system data eeprom as read-only Date: Mon, 18 Dec 2023 13:54:54 +0100 Message-Id: <20231218125459.2769733-19-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045516_383200_DD014ACC X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. 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 This is manufacturer data and shall not be modified. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index f774d74ea20f..cc02b795b495 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -146,6 +146,7 @@ se97b: temperature-sensor-eeprom@1e { /* ST M24C64 */ m24c64: eeprom@50 { compatible = "atmel,24c64"; + read-only; reg = <0x50>; pagesize = <32>; status = "okay"; From patchwork Mon Dec 18 12:54:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496899 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 F10DBC46CD4 for ; Mon, 18 Dec 2023 12:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GiHVB+B27ExTt/Zfs8z3iAtj6LTHhGCWBKdumuHmai4=; b=n3sbmhcrxlcj02 WZi6ldVPEgGmRXMy/t338wk0Py5mA3FMci4KixS1MqH7dFujHSr0CdNpyKo0TX70acw5XeRbnf8g8 MStIwzwMV7aH0PTMw6YwhNUPP5jXi0Mx02FLgg0NDnvg2EcKK/IOxJn+SxAFuI8CfGbqELiW2uUhV DUzI8Xkd29cjsOiGfWnlL5r8bplHcgF2C28EJ2iMTX13sK7m4JLvXrXluDjSw3YBY4SBjqb30AM1l TrHP78Z9p/aTQ5323mn8BYh3ImXTAvb6lnlfSZNilutdid81oGuzTblFUjnxKCP+2ERlY2r/L8yIA U7M5FD+KXRFc5v2+aQgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAL-00AjO2-0e; Mon, 18 Dec 2023 12:56:13 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9P-00AiXa-3D for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904116; x=1734440116; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=c+abPNL5xVsbvhFYNQ51Fma2y4JZYLYwzsMgk2lXajk=; b=I6KfIJDECJ0uF6SjpdvYBf3cxJSDm80ANYYy3dOBiOcbzuLyQTbOwz0h X1E6HnDRne4qKzd3i5fSNd8eTiJOQUhFKolh9bNN4W/OFnM+pIi9n+V4Y wysIyob9vj/eHNoaiJa4rjctnKdM00ELnS4CQLhSesxxNGbEq9PR5vy2O T3iNazQYiNpxtDnFwtuVdEGHcu5UUsfKVRx32joXkGY+tp5PvcBqG3txU 6JxMxsVarWQvP3+FQ5uVlDmcKFrtY8+4wbr1XIdlRZix0uTG1gMd7pdMh bPCB49QQhK+THUSl0oQ0r0aznjBqm/qnkl9dBvDam5nK+J1oCorV4jCXO g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562714" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:04 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 9643E280099; Mon, 18 Dec 2023 13:55:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/23] ARM: dts: imx7-tqma7: rename node for SE97BTP Date: Mon, 18 Dec 2023 13:54:55 +0100 Message-Id: <20231218125459.2769733-20-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045516_369972_23A393F0 X-CRM114-Status: GOOD ( 11.46 ) 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 temperature-sensor is the recommended node name and its main purpose. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index cc02b795b495..14fd9455c162 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -138,7 +138,7 @@ lm75a: temperature-sensor@48 { }; /* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */ - se97b: temperature-sensor-eeprom@1e { + se97b: temperature-sensor@1e { compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1e>; }; From patchwork Mon Dec 18 12:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496898 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 842A1C35274 for ; Mon, 18 Dec 2023 12:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oB1VtEs8pNtR5jZraphda0fgoq2O8xrcqtQ/Ubj+Beg=; b=EBWPCzC2W/SQ9g E8PpF8PsJiGuuI+DNIFabGJL9ZyzcJZwwzOK8D6RX+eHPWOlmY4eV7dnA/2+kssS0q3X1BWTje7Xz 1xj3zH9lv95k+RAB+oj724PgWp5DfOHOrJWnc9pmvnFiyXQNjiZBM0pC6HYGhWohKEkPWVnZsKA4p 8/7HFkSZUtB9EX2yrGT/R2bkTj2geUkkJxAfDwo4WBmvf1Sh3CdALmoWOop3ATS8aTAWzV38IamxV G25+BM/9o3Ci9jNSfBEk6noJtFNqrt9hxUQ9rsZpFt5ZasCn/7VaLXmw2f1bn7zRQivUbij/DdDjK D1azElJQ2po2KAiB6UVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAM-00AjPA-0E; Mon, 18 Dec 2023 12:56:14 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9R-00AiXB-0j for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904117; x=1734440117; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TkNFiWQLRnaX8WVbKZGx7FOGyBSfSZyo7D9wAtyHqns=; b=kJEs21LFy8MChS6bZ4ApJJ/ON73TO3jjD7DNpJkp1sscKsZk49NXVM67 tyTm+120nbf5ARadrvBiRpyaSwMeVsDPsW+cZZXxfB0AAl6UB75JQVTz9 TXxUzVd1GFV84hnrEewUI0BQ20Yne9sl7zQ7QqiNvljHH4k6SXUjrzZ6F Yic0QuW0oTgirbXAqlNHesLmzn13WC11Le+jchmNoDxIk8XXsgkQisw7x LUs3FR6xsrww2JWGvacXaw2SZ/wbyP6ljJVH1AFORCQJdqKYaUbQuLOp0 7uNd+DgsTx9tPvfWniXrQZTFDxReDPPLjfvwC3E/UVrPigm8UW1nNhYjp Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562715" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:04 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DE94B280087; Mon, 18 Dec 2023 13:55:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 20/23] ARM: dts: imx7d-mba7: Remove USB OTG related properties on USB node Date: Mon, 18 Dec 2023 13:54:56 +0100 Message-Id: <20231218125459.2769733-21-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045517_636516_1F681C32 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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 These properties are only used on USB OTG/DR devices, remove them from a host only device. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts index 8f2f3898d9d1..0443faa3dfae 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-mba7.dts @@ -129,9 +129,6 @@ &usbotg2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg2>; vbus-supply = <®_usb_otg2_vbus>; - srp-disable; - hnp-disable; - adp-disable; disable-over-current; dr_mode = "host"; status = "okay"; From patchwork Mon Dec 18 12:54:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496902 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 C759FC35274 for ; Mon, 18 Dec 2023 12:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XGZbenzvGeHBhQlw5BfXCestjEpRqBeUMz1DYVxFkZo=; b=D1p0EPOWZleti4 Oc1roJ4gUCnWLyWRwIkGdmiCW0UiKGsDBNCy6SVLBUBHwVJv0KkbbXG9stZ5nkhjJbDQDZBAaO57X 9KftVfm3JwBGrZ7W8/P7Hdwce3bwTN0rvVJ03+Xf70hXlqpoDt5SNaLv8BoGBBoKnvnpkwppdCC9b HPm7sr0ZxOHQDS9kvKi1N1fhhqOnKdEP7wnn/ksRGf6icG7jawV+g+sMO9RIslgkqJQH+JwQJftHk mOTaw0Z6eNNIjBl1GoVjDOZTHeCv15nbPw1T910uMCw1rcJrt0hSBQFrRvr7EXkx96HUODl/3HbhA yHblnLO2wSc2S2wDvCDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAN-00AjQ0-07; Mon, 18 Dec 2023 12:56:15 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9S-00AiXA-0Q for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904118; x=1734440118; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lI+BDLs7vftFwRdJ9CQWwYZ/T8g6H50fnaRNWJHnRL4=; b=dJvpt2TWfAJa0fjbdKsJAocxCVc9NRb8LqzHfWJpUBe7Q4+rQDs0Pk+Y VGXuJp8TWUMafw5yC3IEfRuubA0Id3Ci9+FrBa8uUi9yki2HnwE4JZRBq ruRIkFU7TR28hALs2a/Pnsnwni0aRLGPI2fQdsi9X+ZltCy9QEoXEKTUw PY6weXynyzdXomY+g5C38fKrJrOEuOF/Cc9x+ZRuxQxe4FbGQvSODr8sv 1inJR4JAf24AUG+7B10AicRp5NXoZTaHcOiJ1EisP0BChxmip6dobwtuk k5cKvKRBgIvUj34axh5XGaOvt3QYuyKWL/OsvT93rNkfxoOJe5vNQ3K3u g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562716" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:04 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 349FD2800A2; Mon, 18 Dec 2023 13:55:04 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 21/23] ARM: dts: imx7-tqma7: Add missing vcc supply to i2c eeproms Date: Mon, 18 Dec 2023 13:54:57 +0100 Message-Id: <20231218125459.2769733-22-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045518_486543_D9BAEEA0 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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 Fixes the warnings: at24 0-0050: supply vcc not found, using dummy regulator at24 0-0056: supply vcc not found, using dummy regulator Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index 14fd9455c162..0cf0304a8db6 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -149,6 +149,7 @@ m24c64: eeprom@50 { read-only; reg = <0x50>; pagesize = <32>; + vcc-supply = <&vgen4_reg>; status = "okay"; }; @@ -156,6 +157,7 @@ at24c02: eeprom@56 { compatible = "nxp,se97b", "atmel,24c02"; reg = <0x56>; pagesize = <16>; + vcc-supply = <&vgen4_reg>; status = "okay"; }; From patchwork Mon Dec 18 12:54:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496900 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 2852BC46CCD for ; Mon, 18 Dec 2023 12:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ysn8hB2REXF/ZQKHO2xP6iGQmzzXaF4k91RFwLtieVA=; b=fJm/2pNRkREGbE dvmfnMLxLtilsnojSZUiXG1BvrE7IorHuZLDLarJy5iiNg8fr/XCsQ2Xm4pDgDKz8YmZD1EcE3U7G aauUadmVw23+H14sZl93mEEbreVAmDI3DhrS7E3N72HtzCymckBY1NsTCQ9es134sAO7tM7H7RRu6 YbPwAqGMRV5/Rk8d/kDR2+b9nBY4P2ezCnG+TFtGQPMlNY6dat2DzhXvpM8qACz2Wn2wjZRemtrgd FSilTxCAXAS3B2r6s/qjAc9/FJ2Qi5Fm+FQlmlr3XPHElayPhTxWR/2xen3ZwoGuVAoSQNbzfAgRk xh7JoU5uYzplsVDrTzQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAO-00AjR1-0y; Mon, 18 Dec 2023 12:56:16 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9S-00AiXa-2C for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904119; x=1734440119; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IA2pAaUtCGqfwktAnviz0mbxYRofeT2V1SZd+2BLhJ4=; b=bCbYpunKcI+vkSvay4as0HlN5ONdTO5g44Qnp1Wq3k7BN/6K4BCl5GK/ uGuiNpvlQ7/2GRjTQjooDtEl9L6a2zbTEKS54Yi9rnxTTIA6OZfmEs+ci IbUJpk/NgZ258aruIf2r0jvT+EK40h4wnhE9L3nVmxTAdg9yST12b89hE gcn7RRnEwm2SB24PNpQj/PxVdwNCnT6jQIKds4GTD0Tukn+/5Dutpgvvl cR7vcYhxgPb9oCFvjsxOOKkRrlQffZFT19ZRP1kuQpSEXC0GD72vi/YFu XWa4TmvAp3cHVNxaBNBeD+5stopJ3woWNSnGiy+JacbuHbpYkhwDE/kcY w==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562717" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:05 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 731E92800A3; Mon, 18 Dec 2023 13:55:04 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 22/23] ARM: dts: imx7-mba7: Add missing vcc supply to i2c devices Date: Mon, 18 Dec 2023 13:54:58 +0100 Message-Id: <20231218125459.2769733-23-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045519_035456_E91F1897 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. 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 Fixes the warnings: pca953x 1-0020: supply vcc not found, using dummy regulator lm75 0-0049: supply vs not found, using dummy regulator Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 1b1eac33a70f..1235a71c6abe 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -182,6 +182,14 @@ reg_audio_3v3: regulator-audio-3v3 { regulator-always-on; }; + reg_vcc_3v3: regulator-vcc-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + sound { compatible = "fsl,imx-audio-tlv320aic32x4"; model = "imx-audio-tlv320aic32x4"; @@ -304,6 +312,7 @@ &i2c1 { lm75: temperature-sensor@49 { compatible = "national,lm75"; reg = <0x49>; + vs-supply = <®_vcc_3v3>; }; }; @@ -336,6 +345,7 @@ pca9555: gpio-expander@20 { interrupts = <12 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; + vcc-supply = <®_vcc_3v3>; }; }; From patchwork Mon Dec 18 12:54:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496903 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 EC2E7C35274 for ; Mon, 18 Dec 2023 12:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LMZO/USubraOwFY2PJxqTNnY+wH9BwB68tvHic6Uick=; b=ymnSKtXHrSoaDI GnIPKkGl2GU1lIXadTLgt3qUt1eDX6jpolpbfbFpPcOgmVyz6FJ4sZh2m9f4dpkdeuhSOWVbrhppe 5VlLVqukUxHENr8hc7M+VCrAZ+5VKelvBKByfQjDe7IN8bE7tc5OWaYbRB6gzT672uW8cLo657zTl aPwf+EylP39a6nknKz9g/op8IrngaOJFysL3L99mxKFnQk3lyt48duSvys9Y9QXE+kvLWOv9x3L7o IANpdzQmzINgRzLHGNqXuVoJbiOzj1+NUCp7Ezob6FjJc6qsKP/6BVJkFUihSiN3vIGXDHr6UTda7 IMTqCI6nTozdISn4l62A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFDAP-00AjSh-1R; Mon, 18 Dec 2023 12:56:17 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFD9T-00AiXB-1Q for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 12:55:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904119; x=1734440119; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KwtLSDAhhKT8zuBJetjQKPNAeLYgAOtm1XL3u91R26A=; b=Moq2MRfCrlvUfUaQsULtwH/E/6Ix/wj/Ifg3UUIt9qMDPoHpgIClHZz6 4CWeI2OHR8OenQGk6a4jW8T8kDT82P1tt+t8aOxzge94HbOdbS++PT208 U4E61LMSkfNZEDjdCjKCW/FoEe6KyiKh4wyjUmKnSviUF/M0PDKu6dZ6X WbD/uGEpE0aYFeQdzB0Nhyw58r688cVYtX6bOjMViJbdgzbgPj7+x5M4n UBUeiBvvweNwJHfRD6+IhbOyJwn1mx/D5wvEfkFzZbrruhGleyzrWLzQb 5IJ50DsCF71tVOExpmH8BCW7b8986KfHJXiXHfjSkQCDdNx8vfPyX55at g==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34562718" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 13:55:05 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id AE16F28008D; Mon, 18 Dec 2023 13:55:04 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 23/23] ARM: dts: imx7-tqma7: Fix PMIC v33 rail voltage range Date: Mon, 18 Dec 2023 13:54:59 +0100 Message-Id: <20231218125459.2769733-24-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> References: <20231218125459.2769733-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_045519_823503_9470605C X-CRM114-Status: GOOD ( 11.99 ) 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 regulator-*-microvolt is not the range the regulator supports, but the range which the regulator is allowed to configure. Limit v33 rail to 3.3V only. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi index 0cf0304a8db6..028961eb7108 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -112,7 +112,7 @@ vgen3_reg: vccsd { }; vgen4_reg: v33 { - regulator-min-microvolt = <2850000>; + regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; };