Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2905312rwd; Wed, 14 Jun 2023 08:43:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5N9VIOWPpwxQ9c4rmiBv2aYUR8MwEHQeonXSNHIRpfxBUnGH8CK47d48Gkv+XB2IXVfcAj X-Received: by 2002:a05:6358:f0e:b0:12b:ed05:18bb with SMTP id b14-20020a0563580f0e00b0012bed0518bbmr7463202rwj.27.1686757421407; Wed, 14 Jun 2023 08:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686757421; cv=none; d=google.com; s=arc-20160816; b=RYB9pR0t8pWEB2GX3wZNCPvYujMNeLkL5+zUAo83MuVQOrhnRn1QHYZec0FTz64wgu a21P0PB0BL3mUpxYTxrC3uxmZMfUDb63t6O04XloVHF/pVK3DwqI8UVN/VCswbXdP4Hp hh1x5RIfUhfS8z4psOslQIKAMtdrj6moqxkTV61C51uGIbjutS8+Ac1xVKJBLJFILbDc VyVqpHjh5QV4F2mQ1QdIjCvvwV7X9qQdb7or9wrix+movKbfY6BbJMlFY7MB49/kS+fR 00rfcT3D8MknOvvqQOQhV7sKmVF5dAwEjDI7Y+GoG0W2sosMca2upMpTn5sNNNuGMEJ4 xvyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vWP4PFS+zDyWMiqzB2yfg1frOzq0CuDFMJpYgIkt6f8=; b=ahqhQaYURhY/i/SCsaBpO5IxUX9B9uNv4PE4fa1dz7YpgmbUP7Xaz233xZvDwjGmoT HTpKH0tevCXF8SIkZFW7Yx51TTxvNV+C7z8zXo6VWFwM1IBm/KMN7GqSWSc0He1svM2N 6vPe/wFeaU+kja3NqmqUSfWrbDxZxPtuGZGPaIdp10UYMXQCk/NPwwOZVl5iYqsJnaol mFIx4y/YMkHeY9AjiDlFMhrlYxkG+QNZquzEahh6Nqc8LTFsURr8NOy9yg+RUa25xbHZ Py/2t0XgfOAngMrSmpv0hgn9FGedTe2dyX0uRWp+qtGwbHB2hFQE6Y+7yTv3iGqizdtA dLXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e3LNvXuG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w26-20020a63935a000000b0053b8570baafsi10692621pgm.444.2023.06.14.08.43.20; Wed, 14 Jun 2023 08:43:41 -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=@kernel.org header.s=k20201202 header.b=e3LNvXuG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244548AbjFNOr6 (ORCPT + 99 others); Wed, 14 Jun 2023 10:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245275AbjFNOrl (ORCPT ); Wed, 14 Jun 2023 10:47:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 863A3107; Wed, 14 Jun 2023 07:47:40 -0700 (PDT) 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 18FEF6431E; Wed, 14 Jun 2023 14:47:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB20DC433C9; Wed, 14 Jun 2023 14:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686754059; bh=YBvoPI/IEVtbY5FNxrgQvaHMUweYY58AfZfxW/FUfzs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e3LNvXuGGMNQtEoM1FFIbIMA86EOKQwXEt+3tALeKxbJwddDvByyh87z716lOdEGC ay6V6UsAWKdIpfQeOHUTj6uRCRuxoBSQ/ETGAidKLmmAZaEKJNYu7cWBppubt22OZZ qs7CsgD6eYxPn/6tp8A8zc/IMx9Wwqni4eq6r2HIflQzfEAn2bw6+gBVmE50N1J2VT xdtONfXgAZr/MN4pOsv/pIk3cO5LxiMXaxi73cLALIFbTrJFx3D++N+lWZ75xNd4yO zo3zVf4keiHIC1Lp+4V1UkRY9UGYRsboF0z0HH6nx3D0gBBtowUDJNQ1wU4JmuqIAX iiI/VHltBNFtQ== Date: Wed, 14 Jun 2023 07:51:00 -0700 From: Bjorn Andersson To: Konrad Dybcio Cc: Bartosz Golaszewski , Vinod Koul , Bhupesh Sharma , Andy Gross , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Bartosz Golaszewski Subject: Re: [PATCH 24/26] arm64: dts: qcom: sa8775p-ride: enable the SerDes PHY Message-ID: <20230614145100.xgkme7or7k2i552d@ripper> References: <20230612092355.87937-1-brgl@bgdev.pl> <20230612092355.87937-25-brgl@bgdev.pl> <0a57a9ad-67ab-cf1a-9bb7-c645de833450@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a57a9ad-67ab-cf1a-9bb7-c645de833450@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Tue, Jun 13, 2023 at 09:02:23PM +0200, Konrad Dybcio wrote: > > > On 12.06.2023 11:23, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Enable the internal PHY on sa8775p-ride. > > > > Signed-off-by: Bartosz Golaszewski > > --- > Reviewed-by: Konrad Dybcio > > --- > > Bjorn, Krzysztof.. I was thinking whether we should even be disabling > such hardware by default.. > I'm in favor of keeping the configuration as generic/common/simple as possible. So I like your suggestion. Regards, Bjorn > Things that reside on the SoC and have no external dependencies could > be left enabled: > > pros: > - less fluff > - we'd probably very quickly fix the missing PM calls > - possibly less fw_devlink woes if we fail to get rid of references to > the disabled component? > > cons: > - boot times > - slightly more memory usage > > Konrad > > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > > index ab767cfa51ff..7754788ea775 100644 > > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > > @@ -355,6 +355,10 @@ &qupv3_id_2 { > > status = "okay"; > > }; > > > > +&serdes_phy { > > + status = "okay"; > > +}; > > + > > &sleep_clk { > > clock-frequency = <32764>; > > };