From patchwork Sun Apr 24 13:20:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 565646 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 7BD70C433F5 for ; Sun, 24 Apr 2022 13:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbiDXNXm (ORCPT ); Sun, 24 Apr 2022 09:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234000AbiDXNXl (ORCPT ); Sun, 24 Apr 2022 09:23:41 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEACAE64 for ; Sun, 24 Apr 2022 06:20:39 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id g19so21944272lfv.2 for ; Sun, 24 Apr 2022 06:20:38 -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=13bAhAMjv2je6RMOj1RTuCmatzo9I4F5Zv7WwkP8+gk=; b=u8Fh+X/orbfnwbnBJeGYv39MuQFzNu5KAHWMwplOnLS5OegN1HK15Tn+HV3iUo8hzm 0HUpMnDgdSFyA6FliVEH2sUSdI1rYfwRzEmYF7X3drv4wto/dZ2sdyGKqT020K77fUe0 brR4YoLvVs0ovkuBcw/R4K0ZbxszzwpNxvBaU0LGyzC/OtIG3G9lDDlSmWmV+MPh5Sf+ 6qV6z/Q4V8JrKUSjQ+sRegQZF80azSHOEB72tzpKQ5Fjxpn6EU12dmIOJIlo7A1bMA+p yQyN25HZjkwnZwgeB0x6+ljlLlSBt9YXFbLqrgRcHxGtXi3Sq/xN8CAQFK/EHb34ZQwl h51Q== 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=13bAhAMjv2je6RMOj1RTuCmatzo9I4F5Zv7WwkP8+gk=; b=SF0j8JJCb+we5NF9/zTetD2hxdFqVSeu4yhgXl9sawQIODUvE7LpMBZERxzqAGxLWZ UUYseLaFYb12HERuntYqvD3igbfKeiGof6+gAUzSrqotjxGtAIfvV3VpF3pQLzQqnUiI 4yri958BCAGhs7NuZzrGIfnXx/R2tQ86MmI08KxLVhQDC2MKPTAcGQ8phJM5jiTTAM5y mcW4B5wAJIArth5R/TCmh4UxpeC4M8r3nXXMB+PbbXhEm8woINx5Nj8PdE1C9ZPqwisH px5f+dwkEozIP/JpYXAQ7pYOz2vFdmFAtPOMmQfRSOHZekMsWM5rR0unPxBcr0XcQGfZ H7Kw== X-Gm-Message-State: AOAM533wN0uU62Q5LoUoc2jAjh1fslTvT+TwPkBNSwSjkrFi5a9GT7r4 pOD4iGNJT+gmFXqFC9rCEkgRUg== X-Google-Smtp-Source: ABdhPJw3kncz5bBeFvGNHHjQHWuKAmMjfyyD4wJtaWuf72K9qaqlzxZROoUJU/oZxzv4EwKivcuIhg== X-Received: by 2002:ac2:48ad:0:b0:472:4ef:d347 with SMTP id u13-20020ac248ad000000b0047204efd347mr892271lfg.422.1650806437307; Sun, 24 Apr 2022 06:20:37 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id l12-20020a056512332c00b0046d0e0e5b44sm1015877lfe.20.2022.04.24.06.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 06:20:36 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov , Manivannan Sadhasivam Cc: Bjorn Helgaas , Vinod Koul , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 2/8] dt-bindings: pci/qcom, pcie: resets are not defined for msm8996 Date: Sun, 24 Apr 2022 16:20:28 +0300 Message-Id: <20220424132034.2235768-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220424132034.2235768-1-dmitry.baryshkov@linaro.org> References: <20220424132034.2235768-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Reviewed-by: Krzysztof Kozlowski 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 496ba3baf6d2..3a1d0c751217 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: