From patchwork Fri Apr 22 21:09:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 565378 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 0181AC433F5 for ; Fri, 22 Apr 2022 22:16:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232549AbiDVWTo (ORCPT ); Fri, 22 Apr 2022 18:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233185AbiDVWS0 (ORCPT ); Fri, 22 Apr 2022 18:18:26 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC6B132A9F2 for ; Fri, 22 Apr 2022 14:10:07 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id w1so16362662lfa.4 for ; Fri, 22 Apr 2022 14:10:07 -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=pT3QSphyjcEjIBDXmdm47Fl+CJnoqpZj5H3WA4x3C+M=; b=ZPG6/YA+o69n+2JAaKBAAE9r3icEEwh79TovZA1iQ/ThR5LcjplCj3aUI0k541Pcpf bWerxKj/7D56j4QvMheUXj8VhYXOXftEaiR1+3LvR+qLs0///ax/+HDCdzIDCvm6lTpy 9myZ/I2N5DJcwfhJwftSqjECv5kXIOUAY0JGNJg9gQSOoWZZAYVVZfIT/CJReVsmA85Q qGXRWeWlqg4jVjZL0smZm5HomerBboMCTD4Z3HBPjx2e3kEYwwlzJOp3R83aw21CgWXF bMs71YW1riJv5LhrT9bJLaCn+foebPhnxarYM7w4MQGT9NyZjRrG0fGjzURiNVdwXnVf jDpQ== 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=pT3QSphyjcEjIBDXmdm47Fl+CJnoqpZj5H3WA4x3C+M=; b=vHb4SmB5UM0zvPmsv7hoxXSAnBy46EMPFhs2k53qaHptODcyODvCou3CREeMDwaaE6 CPpyetHY0Y11OIGxb3gOxO4Z9hBsgsSGzIFzM9Nt1wFCBuGRCwqk/dUdx7tze3YJ0j/m v/isEs/2/G2YU1ue6YjoU1LkW2Dg+egvIu4pgVjDMtXQ4JgtQNnVNYAyNTSY3QtLx/9U tgbMMhwrK7xDgnv8q0utRzeU5tqK0lLOvch4rQEq20akfZKonJUU8CnevSbWfbGtkyDR /Pzx6mpzXm4v3gFqnH5W+xnwd0HEvrWI7MT/BIOKoHsoZLF2M5TnkYF1x6hmI6xCaz+S JTxw== X-Gm-Message-State: AOAM533OjK04CS42JYTd2l1lqgBZr9zrVroJZmHUNsB7dyD8s2fzd8TC kxpIkCZH1L0hIZk08f/QoEiPnA== X-Google-Smtp-Source: ABdhPJwrHtW5M4LwzBnmMgCL/Az8RUR6v1kFDjkbTmUzXF5l7bk4++bitKDyFCau7GHZHSZWsGcz1Q== X-Received: by 2002:a05:6512:b11:b0:44a:2ead:daf2 with SMTP id w17-20020a0565120b1100b0044a2eaddaf2mr4309334lfu.642.1650661806120; Fri, 22 Apr 2022 14:10:06 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id 6-20020ac24d46000000b0046bb728b873sm351240lfp.252.2022.04.22.14.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:10:05 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov Cc: Bjorn Helgaas , Vinod Koul , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/7] dt-bindings: pci/qcom, pcie: resets are not defined for msm8996 Date: Sat, 23 Apr 2022 00:09:57 +0300 Message-Id: <20220422211002.2012070-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220422211002.2012070-1-dmitry.baryshkov@linaro.org> References: <20220422211002.2012070-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 stance under the corresponding if condition. Signed-off-by: Dmitry Baryshkov --- .../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 071d7ef0e939..4b3c5f98c839 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -113,8 +113,6 @@ required: - interrupt-map - clocks - clock-names - - resets - - reset-names allOf: - $ref: /schemas/pci/pci-bus.yaml# @@ -502,6 +500,18 @@ allOf: required: - power-domains + - if: + not: + properties: + compatibles: + contains: + enum: + - qcom,pcie-msm8996 + then: + required: + - resets + - reset-names + unevaluatedProperties: false examples: