From patchwork Wed Jan 24 18:47:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 191712 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1187506dyi; Wed, 24 Jan 2024 10:49:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLFtowAzLiGhME9iKh3uuaA7gpQwT1MHGLqOkbSPEhrv5rItus6hdroinWqPi/LOBHQnnh X-Received: by 2002:a17:90b:1193:b0:28e:89fd:877d with SMTP id gk19-20020a17090b119300b0028e89fd877dmr4685434pjb.12.1706122152522; Wed, 24 Jan 2024 10:49:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706122152; cv=pass; d=google.com; s=arc-20160816; b=gsrm0JwQolu5UWMiooEkWXE2W7erxl6V7doKRW4EiQRnOiOTRkRgaodhcVpA/Hk0Sc KMHuKuF9WNuxjakjygbA3QDWELu9c2TzlmBdVxWiy/4vSpc2BbeFW/XUI5nyJ9xTYXF+ 3P+vB3me79sM91Ho60CmusIxYVe6Tq5zABXVAwn8LmGT+A7xahW+PIYlnIVdy+MZYkDr cmrku4oaG9gjByxNJ2zMAxitrl5dHfOzawVQ/d0A+EFZ6hDyWF/q7pwI2B/tmKy/2JOg R748myCeqeWmTluoxvHelFV8mKI2ayYSknqEL9LgF3UfAhGXFhiUsdlmU4Al8Wfjl5/G b99Q== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=259lyjKwzzRUcgPI9qcYVw+5ylozXN1fiOKniGs4g0I=; fh=MyUppKttrNuIto4SF/fZZ+PhpsTyrywZS4cOL2Thdt0=; b=gHfzb304/EKRP/NvwmvCm6Yg0JbMFeFNP5oov0rk3RKo2rLjfjlY7OEyhhvzlw8r/W zHQJYZLWMhWszjqsOK0WyYe5z1rhAlOWL4Nu4kZJeIEtTdeD9KvhFl8mr9UyjYaxu6ZT J2H3LIG+ZTEFS3R71MjzQqR8q8L96uXesFGXLjl3aUr1FmWAKbzMWR0aTGzBpZ1MnQsP kyBDo/CkLlR1JE8m4KVZVUbIhTw566tgTY0nhVxPUyCqrMgXCtsEYMfYdK2JomfFXgAv iTgoINEOeCu9GvBC9McKaJ59Qwnnaof/jpLcV3VP+7/6AJ0xERSWX24Q6p0C3WdW4bJk V1eA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RvdnlsKE; 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-37536-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37536-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fh10-20020a17090b034a00b0028ccee086f1si11972819pjb.42.2024.01.24.10.49.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:49:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37536-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RvdnlsKE; 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-37536-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37536-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2B53828B162 for ; Wed, 24 Jan 2024 18:48:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73882132C2B; 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="RvdnlsKE" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 34DD213172E; Wed, 24 Jan 2024 18:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122053; cv=none; b=h8X1FzZPC+BNjfCUg6YepEb3Dm2zLyk9B8JdX16mSpIs/ikij+glAo2/pxfmJsXaDHvNiZGcEhsDHMT/ykmU7ofco9ou+4WmKFiJH1n6pN0UVz5sQHtV5Xk5DvJXNWq5dwojN5f6V6nZLa8DwtLmaA6JZPjIPX20aTsYyAKhIn4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122053; c=relaxed/simple; bh=UTBCzGjmIkYUdiojLgJ4G6OrbN6lnfUqilvtljzIeWk=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=h/Pha1MsINm9KDz6/W0yytAw+3qtpFIEZV3gwjRtpZg27jOHei6WhA7uRFYa1N+2VmgsnloihAcYIhFebFeNjiD3DcXi1o35B3c1bRyysE1amAijVlUEdeKYqYgnn+BtwFfZiT82crTOOmbCOhu2MPVpz8H+GNE385GEpxK406Q= 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=RvdnlsKE; arc=none smtp.client-ip=198.47.23.249 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 fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIlO10002579; 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=259lyjKwzzRUcgPI9qcYVw+5ylozXN1fiOKniGs4g0I=; h=From:To:CC:Subject:Date; b=RvdnlsKEZ2uV3omFLHUiuNG5TfU5PxrMCKU90zXHfMI336RsfQ1FPc1QKAMxisR/4 wkB+Efd7TaWKHcSSJPlhBusNd8Du0MAlTa1/Zd6dnFudWmlIF0sohjQHx++WIyC0E5 DOZU3FAi4/X8/MK/f1GQPrYVjNf4G0dGljU5uDR8= 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 40OIlORt052035 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:47:24 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) 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 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:23 -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 40OIlNaN119099; 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 01/11] arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux Date: Wed, 24 Jan 2024 12:47:12 -0600 Message-ID: <20240124184722.150615-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788998742584667466 X-GMAIL-MSGID: 1788998742584667466 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-am64-main.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index e348114f42e01..34c45f83eb64d 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -51,10 +51,11 @@ chipid@14 { reg = <0x00000014 0x4>; }; - serdes_ln_ctrl: mux-controller { - compatible = "mmio-mux"; + serdes_ln_ctrl: mux-controller@4080 { + compatible = "reg-mux"; + reg = <0x4080 0x4>; #mux-control-cells = <1>; - mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */ + mux-reg-masks = <0x0 0x3>; /* SERDES0 lane0 select */ }; phy_gmii_sel: phy@4044 {