From patchwork Wed Jan 24 18:47:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 765702 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 516F5131733; Wed, 24 Jan 2024 18:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122053; cv=none; b=Pta/OeeBw66HoP0zX17V5ZYyoJtOSWgvU8NvQ++KBu+tt9RhIGPpV+Z//4yTKwzAkTiZOvWimdqAURfahDaKTP9OqV+nR1Th+BEskRrZl0T49lhvtyZ7Lq/mAxaV56OT2kjEgY4TMNMsFhgDePizKz6SSmcKEurNEsXMuxnOd+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122053; c=relaxed/simple; bh=uslfZhNjmmevu2mEJ9hTuNVIhJEpbIjkZjZsNdkFV7U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PDoayJu9NAMAUGFI8Xxq8JAJ3HW5XQcif2IPIiRwOxpaZ0A3vfV9moPLr6CkNh0netrfx/ZyENJ+PsQaKuIFl9otSzHMNhwGHokloAQySzQuLL6w54uYZnUTwEMTpr1vStbpLbJAj3PSfU1LVF0Z1ppGScoiknUGcc+T79LgXgQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=fX2iWVL1; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="fX2iWVL1" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlOJs074453; Wed, 24 Jan 2024 12:47:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122044; bh=x/zGqgZv1rGt+8HAzqdCk/mN57obrKCAyUppmXTsYEc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fX2iWVL1E8j+9fIj3ivm8Di8wE4CQ5DXgfzLNni21rn3/HzLyeuRodLKCQeRNua5o rvPvw0f1QLFR5IxX3LcMa6R277sWFgqto8nqJ7cqG8C0532JIkoZEKtskWkU9QyiQK YcPxEvv2eg6R737LgwIfIk+oOPxqMu/IlyNxI8Uk= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlOrN052041 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:24 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:47:24 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:47:24 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlNaO119099; Wed, 24 Jan 2024 12:47:23 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 02/11] arm64: dts: ti: k3-am65: Convert serdes_mux node into reg-mux Date: Wed, 24 Jan 2024 12:47:13 -0600 Message-ID: <20240124184722.150615-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124184722.150615-1-afd@ti.com> References: <20240124184722.150615-1-afd@ti.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index fcea544656360..a18edd34283c7 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -492,11 +492,12 @@ serdes1_clk: clock@4090 { reg = <0x00004090 0x4>; }; - serdes_mux: mux-controller { - compatible = "mmio-mux"; + serdes_mux: mux-controller@4080 { + compatible = "reg-mux"; + reg = <0x4080 0x14>; #mux-control-cells = <1>; - mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */ - <0x4090 0x3>; /* SERDES1 lane select */ + mux-reg-masks = <0x0 0x3>, /* SERDES0 lane select */ + <0x10 0x3>; /* SERDES1 lane select */ }; dss_oldi_io_ctrl: dss-oldi-io-ctrl@41e0 { From patchwork Wed Jan 24 18:47:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 765700 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 2A9B6131E25; Wed, 24 Jan 2024 18:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122055; cv=none; b=BVjr7sNrpnegH5rSQeUyRWOhUTEq9ELMqBzS1ePolDuew3Qf3nAN98gUmYXKUBsTxDBIUYghPmB1mtfMkRp2zj0Em1esg1NJcKILVrCvKxOckw3oYZFje0cPb5T/4SOXeI4xkUmSyuFktiGKOtLdFYr8kF+pyXaBVmfQi3d+ZaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122055; c=relaxed/simple; bh=8nBXFuhUztEFB9n0j4paOy0b2N4h7+tpkHbKx1XCvUE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rv6AnpXNXp/x+HxJd584NSOBLe2JUdOc1QPjSn0Efa7G9zy+iMvzGdbITmw4mCGWUpwm1+Yerbe2t+2SjuOvGP97IMg/vsxP5Ek7n0b9E6pF9M/+iCju1C7qSrfxTRWvcPMJb/Jh1Ph1KVZqARb9AwvOWsE210CAwDP9zdDz/do= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=GCtKzcQ6; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="GCtKzcQ6" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlQNc093964; Wed, 24 Jan 2024 12:47:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122046; bh=64TzqFIU47CdeaXYnEfO5gKZVhsoSAcPvR2wWTO9VYM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GCtKzcQ6hXnAiJjst5pWLn0Sstq9akSJE8pilE4ijnLhIxWSsP595CFJ4jXGwvDU1 zOFQN9sYI5+4W8efVMZ4dOSHE6D6wTgFeZiQxQXAMW5YGDnCW0TTukIK6Ovrg4IlfD iVQLAUiqwkrpZf1WBtRMY6ntlDL05sT9rmFIhJPc= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlQYS052079 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:26 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:47:26 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:47:26 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlNaS119099; Wed, 24 Jan 2024 12:47:25 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 06/11] arm64: dts: ti: k3-j721e: Convert usb_serdes_mux node into reg-mux Date: Wed, 24 Jan 2024 12:47:17 -0600 Message-ID: <20240124184722.150615-6-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124184722.150615-1-afd@ti.com> References: <20240124184722.150615-1-afd@ti.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index c168bfbd303da..db3855ae798a2 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -70,10 +70,11 @@ cpsw0_phy_gmii_sel: phy@4044 { }; usb_serdes_mux: mux-controller@4000 { - compatible = "mmio-mux"; + compatible = "reg-mux"; + reg = <0x4000 0x20>; #mux-control-cells = <1>; - mux-reg-masks = <0x4000 0x8000000>, /* USB0 to SERDES0/3 mux */ - <0x4010 0x8000000>; /* USB1 to SERDES1/2 mux */ + mux-reg-masks = <0x0 0x8000000>, /* USB0 to SERDES0/3 mux */ + <0x10 0x8000000>; /* USB1 to SERDES1/2 mux */ }; ehrpwm_tbclk: clock-controller@4140 { From patchwork Wed Jan 24 18:47:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 765701 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 CE3A8131757; Wed, 24 Jan 2024 18:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122055; cv=none; b=lSFem1BZh48xpvmfnBYDyzg/dVOX8S++mGTM9gpIT7NvROvRF0ouVa6H6UikLHY+hdoXmOiWDlSUGgtpwwkFq2GUfzgL0X57XEzSPBagknD1GegN03qsuz92ZWi9gORsFeQwES+Z+yu4xw16xBle5MpYz0MpIPh973MTISp/d6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122055; c=relaxed/simple; bh=v/JXUqIDsjsDEKt1F1Q/SZjgRGT6H9Fn657zVe2ARP8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FtRcG48D1VuovGBrch9IR/CezLSAICE3qm7LXkxxN9gjPu1dIIvG++v0YmQRwkb3P8mU/48Zbg39iALb71gW2AGRKXxW3j+pyXrr5Y4tN4kgf56DtNmpAoQ2K3FuUJ8eLnfRIfXwQotVq4KfkQY4j6fBaKXTP4MdqRdUryxeJN0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=g9rq3Ru8; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="g9rq3Ru8" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlQGX093968; Wed, 24 Jan 2024 12:47:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122046; bh=zOS0P3QPtHjlgIzqfd9HI1Lple5XlJqllrKD3PGT/wY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=g9rq3Ru8+95u7QggKz32kp+Qh0DuDAnGMUEXtj5hey13icKZHU80UmLGu/v3UE4mH 3HV/TzOLuOLvVNQS0n1zMoMNIz1B5dR9NQoKsDaIVWUo4JaPKv8dotCOIRXGAX7Maz OBGoYA+rJBS8Eyus2/v3vf97//VgPl8oivBU5xRI= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlQ48052086 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:26 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:47:26 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:47:26 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlNaT119099; Wed, 24 Jan 2024 12:47:26 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 07/11] arm64: dts: ti: k3-j721s2: Convert usb_serdes_mux node into reg-mux Date: Wed, 24 Jan 2024 12:47:18 -0600 Message-ID: <20240124184722.150615-7-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124184722.150615-1-afd@ti.com> References: <20240124184722.150615-1-afd@ti.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index ea7f2b2ab165d..d985250d7caf4 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -45,7 +45,7 @@ scm_conf: syscon@104000 { ranges = <0x00 0x00 0x00104000 0x18000>; usb_serdes_mux: mux-controller@0 { - compatible = "mmio-mux"; + compatible = "reg-mux"; reg = <0x0 0x4>; #mux-control-cells = <1>; mux-reg-masks = <0x0 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */ From patchwork Wed Jan 24 18:47:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 765699 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 B2D66132C03; Wed, 24 Jan 2024 18:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122057; cv=none; b=O4dM1f9+kW4ewZCGiVu1rDJPfHs/I/keBezSmC6kuTKoQmRyYMhhuy3ZjQMEQYFvLDgHzy8mOId+Wje6MDt1PU80g7epQEDJs/E8ujiHEUFc6F2qQaP9Ukn1Y3R7Zq9bIHhfQNOn3EDgNUqya9Qt2u747xaj3+cX1aqDpY076T0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122057; c=relaxed/simple; bh=hia8jK0j3vAwgFdkloMNhXuoMmVv8j+iTR3XGNm9Mec=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=i+ClCCnsRJ59o9ak+1sp+Z9+KgnQp94Jpe64f0Biz5oNjUUzIWk9HsfVE6oPjtFyVNDjPCG8n2WnYSpFOFDh5G7oXneBEK8kyseVxMQEB9Cmh/uj2H0fiDCxxuladll4DJIVFCt/4OIcaiXnWECqCIIHEJAkHiuMNx7yBJwBiBo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=LVcSYHkZ; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="LVcSYHkZ" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlRkG074467; Wed, 24 Jan 2024 12:47:27 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122047; bh=wtuCKu5zP/Rk5gm9Yl/BHJI8U0nJdIZT62nZvK/F2fE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LVcSYHkZilIFww6Gdad+8Hs3t25df58W4L8GogZhwstJwmLiyA8hi6rf4l8n0aKoz NeUGSw/vaGq0yITpA+1+g8Q5bH6CQ60sVSSfaxGVVgMFZ3Gpf4iPjcreD2ceZR/Iw+ SgXCKgHDid2kszy9Ur//CLSxvhLQ4HFreXY/JOIk= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlRa2025298 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:27 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:47:27 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:47:27 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlNaU119099; Wed, 24 Jan 2024 12:47:26 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 08/11] arm64: dts: ti: k3-j721s2: Convert serdes_ln_ctrl node into reg-mux Date: Wed, 24 Jan 2024 12:47:19 -0600 Message-ID: <20240124184722.150615-8-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124184722.150615-1-afd@ti.com> References: <20240124184722.150615-1-afd@ti.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index d985250d7caf4..2abfc35abeb87 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -58,11 +58,11 @@ phy_gmii_sel_cpsw: phy@34 { }; serdes_ln_ctrl: mux-controller@80 { - compatible = "mmio-mux"; + compatible = "reg-mux"; reg = <0x80 0x10>; #mux-control-cells = <1>; - mux-reg-masks = <0x80 0x3>, <0x84 0x3>, /* SERDES0 lane0/1 select */ - <0x88 0x3>, <0x8c 0x3>; /* SERDES0 lane2/3 select */ + mux-reg-masks = <0x0 0x3>, <0x4 0x3>, /* SERDES0 lane0/1 select */ + <0x8 0x3>, <0xc 0x3>; /* SERDES0 lane2/3 select */ }; ehrpwm_tbclk: clock-controller@140 { From patchwork Wed Jan 24 18:47:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 765698 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 DE65A132C11; Wed, 24 Jan 2024 18:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122057; cv=none; b=XyvsnVrrE1pd8kIzA/OHfBYSxT10cG7xt1BXTxlQKCt46HRfgtjEYSKYTS5ON2MgD2Jq5sQbeK34i1GG9i0GwwoA+OUXxogxjPsNWiAKnaiLmlmIuhnjZ4/KcDT5NrG027f82N4cnZiBjRm1NF5BqtadMcTTNZT84wZ0jyGjXQQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122057; c=relaxed/simple; bh=xrBLscAxAw8BvcRS8Vx3HCW9e/6m9O8EJwfFxQfg3F0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VZu5VX1HQAAS5k7v1ceaXarPZuSUMFpanEdqgl0d3FfCaoeWMcWMWUmPVnXmRXrRAH3MzIHSXSFKSUOUsi/JYCDtsnGsaspeHBIgDUq6GSA7/7a7+hzUdwSqg6GI2hk0d7EVWANK3FLdnuadnJecGvCxbAxTgoe/LsHZHDXgmA4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=V69lNpSd; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="V69lNpSd" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlSbX093977; Wed, 24 Jan 2024 12:47:28 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122048; bh=BE3mlDaWEB2+EgHByHo3DMUMwEULfQu+TI59f4A7/H8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=V69lNpSdHlCoyNCoc+5x4zZ/gNaED/KoGfKfqJ8e0cAHA2i/UUVk42Tu/4e1bcD6J aSl7cISMh9YctDvgb/8bWt98xwIL8eH3VbCNhPbHf5AOJhORn/2ahxq4+oI1s110eI Td/eNzHcLvylfPk/GuG73/np+f5Qci2vPTCb7vNE= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlSRD014174 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:28 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:47:27 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 24 Jan 2024 12:47:27 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlNaW119099; Wed, 24 Jan 2024 12:47:27 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 10/11] arm64: dts: ti: k3-am62: Make the main_conf node a simple-bus Date: Wed, 24 Jan 2024 12:47:21 -0600 Message-ID: <20240124184722.150615-10-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124184722.150615-1-afd@ti.com> References: <20240124184722.150615-1-afd@ti.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 The main_conf node does not need to be a syscon, so change to "simple-bus". This removes a DTS check warning. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 464b7565d085d..bbb26e9c1a021 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -42,9 +42,8 @@ gic_its: msi-controller@1820000 { }; }; - main_conf: syscon@100000 { - compatible = "syscon", "simple-mfd"; - reg = <0x00 0x00100000 0x00 0x20000>; + main_conf: bus@100000 { + compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x00 0x00100000 0x20000>;