From patchwork Fri May 6 15:21:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 570512 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 5ADDDC433F5 for ; Fri, 6 May 2022 15:21:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442764AbiEFPY4 (ORCPT ); Fri, 6 May 2022 11:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442679AbiEFPYz (ORCPT ); Fri, 6 May 2022 11:24:55 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C01362136 for ; Fri, 6 May 2022 08:21:12 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id q130so9651202ljb.5 for ; Fri, 06 May 2022 08:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2P98aaXGwL3b1m6mq4eFpKJwxnMXt6/C7TocV0oqvV0=; b=knuo8wqF5pqzn+4NAPgwyOqQ1rwNbSkCHcqfHq5jqhD1/l2ceZYWmK+dCv3h8WnMyv HFoaOwCMd5yTANPk8DG/RiJ4nShWOCr0kcdtMkT6vJYKKfiZlQGs0HT+yx1WkuSssYFl NDQ8gzAj9n/E+dANMt87WIv4LXp5d1iJUGXgfpmZ4xun2gDKRaxWXOst3ksYC+czXSvQ 3i/iEfSCXtPRO3Sh4nEVHREUY8K/BoDxueVbO90DqmdTGYNITgEd4c0SK4UuzA9DFhM0 TTkonUC/APfi8pFWbvtj75zJ2FMdVMt1k+THO6p3hDhDDK3qBX4qfLlPopAJW95Yf1p0 2sNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2P98aaXGwL3b1m6mq4eFpKJwxnMXt6/C7TocV0oqvV0=; b=HkHWvX0qqMQUx6XkEeYUlvcQRsH909K732GOYbyLaeJjXZ3pJkRbhWxOwiUKmXs4OI rIT2RB1bRXuG27SEGk6nam+Rmni0Bsq0X9EDpuvtUp1oJExk9yMFzkI6v69K2DOM3w3J pL9T9YCUM6F9CqGtF/4v4dAkfaeYTH6TOIMAJgq5a21M2obUCDGyFHQZ8MJnf1qkOzJf tu8MrDrtcDNG+Jpq0lHbWHiwnsSAm961U3O11Vv81kJZFSObtzHpt2KBGSkro4sT0mD1 /52LGkmnNTHd58vHOGN+rOrcMmwFNVEsb5+/rK/nCYvVu8f58xc1i5zDkSGTwr6VNKq5 ksSQ== X-Gm-Message-State: AOAM533jAg4OzO4RLYWbh3uekvLH0okB+W3DHPxJGKr6QsAZEtyjFw6o Fb76383zLcSuKb592aAlTfK3iQ== X-Google-Smtp-Source: ABdhPJweEOnMbZ1HD5lGU7pRgs0TWF6sKxuvH1Bk9MEcZ0O2Z1iLtnKqy500GoFPGwT1w9zFeMFZNQ== X-Received: by 2002:a2e:a911:0:b0:24f:41c7:81d7 with SMTP id j17-20020a2ea911000000b0024f41c781d7mr2305828ljq.309.1651850470737; Fri, 06 May 2022 08:21:10 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id k16-20020a05651239d000b0047255d211e6sm716757lfu.277.2022.05.06.08.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 08:21:10 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Bjorn Helgaas , Stanimir Varbanov , Manivannan Sadhasivam Cc: Vinod Koul , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v6 2/8] dt-bindings: PCI: qcom: Do not require resets on msm8996 platforms Date: Fri, 6 May 2022 18:21:01 +0300 Message-Id: <20220506152107.1527552-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506152107.1527552-1-dmitry.baryshkov@linaro.org> References: <20220506152107.1527552-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On MSM8996/APQ8096 platforms the PCIe controller doesn't have any resets. So move the requirement stanza under the corresponding if condition. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring --- .../devicetree/bindings/pci/qcom,pcie.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 16f765e96128..ce4f53cdaba0 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -114,8 +114,6 @@ required: - interrupt-map - clocks - clock-names - - resets - - reset-names allOf: - $ref: /schemas/pci/pci-bus.yaml# @@ -504,6 +502,18 @@ allOf: required: - power-domains + - if: + not: + properties: + compatibles: + contains: + enum: + - qcom,pcie-msm8996 + then: + required: + - resets + - reset-names + unevaluatedProperties: false examples: