From patchwork Wed Nov 9 11:12:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 17489 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp274420wru; Wed, 9 Nov 2022 03:16:12 -0800 (PST) X-Google-Smtp-Source: AMsMyM6//vi/lfuvtLI3l+kw2raP1V/F1HFKFeC4eOjvjg7bEahudZT047mRHoP5TRHGNGG90Xz2 X-Received: by 2002:a17:906:4803:b0:7ae:958:49d4 with SMTP id w3-20020a170906480300b007ae095849d4mr33120576ejq.697.1667992572235; Wed, 09 Nov 2022 03:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667992572; cv=none; d=google.com; s=arc-20160816; b=VdMRQb7C4PmW/E9NCRIQ4Qdku/xTVKZapKSgdi6oukWHCV6/qfZb+EI5hjv5t2PplK qFGlD1k+ci40n55PNwH82N0vBB32h348dMc8iUbJOVxOoi4GAqg9yfhorcKM5PexwCWU /FVch3CI6VkijB4VBxl836HvwFfW4Q3hIG27kwpTma5ZYkKbDHNEygHSS4vELVh+K0zN uCr9oHEbJ8OgE5cxs6451zA/sYC3AXMlKrtVGaQGFr7sokB8kdgQRV+JsmMAHzMA0gft uHu0tY/2njI7z/RSwXG2ou/k4wgqvb847tghRUjzNtWHCEe7mChzEKnBpZx2ORr7PTMk 8yqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=EOjODlVUgYdjVoYwt4fO3TLoXZJT1f+X5iNwobzHTpP/PsM9Z17kwSRiyngZZdfk26 9RHEhUspp1EjM/0ryIIvW93NfUSyBwsuLbcurFNgeaT+lKxb2k9aiSmnsAtLW1J6gqkt 2/clmyLCusGwQbZEvJB/on+ekRt9z1tUPbIHE7UC0cvXeE3SqMNnx6cQC79Z5wiI/HgM 2u6Nej61q1JwzACkkh71ZTRbC798IW1qp6Toa3gmTPy6bJBqClqfJ++rss49rbSpdcRf Gluud3voMbQ2ZSx3gzG2+b/ziIaSsOyz1XlQWv02LvgsAYpkb4LE5137Jwp6IdMSC9Zz VBTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BxELVLup; 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 wu10-20020a170906eeca00b00781d695b597si13068205ejb.473.2022.11.09.03.15.47; Wed, 09 Nov 2022 03:16:12 -0800 (PST) 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=BxELVLup; 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 S230175AbiKILND (ORCPT + 99 others); Wed, 9 Nov 2022 06:13:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbiKILMx (ORCPT ); Wed, 9 Nov 2022 06:12:53 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B292872F for ; Wed, 9 Nov 2022 03:12:50 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id y14so45720800ejd.9 for ; Wed, 09 Nov 2022 03:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=BxELVLupmY2A2S+cBmejE519foAq8SasAUypsrvZnDtEDtHHOI20RcR9m4UA9rLmZP enRbCsh5HN7NkUzkEx/1cT1RCCs1KrykJTcrq1qERBjRBCi/38STK20E9uCp2+ppOl6h 8xUbqguygxnsw+TCvxYtOpFIWKl8BCna/SZBfyyc0X4b1uLzu9tOeBCmUqAya49AAsfK G4BfX6aSX+NLnwTku++NMeO3CWM+jjSuOchkhMGNr+84BPAE447vdBlDrXQ8UStWHTKr o0e5RxgX1hyOitMhsmO6JsXI3Emnbp1XsZE0q5n/LPIVwqf+VZ/9/9jX7+Q0MGrmb11u uAEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=g1aRaskT8bgf9S50atnGKUxB8Eyrc52IOKCx+5l+uAyWTUq1PwdzL5Hp04af0g+tg6 bw0d9u8ere9FiC5Hxn5lrlI4DdTUtlhG9ne38qpcA9I1Ih74n3hYUA/x8BdPf+I6o0w3 YHP0uymrgt3qOi/+sEyT7sOe82cmWYMWggumOf0/71Hy7jz+uVMXK+Jaq16DFhSwt7zM rajbRjQ1Xx1gI93J165jgc5ni8vnUbuycKLaZgXEhDQj1sO8fMCo6itnFtmupMQSkERi RsROWeqmbxk/C7md/sCoM3uLRmlXa87V0LSIwsXyjKof86e9O1nXSdsc4LMOUf6TwUsl jxrg== X-Gm-Message-State: ACrzQf3+wOPNA3zv/uH2A4WAc5ErwIJmbxhOQDQNWi7+euVxwBy7/6li oIZavxXOxBszkXDBqHkJd8HE5A== X-Received: by 2002:a17:906:35c9:b0:78d:77b1:a433 with SMTP id p9-20020a17090635c900b0078d77b1a433mr1105891ejb.486.1667992368803; Wed, 09 Nov 2022 03:12:48 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id k8-20020a1709062a4800b007ad9c826d75sm5825899eje.61.2022.11.09.03.12.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 09 Nov 2022 03:12:48 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/10] arm64: dts: qcom: sm6375: Add GPI DMA nodes Date: Wed, 9 Nov 2022 12:12:29 +0100 Message-Id: <20221109111236.46003-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221109111236.46003-1-konrad.dybcio@linaro.org> References: <20221109111236.46003-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749016979127938961?= X-GMAIL-MSGID: =?utf-8?q?1749016979127938961?= Add nodes for GPI DMA hosts on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 9b1a497e5ca7..62a64dd731a0 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -567,6 +567,46 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + gpi_dma0: dma-controller@4a00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04a00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0x16 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + + gpi_dma1: dma-controller@4c00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04c00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0xd6 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + usb_1: usb@4ef8800 { compatible = "qcom,sm6375-dwc3", "qcom,dwc3"; reg = <0 0x04ef8800 0 0x400>;