Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38347280rwd; Wed, 12 Jul 2023 06:34:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlE8MBwW/4I2J3vkAXvFQ+fmrf4SGDd5nUvkhuBWrztWt6TZ/JfrCCKUbn1x+3DeBbDbf3wd X-Received: by 2002:a17:906:1c:b0:993:ecae:1773 with SMTP id 28-20020a170906001c00b00993ecae1773mr13109871eja.42.1689168893505; Wed, 12 Jul 2023 06:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689168893; cv=none; d=google.com; s=arc-20160816; b=zWnpm/PsDI2Y6PVkjwr7Da2Kc4uz8VUNnEglrKeZ4lpABfW1vsv1TaGKhQQeZ03z31 B2Yr1bEgN4ClFOkSBr5oFnOm2PqREXxjgI9cjpIBg9j4j95bS4LCSKvoEHax3jmJNkyX SAylWwT5Qd7KYo9U8F1J9y/tvRdy0dXHUOuxdChzBnhJ8J8yJB4mMU67kja/ZkvZeyCv k1zwQHM18cQuDO2NT0Bi2e8zJddu9RYd+9fpFcwN4PIwPjX/1tlja2IBEI3dJeisc384 IBGR/W6TrDPJyUu7QL+9cGUBomWxfIE0zt0OKPUUTeBR7b2ES59cWWK2Ye8Z7UJra27c sCMw== 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=spNPRZC8sNqm2PQf0XbXqwzo32+EsCDsDsMeIh9M4Z8=; fh=6BDx+9wyjMKhlGOL20Qap/0p25RCb/xsqriNbjDbSS4=; b=F9Lo1wcgsxKgzsL48c3CGHqCAuIALPysVfmYScyLR5wKvXqKX6sCkbAEapErGMlUXl Y/y7aP+mdsL+NOcm8zh1iwySgf7j66n2jNSp7e/sjErQ+C/ulzJkWM71i7+Az65/a5jk b/0UXcf2eOJUtUnB4/WIJEkTAh3MBf4X/nhnOtXqrAJFq2A8MmavV7zFAzAQnpCE4TES nrZ+k3rA1hcHwp556fkKs03sIl+eb0oYljwV41qfl9wFzM6CaKaRHxezmiRlwdPLyozJ kozdriDcW3QcLsN2MRL5CvhW/SkrY+ISZQ1JLZX9mPQCTztf+zsFHa3XRAHmc2dsXCVO T52Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jMx6srzw; 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 qh11-20020a170906ecab00b00982ae63c471si4538532ejb.165.2023.07.12.06.34.29; Wed, 12 Jul 2023 06:34:53 -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=jMx6srzw; 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 S232674AbjGLMoX (ORCPT + 99 others); Wed, 12 Jul 2023 08:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbjGLMoW (ORCPT ); Wed, 12 Jul 2023 08:44:22 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50131170E; Wed, 12 Jul 2023 05:44:21 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36CCi072074962; Wed, 12 Jul 2023 07:44:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689165840; bh=spNPRZC8sNqm2PQf0XbXqwzo32+EsCDsDsMeIh9M4Z8=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=jMx6srzwxb/krEsgytQxdgYR90Wj5DndQ6KGyDaxcuzfJJ09W3e1X3F3hsB6sMj92 Z4CAWCZJpt9F/o7jeqAI5QVw0obe7ZFZ0jc5jjTQ9CoRB4SXolJBg0hbL59V8Em2VU 5joebqaNcwMnYWPDo1nTjzKxmvQRWThq1CFU4EXc= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36CCi0pL017505 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Jul 2023 07:44:00 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 12 Jul 2023 07:43:59 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) 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, 12 Jul 2023 07:43:59 -0500 Received: from [172.24.227.112] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36CChuwa070068; Wed, 12 Jul 2023 07:43:56 -0500 Message-ID: <5d2ec125-1f05-2316-1e9a-24b5d85aa4c9@ti.com> Date: Wed, 12 Jul 2023 18:13:55 +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 v5 1/5] arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux Content-Language: en-US To: Roger Quadros , Krzysztof Kozlowski , Nishanth Menon CC: , , , , , , , , References: <20230710101705.154119-1-j-choudhary@ti.com> <20230710101705.154119-2-j-choudhary@ti.com> <23833669-b9f7-94aa-ea42-56843842cba6@linaro.org> <20230711153144.jvofubaez5uoog5p@unmanaged> <1e3b4fa4-6de7-e7bb-f1f7-266a73d87fb0@linaro.org> From: Jayesh Choudhary In-Reply-To: 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=-2.2 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_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 12/07/23 16:51, Roger Quadros wrote: > > > On 12/07/2023 08:44, Krzysztof Kozlowski wrote: >> On 11/07/2023 17:31, Nishanth Menon wrote: >>> On 12:01-20230711, Jayesh Choudhary wrote: >>>> >>>> >>>> On 10/07/23 17:13, Krzysztof Kozlowski wrote: >>>>> On 10/07/2023 12:17, 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 2ea0adae6832..68cc2fa053e7 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 >>>>> >>>>> Why? What do you use from that binding? >>>>> >>>> >>>> Missed idle-state in the mux-controller node here for default values. >>>> I will wait for more feedback and then re-spin the series. >>> >>> btw, I am wondering if ti-serdes.h should even exist in dt-bindings - >>> are any of the macros used in the driver? or should this follow the >>> pinctrl style macros that could happily reside in arch/arm64/boot/dts/ti >>> ? >> >> I don't see any usage in drivers, which is a clear indication that it >> might not be suitable for bindings. What are these values? Look like >> some register values, which there is little sense in making a binding. >> >> Best regards, >> Krzysztof >> >> > > You are right. They are constants not used in the driver directly. > mmio-mux driver uses it to set the idle state of the mux via the > 'idle-states' property. > > I agree with Nishanth that they should be moved to arch/arm64/boot/dts/ti > Then I will do the cleanup for all platforms and then post the dependent series before spinning v6. Thanks and Warm regards, -Jayesh