Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1573781rwd; Sun, 14 May 2023 23:09:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5S9vGe8qvPvXk41xEXqoKV9IGDs17JWAzAJ7pHSlSPNUHf7BrI+ZcwA6UpdTmmagqj6+dJ X-Received: by 2002:a05:6a20:12cb:b0:101:586b:4288 with SMTP id v11-20020a056a2012cb00b00101586b4288mr24588570pzg.7.1684130950883; Sun, 14 May 2023 23:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684130950; cv=none; d=google.com; s=arc-20160816; b=Up2srTHjxk1AtUb+N0h8HqucH19j21j9iaUsj+IhOVbZEq5Fr5v1Mv6Mxryi8vAWX4 cseWEolUhkzXw83PY+gGdrRejWrdB/ACQJ2KOF0oWl/KQ8xi/9GmDSKDdYf0HfxBz5gr Smj3m4fcBm5MLfSBHd3E5r2HszXt3wmsXhtbuYeqvPP2PP6pe8ZUVC7DyzeS+O0xbspu goTTeBv3DrIdev/qS/xpkUWV78UShZ/qoJCImbzX7sNVhs237TiZQI4EYcjSr3oT4pDd h2ziBWfL14LS6rqJOwcVyFqejBGcWQIGNVXv3hBg6cXLttduF889BHkb7gZpcBNsyuD5 oLiw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pTV45Nc44Jpl0p9mX7mYfYtmuNLxWRaLA4blUzB8VEw=; b=VD+wyf1iOX44Ue4QiMLPGKSOB956D7I37jokqx223BOkKjhmIfi85JXJJhTweAnNG0 c5e0pq81tHkGSHD/Nvf8jzcPBubXH6uRDrrCLZ9dh8iILXQUsHGDgt7XqKTePt7GIbyH fkdWfwltFVU+019ky0qV7LGdy26fUxDI3f4jxO9e8aKgDOV+h5n5n16tLZrkY7v8HYPM p7nsmDDzohMaQAaUj/pH7dNlA5y0Z4GP60Tp7mD/zG1mMzHbxoQslURO7zh1PCHPsXRB 8DGco11Lr3pKP+XltO6b2As2jvqFXexnNeRp5+jKSnMCHBsr9ghBpuT7WPZiVhFldqxs kHiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=URpbXcPR; 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 x24-20020a63db58000000b004fc274006ddsi15453436pgi.670.2023.05.14.23.08.59; Sun, 14 May 2023 23:09:10 -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=URpbXcPR; 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 S239223AbjEOGDM (ORCPT + 99 others); Mon, 15 May 2023 02:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238763AbjEOGCc (ORCPT ); Mon, 15 May 2023 02:02:32 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3136196; Sun, 14 May 2023 22:55:48 -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 34F5tB5O127291; Mon, 15 May 2023 00:55:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684130111; bh=pTV45Nc44Jpl0p9mX7mYfYtmuNLxWRaLA4blUzB8VEw=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=URpbXcPRR/GYp6ocIzZG0mCDYAE9Nuc0FiaJF0qcfcD/6/OHdc6b6nS+WN3RFVV9Z 9YPeeMNrebGZEtVaa4jzArGFOUTPctYuIwHpLEAeo1MheSme4tP88INUqf3CoFOr5A sr6QWFvthUTlsyIwTtZrh8KgMIVUegQ85vHjknRc= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34F5tBjo055400 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 May 2023 00:55:11 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 15 May 2023 00:55:11 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE101.ent.ti.com (10.64.6.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; Mon, 15 May 2023 00:55:11 -0500 Received: from [172.24.216.170] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34F5t7be027448; Mon, 15 May 2023 00:55:08 -0500 Message-ID: Date: Mon, 15 May 2023 11:25:07 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v4 1/5] arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux Content-Language: en-US To: Jayesh Choudhary , , , CC: , , , , , , , Achal Verma References: <20230425131607.290707-1-j-choudhary@ti.com> <20230425131607.290707-2-j-choudhary@ti.com> From: "Verma, Achal" In-Reply-To: <20230425131607.290707-2-j-choudhary@ti.com> 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=-5.3 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 Hi, On 4/25/2023 6:46 PM, 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: Add reg property to fix dtc warning] > Signed-off-by: Jayesh Choudhary > --- > arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi > index e9169eb358c1..29be6d28ee31 100644 > --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi > @@ -5,6 +5,9 @@ > * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ > */ > > +#include > +#include > + > &cbass_main { > msmc_ram: sram@70000000 { > compatible = "mmio-sram"; > @@ -26,6 +29,26 @@ l3cache-sram@200000 { > }; > }; > > + scm_conf: syscon@100000 { Please check syscon address. Thanks, Achal Verma > + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > + reg = <0x00 0x00100000 0x00 0x1c000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x00 0x00 0x00100000 0x1c000>; > + > + serdes_ln_ctrl: mux-controller@4080 { > + compatible = "mmio-mux"; > + reg = <0x00004080 0x30>; > + #mux-control-cells = <1>; > + mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */ > + <0x4088 0x3>, <0x408c 0x3>, /* SERDES0 lane2/3 select */ > + <0x4090 0x3>, <0x4094 0x3>, /* SERDES1 lane0/1 select */ > + <0x4098 0x3>, <0x409c 0x3>, /* SERDES1 lane2/3 select */ > + <0x40a0 0x3>, <0x40a4 0x3>, /* SERDES2 lane0/1 select */ > + <0x40a8 0x3>, <0x40ac 0x3>; /* SERDES2 lane2/3 select */ > + }; > + }; > + > gic500: interrupt-controller@1800000 { > compatible = "arm,gic-v3"; > #address-cells = <2>;