Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1660306rwd; Tue, 13 Jun 2023 12:11:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/iYlINDrjV4JGbhfbvMmSKTRnmONDzESgkVxz7DYOQHYetB+lRdayWa7vRMz+Uxc7yZSB X-Received: by 2002:a05:6a00:124c:b0:64f:35c8:8584 with SMTP id u12-20020a056a00124c00b0064f35c88584mr16661499pfi.18.1686683505286; Tue, 13 Jun 2023 12:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686683505; cv=none; d=google.com; s=arc-20160816; b=DAOOTOGU7E16Tl8uCdfZzMk/iuqFdMy1fHs1FJAUFgqgK46FJZd3P8k24qa8SE870r GIvnxC210JpQko9x7+wo4DsR2/WjEqIeuOTZvAOkPLpwu79g/2lHaEmuvEtvy2KdHS8C /Z603364URQxpA+pHDk3vstiK6TDY8qeqbHYJ23ns9zisxxaPfwo10wLCELJDoQNEVjb 8IROX5UhV3jy8q5mu55YAvxZmKX9KsplG8smLptP4X2qHgg6M1iXCRpejZCl3rsB5/dp A/TVW4mqkWWjkKHHCCeY/EKV33ZyXKXJ397e70Sp48qNGg1uEKet702UuZi/ZvEBLfYC 94lA== 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=2EVZcCPFB1GTJ+QWap3KhHJTy/gr52NKGXQAEAB4e6g=; b=TRf6WcgjtvZFIvs2g9BKS7E3b++ls3l3B6rgLcYeK3PbJWzBUag80gI1ZOdd9EGBpm /eQ0a1Eor4A2s7rR7SeuVShlrDFT2f/AHRHMdPzolxRcvnLcRxbrIpSDg/YBdVfbvtZF nVjAQmc/9Hhdxv5v/NKzLDq/X4SFJmRiHdGXqY0bn2IJrQkoIJ+De7cV6Fbd7ENMcBPr GcLV0Pbjd/ygZ71Dnxi9HJrEwtQ47pbGwbtfau2v7tV7kVzRSgdk293qPKb567NDJdp6 t+zi/g/1Wd22JCkkMU0sYa5amoGOqZtU0baERTZpxu8m+ytLRG1kmHLkYR5T72g3VB5F hRVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d1DaQKWj; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p22-20020a639516000000b0053439c1712esi9447182pgd.713.2023.06.13.12.11.32; Tue, 13 Jun 2023 12:11:45 -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=@linaro.org header.s=google header.b=d1DaQKWj; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240388AbjFMTCf (ORCPT + 99 others); Tue, 13 Jun 2023 15:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239762AbjFMTCb (ORCPT ); Tue, 13 Jun 2023 15:02:31 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3061BF8 for ; Tue, 13 Jun 2023 12:02:29 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b1a3fa2cd2so71716631fa.1 for ; Tue, 13 Jun 2023 12:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686682947; x=1689274947; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2EVZcCPFB1GTJ+QWap3KhHJTy/gr52NKGXQAEAB4e6g=; b=d1DaQKWjqf0ITS2F+w4PLAzozKd3B2kVEP+nM0xGjvFWXaDuKQZ5/EBkiiIvK/g5d3 nk37E0ZroYqpL3NOw6Jmo6h44Ub5TLb2ZtLRE5aBNmEF8tkGfpyYppmg7E/RbH1egjVM RrRDPmZGgVucBOsBf3vDDqLEP9HfwjfY5nIyldccS02j3inZljQJzsS3LGP6CF/0K+4C XYR6RxrUel3RHQ79ZDG4oa5w3twaAUZjKzjYngWvvIv3yRxhVQpGMpo99U1sQNKHcdQ6 F1j8bxAgKZXNk55/5sf5pnSVplpGCeBIaRlFhKN+m4y73YOPLFXxip8YhQWc7vLnfnyr sppQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686682947; x=1689274947; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2EVZcCPFB1GTJ+QWap3KhHJTy/gr52NKGXQAEAB4e6g=; b=F2O8xD9kk7DF7Gbdb+fLLmXGf3ayLBtqNR6Coyae7zFYaSodG3skaLVLGds/nfe7fa bk9QWdaz2mpUpi4BtoikwypFvC3dzDJlCDnDXcubflb747x0rfF1jEBMPneEw/oeBVRd M4DBbeQLXYlDKTwA8ZMcxsceT+D4vVvIE7LhyA9Sj7WlNIvCKhTM8dQeiTr0rsrEmlV+ F/IFUoamv9Ju3wUDAXBlGvrOve6hR4MrBIrs5OMqfMgbJYg1Befdqd8yydn0a8gj/kxi fDZorkkEV/MHKc7eb7mJxD5dIDpFJ/KujR+qg+riXE+4CN4iLN9qhcsDrsbveughDtcb TKeg== X-Gm-Message-State: AC+VfDz4R8CMbeWXRAHvxslPHkVQn3Ibc7FzZ6A/1Zy2CfKvycGl+99R t33qzz6JgW5B9OnxW1QcXpjd4g== X-Received: by 2002:a2e:9096:0:b0:2b2:16:45e3 with SMTP id l22-20020a2e9096000000b002b2001645e3mr5023381ljg.53.1686682947178; Tue, 13 Jun 2023 12:02:27 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id d7-20020a2e96c7000000b002b1ad0e7357sm2258898ljj.51.2023.06.13.12.02.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 12:02:26 -0700 (PDT) Message-ID: <0a57a9ad-67ab-cf1a-9bb7-c645de833450@linaro.org> Date: Tue, 13 Jun 2023 21:02:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 24/26] arm64: dts: qcom: sa8775p-ride: enable the SerDes PHY Content-Language: en-US To: Bartosz Golaszewski , Vinod Koul , Bhupesh Sharma , Andy Gross , Bjorn Andersson , "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 Cc: 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 References: <20230612092355.87937-1-brgl@bgdev.pl> <20230612092355.87937-25-brgl@bgdev.pl> From: Konrad Dybcio In-Reply-To: <20230612092355.87937-25-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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.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.. 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>; > };