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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98524C433FE for ; Thu, 6 Oct 2022 14:38:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231292AbiJFOi4 (ORCPT ); Thu, 6 Oct 2022 10:38:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiJFOiv (ORCPT ); Thu, 6 Oct 2022 10:38:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1E8AE861 for ; Thu, 6 Oct 2022 07:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665067126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5O7C0eVcueYILC/8tnxwgVOGnNG5SRbPBQweUSiv/BI=; b=PSnJWR40BJrBrvVHg3aQOx5zU2xuCVwWRRes3KufxViNAnMgR7SbVEy7PeMkVBs5RketN9 hUuQEuXj+f38sxBnYbd3SbOPgV5sK64+vq9nCTxCSYxyaivqy1n4O61Pic5237SdRQhbQJ VN9Ixy+uqxjgktTqRYOa+A42v9FR+Xw= Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-125-L_gwkVIrNP-hMnbOgGA2Gw-1; Thu, 06 Oct 2022 10:38:43 -0400 X-MC-Unique: L_gwkVIrNP-hMnbOgGA2Gw-1 Received: by mail-io1-f72.google.com with SMTP id j20-20020a6b3114000000b006a3211a0ff0so1236012ioa.7 for ; Thu, 06 Oct 2022 07:38:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5O7C0eVcueYILC/8tnxwgVOGnNG5SRbPBQweUSiv/BI=; b=oGoxvsqHz1WiQARS+j9Cvo8X3KzGCwUc7VRI297R6Y9OSlcx4yGmYHFVxNahYUAxLo Ju2EOgtSAPrSEcTm5WF6nduZnJnFwaB4T9Ft77npVJh932EKspinerYkp4JGACYQ/4TH LHCLTnqQx9tssb0o9C78tcGRaB6tgmTB9Xbu0dW6MuEFmOMKbyHbK7wecbAa2G4FmvKN GxsDCS2hGgqMJI7mHQKvMlUMtoxw+FHys024EKSaVCC4uLSbOCjyMUVxZic7fhKsJmVn CcZuDrHdm83993xeLrVsvm/qYo+bY5M63JCjgPisWelTLNuQSojnaMRFeLGEMkV+/CMl tpsQ== X-Gm-Message-State: ACrzQf0L1E62zBL6F0tEv74NxHJv3ItxcCfoOF30bmYNXpzt8Qt+/8mP ZmqCOD4NbyAnLvamjw6w90g83WQQZvEZrlOymy0loksMiJlVcsBA+UhGButUkOs0Vv9lCTWFp8N HL1saouib5rSqrpmAAtlIQKe+ X-Received: by 2002:a05:6e02:6d1:b0:2f9:3901:933f with SMTP id p17-20020a056e0206d100b002f93901933fmr964ils.64.1665067122703; Thu, 06 Oct 2022 07:38:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/3L6ZorP/J1u+HdUyVBa0ZkXXbZ2hdZ2mtjO1HTpC2EG36vGGE8GNBnxR6ZXhha3GG873gA== X-Received: by 2002:a05:6e02:6d1:b0:2f9:3901:933f with SMTP id p17-20020a056e0206d100b002f93901933fmr954ils.64.1665067122540; Thu, 06 Oct 2022 07:38:42 -0700 (PDT) Received: from x1 (c-98-239-145-235.hsd1.wv.comcast.net. [98.239.145.235]) by smtp.gmail.com with ESMTPSA id m37-20020a026d25000000b0035b3e0a3243sm7415073jac.57.2022.10.06.07.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:38:42 -0700 (PDT) Date: Thu, 6 Oct 2022 10:38:40 -0400 From: Brian Masney To: Johan Hovold Cc: Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: fix ufs_card_phy ref clock Message-ID: References: <20221005143305.388-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221005143305.388-1-johan+linaro@kernel.org> User-Agent: Mutt/2.2.7 (2022-08-07) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 05, 2022 at 04:33:05PM +0200, Johan Hovold wrote: > The GCC_UFS_REF_CLKREF_CLK must be enabled or the second UFS controller > fails to enumerate on sa8295p-adp. > > Note that the vendor kernel enables both GCC_UFS_REF_CLKREF_CLK and > GCC_UFS_1_CARD_CLKREF_CLK and it is possible that the former should be > modelled as a parent of the latter. The clock driver also has a > GCC_UFS_CARD_CLKREF_CLK clock which the firmware appears to enable on > the ADP. > > The usual lack of documentation for Qualcomm SoCs makes this a highly > annoying guessing game, but as the second controller works on the ADP > without either card reference clock enabled, only enable > GCC_UFS_REF_CLKREF_CLK for now. > > Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") > Signed-off-by: Johan Hovold Reviewed-by: Brian Masney