Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp475913imm; Fri, 21 Sep 2018 03:28:48 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbpu+Q77dZghvLu9orSaXvNMvC3b/gXqyl3ltRv0qRGNIXWgUBZ2boFH5m3Xb+tNz6hpZPm X-Received: by 2002:a63:2106:: with SMTP id h6-v6mr40397166pgh.161.1537525728154; Fri, 21 Sep 2018 03:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537525728; cv=none; d=google.com; s=arc-20160816; b=nNX4tJryLtWdBrDoY2/r2ug5gqRkJx3t4ECkozCrUMzac7pO9givCPTWTf5BKOG4NI 8Sg+hOeRUPBaNrnF+ACzZwLiw32sRA4sEQ2VnIblw37T38seXHOs+iEXHwURlcAlhtJR lA+JF6oxB8zWCIsTkNGUGIaH7d9C1om/8Ffwx0g6tZ9Vk7aBatCacR3wLik5wuImu3Nz 7zMzptQMXX8QTukQhEOOEPvsDf4XAggNUPbHKc9Ar3sjDUwllGMwIJZkwIHCrEy6EXaP oFsLM6pAzItahzXXqYp9pkIxxzFhhHYc2Dzb/4rJpqChQpMFolQZlfmbJaUmaJeFgd/4 rtKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=o42oR+cPzXSXz2nnwYCWDDPfzIB1x+eMkvxWlBXLaII=; b=qVkve0pR6IxMwvrJExEdjH08XDvOZ/mUgdmGfEuhORgGZutnUcceOUICNfRYifArTn NyrUKgmb8ZWDqCsLiKcYs9Csa6mjIMl2vNC+0jfAr5HEfS+ztLjLOORlWQCA3ZrnEMPR CHj+Js0FyDxctBizqawCD/YzWuciP9pScmZw4aESwbhJR/vR5+BAhrcuE28E/vUQP//k 3JbHWpajcD14SIX1YoUud8DTzRMAyQDqgbdjK3hV51pq7SaGK4g/LUYzEdZiLVaezFjb v9yW+4ZRRHMRSSi/4YXhe6lOPIgBLXB+/l2k6AhQGqie0FJUP8+QHuQmtXfLZnc8FI4H wRHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BAU5Bher; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n16-v6si27046679pgl.508.2018.09.21.03.28.32; Fri, 21 Sep 2018 03:28:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BAU5Bher; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390010AbeIUQPw (ORCPT + 99 others); Fri, 21 Sep 2018 12:15:52 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54806 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389559AbeIUQPv (ORCPT ); Fri, 21 Sep 2018 12:15:51 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8LAPFDA033166; Fri, 21 Sep 2018 05:25:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537525515; bh=o42oR+cPzXSXz2nnwYCWDDPfzIB1x+eMkvxWlBXLaII=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BAU5Bherd0RDmlZd6/0Drqx+b9lQiiTTq5eEYnRpobjX3keF+XiPkNf22MDpU3+1q Xz7ve5boMmrp0nBAAcxFzeFVHLlrLc+Z3zRb8AR2BUUNi57o4T2A5khWfCDKuqH5aL 6WDd6CLU5+RNSROmPoCVPGjBMvJVHSlMGhQHfxf0= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAPFqM021583; Fri, 21 Sep 2018 05:25:15 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 21 Sep 2018 05:25:15 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 21 Sep 2018 05:25:15 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAMEtg032280; Fri, 21 Sep 2018 05:25:11 -0500 From: Kishon Vijay Abraham I To: Jingoo Han , Joao Pinto , Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Murali Karicheri , Kishon Vijay Abraham I , CC: Mark Rutland , Santosh Shilimkar , Tero Kristo , Nishanth Menon , , , , Subject: [RFC PATCH 38/40] arm64: dts: k3-am6: Add mux-controller dt node required for muxing SERDES Date: Fri, 21 Sep 2018 15:51:53 +0530 Message-ID: <20180921102155.22839-39-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921102155.22839-1-kishon@ti.com> References: <20180921102155.22839-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add mux-controller dt node as a child node of scm_conf. This is required for muxing SERDES between USB, PCIe and ICSS2 SGMII. While at that also add "simple-mfd" compatible string to scm_conf dt node so that mux-controller device gets created. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 957c9125a453..4379c370f6f8 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -7,8 +7,15 @@ &cbass_main { scm_conf: scm_conf@100000 { - compatible = "syscon"; + compatible = "syscon", "simple-mfd"; reg = <0 0x00100000 0 0x1c000>; + + serdes_mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */ + <0x4090 0x3>; /* SERDES1 lane select */ + }; }; gic500: interrupt-controller@1800000 { -- 2.17.1