From patchwork Tue Oct 18 09:31:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 4053 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1860225wrs; Tue, 18 Oct 2022 02:34:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71vMTIsC2jaZtWrRNKzhxFzNVw6593r6OP7SYzJ/ftdsGQqJzVvqDozlzqt0cUoVV8ie65 X-Received: by 2002:a17:907:7d8d:b0:78d:d467:dd3 with SMTP id oz13-20020a1709077d8d00b0078dd4670dd3mr1651335ejc.547.1666085656162; Tue, 18 Oct 2022 02:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666085656; cv=none; d=google.com; s=arc-20160816; b=mN6748KYBRdvcU/zjshK7YsAwtnQOHTIF2z2/qv+fR6+tkSY5H8hpWloToBeJeTTx+ vwPwQax/cTgxKd1FuVKSM/Ymb7lzxx4rAW+LTphtLXApcQKU7QnVfINbk8HQkPCYORXn 2VETybobdNQqJd2qkpYDnxeaLDQNGc0XWw8qw1pER6OgXy67UOJUaU3kBsNuwez+Pvbs 4GhpuU3/fFafiXkmHp+xcCF3eStnoEvSdMF+okAZwGudxfJ89u8wmXloAfIdPqM33Qno RuKZ1HGnXsyNc/Jg2aaAKv+n2meh4swaIbHB9YHuqfGXDw1cGUnOiWpCmk0aJ9s1FL3v pqvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nP6tw4TZl9D+M5liUV3l02jUSzx2LFTwPBXLu/PASMk=; b=hWZcJobbS3N4XWsQiq2IqPIG5FbGPdcpzgT4SKTszMkWO4fbZmcCQbLarGLqNB2mtS sOks0LNGNvvyh2nHJLa42P7i42aqF3R94iOUUdOB3vYmNB7CZCL/+JPn/h43LjYT3Esl ErLBzsNJsp0ghfaV/Y9+aYp9PKUAGYUDnTzNGhtuOrVIl3h69WoKonjct4iHj6jEZkdN ecIPExu5pNHasqBVlJQTWJbIUlaFQx5VNk/1JU3ZChNiUXkbGy+kuY+OP67SVoAMgITL bm+etKXyPayu9GmmmQycyDxxp/VxaDM3FTY8+31PD4+dg37ChmAoOonKrCOlz6BvMy6z we+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kEniEo3s; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga13-20020a1709070c0d00b0078d2197d670si10902057ejc.661.2022.10.18.02.33.51; Tue, 18 Oct 2022 02:34:16 -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=@kernel.org header.s=k20201202 header.b=kEniEo3s; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbiJRJbl (ORCPT + 99 others); Tue, 18 Oct 2022 05:31:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbiJRJbk (ORCPT ); Tue, 18 Oct 2022 05:31:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E700AD9B2; Tue, 18 Oct 2022 02:31:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 36818B81E0F; Tue, 18 Oct 2022 09:31:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAE9DC433D6; Tue, 18 Oct 2022 09:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666085497; bh=VSqtKXH7fWy/Zr00J19onaibCcqs1TqNaT6Qxu7nmzo=; h=From:To:Cc:Subject:Date:From; b=kEniEo3sa8FCC9tnMTmiasSRxtMiOY27eGwOy9H8YsM2RI7v+Yzsr4OuP8jsi0DTi gU4ysOZauWktUG1oflw06OnduIk9z9SH8Q6LVmbO66FIfWFansom7fSBFDyv8dn9xG t2hVzAuiFYJxHbAu483YrsKUCggPEHK/erkZPmPtOLQZl1Q+gzQntN6qImJdJwXX0n SuwjcLEC2MREqFYcOSfY255diwlEXftktl+u3Sh4LtiWwIK2I35rLqvCIVk0TLLH20 XWOvxdUA3WvsTSA0PPr755no+bLygzFjvTPIsTsKPYmvYr7yqmnXgAVrUHZNleYzjy J1uCAXVo5GuIg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1okiwW-0001xk-Q4; Tue, 18 Oct 2022 11:31:24 +0200 From: Johan Hovold To: Manivannan Sadhasivam , Lorenzo Pieralisi Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description Date: Tue, 18 Oct 2022 11:31:15 +0200 Message-Id: <20221018093115.7537-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747017433000231543?= X-GMAIL-MSGID: =?utf-8?q?1747017433000231543?= The 'qcom,perst-regs' property holds a single phandle array with the phandle of the TCSR syscon and offsets of the two PERST registers, but the current schema does not capture this. Update the binding to describe the single phandle array and its three elements. Fixes: 31c9ef002580 ("dt-bindings: PCI: Add Qualcomm PCIe Endpoint controller") Signed-off-by: Johan Hovold Reviewed-by: Krzysztof Kozlowski Acked-by: Manivannan Sadhasivam --- .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml index 977c976ea799..7574291646ad 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml @@ -42,13 +42,13 @@ properties: maxItems: 8 qcom,perst-regs: - description: Reference to a syscon representing TCSR followed by the two - offsets within syscon for Perst enable and Perst separation - enable registers + description: PERST TCSR registers $ref: "/schemas/types.yaml#/definitions/phandle-array" items: - minItems: 3 - maxItems: 3 + - items: + - description: phandle of TCSR syscon + - description: offset of PERST Enable register + - description: offset of PERST Separation Enable register interrupts: items: