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: 755622 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D3471D15E for ; Mon, 18 Dec 2023 12:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="IlpMBMWX" 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=76ds8r9MyKsEPsAc1KcF+yYhEUmJy5v4is5x2d7KBmc=; b=IlpMBMWXAcIZvA04CpRPx3LTssIniM5QeO8qrMAfrkE0RaedAf45NXYJ mq/ABcX98uhFMKx6cWo71iNVqsMqB0vCFtIZ5sFEefPVe8Zw7ZgsmlBmY 8WvavAzNwYBHSOBc99NdQYIY6WEtH1v5aYzYHR5zBWf+6W/8QWjn1UhZ3 4Lb2+omNLlUYPZgr72ffr0YczmQwwnlZAj1gXZicQM/X6LFxecQLioNC2 lVFPejmp3BE67YfU9RYhbals4bhy9cgbnpe6dYjmsxn0izBenmh7b2Wfn R6NLkpZK1a4wTAjPfV+QUcV0LjMRCIgaQ9hNoQJtfGJhv4HFF/vfP5co9 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756194 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F6A4129EE9 for ; Mon, 18 Dec 2023 12:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="F2R79y/m" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904104; x=1734440104; 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=F2R79y/mlKm0lOeLdpI3m6phIijelPb83ObLxXW0Zyyis7bMVPINwQbL hV7vJ3XBfhZGSPq4KexWavP1DBIL7N9jXNRlZuHZt6RgDInZfxNRwaHi8 ppfEC2jIOu+nfTusHW6gmXyOaYAH7D9DzKFOK4E7biYCcsmy5mR6hwFAr c3JL4cnDPq8Xk0DnrMV3u0WilmNdC90/OQK5GFShkO7r938xFsNoaDjsz EM5mH5ty+rfte0UCuvR3XeTCui0lqcFfUOJDQPNBBb7+EXVzu4vt8ktS8 qwUaub7jkUWB3/HDUKOGA+W4ScwSl0d4BNnc/v9ptr6ZYsIXavCT/oSwT g==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756193 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 484513A1D8 for ; Mon, 18 Dec 2023 12:55:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="KYUyhFSb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702904106; x=1734440106; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p5I4TcGJ1Ezqj2sezo0MIRP2FDEiKxPZifKvwSrzigc=; b=KYUyhFSbqwgPAAlvcQ2Mo0BKxyWguwiJp266ESxE1nsxK4Pd4Llw4AWf 4Gml3+17f7hlhexV8yveIt7PFQXVaUL9ZU2lemYhU+i48DaB6Yq7NcGpX g9FINMmVs2OBhvt7T+O4ztFmYgmv9wRvEPfhYyO1jvxs6O5UADI2UfPDe 8MsglCktyZSXG59HpEG5w8xzRiDhiJL5FQQ89+H+1yNJ6aDcOgh3JXOlY dcRmsOB3BC2AQO7tIRYNF00UgNT4uRAhah1BPVcklqhDzFHl7FHLo3Su0 NA1fI8t1W/tjUBd2Q92FSdALlV7qqp5f6SIvc4cPk56WE0lpintCyjatq 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755621 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B8013A1AF for ; Mon, 18 Dec 2023 12:55:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="KOkMOKT7" 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=RaSQSbqrwsmL7+ltsf9YdMqSobE1PbNLc2hW9T5O4+c=; b=KOkMOKT7/mvjTE+gdXafztSwrGGJ1rF0TQglSNqwalvi77mL6LQRYYgO Fn5PECtiMFWJYKn8kvqqCNCHam4Te/rhk0y5dEQ/9GC6va3NqzZ3hSaAw ETGHDat2MHSlO7efrTB1FgaYlO2esuKjaX5cNRqYkSw8LmjNwJF0UL2mW O5yeCc9KmrinPYzwr2FiYjR/LpUJ9CnnDlRoSn/vwVXtI/8bwpzfx9aj+ Svs+efnaFRlpQ+rzxfaYS+SLOlslhuHhlM0hG0/oPdINhw4R9yod1qxBr smdeyXFFkl01Dpfo1w/SBGxWaiQugqMpaQgj2YIjmcNFDtZ5rGnyNwKXK Q==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756192 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3527A37894 for ; Mon, 18 Dec 2023 12:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="i9U+4+Hp" 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=w4vffnCBrf/RiXQUyuxsVyjURmX/KikU3tXyDH4w3Ec=; b=i9U+4+Hp/8XyigkUPeUJyPPC9qQWLXBeeN/hZ4VQzBf0lyRIt9far4jw ZEjFs6yByc0RRq1OOKsNi0G+6g2aJMOVNR/tp2nIcaMzsqQEboJWlESbo SnLH14EcryuMm7mDG0jkzK14Jb1pik5GXpVDstPT1VD7ydbxxK/jpR+Hj 0ua54dI0Lt7M1vwZd7BzjNIQiBfSzI6W9s2DRYb3Dx6+mDWwqPlX/Tc7R jEOjMWF26eRGwQc2RtdQ4P5t8HFbKZNQmWg5u8dA4klaywcDOorNkLAF6 9PouKbGIDgj7ykoCn5uj5NxnSOBpKIcLTnOOYqrPzMe1rI4xGSHdVri2F 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755620 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A85B33D544 for ; Mon, 18 Dec 2023 12:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="MwleVS89" 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=FUvfz8pXuv4S3nEyPlU9Lesurxw9nSkYEmdYOQ09Uo4=; b=MwleVS89aAjycD/aePD0/nFIstbboa6GTUxDh9TEjmyru0eHanGkz/uD SJiwighGy7DDB6bfveyn2cTjlqdYnqvQpInN0WfrQBdjhbOWA/KhdHP/e k5XKt1U0lctBLQaouRhqQT/TGtYcPTo+1bPepYUMjy3iRYll68yPGappX WtvaKXuHCePDMS76lJhQb7e9sHOxWnNzq5Q8O0cFS8ZIn87g/rbj3eS+W u7p4/fwairz8i0pCKN0iOZ4Sf3doVp78YjXnjxcfFKFZfnkKj4bK6GHET mg6vXUWe8id97kqqO/WbCyunwddNnw6fv2kLI9ZwW1L4aDo79w4dtXrJK A==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756191 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09715129EE9 for ; Mon, 18 Dec 2023 12:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="SZ4b60+y" 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=MRJsvQQ78Gc8I3qafOxatN9PnU5ZZG8uiaC3LCRZdek=; b=SZ4b60+y9cniY4lp+wq168PabjLmeFbA04MX95zfR9sGBA7dr+hk/bpe hfbKF2VnOUdp4P00ArWR63nQHNKqQ4oovlfE+HGfRApRQrYoM5bGTqdsE q4nQCRYRNRc3xgrkxRtNePQ2XXho0VCu0g59qYkIy7qzWRbiViFHigvZP 15BOpbTETFVRkcYjHGgkjyiDmJEFNU6KBmBV/+mA6O9TJ3UEdhYmeL3pw Vci4uxAdVaLUPPL8B8VGLQCYAp0FcwzwLRYqtzMbp0Qhi2EWA5dWpGStX 6eNBbtJuTYIjMs5Ibm4TMV8xIoB9uEC+TV70gimC1d97RsmfDrmK3xftg 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755619 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54D0A3A1AF for ; Mon, 18 Dec 2023 12:55:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="JGlyUnrW" 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=BZGofRkW9vn8U4aoasQHQQZdc9tY14CTJMXmUQtMqb8=; b=JGlyUnrWLj7JDx1g/Vao1r/4stUd80Hce2GzBSO4KyqnB7lrXU+4UzxX wkvMxvELsOBZkoy7+viemyrzMYIOTkcbzuWiEp6goib4epmzssNIPVoXi 5dGAmRpmrl9+ZMLptgg+7YmQg/2FIZehB79cUY76zCGcLIbfqHOt6CAuH Spd1uLauS6CDAwJW65Adhy3jNtj5e2sJEimF6+fPR1DDoZXQuh4OlOz1G rNmyrP3yp2WQKaEVxi3FoSuAmNxktx63faisnmZFeQwZFttvOnaXsGler mt6pHflDpF9f1txQ83h1VZg3rBugZM7wzlFoKK2SU9/XcNk9e7ZSycwL4 Q==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756190 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02FB537894 for ; Mon, 18 Dec 2023 12:55:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="dEDtwuve" 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=ROKCvixOUKQraTc0wIHbXHqwGgtAARQbRSjoRrhIefc=; b=dEDtwuveYQxsFTgpim/fvV09KjMOxK/uvXoGnpZAo7gVLbTamcVKLeEX sygTWQTX5qpFCAwjvmFQnmOR54sB63TGLaB0yLAhWWx9xQGRAhzXLqXze WkN5W+hslE6RO7ld9E94C2oOJJCwEA2zIz+xiRURZShFW4LPuareReLgP y/Qj7PLpBg/03WWu+UwkBY8kWIB3GZeQiRn/vR/tUg05gzjjTknzDWkuX dV9q3FXFzWmVJ57L8EAK05bmf1M8oRx+vmEMYJ4i87bzSElaHc/73HIQH 3ld7YhI2wGsWdLWDV5/+/giXDo+vg0SYNbO8SRb9foXA8EU9FtULg5xW8 Q==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755618 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 019C43D559 for ; Mon, 18 Dec 2023 12:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="iTGOaLqS" 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=dMNTcEryUPOJQdA6zyo/HXjDgsyIOb6uDssYvhqhwu0=; b=iTGOaLqSJAlVb4ONVa7HZL/Wq1CVCXvNgQNZMOWIvyJR1qp40oNnJcI+ BiyMPDuZOrZtpzqoeo5U5a+7qJNYaXNieUmPBzg9nhO2XbPIEpJQLVY8W Mc9vr9WS74yQftnvFviZV86x+tlno9EOpCDno7xFN1Nbsq3lJMUR700BC C4H4RfYv8itWymM4/0Iexhm7a3japbVPyNrWE3hbSONUWa2fm9+hw3O1D 8D/qUJI54BH88nRVJ8IZi4Jfl/KU9lD/vKJC4buHxId99eifbiS9FMSWY SlaLIsx8l32wS+r9TH0SaK5+UtZdNFRIpM9M/WXZImgQDyBETGMKKDaN+ A==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756189 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6ADE6129EE9 for ; Mon, 18 Dec 2023 12:55:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="OctsxCTe" 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=LhOaiWoTwAnhyIVZhpJf6gdGNYqUMdBRr/p/4Zp+P/8=; b=OctsxCTeftshLHuCfvYyxYB/kc0egKs0+2W6z9qk2o6cmvmMLjj2OSga QLLfYODvN0Tmveuq2n72Hy4qnBaFWdfVrS1USiSfNFpMGzJJaWUWPZk0w FOvzHnG2so4NVsXLG4lRLsFKq9ApXC2agylpZODp1AXsUpQt/mOPtpvaf 9tYR8L/sJZyo94nnAmkioRMeUZpx5zXXv4EXLVe7orpz9+c+NmiqeEYPu lI56o0C1GJ/9eBt0DYNXi7tluMbczGxJr3FbCG//qnsIQwQwRF5SnkKVO BTdiT0EYRuTIArjS+CRzwT3AMtwUZHqVDdlHvbbVnDr20A828PXuJS+Ty Q==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755617 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EC213A1AF for ; Mon, 18 Dec 2023 12:55:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="HFGzCTN7" 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=iFwE7fV9ztYqHhPg6uoqRKNXrI41uXMaeLExQ0AF8mk=; b=HFGzCTN79gnMccMgUhg/aT53TdaqL9XczbMce6YjhlpfWx33PXslcFdw otbyR9CvNww3Q2qk/UxQ5pvkC902vXRktAzIMxljDMIdLYLFp4tm3WhPt zkpEtUcm2s9O1RGKE8X0yf7pZjbEkw12YYSxdZZKqjj8czYPL+VVIunjg qWPNZNhnf3pvhfJ+qmyaH51P2RKZqXWMlmec56B2kFP2IxMHnHGO1QDsZ ZoXLf/fTs2Q/jqfxopAt7tbE5pgnizyG0Xf5ZY7MTXa+X4vD1DdWn0VHu bcaIYYtHOkZ7DzAmQheHzKATN/9N1pp/av0iN18G6YpOlSyOpJcktbqy/ g==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756188 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76D9C3D561 for ; Mon, 18 Dec 2023 12:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="HWAbwz6w" 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=YI6oB8xSfd4xN7ORbpQbcbcK/IMlsd9E7bHq6s4iajw=; b=HWAbwz6w2Kv1BrKegaO9GEvDPK2WUkANlUL5a1k5LCESblvm7363urie yhkKTMIr/CEWig4QsB1ma7u2RgoAzd+G+SkL1HRiWH4sEBRrA3n2lxHsd aNyQb4ILohGClgJEgpZ4WD1JdLXzxG4l2kGQkY/k4PLLaGKH4FXADwp0a ksdTQ3c8xQRW1aFmhTxpDsPuEcoJpkxjXKxLLshODsW7nrPHAj0YLM+Tg FuS8suCjcjVBNONf/Y0cR/P0+TJo2XehHB8qUrMIZ5GZ81XVtwWDiKtSq KlwMC5WgsRxrNke/sbK0Zj4+JGedyoQaUTQWgScM8I1uyFHEKfcx9yeyv 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755616 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8B603D559 for ; Mon, 18 Dec 2023 12:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="fJ+9d87K" 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=zZLxebhKDoF7Mtmyr1WyKgqpg+hKbNNrYSM+oVkQs5M=; b=fJ+9d87KrVqktUZNKJIfpDcROKYPVPKtP/d8oHcSuGiihNT37iv/mZdq vWET46QeMWBaf2tDbPuYYtpwhQnVU29SEDQKxwMoVTqdX0kkbYJrKgOmf Z4/vKniAXkgXtyCcc/XlZXfOTf7iz3RfB5KyEwtrC4fesc3gVfSQtZVWl TOUzm6QS+H/KoqL/7KhtOFnLe/HeesNpkYg7kMVqaPsH4V0xvh2eMcPDl Q/qK2JIGeDM4XzHfFidsDcWbgOLQ5Qq0jfLxMhvazAGmMHjq8bQnQoEbr VmPdb73mN2ivYvzf4p1HPKu7qmuBGCS5fSJy1nfXP1xyhqLvbuD57mdIS 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756187 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8A9F3D56B for ; Mon, 18 Dec 2023 12:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="PxaMmAWR" 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=fhKEjHW4QMixz3TuESIx7vyncj794NT96oV1y5cO3jA=; b=PxaMmAWRuYV8PUiYYGufefE6uwCZniP1KjyfeTdluOXrTKKnmVrDuOl4 Kmfz/RsDzrBdXnjGRBrsufeZjqzXSU43Q3NCVlh7ahmdaeLl1Wsp4157+ F3mHq561b6nUdN8JeIyLf55HwMHBKRIdfJFbaesGdS9sDVlP6j+U8Lj6J 9qiurtOf5l+2snIn8wknF0Clp7zq3+JdZ16lxuztE2SRdXxOMsus3QJw7 EhwSKCLiPanrywGPa6ioOgit4Is0IdnaTTV03+h7BzR1S77mOSduSkRIp E0x7hgVcQ0LfIf2yMtdDAS6hVDzyK4l6ek7DLlk7nqtS3Kjk286CnZTzc A==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755615 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBE943A1AF for ; Mon, 18 Dec 2023 12:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="fkzCW1Zp" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756186 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A68F13D561 for ; Mon, 18 Dec 2023 12:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="H4EHJ++b" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755614 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D74843D571 for ; Mon, 18 Dec 2023 12:55:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="CWOm5Ttz" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755613 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5F4D42361 for ; Mon, 18 Dec 2023 12:55:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="I6KfIJDE" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756185 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2159C3D559 for ; Mon, 18 Dec 2023 12:55:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="ffmLJQp/" 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=TkNFiWQLRnaX8WVbKZGx7FOGyBSfSZyo7D9wAtyHqns=; b=ffmLJQp/1vOLvmVOzIWgncgllDyZbXj7yDsYaigpymf9piGVfFWk1SeB dDA9FLaIhM+JYjA6EMgVlhaoJ3pzFQVj1dw8LudvJ6rwLkxgnJ1/4Z7Y7 p/rk64+iWSAMpZlKL6Oq8u+Zdtd98u34XZQNFl8jU4QqtxCjZpSbqzxG+ ST7C+tnSovwIrHf/9j1T8NT2hhr+6pvQXoxvCrnvTp9oNK+YOG56j1Pq3 +MxnV+Th/e17NPLqps7AMUAch0O42VuEYfiT7wXrcsyeSbNB36V7pus3C bYWI6+tiuXeAw5mpGINTCI/9FICAmLAqcUbBvHeNkhw9hMZ5QDG/NnGg8 g==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756184 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF54242369 for ; Mon, 18 Dec 2023 12:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="Akw18inm" 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=lI+BDLs7vftFwRdJ9CQWwYZ/T8g6H50fnaRNWJHnRL4=; b=Akw18inml0+YL7UR1SIIkwfTa+22xSuh6GMOrPitaULaXeLEkvlmErK/ oXGeyygnFnObiNjdTZlQhgDC+YX0mdfEwYFyMDtG/AnHoJ6GTT8Y7NnF+ h7VgHpQUkEcGoNmwtBqWM4DmhDRie6/GY5vr2NfLuzU3lsJK4BspJDDf9 vxK8Uf+7BNyqZ8ThkrxNm5U6OeOn7YIUtdGL821/gY3pY0QeeWxz/5YSC ND2KH4Ru8GAryyvOtMur4Rs86sXEFMMhxHwgbp6K8kl1K8hpC+gDnqK2A 2T3n3Gn0tVPp55r1WCcMrRhf3/SbU5VkTMzYufkavidyQ4q7xqomjIMop Q==; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 755612 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA5C83D571 for ; Mon, 18 Dec 2023 12:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="bCbYpunK" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 756183 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3D0842379 for ; Mon, 18 Dec 2023 12:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="Moq2MRfC" 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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; };