Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp530089rwd; Wed, 31 May 2023 01:36:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57Ji6S/g4nX/wPDO5HR7d3OpflXDwaC2yKXiggI30W7hJaQCKYdcfsaCg7De0CyOR0sY3B X-Received: by 2002:a05:620a:4415:b0:75b:23a0:e7a8 with SMTP id v21-20020a05620a441500b0075b23a0e7a8mr6051062qkp.9.1685522187085; Wed, 31 May 2023 01:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685522187; cv=none; d=google.com; s=arc-20160816; b=xK7eYXndTd+xBRyx6rzEnBm6qqixxny3zb1x1q013bcWRdkEVx9dkF+SumPiS0nqg1 +x3EiTH2cIM2YYsB2kT10lD8GEWv83c1Wch5bDtSD9KdeLZJt0pFBWll/A076c8hKP4n /F6BcUHL2NmkqWKe2itsBzHOHEGv4cK8LQZkBxgDhMPUYnVfo3NgWBzCJXnqqqJ8TXuj gRCpx898L1FAEU2VrzBnshce51MWlj5W4eZo9ZqbX+ECHreYqmTgC4VJz5bNcGvZeAuL JwlVd6QVoRpDYEKOmjg2D0rHcaRn4ub2A1/tDi0n23XnhFmr/MOteeYdcbpnG4qIgRZd ehDw== 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=17G7fgccZw26IuKEnhcF6apgAkC9GALykdO8V5FR4Zc=; b=HJV4LGP+poxT4kB9ejSAOcXFZFbtxWP7Gv/PPoynRG6eZ9q6m/75AMcPEqptWetC/n zu83ZR0tMT/kfOFv8c6GrH4MaPEneoO6UPmWBcbGeVySIA3qIrbMBW7NR8lK2ZpBB0F8 JFht2CnAr7+8mgzld9ZGkUFCVBEUOS74zWkfv34rT+BzGNfQaGUE1MJrkr7vbkgXnFow P8UnASZm1oR853e4rpaoC3Zji7KudGkysA7O9tI1TAGbac4DKiN9bzVz6bT6Kx9GZPvc CMui24W82bAt8NMeE/J1LH9+pX0xUI7+0yG2f4LVTG+Wu0eEa7VbbKSZN2mFhAq6j+TT Z4BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jIe6mWyU; 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 bs125-20020a632883000000b00517ac1a9a63si625364pgb.129.2023.05.31.01.36.13; Wed, 31 May 2023 01:36:27 -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=jIe6mWyU; 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 S235179AbjEaITZ (ORCPT + 99 others); Wed, 31 May 2023 04:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbjEaITW (ORCPT ); Wed, 31 May 2023 04:19:22 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8C0E93 for ; Wed, 31 May 2023 01:19:20 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-96f7377c86aso956593266b.1 for ; Wed, 31 May 2023 01:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685521159; x=1688113159; 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=17G7fgccZw26IuKEnhcF6apgAkC9GALykdO8V5FR4Zc=; b=jIe6mWyUFq7h8o883sjF4wSXtBDd+bizNgKp2DtJauDCvI5g4VWQcvYx3wxWVLtPmq DwxwtXoa4Pog0Kchm7HKAqaML2QCVDfxTVIcZHUx9Q/nXjFeLO4p5BqWeMEiRSDRuBf3 +EiqsspEnZsz+874OwruO1KbzkrW3v4QC1KeQeCafNQfI7P6qZ9NN8ZfNXxz8LENrZi7 BQOTVODkD57MOtE1Jal69BticPl3JoW1oYtUQc0AFU7i65yvtcqSrP4CKXZubagVbX9V Td+OXZhyQk78D6E96Up6MMmP+hEKuk/bOjpPYjVPN/bb4Zuc1GWL7283Mxxh0pQIGqkK M3+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685521159; x=1688113159; 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=17G7fgccZw26IuKEnhcF6apgAkC9GALykdO8V5FR4Zc=; b=a7FJ0kfOHc13aZc0AymUtoqzv1gkB/XFYfdfQGEUwuIFy4iuzn/nXdMze0ceudkEtE hpTv5L1hs+O0sDslYqdy/NTmnU+9LwVK1LwkIQIZvRt+MtpLGvfok1PXWcNo3q/kGoXV 6iK13iVu34i+ojIS6sY8eiI4GTcudr7NY7q43tLdU/hzsRTIzulbVXsG/pi/O+czZWzL TxEewJjoH/MEFm5LUmfJa4KWa9PNkV1akIaEQGPNT3wljyJqn/eTrSm20YZwIaYRZ/Xw W4KeQTzKJxFgq1rP6+bmdSdrKOkapLxW3JREc/9e6L3lrbhMI7ZbplofQu6obKAB3Qnb nM8w== X-Gm-Message-State: AC+VfDylbUOBpWNDI3UBmFG+huEmyjt5Ic81+N00hSrrmjOtwKf5TczS yCJzM9tpMdM3ziipZX8VZXfhCA== X-Received: by 2002:a17:907:1c84:b0:974:32e:7de9 with SMTP id nb4-20020a1709071c8400b00974032e7de9mr5775337ejc.56.1685521159179; Wed, 31 May 2023 01:19:19 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id a6-20020a170906244600b00965b416585bsm8528500ejb.118.2023.05.31.01.19.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 May 2023 01:19:18 -0700 (PDT) Message-ID: <4fcbb3b7-ed44-d8e6-a601-e3e957c55ebf@linaro.org> Date: Wed, 31 May 2023 10:19:16 +0200 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 v3 01/15] dt-bindings: PCI: qcom: Fix sc8180x clocks and interrupts Content-Language: en-US To: Vinod Koul , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Konrad Dybcio , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230530162454.51708-1-vkoul@kernel.org> <20230530162454.51708-2-vkoul@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20230530162454.51708-2-vkoul@kernel.org> 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=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 30/05/2023 18:24, Vinod Koul wrote: > Commit 45a3ec891370 ("PCI: qcom: Add sc8180x compatible") added sc8180x > compatible and commit 075a9d55932e ("dt-bindings: PCI: qcom: Convert to > YAML") converted the description to yaml > > But there are still some errors specific to sc8180x which this change > attempts to fix. The clocks and resets for sc8180 pcie controller are > different so need to be documented separately I don't get what's the error here to fix. The clocks you list are already there as part of oneOf. > > Signed-off-by: Vinod Koul > --- > .../devicetree/bindings/pci/qcom,pcie.yaml | 29 ++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > index 81971be4e554..40a1f451a3d3 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -476,6 +476,33 @@ allOf: > items: > - const: pci # PCIe core reset > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,pcie-sc8180x > + then: > + properties: > + clocks: > + minItems: 8 > + maxItems: 8 > + clock-names: > + items: > + - const: pipe # PIPE clock > + - const: aux # Auxiliary clock > + - const: cfg # Configuration clock > + - const: bus_master # Master AXI clock > + - const: bus_slave # Slave AXI clock > + - const: slave_q2a # Slave Q2A clock > + - const: ref # REFERENCE clock > + - const: tbu # PCIe TBU clock > + resets: > + maxItems: 1 > + reset-names: > + items: > + - const: pci # PCIe core reset > + > - if: > properties: > compatible: > @@ -524,7 +551,6 @@ allOf: > compatible: > contains: > enum: > - - qcom,pcie-sc8180x > - qcom,pcie-sm8150 > - qcom,pcie-sm8250 > then: > @@ -749,6 +775,7 @@ allOf: > contains: > enum: > - qcom,pcie-sa8540p > + - qcom,pcie-sc8180x > - qcom,pcie-sc8280xp > then: > required: Best regards, Krzysztof