Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2205253rwb; Thu, 27 Jul 2023 03:58:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9Q8j8oG+RAYwsFXtuk/Fm6dlYE0n3h+OGNd0HYpcr5grUIoBbMyliWIGwme+NHehKVSRq X-Received: by 2002:a05:6358:341b:b0:135:aed4:99b4 with SMTP id h27-20020a056358341b00b00135aed499b4mr2100269rwd.4.1690455511150; Thu, 27 Jul 2023 03:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690455511; cv=none; d=google.com; s=arc-20160816; b=Rh17Xt1U5tEsV62zS97IKtUjh19j9wJHchYN6X2/9I3CgB6RW5gOaPxNCd5ecN8DLO UknWkWRRfPQ9KZdyjpaXs+O9cKDujWh6KxnruQW5JNitu83MQNUqXet5MI+Z8koIUgOw DuMEWlBIvHqVbe92yw6ociSRELtSnkvMGcRd5+Kq3C/68a4sRiCLRX2mufkFlpJolY0f 8H7uKUKMdbqpaUyMVh5anqZAQb+vZk84Uls9cGPrUXq3SMpzrCeTtJ56xNtUbr1GzOf7 0oCKkg2TsTj7exdAO2T3nTwQoNzcdSUWoIvZ2AWxNV5N1ChbS1hSIqWghGbqQBj79UFd x2dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ooeccyvsVXfCMQ9wq+972jkA4kcsgxRzj3C2kH4HnLI=; fh=GLvWQ9YSEn4zldOTm8G9e5RxK5dgyYpMC/4qw77kpBE=; b=uoYGUL511UIEAg220gbPOIctxjNUnaRmptiWwoekrFPKkzOulhTGjs9973eFb5+ilj eTZYpFdggROeAAFd1AnLuRcUnMMEZ5zpZ73FErlsajBtbN+d77P16m7FYwB75nrQKN+F 7u7rmIfIkIapXqX1fDP+sDhIuUi4BbdnC1NqSeBynXLmtcDpA3/Y0pmimXiTkRq/g/Ht 242qIwXw+cWvVC7mLmSrqiB9ArSZxRBm/0AHPwXXtov+ZlrsBySxIUeOSdXZ/nZWLkc7 8CFB8GwePAKSwOstfoCXbOHwcdt4D3w3HxwyiugjhMpFSNCve04/89qn8M8dgffIR/Ii s9mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D7ipi7ED; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u191-20020a6385c8000000b005638355e990si1143620pgd.410.2023.07.27.03.58.19; Thu, 27 Jul 2023 03:58:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=D7ipi7ED; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232663AbjG0KT1 (ORCPT + 99 others); Thu, 27 Jul 2023 06:19:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233367AbjG0KT0 (ORCPT ); Thu, 27 Jul 2023 06:19:26 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CCF12685; Thu, 27 Jul 2023 03:19:13 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36RAIsd7071743; Thu, 27 Jul 2023 05:18:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690453134; bh=ooeccyvsVXfCMQ9wq+972jkA4kcsgxRzj3C2kH4HnLI=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=D7ipi7EDOT4B9vmDtI/LDKiue8UuupiqqtCkb8UPHUJs7MZqfPowt7OqiBLauwK+d ANe+ZcqkfUOhcAEH1B0SdRgzOjf2xIdi7VKc0c/MI7qm3hTJY530it1NZaQ1SxN8Vs 5WCHou2pUmr2wNX8BWST+G8sPwAgTs+IvmnhSDyM= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36RAIsU7111544 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Jul 2023 05:18:54 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 27 Jul 2023 05:18:53 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Thu, 27 Jul 2023 05:18:53 -0500 Received: from [172.24.227.112] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36RAImSJ012133; Thu, 27 Jul 2023 05:18:49 -0500 Message-ID: <5f5269dd-3cff-6fff-909d-355c190001d2@ti.com> Date: Thu, 27 Jul 2023 15:48:48 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v6 1/5] arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux To: Nishanth Menon , , CC: , , , , , , , , , , References: <20230721132029.123881-1-j-choudhary@ti.com> <20230721132029.123881-2-j-choudhary@ti.com> <20230724165220.kbjo7t5vthurqeuj@spokesman> Content-Language: en-US From: Jayesh Choudhary In-Reply-To: <20230724165220.kbjo7t5vthurqeuj@spokesman> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/07/23 22:22, Nishanth Menon wrote: > On 18:50-20230721, Jayesh Choudhary wrote: >> From: Siddharth Vadapalli >> >> The system controller node manages the CTRL_MMR0 region. >> Add serdes_ln_ctrl node which is used for controlling the SERDES lane mux. >> >> Signed-off-by: Siddharth Vadapalli >> [j-choudhary@ti.com: Fix serdes_ln_ctrl node] >> Signed-off-by: Jayesh Choudhary >> --- >> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 40 ++++++++++++++++++++++ >> 1 file changed, 40 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> index 11f163e5cadf..5a4da4eb8d3d 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> @@ -5,6 +5,10 @@ >> * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ >> */ >> >> +#include >> + >> +#include "k3-serdes.h" >> + >> &cbass_main { >> msmc_ram: sram@70000000 { >> compatible = "mmio-sram"; >> @@ -26,6 +30,42 @@ l3cache-sram@200000 { >> }; >> }; >> >> + scm_conf: syscon@100000 { >> + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > > Would'nt a simple-bus work? > https://lore.kernel.org/all/20230605205220.rjmcsi5tjn4auqa7@arose/ For serdes_ln_ctrl it will be okay but for phy_gmii_sel, we have dependency on [1]. So I will drop main_cpsw node (patch 2/5) and then re-spin it with "simple-bus" compatible. CPSW node can be taken up later on when the driver changes are in. [1]: https://lore.kernel.org/all/b16568ec-0428-981b-01ca-571cc5d52704@ti.com/ Warm Regards, Jayesh