Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6909519rwn; Tue, 13 Sep 2022 10:41:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR7BTddColLPAEFw4CiAbIq3wKMdzRobJ/tjI3cPjkqSwNIRP6+ZUKgEzY2pOxo5PagGpv5W X-Received: by 2002:a63:5f16:0:b0:439:41a8:ab4e with SMTP id t22-20020a635f16000000b0043941a8ab4emr3727182pgb.195.1663090863962; Tue, 13 Sep 2022 10:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663090863; cv=none; d=google.com; s=arc-20160816; b=wP3YvwM+6wKLzArSp2KfLosg5fbhMMeQ/X2n9sHfsxnWuhf0AlFPEFb2cOrsK1FVlc gXHtPOLJxAZgfmc4Z6YsYAnB+uLivC3lkXb7oVCnxPhqwd7cYL/0FUZ1D875X95TNUHN tq3qvqnxe3zJS8BdBR18pQKFEN+ShOglPGOGFs2k+d/Y81CWbfA0/Qqk5jpfEpkyfCzj bHoeUzSMTvnYz9aSIibC6i7YupXPtDlDeJehf3tpmaoFhJEEFVFquCfEg/YyLb8utxwl U/urqZ+2sIkc+7EdxXE8Y9fcadHgzzCyPwpvcNiOG4mk3h3PGfkzjGVzd+/Myrdhav7S GKCg== 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=OKN8VlLuCDfiERxzI2+XM2BCjDBYdD0WSU7txH+oqhI=; b=yoqpdx32Y4489szPf7WXQYP4SqBxshlhDjQaRARnK2yloBZGFyozvoI2HTq23gRCHG iMdskcWV5oxGo8CPs1BstO+4jYZthtYbtk+LIcl+3peGjmzMmFHpRVVMpQIlKtXEtMqw sEho+BlNLxoz7Zoup2KdwvGuDGO49u7rBJOUkF8ujqS8MyMTRQXEcDb6wCUH7IrfnNrJ uW8NxRSIF2hgS8GH0BYfLhdTThMiH2kYnrNeIFiuwr6CbEpkogTYldzBMxqVpy2gmjqu XRSbzE6sUD/YXVwjnKMkjz0Uoa3fjdZD3O38L61pj9PjewM0euIoXXEhnr4ueDgGkMfE YZyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRznjyTY; 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 c8-20020a170902d48800b00177f4ef799fsi3224955plg.9.2022.09.13.10.40.49; Tue, 13 Sep 2022 10:41:03 -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=uRznjyTY; 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 S233142AbiIMRgR (ORCPT + 99 others); Tue, 13 Sep 2022 13:36:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233133AbiIMRfz (ORCPT ); Tue, 13 Sep 2022 13:35:55 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911B19837C for ; Tue, 13 Sep 2022 09:25:52 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id e18so3664445wmq.3 for ; Tue, 13 Sep 2022 09:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=OKN8VlLuCDfiERxzI2+XM2BCjDBYdD0WSU7txH+oqhI=; b=uRznjyTYGrqXpXwIJzlmIXQ25Hr8qtCVtmJMwp9zvx6YIJSIMRaU/ApNl1dXzKSlzW 0w7L46c0OJH/XxX4AhBDD787JHuoELtjuw9GFV9TNVSpTtMqjE2hv11kLsWh4x9lJi46 GCI5qDKHEkgq4wIkv4LFBTQI8XgOvZYLVUFBLgWQzJCfybmM2/c1yr8tmNZNt2mLTmp/ iKydIWrpBpYUJ+jbpPurldzcH6O58vXw8ZTyBiewsQf14tYfyG6fMDeVgjC+RPcNh+rp jEJ3MltDE1TvhrOtSyl7FwOIzXHqyx/zOI8df8TiE70WlsO1W5jz5FY2Gp1JnQFMpyFt bVWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=OKN8VlLuCDfiERxzI2+XM2BCjDBYdD0WSU7txH+oqhI=; b=xm2Zl8WUQixUwA4Z9u7SFbw7qDv2CkMfu2BS/Ml58HQvAYZKtDpPiWDPgOTALRMgbL tzPlmp+UD4x6GNAYibPZqEiIoL4fj9h6q9KEaA6Lg7rCpekZhOuI7NIWnxrTd7Z07aWN Pl4aO9rjCLt5rreHNwlaTfn7tdxiG/HY13LCXvlbeRegMjKJZO5W9+RHkQ6IoAHjCpHi KvMdlsNvtcx3ihCB56vsgDt+XVSfZAG5X9fUssWnicfChhxuYgnEFPKNHoIxXdlDTnKx +W9MM5ITI/pLCQo5tH1qbZKORHnWaDXYaVVhf16TfFaq5IEgjY/nkbMj9OqdlPKIpaKD CB8g== X-Gm-Message-State: ACgBeo00/0ezOO218iOo8Kh2/Lwb9MkGUgT4XZrw+VJ/adX4iItyC8f7 IHzmrEhhCEAXevbxFj9t4axxnQ== X-Received: by 2002:a7b:c84f:0:b0:3b4:84c1:1e7 with SMTP id c15-20020a7bc84f000000b003b484c101e7mr125429wml.12.1663086351164; Tue, 13 Sep 2022 09:25:51 -0700 (PDT) Received: from [10.119.22.201] ([89.101.193.68]) by smtp.gmail.com with ESMTPSA id i12-20020a1c540c000000b003b47ff3807fsm9364257wmb.5.2022.09.13.09.25.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Sep 2022 09:25:50 -0700 (PDT) Message-ID: Date: Tue, 13 Sep 2022 18:25:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs Content-Language: en-US To: Rob Herring Cc: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Krzysztof Kozlowski , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam References: <20220911135547.23106-1-krzysztof.kozlowski@linaro.org> <11e61fa5-f770-9c9f-23b9-3d1dcb205bc5@linaro.org> <20220913152054.GA3736444-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220913152054.GA3736444-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 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 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 13/09/2022 17:20, Rob Herring wrote: > On Sun, Sep 11, 2022 at 04:14:54PM +0200, Krzysztof Kozlowski wrote: >> On 11/09/2022 15:55, Krzysztof Kozlowski wrote: >>> qcom,perst-regs is an phandle array of one item with a phandle and its >>> arguments. >>> >>> Signed-off-by: Krzysztof Kozlowski >>> --- >>> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++-- >>> 1 file changed, 4 insertions(+), 2 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml >>> index 3d23599e5e91..077e002b07d3 100644 >>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml >>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml >>> @@ -60,8 +60,10 @@ properties: >>> enable registers >>> $ref: "/schemas/types.yaml#/definitions/phandle-array" >>> items: >>> - minItems: 3 >>> - maxItems: 3 >>> + - items: >>> + - description: Syscon to TCSR system registers >>> + - description: Perst enable offset >>> + - description: Perst separateion enable offset >> >> Unfortunately this still complains: >> >> qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short >> >> >> where 28 is the phandle... > > Meaning the dt is wrong or there's a tooling issue? I think tooling issue. I looked at this many times and code (schema and DTS) seems to be correct, but tool doesn't like it. Best regards, Krzysztof