Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26212779rwd; Mon, 3 Jul 2023 06:56:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlFAbEbFY1sTwpho+Hos2XJkt0IfBCXuLFD2hK9nrnae7bovevdedSY52yjs9pohbFodJQqC X-Received: by 2002:a17:90a:7064:b0:255:cddf:a0c8 with SMTP id f91-20020a17090a706400b00255cddfa0c8mr10202968pjk.41.1688392583112; Mon, 03 Jul 2023 06:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688392583; cv=none; d=google.com; s=arc-20160816; b=QXmxQ80gu3y80UNLxueDxJeNuml1TAWfeRxGb08higBQqveg3gZ9rJVNZ7/zVBf5aI UxfQ5Rptdo3oHqDk0Gx+Ytubi9otqYVKuoUeKCsbWHz3wiHlJS5mVw1VaZHDUjDo9Ig5 gvVEQhDrPwS/lnshxFcyrYouZkpFnM0Zsqc2/cOVSguMyyWZFaNXkaobWhQXAOns/I90 hmfji8PnM16iyouk0Pgs9PyegwHar4dWzK0KNwjEDjRSe8k8HIwt3tOiZ2/NhSNDs4Lv AAuA1jS+VwO0pnueWeXT3syM3Q04ks2YIA/4PbFbP2dSsegzzinUKS3q78GeF8KTEfgJ vLMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=n/gQKrgv9jl26df4nD8+qhw8ZnBWlEQchlmkvSgMYjQ=; fh=EV+5bRVCKNG17q531vPQpoKiuN4tfzBrxhdEOIK2W5o=; b=lkGaVcM14rcc0WOSm2+uzVuTfVU1uJaDZs67na47EW8WqGD+IsQ5ehd+lSCvhyB2/L fpoTYVGJDopDIIvfkE02+Qs4ulmVzm+WCnW+eJSA/u8wyneI7Nz/EFlPm0dLWG5UrXJM quFa1BRgDeyf2b4MMRIGn3VQE5MkCHMy/IVd4N0A+EhigutIF1/rTQ6H/DyTLFl9lk8N zdglq9slplo5PtVrlw3TlkwdWSDvSgPTha9reoPJ47SoKwRJDoAHs3515O2Sl+u4QXPb v1moTzfYotVSWlyX5B518u6RVHMe2tj5IoW8YywhLqBo1gIc/Aw8oHZ6EAr8rHN1QrMP ZeeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l73yEXFO; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q22-20020a631f56000000b00550e8b3614asi16801304pgm.901.2023.07.03.06.56.09; Mon, 03 Jul 2023 06:56:23 -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=@linaro.org header.s=google header.b=l73yEXFO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231601AbjGCNbW (ORCPT + 99 others); Mon, 3 Jul 2023 09:31:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231561AbjGCNbS (ORCPT ); Mon, 3 Jul 2023 09:31:18 -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 B3220E69 for ; Mon, 3 Jul 2023 06:31:16 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f86e6e4038so5583997e87.0 for ; Mon, 03 Jul 2023 06:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688391075; x=1690983075; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=n/gQKrgv9jl26df4nD8+qhw8ZnBWlEQchlmkvSgMYjQ=; b=l73yEXFOeig5qdtuMpI+ALwg4IVM0aw9hMZjHVFwaUTnXiGtujvGJewYdsk1tleRB2 z5tITNcyfBvWbsRHjpFGGK9a0W/F52UoOdp0EWnav7IOMCgJf0zfkzpmgKx+aFVokbco l3jNynIeC4wwqc+g44wcjQN5AQwMi6M5kzm90uknSp01Mkpti5/bMT90w27Ts3yD+fE7 MvtWhkjLwinbSN/UdfRchpILrNNaHLGs0aIZKmqq2h4ECaoHOUzA/QBvxsgLMOZ3jvvV vnIyUzgheqLU2ZkOn+8epAM/lRzIhipLWJuEU6Q3oNUjF2vCHFMYhU1FA5ilKCKscZRZ DmOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688391075; x=1690983075; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n/gQKrgv9jl26df4nD8+qhw8ZnBWlEQchlmkvSgMYjQ=; b=UfqcyLCkTHRbnor3tYGcir4Jd3njqlZMpwog5W5DHrbNnEELUqgjIfiyvSvrLrr2WL b5fo3FCfjShCNhEXrCTtgMKXEpP3CHuohXpGHJz/01D+sxTjdfEYSAQw+5NUW2lnuHVY gX0nHNZpIgUPmjDM4FmCudOKT620opaNsU5T7p0w6WQqZOUqWoYHleezi1+bMkXjZmLL bwhMI2wJW+oO2oC+fh88c4Hngqji8k99C1m9RPwA8ekfGPQWhqJLOyNaFI9Ke7wol2fP as6G8z7Fb03bDKUH4Kp0Krc1e2tJYBQRKAGrd2HK+npzpsx4ij4uJWTJbH5yQojYD/A6 ul9w== X-Gm-Message-State: ABy/qLZfAbkjVW2Ihq4EV6BnKDYk+0R6wlJphtUwwoiCDgw9ZaRirTCj YHItGvN0Zmd0A57nWjmryBj5dw== X-Received: by 2002:a05:6512:3c87:b0:4f4:a656:2466 with SMTP id h7-20020a0565123c8700b004f4a6562466mr3914367lfv.15.1688391074973; Mon, 03 Jul 2023 06:31:14 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id ep7-20020a056512484700b004fbb1f70ceesm833417lfb.227.2023.07.03.06.31.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 06:31:14 -0700 (PDT) From: Konrad Dybcio Date: Mon, 03 Jul 2023 15:31:10 +0200 Subject: [PATCH 1/5] dt-bindings: spi: spi-geni-qcom: Allow no qup-core icc path MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230703-topic-8250_qup_icc-v1-1-fea39aa07525@linaro.org> References: <20230703-topic-8250_qup_icc-v1-0-fea39aa07525@linaro.org> In-Reply-To: <20230703-topic-8250_qup_icc-v1-0-fea39aa07525@linaro.org> To: Andy Gross , Bjorn Andersson , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Andi Shyti Cc: Marijn Suijten , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-i2c@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688391072; l=1083; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=TQNTCWE+iBjVfoMqrm2paazex7hqvKkpoTz9pkEkyKc=; b=cStngA5XatURTQAcTPIg9usdXNHDCeFjDqHlJO5FM/ZH4iA7azJ01kuuVe06R9jsSSgwZ4aUm VBUl9Y1tbCiDUoxFvB6NfWRfJ1/5XpZHtnKTkXLnTdFJOWHEcbjMsUq X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Some SoCs (like SM8150 and SM8250) don't seem to provide a qup-core path. Allow such case. Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/spi/qcom,spi-geni-qcom.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml index 2e20ca313ec1..2890c4968c2a 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml @@ -49,11 +49,16 @@ properties: maxItems: 3 interconnect-names: - minItems: 2 - items: - - const: qup-core - - const: qup-config - - const: qup-memory + oneOf: + - items: + - const: qup-config + - const: qup-memory + + - minItems: 2 + items: + - const: qup-core + - const: qup-config + - const: qup-memory interrupts: maxItems: 1 -- 2.41.0