Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2418817rdb; Tue, 14 Nov 2023 23:16:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPwZNfwxTzLP/aBGL+f95PBGgWhtydw+ywja0b2jynJ/O1e0mc10hqlcFpUfvyVpiQZTXN X-Received: by 2002:a17:903:22c3:b0:1cc:ec22:5a40 with SMTP id y3-20020a17090322c300b001ccec225a40mr5277640plg.26.1700032572272; Tue, 14 Nov 2023 23:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700032572; cv=none; d=google.com; s=arc-20160816; b=e76KTSCOboMV78bpBmu8jzPeRPugP2fQko3qHa8zuQ9qo0oBZd+EE7tpMqnt5qA+8N JWd+320TtXsSynuQFizGrlAkCLMW9LLTy80LSLfB6NqhI0nganxwE+5KRpGvWUlD0hWu bRuCHZX6ytMtbCREzFVxhHMqfDSZU6HOcxp+sVL5XkE2caKf6ozF8/gmzVZ1Lkq/4a7A YFMyvXiEIKnjPwdEqmw4gCzj9hDcct9nAeZ/QbQbgVVm5nMNYAJJWx3oTdylX3En2tGz 5Fq79WGGAMhpnR1F1E/x/Frn0v6VDviD/fOjoihFbsEjnjrzag34FF9/xhsxdxGTNRso HAPw== 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=QEHM1vP2JeXvfyTfsLuZUfRJtNQwGk3ooFU2YFNGk2o=; fh=MFnabT3Jic+ToKTAlaP1nd4ojaVV6YFaI9kf1zqmEaQ=; b=pg53TnE7XBASIUMH//1ySa3s8kb4YYWyRQZTYMWQBehvXzNlFq8Sk3m51EMN/TBe8J DkZoakJx878GQncUEonWxPf3hVOOm++CtpxIAZuLCdDWAi12VhcRBeGgvDiZH6sa7/hz liSA5u3Xb93DBywt5TWiZZsvKYpVpGMuTSDLKwj7G2NPhXtJr4J69bN35EZFNLsCErEg PVEkVkMZXV46vzXU6Gn2qKw3HEKghJ1+zCPrVv2ODw+vcRXEPunW0W6Rf/l0U4RPlwtF z+SucwNxOTw7E3VZQqnQ8UTkskaLfUnMomeFIoXXxq+ukzpT3NeFraaCHTaN4YyESoJz SH8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e7UTwy6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ju22-20020a170903429600b001cc13895130si8879573plb.632.2023.11.14.23.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 23:16:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e7UTwy6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C4F89807899A; Tue, 14 Nov 2023 23:16:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234619AbjKOHQB (ORCPT + 99 others); Wed, 15 Nov 2023 02:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjKOHQA (ORCPT ); Wed, 15 Nov 2023 02:16:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1EF0E9 for ; Tue, 14 Nov 2023 23:15:57 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38327C433CB; Wed, 15 Nov 2023 07:15:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700032557; bh=MqgzQQOu8k3naqWebde+daNwOSL9eli/d3myBSRtR24=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e7UTwy6SU73judLJIIm68X2W3qJppWcb4CM6fOQeLWa1Gt5Ev0KQk9ojN9NCJtKjR Hw7u1aLwf0STckZ98EOd1CAnDPmo9QR1Xv4a2HnsKxOny5Kg/vwIphr17srpvZuqtF e9471oeN9SFLWOSE8IFejUUd2O//US+rmSWJISf+XCGKfDv6t2254rKR0TCoE02qNb tSpGvM0FrlP4Bi14MHQvSrOAZgvkmYprfwnWA0PGqYgQU0QmEYUd43Ls8pguP/Y8G4 URBRg8WM/i+kl+dzhGJyMkZqY5LqzW39fq+kB0e7NlixQ5LiAvAq6dNtBqvcPYyWle 8ZB3rR7YqE/DQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r3A7t-0007rg-2A; Wed, 15 Nov 2023 08:15:53 +0100 Date: Wed, 15 Nov 2023 08:15:53 +0100 From: Johan Hovold To: Elliot Berman Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Baryshkov , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: phy: Document sm8450 pcie phys as having 4 clocks Message-ID: References: <20231103230339.966792-1-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231103230339.966792-1-quic_eberman@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 14 Nov 2023 23:16:10 -0800 (PST) On Fri, Nov 03, 2023 at 04:03:38PM -0700, Elliot Berman wrote: > I noticed while running make dtbs_check that > qcom,sm8450-qmp-gen3x1-pcie-phy and qcom,sm8450-qmp-gen4x2-pcie-phy have > 4 clocks, not 5. There was also a typo for the 8450 bindings: > s/gen3x2/gen4x2/. > > Update the bindings to reflect the correct number of required clocks. > > Cc: Dmitry Baryshkov > Fixes: 505fb2541678 ("dt-bindings: phy: migrate QMP PCIe PHY bindings to qcom,sc8280xp-qmp-pcie-phy.yaml") > Signed-off-by: Elliot Berman > --- > .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > index 2c3d6553a7ba..1768f2016a9f 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml > @@ -128,6 +128,20 @@ allOf: > reg: > maxItems: 1 > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,sm8450-qmp-gen3x1-pcie-phy > + - qcom,sm8450-qmp-gen4x2-pcie-phy > + then: > + properties: > + clocks: > + minItems: 4 > + clock-names: > + minItems: 4 > + I'm not sure which tree you think you're looking at but this is clearly not correct. The phy nodes in arch/arm64/boot/dts/qcom/sm8450.dtsi have five clocks defined. Johan