From patchwork Wed Jul 20 16:38:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 591892 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 AED32C43334 for ; Wed, 20 Jul 2022 16:38:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231968AbiGTQis (ORCPT ); Wed, 20 Jul 2022 12:38:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiGTQiq (ORCPT ); Wed, 20 Jul 2022 12:38:46 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA16E5723E for ; Wed, 20 Jul 2022 09:38:45 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id bp17so31187732lfb.3 for ; Wed, 20 Jul 2022 09:38:45 -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:mime-version :content-transfer-encoding; bh=Fvd9V7Juu08ReWcT53m5hNTTBYCNZrfQiEXHbGmY0aA=; b=vldwu7CAQB0IXObmlhxchsshm7NzfimnIbvI8ZdvaPVofdUl2acwfm029QTQqJGg98 vji6nQhWyQZX9DS4U6fCB25ADpZaTG9PiYwINIeT1aPvm3HAKjENiEX09APWT7Fp5fOh 0eDkgBt0gI5snho9x5X1uTcbCLIR0Eo0yhT6SUqO6gr4D5G7MhNDFPJ1FRWxamFZBKAC jHBruiaY0RQmOnBugbXoo9SZUwx/wDRzvgO73PrXcHKUzsQGWnkEzjSRWBYeMdvbeoaE MYrt7atpbvl2rw37M5UOwCpgD9IQEwGiulnFQmqj3JQqI2wVOcDwD5BhuEPO7EzsfTON UP4g== 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:mime-version :content-transfer-encoding; bh=Fvd9V7Juu08ReWcT53m5hNTTBYCNZrfQiEXHbGmY0aA=; b=Ietth4nb98DZuwW+kPfFA7j8zKlh+0onplN7p7xNbWXontrpUsENRpBSj6Me9IEBvj XZAJBGmXwbK6kqmVYuDLs2wk0KSPqvYv95d/Xi3SWdypDOtMMVBV4xoKBog9yWk7ta7W DbQbl/XZlW3MDFHJhimXwRqRObiY0rldOYPJWSUy13m20sT0QdBfr2TgQg8I3TpGEE/+ 2v5/PuyZdAPB4sLWr5EG+sPn4u3nZbY5RFuj7RHikw3MDIpgvpDZsN1fnHZ0n8rTvXg6 deV3K9tb+5G892jKGBZAJ4+/L62nGSmIpZdPhGsZCxeX9yVJEjAddBzSbuLapdIvZXfr vxgg== X-Gm-Message-State: AJIora+c2o0aiakHhUTJK95GniwCAylSv58oemiu0Wnz9alkvEnu1rR0 wQ1YKUdr28lsWRJ+pbvfG/jSIA== X-Google-Smtp-Source: AGRyM1vM8rGYfRvBRtGri6rWxjgLRf3nEXPtMp8hw4yCEtmiikJXnVoJl8pWmXIgitym8KTTRSD8ew== X-Received: by 2002:a05:6512:3e08:b0:489:d3c3:e901 with SMTP id i8-20020a0565123e0800b00489d3c3e901mr19398437lfv.125.1658335124136; Wed, 20 Jul 2022 09:38:44 -0700 (PDT) Received: from krzk-bin.. (89-162-31-138.fiber.signal.no. [89.162.31.138]) by smtp.gmail.com with ESMTPSA id p5-20020ac24ec5000000b0047f9cfa914csm2705369lfr.18.2022.07.20.09.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 09:38:43 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH RESEND v2] spi: dt-bindings: qcom,spi-geni-qcom: allow three interconnects Date: Wed, 20 Jul 2022 18:38:41 +0200 Message-Id: <20220720163841.7283-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Recent Qualcomm Geni SPI nodes, e.g. on SM8450, come also with three interconnects. This fixes dtbs_check warnings like: sm8450-qrd.dtb: spi@a98000: interconnects: [[46, 1, 0, 46, 4, 0], [47, 2, 0, 48, 12, 0], [49, 1, 0, 50, 1, 0]] is too long sm8450-qrd.dtb: spi@a98000: interconnect-names: ['qup-core', 'qup-config', 'qup-memory'] is too long Fixes: 5bdcae1fe1c5 ("spi: dt-bindings: qcom,spi-geni-qcom: convert to dtschema") Signed-off-by: Krzysztof Kozlowski Acked-by: Mark Brown Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/qcom,spi-geni-qcom.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml index 78ceb9d67754..2e20ca313ec1 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml @@ -45,12 +45,15 @@ properties: - const: rx interconnects: - maxItems: 2 + minItems: 2 + maxItems: 3 interconnect-names: + minItems: 2 items: - const: qup-core - const: qup-config + - const: qup-memory interrupts: maxItems: 1