From patchwork Tue Sep 12 14:30:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 138336 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp568075vqx; Tue, 12 Sep 2023 10:31:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsmMgqhZbP4AgWrnTkJ5iYz0hfMqs+QHzGTYBKaVsbEywynrF308jHc27krD6ss8UH4gaM X-Received: by 2002:a17:90a:130d:b0:271:af7b:7c5e with SMTP id h13-20020a17090a130d00b00271af7b7c5emr10916488pja.44.1694539899260; Tue, 12 Sep 2023 10:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694539899; cv=none; d=google.com; s=arc-20160816; b=Jr2yLatOLjYxCLJ0pxAMLihKJtPaIxxTEfeDeF18tU97QTOU5JLa978+xANyjrzUcO tvr7iQMm/HmnbuEYeThhIpNqG8ML+XFyG2UlTja68YP1fWFvUruXlTNIw/CLXF7lq3EL Dtx+oxnn1VLQQmIu/G2WtMRPgLoWuRM7wYEf/pk86kY/RbPh7M0auhbGsMIvFs5QcPtY jW8Hx5yUB1yd+oQCkalhrUGBkfSxbVx4TmKXsU8QgVdkKPu7Or2HvSzhsloyDd62mGY1 re6kksQG35Sis6MAY17iQIrXz13nYykThoEPLY8YIy5ACaKZThFuemcesVdtR46vkj9d 4VZA== 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=rqAqXU+BauAuZhoJ6lkP5DQOkX1bFvCYekVfXB5a7v4=; fh=10DQ9cLgm4jgsgyilmWpXaSieUpiqS1iqWfjfWaX8GI=; b=eKGuJwWN66RTc2FSkEV/gGmSJpL8Aj2RaVtTPBFQx9QT4ipwKoFN3lHIp0HJ3xG8ro CZt1Nq8+dKpcCgV6YkhuUWT5lbcXv/qZPUf9j5GzR8+noggKS70o33cHuU5c621AhMdg ugcX8GOzmVj/2Z1rMgWPPrByC6iOR57W+2J3YfQuoEYq6NN/Qg8GfcL/Or9o3roOCVOp wEvRCtY0h6tZ10nl3SE1P7b4+ngKNOzU8/rkEd0StR9ivzSAt02K85DFYXzqB/ZgEVb+ swq9SN2vDKS5K9BDflFO6xuLGtrNM4uIEqhHIgMpZA+q1sY5gzrACbnw/FncfXw86R3U DspA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=GgHrrHIg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ot14-20020a17090b3b4e00b00262d1b39524si8838958pjb.116.2023.09.12.10.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:31:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=GgHrrHIg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E589281603AD; Tue, 12 Sep 2023 07:31:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235985AbjILObE (ORCPT + 37 others); Tue, 12 Sep 2023 10:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235955AbjILOa6 (ORCPT ); Tue, 12 Sep 2023 10:30:58 -0400 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61F77115; Tue, 12 Sep 2023 07:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Cc:To:In-Reply-To:References:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description; bh=rqAqXU+BauAuZhoJ6lkP5DQOkX1bFvCYekVfXB5a7v4=; b=GgHrrHIgtFRan0MheQxCydItfh ekI6z8r3PAlYr1ztBSOqu+VTwuTgU30ollUcc+9On7jCN6lrdTW5t+ufWif2ZMJ8cP6YSTcVoHIsy /KiNRrW5tQm2JWo029WCYDLPBpSXo+Ag3wS+ouooevmNh/CQ47Kdp1YxIaQKjDv9lodJlnrZJOszc K1O9n9nQ38uQTsgi8NcaVIhfE0ow29Yy2nwVqZehpT6rZY3KythGZcAqjjkvtNXnXJD+wWuT9U2Oc VcCmXOgOei5oKnn0NGptbKFMRzjiPeq4+Jxu8rt6v20gYhkcref5r4ORCbXiN0HeeqiRzHMed/dfq 62nNSxxw==; Received: from [10.22.3.24] (helo=serv1.dd1.int.kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1qg4Pj-0034i9-02; Tue, 12 Sep 2023 16:30:51 +0200 From: Stephan Gerhold Date: Tue, 12 Sep 2023 16:30:38 +0200 Subject: [PATCH 3/4] spi: dt-bindings: qup: Document interconnects MIME-Version: 1.0 Message-Id: <20230912-spi-qup-dvfs-v1-3-3e38aa09c2bd@kernkonzept.com> References: <20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com> In-Reply-To: <20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com> To: Mark Brown Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 07:31:40 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776853869400729660 X-GMAIL-MSGID: 1776853869400729660 When the SPI QUP controller is used together with a DMA engine it needs to vote for the interconnect path to the DRAM. Otherwise it may be unable to access the memory quickly enough. Signed-off-by: Stephan Gerhold Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml index 1e498a791406..88be13268962 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml @@ -44,6 +44,9 @@ properties: - const: tx - const: rx + interconnects: + maxItems: 1 + interrupts: maxItems: 1 @@ -67,6 +70,7 @@ unevaluatedProperties: false examples: - | #include + #include #include #include @@ -84,6 +88,7 @@ examples: dma-names = "tx", "rx"; power-domains = <&rpmpd MSM8996_VDDCX>; operating-points-v2 = <&spi_opp_table>; + interconnects = <&pnoc MASTER_BLSP_1 &bimc SLAVE_EBI_CH0>; #address-cells = <1>; #size-cells = <0>; };