Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1307051rdb; Wed, 24 Jan 2024 10:48:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG6UuFMSLNWJFU2or3BdP0S7oftHHMG2LQYDM0dTI5882Yj+YEoK6w9IQDFlZUXDZqSiPY X-Received: by 2002:a05:6402:524e:b0:55c:c40a:c180 with SMTP id t14-20020a056402524e00b0055cc40ac180mr143063edd.26.1706122100425; Wed, 24 Jan 2024 10:48:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706122100; cv=pass; d=google.com; s=arc-20160816; b=Cad8XKYPRbhi9zlQzhWCyyCRFa2V3VQuXMgEiQUdZqAxbokCZc1jC0/m1zh40aYRxs 0opsPsLvplje6tFo30XYv25w5mtjPWHoKo6UCRKkL6cBoSE/curftzx7MzFnef7OcvRh SYJhtkf0LyrO6Rv0P2HZJ9ZgDZk1AUcAJQFUJMblaRbxbabzhoHqcdNePvvrzu3dRAN4 7l5FjbF90ESuFjr9BhzIXnvqYzrqjcJDMYz20DDaoHzkLJIgPauPLednDjncpxlqoExb pukkIlaNcoi79g69zP8Dv72dIdfPGSqb5rKmd3tQd//RXOsc7TmAkWEwvUgxvQnGwpye /GHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wGTbZq6fgX7EM2b1ZSI2la80QEUuP9Fkqi4Pll3YN9w=; fh=MyUppKttrNuIto4SF/fZZ+PhpsTyrywZS4cOL2Thdt0=; b=eN0BGPTg4AdN17fuhhq+PC2508Eaby85YWCJqpjKBfpWDvQlrwSevQX31c9V1Rr++V tp6XgmDtTG8VS4Gox2JYDfNEnWj9Tm77r+U/RhjS9Ec13B/etoZ+kQ9QyTGlq89vCJUT UHs/9Y3sJzwhdYWGqYJv03vttJWEAh+EJLu36qBfM0WKc7Nb+SvR/h/piRwvIz7nhAqF Ov2zbwKbDn9XwpwD00uDRXgfHAl2gg670m8AsM8DzFmRSKDA/Zsh+HIMxttGhO7g83Hw +t5fFaLjRoWnVmCgQ0TQsDCtlYaMslKVAwQuVO7TqAHPXjuPJtz2eOHxNSa8V4KILjyN SPFQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LDkSsOsm; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ds8-20020a0564021cc800b0055c99a903fbsi1497266edb.460.2024.01.24.10.48.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:48:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LDkSsOsm; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 311781F22F32 for ; Wed, 24 Jan 2024 18:48:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30FE8132C1F; Wed, 24 Jan 2024 18:47:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="LDkSsOsm" 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 BE92113174F; Wed, 24 Jan 2024 18:47:33 +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=1706122055; cv=none; b=W5xw+AQDV/2QHsgvjb02NWMcLHS24Oy7UTqQ7FeTcpyEx7jnzvDyLOWeVpf0U7oCkGJUCC4o9QS2C2rc1MLuN3Gsk6e7a66MTvLQHFV36V9yFfh5QH86HjgjPhF6zvlWUqK/1+qsgcJ6VhqBslkoiiW5OsJRqTaYYmQtCCDrPEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122055; c=relaxed/simple; bh=HjY4ii9Xy6yn8+DAE+/RbOSid7OhUBGxenJ3Lgm8OVk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=V+IGCM2IMvzqbzBrKJXX7Rzad6dIm6nSZHbwI9S2Fn9GgmH/6ohhYgF8iI1sYC2vxP0aSDl5w75runY2cAwWFuP2WFWQgNwiqsia+n+rZeRFz9TKSORHWo4kyAuJbj590PHIpKUCoYAzS9tE1Phu8YuQ/IZs0kK/88FZ9pp6FVo= 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=LDkSsOsm; 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 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlPD5074457; Wed, 24 Jan 2024 12:47:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706122045; bh=wGTbZq6fgX7EM2b1ZSI2la80QEUuP9Fkqi4Pll3YN9w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LDkSsOsmhBxXmxUupTWDwQbmzoqVry+o0G6c/hzSmwbfs14NTLxdvsjtHSs9UGBka Mfs+cECTObncRUZDG1hA+1ImARJhLUzcybhj6qTHE65SqSLVuh5IN27nkXMaEqGVDH r0NonxWbqQ49N5dYrvHu9L78AWOE+23kFAk7t8fE= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIlPw2014129 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:25 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) 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:25 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) 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 40OIlNaP119099; Wed, 24 Jan 2024 12:47:24 -0600 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Andrew Davis Subject: [PATCH 03/11] arm64: dts: ti: k3-j7200: Convert serdes_ln_ctrl node into reg-mux Date: Wed, 24 Jan 2024 12:47:14 -0600 Message-ID: <20240124184722.150615-3-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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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-j7200-main.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index da67bf8fe703e..50d1f173bde31 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -33,10 +33,11 @@ scm_conf: scm-conf@100000 { ranges = <0x00 0x00 0x00100000 0x1c000>; serdes_ln_ctrl: mux-controller@4080 { - compatible = "mmio-mux"; + compatible = "reg-mux"; + reg = <0x4080 0x20>; #mux-control-cells = <1>; - mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */ - <0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */ + mux-reg-masks = <0x0 0x3>, <0x4 0x3>, /* SERDES0 lane0/1 select */ + <0x8 0x3>, <0xc 0x3>; /* SERDES0 lane2/3 select */ }; cpsw0_phy_gmii_sel: phy@4044 { -- 2.39.2