From patchwork Mon Jul 3 13:31:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 115371 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp539500vqx; Mon, 3 Jul 2023 06:52:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57erKySynCxisFx86JV0h83itz9MiSemIO+J2tUwjduc+Ztjt8aZAoFNELLp+UjEECpU7z X-Received: by 2002:a05:6a20:8e01:b0:123:149b:a34f with SMTP id y1-20020a056a208e0100b00123149ba34fmr14794762pzj.1.1688392370705; Mon, 03 Jul 2023 06:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688392370; cv=none; d=google.com; s=arc-20160816; b=JpDG3bTZ49cIHBlGa4Yi8p+HmdVDXy8snSzgGkCN95eIuJyGvtZKkkCB6Z4FXMneRO 4qXrRuw27z62nos9EX+CQ7hp9cFRXRZlRRgPkqqXytaCiXkirC1j+6Kl8AaED+YCBd+Y Y6uLU6x5bwtGwCmAqk/LlfZX5J/sjj6EvBrbXLjkV/k8r6RqCBqQT7P6MAFDUehnv1fS VugcN9SN+Sz+y8xOsscveC7gTnQ3WwPjyMwldbrVEF87iNuLy4S0BRmNJXgxC+8IE9vO s/gDYXV7Ue4GMPBpnja/XbLpCInRrK5Yt2E1LCCG/LFNV3JN3JH2Zx6rA0jeXl3uZfPI zSgQ== 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=C2RI3+66dTpZ9C4ox3q+m5S+xeRtBMTP/kVw+ytOXk4=; fh=EV+5bRVCKNG17q531vPQpoKiuN4tfzBrxhdEOIK2W5o=; b=Ct/if461ltQiSS7UAPbf7kMeCZlUTpQkR+G85K/+64hbajVc3rv7ixSf9JxqhTP7/g Wyi4dFUvoLY9LYsWFU0HthhOueLt36FZ+epLXfhx/JA4jVcEjrTrbxY9uCFzrdAulqhF 4KbJSfvwmCfWLLcO7dPNERmmnaQKz37Imxx8OZsDTa5yzlWQOFY4eeNpAAObw357PXly mtjTp7t6hnLdI9ynaxSyXuJD0KDIluT+ydDrk7vYpz0R7Shg1OcbLW42ZziAwjrv3sjS zkGHoT/3r14C03w08tiUF7trG3IKofAKBlWlrmauQQEzQHpb2WUCNs/mxAUKPQu0rShi 1/mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=inpJ0Vov; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020a1709028c9800b001b521cf9578si17098515plo.443.2023.07.03.06.52.37; Mon, 03 Jul 2023 06:52:50 -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=inpJ0Vov; 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 S231656AbjGCNb0 (ORCPT + 99 others); Mon, 3 Jul 2023 09:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbjGCNbU (ORCPT ); Mon, 3 Jul 2023 09:31:20 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79C9E54 for ; Mon, 3 Jul 2023 06:31:18 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fafe87c6fbso6846384e87.3 for ; Mon, 03 Jul 2023 06:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688391076; x=1690983076; 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=C2RI3+66dTpZ9C4ox3q+m5S+xeRtBMTP/kVw+ytOXk4=; b=inpJ0VovqtQ8g/UFm+SoVRGe0WZPBMO35cPLnHy0FdV/1Ahc3lBjK0HTKkN5e1a53W lMzz63d16Vmju8Xntq635NMcGOtlkK26RKZfE02a+SZ+5G5j6LlXWNk+AXor/fJFh/pN Th8+lcjm+whpcFtu8pB1mLfy4LvPWVEQQNZ9/b01qj9gBcFYxyP2uH1YY9D+fi+riJ5l SeB0EJKFVju8PnKGt1NSHM3W/34IpU4/okoFWrjagX3xbAkyucyfJcZBrgoKdXxmQ0VT LeLW4YpmJbj8F3Z40oqmk/DsonixOjv29pPfbwPMXvnYlPwN6NkBoTQYFHoDIcZHrvIx Q+0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688391076; x=1690983076; 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=C2RI3+66dTpZ9C4ox3q+m5S+xeRtBMTP/kVw+ytOXk4=; b=LC4CYaKAoMfo+BcrsK1YLUTJ1wR1d/ojzSGV8vp5ljtXkaN70xiBpBjkHJpDJQMOUG 8xxG2aq2VCcOaApFe//hKaZtBOxyNrvyh02CE4W176T55E0vDwBcoNs5Yuondc4LxOPp NQ39zEZI/jj/e1Z5YR41i1GdNcIGJGJh4mptnLuePi3BD1lOSKIIK0gJgQYqt1NzCVqB FQWzlHxSbMVgL5GivbVjYOZeUbnYB0HNhA3dBCT1wnD3gTaU/0YICOq+foubZEPw5irP wdpc1oZrpgRtkK5ncp0jz2FD/Q6tMqzNItMcLM53L+lqB+DOqjmUGBGWFhFTo2J8MTdC 1bAw== X-Gm-Message-State: ABy/qLai+ZUPGxHlUthF9MPVUmv7Le7jTjNMYubj6NyNP8uHwfI1Ss0n u32jHuNMwbN9sADyjnbShkpTiw== X-Received: by 2002:a05:6512:3a7:b0:4f3:9136:9cd0 with SMTP id v7-20020a05651203a700b004f391369cd0mr6154596lfp.44.1688391076514; Mon, 03 Jul 2023 06:31:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 06:31:16 -0700 (PDT) From: Konrad Dybcio Date: Mon, 03 Jul 2023 15:31:11 +0200 Subject: [PATCH 2/5] dt-bindings: serial: geni-qcom: Allow no qup-core icc path MIME-Version: 1.0 Message-Id: <20230703-topic-8250_qup_icc-v1-2-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=1333; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=PHLLf0dYHyrWiNleR3i9qlCgEBMco5J5FnlnRJYIuaA=; b=01sXMPmg4hRNAhe629YzVYzm5DQTEV0QMurBwgyti7/OIjJy3QP2fMez4fgR21njikOPBYNdP nTMfMisnZkeBTo+FNYNjyxjjfHD6CN/00DdYpJG5Ofwlc3CLNwE4Efu 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=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770407718311295325?= X-GMAIL-MSGID: =?utf-8?q?1770407718311295325?= Some SoCs (like SM8150 and SM8250) don't seem to provide a qup-core path. Allow such case. Signed-off-by: Konrad Dybcio --- .../bindings/serial/qcom,serial-geni-qcom.yaml | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml b/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml index dd33794b3534..a0acba57bc06 100644 --- a/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml @@ -25,14 +25,6 @@ properties: clock-names: const: se - interconnects: - maxItems: 2 - - interconnect-names: - items: - - const: qup-core - - const: qup-config - interrupts: minItems: 1 items: @@ -56,6 +48,24 @@ properties: reg: maxItems: 1 +oneOf: + - properties: + interconnects: + maxItems: 1 + + interconnect-names: + items: + - const: qup-config + + - properties: + interconnects: + minItems: 2 + + interconnect-names: + items: + - const: qup-core + - const: qup-config + required: - compatible - clocks