From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BF2CEB64DA for ; Wed, 12 Jul 2023 11:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2TEqcNaeW1cgy/S5UVFqYnkqihMlw+pcgUFvrd1cGVE=; b=XbaA4qDIwvRpeL WrW9V6hibSjxGQeIQcTX8PrHHWN9LFCeMHKaJ3J6Ss2cV0F5ZCSZvWHvqHTGefw8MW0C3TQmasM2o wqvs+mWjKjBi4AQ+DfOsFg2+CLyA8pzsVEL2KuC3UhZH0V7MtvlVfXZhNlyyhKwsenoicmymKbxk1 7Gyp/WJ5OCIXts2TDS/Y3KiQFiDNaXoXTjPywbaGJoOP2E+8PWpDid3Elioq+eGc/OYQr1N4SbR7B It9lHekMH20mbTAO4woNQcYdESvzGF92Rav11DrYvcTyW1RMZdbgYlSF5GBCPo/fBgTqVeYCXWno4 k0auG+H7VoUkGvnsdfzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJXv8-00HOIJ-2B; Wed, 12 Jul 2023 11:22:10 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJXv4-00HOH3-3D for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 11:22:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4A07C61757; Wed, 12 Jul 2023 11:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C0EFC433C7; Wed, 12 Jul 2023 11:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689160922; bh=2f3WMUFJriM4eWQBGMsNH4BT/EkREVrNR4sI+CspH/E=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=j8BUqp4geJu2D1Qm8k0Xx3onP9FogMNzG+kkajjO8msvKWtsR6eQ7AgOAEIH8yaBk yGOYyOGBUtOOWX1nlTw518mN7kG+2ce66cTRxL+jxrpd2Fue6m+IfYpJluNjI1/Onq eCyJwLK2rJ3YZx6LKlq68hMApTOpS5TvgxSRffwfEAbHh3o/rP/KOeIhvNCkUxWIzO YC9l9XSfYAdDublFFvp/keoS6XPpI3kDt/6/slACVDQecDfqNjuuINzcgro0GpLdYu y5q48GUD4EHK2EzZzWVr2hHQzd+0cYijvVdVCWy15zdb9dSxNIOfpFxwEakSdhBCD+ 3aX4kq4amhfNw== Message-ID: Date: Wed, 12 Jul 2023 14:21:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.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: Krzysztof Kozlowski , Nishanth Menon , Jayesh Choudhary Cc: vigneshr@ti.com, krzysztof.kozlowski+dt@linaro.org, afd@ti.com, s-vadapalli@ti.com, kristo@kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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: Roger Quadros In-Reply-To: <1e3b4fa4-6de7-e7bb-f1f7-266a73d87fb0@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_042207_133152_331A02A7 X-CRM114-Status: GOOD ( 20.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 -- cheers, -roger _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel